diff --git a/project/XPS_data/DS_XPS.Designer.cs b/XPS_data/DS_XPS.Designer.cs similarity index 98% rename from project/XPS_data/DS_XPS.Designer.cs rename to XPS_data/DS_XPS.Designer.cs index 346d909..5186a2a 100644 --- a/project/XPS_data/DS_XPS.Designer.cs +++ b/XPS_data/DS_XPS.Designer.cs @@ -1,10958 +1,10958 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.18046 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -#pragma warning disable 1591 - -namespace XPS_data { - - - /// - ///Represents a strongly typed in-memory cache of data. - /// - [global::System.Serializable()] - [global::System.ComponentModel.DesignerCategoryAttribute("code")] - [global::System.ComponentModel.ToolboxItem(true)] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] - [global::System.Xml.Serialization.XmlRootAttribute("DS_XPS")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] - public partial class DS_XPS : global::System.Data.DataSet { - - private NoteDataTable tableNote; - - private Step4ObjDataTable tableStep4Obj; - - private Object2SetDataTable tableObject2Set; - - private UMDataTable tableUM; - - private EventiDataTable tableEventi; - - private TipoEventiDataTable tableTipoEventi; - - private v_ev2statiDataTable tablev_ev2stati; - - private AnagStatiDataTable tableAnagStati; - - private AnagObjDataTable tableAnagObj; - - private AnagMappeDataTable tableAnagMappe; - - private global::System.Data.DataRelation relationFK_Eventi_TipoEventi; - - private global::System.Data.DataRelation relationFK_ObjectSet_AnagTipoObj; - - private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public DS_XPS() { - this.BeginInit(); - this.InitClass(); - global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); - base.Tables.CollectionChanged += schemaChangedHandler; - base.Relations.CollectionChanged += schemaChangedHandler; - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected DS_XPS(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context, false) { - if ((this.IsBinarySerialized(info, context) == true)) { - this.InitVars(false); - global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); - this.Tables.CollectionChanged += schemaChangedHandler1; - this.Relations.CollectionChanged += schemaChangedHandler1; - return; - } - string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); - if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { - global::System.Data.DataSet ds = new global::System.Data.DataSet(); - ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); - if ((ds.Tables["Note"] != null)) { - base.Tables.Add(new NoteDataTable(ds.Tables["Note"])); - } - if ((ds.Tables["Step4Obj"] != null)) { - base.Tables.Add(new Step4ObjDataTable(ds.Tables["Step4Obj"])); - } - if ((ds.Tables["Object2Set"] != null)) { - base.Tables.Add(new Object2SetDataTable(ds.Tables["Object2Set"])); - } - if ((ds.Tables["UM"] != null)) { - base.Tables.Add(new UMDataTable(ds.Tables["UM"])); - } - if ((ds.Tables["Eventi"] != null)) { - base.Tables.Add(new EventiDataTable(ds.Tables["Eventi"])); - } - if ((ds.Tables["TipoEventi"] != null)) { - base.Tables.Add(new TipoEventiDataTable(ds.Tables["TipoEventi"])); - } - if ((ds.Tables["v_ev2stati"] != null)) { - base.Tables.Add(new v_ev2statiDataTable(ds.Tables["v_ev2stati"])); - } - if ((ds.Tables["AnagStati"] != null)) { - base.Tables.Add(new AnagStatiDataTable(ds.Tables["AnagStati"])); - } - if ((ds.Tables["AnagObj"] != null)) { - base.Tables.Add(new AnagObjDataTable(ds.Tables["AnagObj"])); - } - if ((ds.Tables["AnagMappe"] != null)) { - base.Tables.Add(new AnagMappeDataTable(ds.Tables["AnagMappe"])); - } - this.DataSetName = ds.DataSetName; - this.Prefix = ds.Prefix; - this.Namespace = ds.Namespace; - this.Locale = ds.Locale; - this.CaseSensitive = ds.CaseSensitive; - this.EnforceConstraints = ds.EnforceConstraints; - this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); - this.InitVars(); - } - else { - this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); - } - this.GetSerializationData(info, context); - global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); - base.Tables.CollectionChanged += schemaChangedHandler; - this.Relations.CollectionChanged += schemaChangedHandler; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public NoteDataTable Note { - get { - return this.tableNote; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public Step4ObjDataTable Step4Obj { - get { - return this.tableStep4Obj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public Object2SetDataTable Object2Set { - get { - return this.tableObject2Set; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public UMDataTable UM { - get { - return this.tableUM; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public EventiDataTable Eventi { - get { - return this.tableEventi; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public TipoEventiDataTable TipoEventi { - get { - return this.tableTipoEventi; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public v_ev2statiDataTable v_ev2stati { - get { - return this.tablev_ev2stati; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public AnagStatiDataTable AnagStati { - get { - return this.tableAnagStati; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public AnagObjDataTable AnagObj { - get { - return this.tableAnagObj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public AnagMappeDataTable AnagMappe { - get { - return this.tableAnagMappe; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.BrowsableAttribute(true)] - [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] - public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { - get { - return this._schemaSerializationMode; - } - set { - this._schemaSerializationMode = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public new global::System.Data.DataTableCollection Tables { - get { - return base.Tables; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public new global::System.Data.DataRelationCollection Relations { - get { - return base.Relations; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void InitializeDerivedDataSet() { - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataSet Clone() { - DS_XPS cln = ((DS_XPS)(base.Clone())); - cln.InitVars(); - cln.SchemaSerializationMode = this.SchemaSerializationMode; - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override bool ShouldSerializeTables() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override bool ShouldSerializeRelations() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { - if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { - this.Reset(); - global::System.Data.DataSet ds = new global::System.Data.DataSet(); - ds.ReadXml(reader); - if ((ds.Tables["Note"] != null)) { - base.Tables.Add(new NoteDataTable(ds.Tables["Note"])); - } - if ((ds.Tables["Step4Obj"] != null)) { - base.Tables.Add(new Step4ObjDataTable(ds.Tables["Step4Obj"])); - } - if ((ds.Tables["Object2Set"] != null)) { - base.Tables.Add(new Object2SetDataTable(ds.Tables["Object2Set"])); - } - if ((ds.Tables["UM"] != null)) { - base.Tables.Add(new UMDataTable(ds.Tables["UM"])); - } - if ((ds.Tables["Eventi"] != null)) { - base.Tables.Add(new EventiDataTable(ds.Tables["Eventi"])); - } - if ((ds.Tables["TipoEventi"] != null)) { - base.Tables.Add(new TipoEventiDataTable(ds.Tables["TipoEventi"])); - } - if ((ds.Tables["v_ev2stati"] != null)) { - base.Tables.Add(new v_ev2statiDataTable(ds.Tables["v_ev2stati"])); - } - if ((ds.Tables["AnagStati"] != null)) { - base.Tables.Add(new AnagStatiDataTable(ds.Tables["AnagStati"])); - } - if ((ds.Tables["AnagObj"] != null)) { - base.Tables.Add(new AnagObjDataTable(ds.Tables["AnagObj"])); - } - if ((ds.Tables["AnagMappe"] != null)) { - base.Tables.Add(new AnagMappeDataTable(ds.Tables["AnagMappe"])); - } - this.DataSetName = ds.DataSetName; - this.Prefix = ds.Prefix; - this.Namespace = ds.Namespace; - this.Locale = ds.Locale; - this.CaseSensitive = ds.CaseSensitive; - this.EnforceConstraints = ds.EnforceConstraints; - this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); - this.InitVars(); - } - else { - this.ReadXml(reader); - this.InitVars(); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { - global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); - this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); - stream.Position = 0; - return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.InitVars(true); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars(bool initTable) { - this.tableNote = ((NoteDataTable)(base.Tables["Note"])); - if ((initTable == true)) { - if ((this.tableNote != null)) { - this.tableNote.InitVars(); - } - } - this.tableStep4Obj = ((Step4ObjDataTable)(base.Tables["Step4Obj"])); - if ((initTable == true)) { - if ((this.tableStep4Obj != null)) { - this.tableStep4Obj.InitVars(); - } - } - this.tableObject2Set = ((Object2SetDataTable)(base.Tables["Object2Set"])); - if ((initTable == true)) { - if ((this.tableObject2Set != null)) { - this.tableObject2Set.InitVars(); - } - } - this.tableUM = ((UMDataTable)(base.Tables["UM"])); - if ((initTable == true)) { - if ((this.tableUM != null)) { - this.tableUM.InitVars(); - } - } - this.tableEventi = ((EventiDataTable)(base.Tables["Eventi"])); - if ((initTable == true)) { - if ((this.tableEventi != null)) { - this.tableEventi.InitVars(); - } - } - this.tableTipoEventi = ((TipoEventiDataTable)(base.Tables["TipoEventi"])); - if ((initTable == true)) { - if ((this.tableTipoEventi != null)) { - this.tableTipoEventi.InitVars(); - } - } - this.tablev_ev2stati = ((v_ev2statiDataTable)(base.Tables["v_ev2stati"])); - if ((initTable == true)) { - if ((this.tablev_ev2stati != null)) { - this.tablev_ev2stati.InitVars(); - } - } - this.tableAnagStati = ((AnagStatiDataTable)(base.Tables["AnagStati"])); - if ((initTable == true)) { - if ((this.tableAnagStati != null)) { - this.tableAnagStati.InitVars(); - } - } - this.tableAnagObj = ((AnagObjDataTable)(base.Tables["AnagObj"])); - if ((initTable == true)) { - if ((this.tableAnagObj != null)) { - this.tableAnagObj.InitVars(); - } - } - this.tableAnagMappe = ((AnagMappeDataTable)(base.Tables["AnagMappe"])); - if ((initTable == true)) { - if ((this.tableAnagMappe != null)) { - this.tableAnagMappe.InitVars(); - } - } - this.relationFK_Eventi_TipoEventi = this.Relations["FK_Eventi_TipoEventi"]; - this.relationFK_ObjectSet_AnagTipoObj = this.Relations["FK_ObjectSet_AnagTipoObj"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.DataSetName = "DS_XPS"; - this.Prefix = ""; - this.Namespace = "http://tempuri.org/DS_XPS.xsd"; - this.EnforceConstraints = true; - this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; - this.tableNote = new NoteDataTable(); - base.Tables.Add(this.tableNote); - this.tableStep4Obj = new Step4ObjDataTable(); - base.Tables.Add(this.tableStep4Obj); - this.tableObject2Set = new Object2SetDataTable(); - base.Tables.Add(this.tableObject2Set); - this.tableUM = new UMDataTable(); - base.Tables.Add(this.tableUM); - this.tableEventi = new EventiDataTable(); - base.Tables.Add(this.tableEventi); - this.tableTipoEventi = new TipoEventiDataTable(); - base.Tables.Add(this.tableTipoEventi); - this.tablev_ev2stati = new v_ev2statiDataTable(); - base.Tables.Add(this.tablev_ev2stati); - this.tableAnagStati = new AnagStatiDataTable(); - base.Tables.Add(this.tableAnagStati); - this.tableAnagObj = new AnagObjDataTable(); - base.Tables.Add(this.tableAnagObj); - this.tableAnagMappe = new AnagMappeDataTable(); - base.Tables.Add(this.tableAnagMappe); - this.relationFK_Eventi_TipoEventi = new global::System.Data.DataRelation("FK_Eventi_TipoEventi", new global::System.Data.DataColumn[] { - this.tableTipoEventi.CodTipoEventoColumn}, new global::System.Data.DataColumn[] { - this.tableEventi.CodTipoEventoColumn}, false); - this.Relations.Add(this.relationFK_Eventi_TipoEventi); - this.relationFK_ObjectSet_AnagTipoObj = new global::System.Data.DataRelation("FK_ObjectSet_AnagTipoObj", new global::System.Data.DataColumn[] { - this.tableAnagObj.CodObjColumn}, new global::System.Data.DataColumn[] { - this.tableObject2Set.CodObjColumn}, false); - this.Relations.Add(this.relationFK_ObjectSet_AnagTipoObj); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeNote() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeStep4Obj() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeObject2Set() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeUM() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeEventi() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeTipoEventi() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializev_ev2stati() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeAnagStati() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeAnagObj() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeAnagMappe() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { - if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { - this.InitVars(); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - DS_XPS ds = new DS_XPS(); - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); - any.Namespace = ds.Namespace; - sequence.Items.Add(any); - 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; - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void NoteRowChangeEventHandler(object sender, NoteRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void Step4ObjRowChangeEventHandler(object sender, Step4ObjRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void Object2SetRowChangeEventHandler(object sender, Object2SetRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void UMRowChangeEventHandler(object sender, UMRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void EventiRowChangeEventHandler(object sender, EventiRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void TipoEventiRowChangeEventHandler(object sender, TipoEventiRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void v_ev2statiRowChangeEventHandler(object sender, v_ev2statiRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void AnagStatiRowChangeEventHandler(object sender, AnagStatiRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void AnagObjRowChangeEventHandler(object sender, AnagObjRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void AnagMappeRowChangeEventHandler(object sender, AnagMappeRowChangeEvent e); - - /// - ///Represents the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class NoteDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnNumNota; - - private global::System.Data.DataColumn columnIdxObj; - - private global::System.Data.DataColumn columnCodFase; - - private global::System.Data.DataColumn columnUserNota; - - private global::System.Data.DataColumn columnData; - - private global::System.Data.DataColumn columnExtView; - - private global::System.Data.DataColumn columnNota; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public NoteDataTable() { - this.TableName = "Note"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal NoteDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected NoteDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn NumNotaColumn { - get { - return this.columnNumNota; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn IdxObjColumn { - get { - return this.columnIdxObj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodFaseColumn { - get { - return this.columnCodFase; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn UserNotaColumn { - get { - return this.columnUserNota; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataColumn { - get { - return this.columnData; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ExtViewColumn { - get { - return this.columnExtView; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn NotaColumn { - get { - return this.columnNota; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public NoteRow this[int index] { - get { - return ((NoteRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event NoteRowChangeEventHandler NoteRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event NoteRowChangeEventHandler NoteRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event NoteRowChangeEventHandler NoteRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event NoteRowChangeEventHandler NoteRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddNoteRow(NoteRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public NoteRow AddNoteRow(int NumNota, string IdxObj, string CodFase, string UserNota, System.DateTime Data, bool ExtView, string Nota) { - NoteRow rowNoteRow = ((NoteRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - NumNota, - IdxObj, - CodFase, - UserNota, - Data, - ExtView, - Nota}; - rowNoteRow.ItemArray = columnValuesArray; - this.Rows.Add(rowNoteRow); - return rowNoteRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public NoteRow FindByNumNota(int NumNota) { - return ((NoteRow)(this.Rows.Find(new object[] { - NumNota}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - NoteDataTable cln = ((NoteDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new NoteDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnNumNota = base.Columns["NumNota"]; - this.columnIdxObj = base.Columns["IdxObj"]; - this.columnCodFase = base.Columns["CodFase"]; - this.columnUserNota = base.Columns["UserNota"]; - this.columnData = base.Columns["Data"]; - this.columnExtView = base.Columns["ExtView"]; - this.columnNota = base.Columns["Nota"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnNumNota = new global::System.Data.DataColumn("NumNota", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnNumNota); - this.columnIdxObj = new global::System.Data.DataColumn("IdxObj", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnIdxObj); - this.columnCodFase = new global::System.Data.DataColumn("CodFase", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodFase); - this.columnUserNota = new global::System.Data.DataColumn("UserNota", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnUserNota); - this.columnData = new global::System.Data.DataColumn("Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnData); - this.columnExtView = new global::System.Data.DataColumn("ExtView", typeof(bool), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnExtView); - this.columnNota = new global::System.Data.DataColumn("Nota", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnNota); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnNumNota}, true)); - this.columnNumNota.AllowDBNull = false; - this.columnNumNota.Unique = true; - this.columnIdxObj.MaxLength = 50; - this.columnCodFase.MaxLength = 50; - this.columnUserNota.MaxLength = 50; - this.columnNota.MaxLength = 500; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public NoteRow NewNoteRow() { - return ((NoteRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new NoteRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(NoteRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.NoteRowChanged != null)) { - this.NoteRowChanged(this, new NoteRowChangeEvent(((NoteRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.NoteRowChanging != null)) { - this.NoteRowChanging(this, new NoteRowChangeEvent(((NoteRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.NoteRowDeleted != null)) { - this.NoteRowDeleted(this, new NoteRowChangeEvent(((NoteRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.NoteRowDeleting != null)) { - this.NoteRowDeleting(this, new NoteRowChangeEvent(((NoteRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveNoteRow(NoteRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_XPS ds = new DS_XPS(); - 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 = "NoteDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class Step4ObjDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnIdxObj; - - private global::System.Data.DataColumn columnIdxStep; - - private global::System.Data.DataColumn columnIdxStato; - - private global::System.Data.DataColumn columnStartDatePrev; - - private global::System.Data.DataColumn columnDueDatePrev; - - private global::System.Data.DataColumn columnStartDateReal; - - private global::System.Data.DataColumn columnDueDateReal; - - private global::System.Data.DataColumn columnRatioCompl; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Step4ObjDataTable() { - this.TableName = "Step4Obj"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal Step4ObjDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected Step4ObjDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn IdxObjColumn { - get { - return this.columnIdxObj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn IdxStepColumn { - get { - return this.columnIdxStep; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn IdxStatoColumn { - get { - return this.columnIdxStato; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn StartDatePrevColumn { - get { - return this.columnStartDatePrev; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DueDatePrevColumn { - get { - return this.columnDueDatePrev; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn StartDateRealColumn { - get { - return this.columnStartDateReal; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DueDateRealColumn { - get { - return this.columnDueDateReal; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn RatioComplColumn { - get { - return this.columnRatioCompl; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Step4ObjRow this[int index] { - get { - return ((Step4ObjRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event Step4ObjRowChangeEventHandler Step4ObjRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event Step4ObjRowChangeEventHandler Step4ObjRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event Step4ObjRowChangeEventHandler Step4ObjRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event Step4ObjRowChangeEventHandler Step4ObjRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddStep4ObjRow(Step4ObjRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Step4ObjRow AddStep4ObjRow(string IdxObj, int IdxStep, int IdxStato, System.DateTime StartDatePrev, System.DateTime DueDatePrev, System.DateTime StartDateReal, System.DateTime DueDateReal, double RatioCompl) { - Step4ObjRow rowStep4ObjRow = ((Step4ObjRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - IdxObj, - IdxStep, - IdxStato, - StartDatePrev, - DueDatePrev, - StartDateReal, - DueDateReal, - RatioCompl}; - rowStep4ObjRow.ItemArray = columnValuesArray; - this.Rows.Add(rowStep4ObjRow); - return rowStep4ObjRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Step4ObjRow FindByIdxObjIdxStep(string IdxObj, int IdxStep) { - return ((Step4ObjRow)(this.Rows.Find(new object[] { - IdxObj, - IdxStep}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - Step4ObjDataTable cln = ((Step4ObjDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new Step4ObjDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnIdxObj = base.Columns["IdxObj"]; - this.columnIdxStep = base.Columns["IdxStep"]; - this.columnIdxStato = base.Columns["IdxStato"]; - this.columnStartDatePrev = base.Columns["StartDatePrev"]; - this.columnDueDatePrev = base.Columns["DueDatePrev"]; - this.columnStartDateReal = base.Columns["StartDateReal"]; - this.columnDueDateReal = base.Columns["DueDateReal"]; - this.columnRatioCompl = base.Columns["RatioCompl"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnIdxObj = new global::System.Data.DataColumn("IdxObj", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnIdxObj); - this.columnIdxStep = new global::System.Data.DataColumn("IdxStep", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnIdxStep); - this.columnIdxStato = new global::System.Data.DataColumn("IdxStato", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnIdxStato); - this.columnStartDatePrev = new global::System.Data.DataColumn("StartDatePrev", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnStartDatePrev); - this.columnDueDatePrev = new global::System.Data.DataColumn("DueDatePrev", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDueDatePrev); - this.columnStartDateReal = new global::System.Data.DataColumn("StartDateReal", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnStartDateReal); - this.columnDueDateReal = new global::System.Data.DataColumn("DueDateReal", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDueDateReal); - this.columnRatioCompl = new global::System.Data.DataColumn("RatioCompl", typeof(double), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnRatioCompl); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnIdxObj, - this.columnIdxStep}, true)); - this.columnIdxObj.AllowDBNull = false; - this.columnIdxObj.MaxLength = 50; - this.columnIdxStep.AllowDBNull = false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Step4ObjRow NewStep4ObjRow() { - return ((Step4ObjRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new Step4ObjRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(Step4ObjRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.Step4ObjRowChanged != null)) { - this.Step4ObjRowChanged(this, new Step4ObjRowChangeEvent(((Step4ObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.Step4ObjRowChanging != null)) { - this.Step4ObjRowChanging(this, new Step4ObjRowChangeEvent(((Step4ObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.Step4ObjRowDeleted != null)) { - this.Step4ObjRowDeleted(this, new Step4ObjRowChangeEvent(((Step4ObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.Step4ObjRowDeleting != null)) { - this.Step4ObjRowDeleting(this, new Step4ObjRowChangeEvent(((Step4ObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveStep4ObjRow(Step4ObjRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_XPS ds = new DS_XPS(); - 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 = "Step4ObjDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class Object2SetDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnIdxSet; - - private global::System.Data.DataColumn columnCodObj; - - private global::System.Data.DataColumn columnQta; - - private global::System.Data.DataColumn columnUserQtyReq; - - private global::System.Data.DataColumn columnPosizione; - - private global::System.Data.DataColumn columnTimeTrackEnab; - - private global::System.Data.DataColumn columnProcReq; - - private global::System.Data.DataColumn columnExtView; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Object2SetDataTable() { - this.TableName = "Object2Set"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal Object2SetDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected Object2SetDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn IdxSetColumn { - get { - return this.columnIdxSet; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodObjColumn { - get { - return this.columnCodObj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn QtaColumn { - get { - return this.columnQta; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn UserQtyReqColumn { - get { - return this.columnUserQtyReq; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn PosizioneColumn { - get { - return this.columnPosizione; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn TimeTrackEnabColumn { - get { - return this.columnTimeTrackEnab; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ProcReqColumn { - get { - return this.columnProcReq; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ExtViewColumn { - get { - return this.columnExtView; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Object2SetRow this[int index] { - get { - return ((Object2SetRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event Object2SetRowChangeEventHandler Object2SetRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event Object2SetRowChangeEventHandler Object2SetRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event Object2SetRowChangeEventHandler Object2SetRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event Object2SetRowChangeEventHandler Object2SetRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddObject2SetRow(Object2SetRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Object2SetRow AddObject2SetRow(string IdxSet, AnagObjRow parentAnagObjRowByFK_ObjectSet_AnagTipoObj, int Qta, bool UserQtyReq, string Posizione, bool TimeTrackEnab, bool ProcReq, bool ExtView) { - Object2SetRow rowObject2SetRow = ((Object2SetRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - IdxSet, - null, - Qta, - UserQtyReq, - Posizione, - TimeTrackEnab, - ProcReq, - ExtView}; - if ((parentAnagObjRowByFK_ObjectSet_AnagTipoObj != null)) { - columnValuesArray[1] = parentAnagObjRowByFK_ObjectSet_AnagTipoObj[0]; - } - rowObject2SetRow.ItemArray = columnValuesArray; - this.Rows.Add(rowObject2SetRow); - return rowObject2SetRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Object2SetRow FindByIdxSetCodObj(string IdxSet, string CodObj) { - return ((Object2SetRow)(this.Rows.Find(new object[] { - IdxSet, - CodObj}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - Object2SetDataTable cln = ((Object2SetDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new Object2SetDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnIdxSet = base.Columns["IdxSet"]; - this.columnCodObj = base.Columns["CodObj"]; - this.columnQta = base.Columns["Qta"]; - this.columnUserQtyReq = base.Columns["UserQtyReq"]; - this.columnPosizione = base.Columns["Posizione"]; - this.columnTimeTrackEnab = base.Columns["TimeTrackEnab"]; - this.columnProcReq = base.Columns["ProcReq"]; - this.columnExtView = base.Columns["ExtView"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnIdxSet = new global::System.Data.DataColumn("IdxSet", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnIdxSet); - this.columnCodObj = new global::System.Data.DataColumn("CodObj", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodObj); - this.columnQta = new global::System.Data.DataColumn("Qta", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnQta); - this.columnUserQtyReq = new global::System.Data.DataColumn("UserQtyReq", typeof(bool), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnUserQtyReq); - this.columnPosizione = new global::System.Data.DataColumn("Posizione", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnPosizione); - this.columnTimeTrackEnab = new global::System.Data.DataColumn("TimeTrackEnab", typeof(bool), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnTimeTrackEnab); - this.columnProcReq = new global::System.Data.DataColumn("ProcReq", typeof(bool), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnProcReq); - this.columnExtView = new global::System.Data.DataColumn("ExtView", typeof(bool), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnExtView); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnIdxSet, - this.columnCodObj}, true)); - this.columnIdxSet.AllowDBNull = false; - this.columnIdxSet.MaxLength = 50; - this.columnCodObj.AllowDBNull = false; - this.columnCodObj.MaxLength = 50; - this.columnPosizione.MaxLength = 250; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Object2SetRow NewObject2SetRow() { - return ((Object2SetRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new Object2SetRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(Object2SetRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.Object2SetRowChanged != null)) { - this.Object2SetRowChanged(this, new Object2SetRowChangeEvent(((Object2SetRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.Object2SetRowChanging != null)) { - this.Object2SetRowChanging(this, new Object2SetRowChangeEvent(((Object2SetRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.Object2SetRowDeleted != null)) { - this.Object2SetRowDeleted(this, new Object2SetRowChangeEvent(((Object2SetRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.Object2SetRowDeleting != null)) { - this.Object2SetRowDeleting(this, new Object2SetRowChangeEvent(((Object2SetRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveObject2SetRow(Object2SetRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_XPS ds = new DS_XPS(); - 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 = "Object2SetDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class UMDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnUM; - - private global::System.Data.DataColumn columnDescrUM; - - private global::System.Data.DataColumn columnFattoreSI; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UMDataTable() { - this.TableName = "UM"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal UMDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected UMDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn UMColumn { - get { - return this.columnUM; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DescrUMColumn { - get { - return this.columnDescrUM; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn FattoreSIColumn { - get { - return this.columnFattoreSI; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UMRow this[int index] { - get { - return ((UMRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event UMRowChangeEventHandler UMRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event UMRowChangeEventHandler UMRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event UMRowChangeEventHandler UMRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event UMRowChangeEventHandler UMRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddUMRow(UMRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UMRow AddUMRow(string UM, string DescrUM, double FattoreSI) { - UMRow rowUMRow = ((UMRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - UM, - DescrUM, - FattoreSI}; - rowUMRow.ItemArray = columnValuesArray; - this.Rows.Add(rowUMRow); - return rowUMRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UMRow FindByUM(string UM) { - return ((UMRow)(this.Rows.Find(new object[] { - UM}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - UMDataTable cln = ((UMDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new UMDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnUM = base.Columns["UM"]; - this.columnDescrUM = base.Columns["DescrUM"]; - this.columnFattoreSI = base.Columns["FattoreSI"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnUM = new global::System.Data.DataColumn("UM", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnUM); - this.columnDescrUM = new global::System.Data.DataColumn("DescrUM", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDescrUM); - this.columnFattoreSI = new global::System.Data.DataColumn("FattoreSI", typeof(double), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnFattoreSI); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnUM}, true)); - this.columnUM.AllowDBNull = false; - this.columnUM.Unique = true; - this.columnUM.MaxLength = 50; - this.columnDescrUM.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UMRow NewUMRow() { - return ((UMRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new UMRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(UMRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.UMRowChanged != null)) { - this.UMRowChanged(this, new UMRowChangeEvent(((UMRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.UMRowChanging != null)) { - this.UMRowChanging(this, new UMRowChangeEvent(((UMRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.UMRowDeleted != null)) { - this.UMRowDeleted(this, new UMRowChangeEvent(((UMRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.UMRowDeleting != null)) { - this.UMRowDeleting(this, new UMRowChangeEvent(((UMRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveUMRow(UMRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_XPS ds = new DS_XPS(); - 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 = "UMDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class EventiDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnCodEvento; - - private global::System.Data.DataColumn columnCodTipoEvento; - - private global::System.Data.DataColumn columnDescrEvento; - - private global::System.Data.DataColumn columnAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiDataTable() { - this.TableName = "Eventi"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal EventiDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected EventiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodEventoColumn { - get { - return this.columnCodEvento; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodTipoEventoColumn { - get { - return this.columnCodTipoEvento; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DescrEventoColumn { - get { - return this.columnDescrEvento; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ActionColumn { - get { - return this.columnAction; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiRow this[int index] { - get { - return ((EventiRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event EventiRowChangeEventHandler EventiRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event EventiRowChangeEventHandler EventiRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event EventiRowChangeEventHandler EventiRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event EventiRowChangeEventHandler EventiRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddEventiRow(EventiRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiRow AddEventiRow(string CodEvento, TipoEventiRow parentTipoEventiRowByFK_Eventi_TipoEventi, string DescrEvento, string Action) { - EventiRow rowEventiRow = ((EventiRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - CodEvento, - null, - DescrEvento, - Action}; - if ((parentTipoEventiRowByFK_Eventi_TipoEventi != null)) { - columnValuesArray[1] = parentTipoEventiRowByFK_Eventi_TipoEventi[0]; - } - rowEventiRow.ItemArray = columnValuesArray; - this.Rows.Add(rowEventiRow); - return rowEventiRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiRow FindByCodEvento(string CodEvento) { - return ((EventiRow)(this.Rows.Find(new object[] { - CodEvento}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - EventiDataTable cln = ((EventiDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new EventiDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnCodEvento = base.Columns["CodEvento"]; - this.columnCodTipoEvento = base.Columns["CodTipoEvento"]; - this.columnDescrEvento = base.Columns["DescrEvento"]; - this.columnAction = base.Columns["Action"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnCodEvento = new global::System.Data.DataColumn("CodEvento", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodEvento); - this.columnCodTipoEvento = new global::System.Data.DataColumn("CodTipoEvento", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodTipoEvento); - this.columnDescrEvento = new global::System.Data.DataColumn("DescrEvento", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDescrEvento); - this.columnAction = new global::System.Data.DataColumn("Action", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnAction); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnCodEvento}, true)); - this.columnCodEvento.AllowDBNull = false; - this.columnCodEvento.Unique = true; - this.columnCodEvento.MaxLength = 50; - this.columnCodTipoEvento.MaxLength = 50; - this.columnDescrEvento.MaxLength = 50; - this.columnAction.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiRow NewEventiRow() { - return ((EventiRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new EventiRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(EventiRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.EventiRowChanged != null)) { - this.EventiRowChanged(this, new EventiRowChangeEvent(((EventiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.EventiRowChanging != null)) { - this.EventiRowChanging(this, new EventiRowChangeEvent(((EventiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.EventiRowDeleted != null)) { - this.EventiRowDeleted(this, new EventiRowChangeEvent(((EventiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.EventiRowDeleting != null)) { - this.EventiRowDeleting(this, new EventiRowChangeEvent(((EventiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveEventiRow(EventiRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_XPS ds = new DS_XPS(); - 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 = "EventiDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class TipoEventiDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnCodTipoEvento; - - private global::System.Data.DataColumn columnDescrTipoEv; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TipoEventiDataTable() { - this.TableName = "TipoEventi"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal TipoEventiDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected TipoEventiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodTipoEventoColumn { - get { - return this.columnCodTipoEvento; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DescrTipoEvColumn { - get { - return this.columnDescrTipoEv; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TipoEventiRow this[int index] { - get { - return ((TipoEventiRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event TipoEventiRowChangeEventHandler TipoEventiRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event TipoEventiRowChangeEventHandler TipoEventiRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event TipoEventiRowChangeEventHandler TipoEventiRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event TipoEventiRowChangeEventHandler TipoEventiRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddTipoEventiRow(TipoEventiRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TipoEventiRow AddTipoEventiRow(string CodTipoEvento, string DescrTipoEv) { - TipoEventiRow rowTipoEventiRow = ((TipoEventiRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - CodTipoEvento, - DescrTipoEv}; - rowTipoEventiRow.ItemArray = columnValuesArray; - this.Rows.Add(rowTipoEventiRow); - return rowTipoEventiRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TipoEventiRow FindByCodTipoEvento(string CodTipoEvento) { - return ((TipoEventiRow)(this.Rows.Find(new object[] { - CodTipoEvento}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - TipoEventiDataTable cln = ((TipoEventiDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new TipoEventiDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnCodTipoEvento = base.Columns["CodTipoEvento"]; - this.columnDescrTipoEv = base.Columns["DescrTipoEv"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnCodTipoEvento = new global::System.Data.DataColumn("CodTipoEvento", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodTipoEvento); - this.columnDescrTipoEv = new global::System.Data.DataColumn("DescrTipoEv", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDescrTipoEv); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnCodTipoEvento}, true)); - this.columnCodTipoEvento.AllowDBNull = false; - this.columnCodTipoEvento.Unique = true; - this.columnCodTipoEvento.MaxLength = 50; - this.columnDescrTipoEv.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TipoEventiRow NewTipoEventiRow() { - return ((TipoEventiRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new TipoEventiRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(TipoEventiRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.TipoEventiRowChanged != null)) { - this.TipoEventiRowChanged(this, new TipoEventiRowChangeEvent(((TipoEventiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.TipoEventiRowChanging != null)) { - this.TipoEventiRowChanging(this, new TipoEventiRowChangeEvent(((TipoEventiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.TipoEventiRowDeleted != null)) { - this.TipoEventiRowDeleted(this, new TipoEventiRowChangeEvent(((TipoEventiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.TipoEventiRowDeleting != null)) { - this.TipoEventiRowDeleting(this, new TipoEventiRowChangeEvent(((TipoEventiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveTipoEventiRow(TipoEventiRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_XPS ds = new DS_XPS(); - 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 = "TipoEventiDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class v_ev2statiDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnCodMappa; - - private global::System.Data.DataColumn columnIdxTipoObj; - - private global::System.Data.DataColumn columnDescrObj; - - private global::System.Data.DataColumn columnCodStato; - - private global::System.Data.DataColumn columnStatoCurr; - - private global::System.Data.DataColumn columnCodEvento; - - private global::System.Data.DataColumn columnDescrEvento; - - private global::System.Data.DataColumn columnNextCodStato; - - private global::System.Data.DataColumn columnStatoNext; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_ev2statiDataTable() { - this.TableName = "v_ev2stati"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_ev2statiDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected v_ev2statiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodMappaColumn { - get { - return this.columnCodMappa; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn IdxTipoObjColumn { - get { - return this.columnIdxTipoObj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DescrObjColumn { - get { - return this.columnDescrObj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] - public global::System.Data.DataColumn StatoCurrColumn { - get { - return this.columnStatoCurr; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodEventoColumn { - get { - return this.columnCodEvento; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DescrEventoColumn { - get { - return this.columnDescrEvento; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn NextCodStatoColumn { - get { - return this.columnNextCodStato; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn StatoNextColumn { - get { - return this.columnStatoNext; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_ev2statiRow this[int index] { - get { - return ((v_ev2statiRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_ev2statiRowChangeEventHandler v_ev2statiRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_ev2statiRowChangeEventHandler v_ev2statiRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_ev2statiRowChangeEventHandler v_ev2statiRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_ev2statiRowChangeEventHandler v_ev2statiRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addv_ev2statiRow(v_ev2statiRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_ev2statiRow Addv_ev2statiRow(string CodMappa, string IdxTipoObj, string DescrObj, string CodStato, string StatoCurr, string CodEvento, string DescrEvento, string NextCodStato, string StatoNext) { - v_ev2statiRow rowv_ev2statiRow = ((v_ev2statiRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - CodMappa, - IdxTipoObj, - DescrObj, - CodStato, - StatoCurr, - CodEvento, - DescrEvento, - NextCodStato, - StatoNext}; - rowv_ev2statiRow.ItemArray = columnValuesArray; - this.Rows.Add(rowv_ev2statiRow); - return rowv_ev2statiRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_ev2statiRow FindByCodMappaIdxTipoObjCodStatoCodEvento(string CodMappa, string IdxTipoObj, string CodStato, string CodEvento) { - return ((v_ev2statiRow)(this.Rows.Find(new object[] { - CodMappa, - IdxTipoObj, - CodStato, - CodEvento}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - v_ev2statiDataTable cln = ((v_ev2statiDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new v_ev2statiDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnCodMappa = base.Columns["CodMappa"]; - this.columnIdxTipoObj = base.Columns["IdxTipoObj"]; - this.columnDescrObj = base.Columns["DescrObj"]; - this.columnCodStato = base.Columns["CodStato"]; - this.columnStatoCurr = base.Columns["StatoCurr"]; - this.columnCodEvento = base.Columns["CodEvento"]; - this.columnDescrEvento = base.Columns["DescrEvento"]; - this.columnNextCodStato = base.Columns["NextCodStato"]; - this.columnStatoNext = base.Columns["StatoNext"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnCodMappa = new global::System.Data.DataColumn("CodMappa", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodMappa); - this.columnIdxTipoObj = new global::System.Data.DataColumn("IdxTipoObj", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnIdxTipoObj); - this.columnDescrObj = new global::System.Data.DataColumn("DescrObj", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDescrObj); - this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodStato); - this.columnStatoCurr = new global::System.Data.DataColumn("StatoCurr", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnStatoCurr); - this.columnCodEvento = new global::System.Data.DataColumn("CodEvento", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodEvento); - this.columnDescrEvento = new global::System.Data.DataColumn("DescrEvento", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDescrEvento); - this.columnNextCodStato = new global::System.Data.DataColumn("NextCodStato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnNextCodStato); - this.columnStatoNext = new global::System.Data.DataColumn("StatoNext", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnStatoNext); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnCodMappa, - this.columnIdxTipoObj, - this.columnCodStato, - this.columnCodEvento}, true)); - this.columnCodMappa.AllowDBNull = false; - this.columnCodMappa.MaxLength = 20; - this.columnIdxTipoObj.AllowDBNull = false; - this.columnIdxTipoObj.MaxLength = 50; - this.columnDescrObj.MaxLength = 50; - this.columnCodStato.AllowDBNull = false; - this.columnCodStato.MaxLength = 50; - this.columnStatoCurr.MaxLength = 50; - this.columnCodEvento.AllowDBNull = false; - this.columnCodEvento.MaxLength = 50; - this.columnDescrEvento.MaxLength = 50; - this.columnNextCodStato.MaxLength = 50; - this.columnStatoNext.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_ev2statiRow Newv_ev2statiRow() { - return ((v_ev2statiRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new v_ev2statiRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(v_ev2statiRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.v_ev2statiRowChanged != null)) { - this.v_ev2statiRowChanged(this, new v_ev2statiRowChangeEvent(((v_ev2statiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.v_ev2statiRowChanging != null)) { - this.v_ev2statiRowChanging(this, new v_ev2statiRowChangeEvent(((v_ev2statiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.v_ev2statiRowDeleted != null)) { - this.v_ev2statiRowDeleted(this, new v_ev2statiRowChangeEvent(((v_ev2statiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.v_ev2statiRowDeleting != null)) { - this.v_ev2statiRowDeleting(this, new v_ev2statiRowChangeEvent(((v_ev2statiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removev_ev2statiRow(v_ev2statiRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_XPS ds = new DS_XPS(); - 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 = "v_ev2statiDataTable"; - 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 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; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagStatiRow this[int index] { - get { - return ((AnagStatiRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagStatiRowChangeEventHandler AnagStatiRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagStatiRowChangeEventHandler AnagStatiRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagStatiRowChangeEventHandler AnagStatiRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagStatiRowChangeEventHandler AnagStatiRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] - public AnagStatiRow AddAnagStatiRow(string CodStato, string FamStato, string DescrStato) { - AnagStatiRow rowAnagStatiRow = ((AnagStatiRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - CodStato, - FamStato, - DescrStato}; - rowAnagStatiRow.ItemArray = columnValuesArray; - this.Rows.Add(rowAnagStatiRow); - return rowAnagStatiRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.0.0.0")] - internal void InitVars() { - this.columnCodStato = base.Columns["CodStato"]; - this.columnFamStato = base.Columns["FamStato"]; - this.columnDescrStato = base.Columns["DescrStato"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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.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", "4.0.0.0")] - public AnagStatiRow NewAnagStatiRow() { - return ((AnagStatiRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new AnagStatiRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(AnagStatiRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.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", "4.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", "4.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", "4.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", "4.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", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_XPS ds = new DS_XPS(); - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class AnagObjDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnCodObj; - - private global::System.Data.DataColumn columnDescrObj; - - private global::System.Data.DataColumn columnFamStato; - - private global::System.Data.DataColumn columnConcreto; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagObjDataTable() { - this.TableName = "AnagObj"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal AnagObjDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected AnagObjDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodObjColumn { - get { - return this.columnCodObj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DescrObjColumn { - get { - return this.columnDescrObj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] - public global::System.Data.DataColumn ConcretoColumn { - get { - return this.columnConcreto; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagObjRow this[int index] { - get { - return ((AnagObjRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagObjRowChangeEventHandler AnagObjRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagObjRowChangeEventHandler AnagObjRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagObjRowChangeEventHandler AnagObjRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagObjRowChangeEventHandler AnagObjRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddAnagObjRow(AnagObjRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagObjRow AddAnagObjRow(string CodObj, string DescrObj, string FamStato, bool Concreto) { - AnagObjRow rowAnagObjRow = ((AnagObjRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - CodObj, - DescrObj, - FamStato, - Concreto}; - rowAnagObjRow.ItemArray = columnValuesArray; - this.Rows.Add(rowAnagObjRow); - return rowAnagObjRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagObjRow FindByCodObj(string CodObj) { - return ((AnagObjRow)(this.Rows.Find(new object[] { - CodObj}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - AnagObjDataTable cln = ((AnagObjDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new AnagObjDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnCodObj = base.Columns["CodObj"]; - this.columnDescrObj = base.Columns["DescrObj"]; - this.columnFamStato = base.Columns["FamStato"]; - this.columnConcreto = base.Columns["Concreto"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnCodObj = new global::System.Data.DataColumn("CodObj", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodObj); - this.columnDescrObj = new global::System.Data.DataColumn("DescrObj", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDescrObj); - this.columnFamStato = new global::System.Data.DataColumn("FamStato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnFamStato); - this.columnConcreto = new global::System.Data.DataColumn("Concreto", typeof(bool), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnConcreto); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnCodObj}, true)); - this.columnCodObj.AllowDBNull = false; - this.columnCodObj.Unique = true; - this.columnCodObj.MaxLength = 50; - this.columnDescrObj.MaxLength = 50; - this.columnFamStato.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagObjRow NewAnagObjRow() { - return ((AnagObjRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new AnagObjRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(AnagObjRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.AnagObjRowChanged != null)) { - this.AnagObjRowChanged(this, new AnagObjRowChangeEvent(((AnagObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.AnagObjRowChanging != null)) { - this.AnagObjRowChanging(this, new AnagObjRowChangeEvent(((AnagObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.AnagObjRowDeleted != null)) { - this.AnagObjRowDeleted(this, new AnagObjRowChangeEvent(((AnagObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.AnagObjRowDeleting != null)) { - this.AnagObjRowDeleting(this, new AnagObjRowChangeEvent(((AnagObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveAnagObjRow(AnagObjRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_XPS ds = new DS_XPS(); - 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 = "AnagObjDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class AnagMappeDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnCodMappa; - - private global::System.Data.DataColumn columnDescrMappa; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagMappeDataTable() { - this.TableName = "AnagMappe"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal AnagMappeDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected AnagMappeDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodMappaColumn { - get { - return this.columnCodMappa; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DescrMappaColumn { - get { - return this.columnDescrMappa; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagMappeRow this[int index] { - get { - return ((AnagMappeRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagMappeRowChangeEventHandler AnagMappeRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagMappeRowChangeEventHandler AnagMappeRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagMappeRowChangeEventHandler AnagMappeRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagMappeRowChangeEventHandler AnagMappeRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddAnagMappeRow(AnagMappeRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagMappeRow AddAnagMappeRow(string CodMappa, string DescrMappa) { - AnagMappeRow rowAnagMappeRow = ((AnagMappeRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - CodMappa, - DescrMappa}; - rowAnagMappeRow.ItemArray = columnValuesArray; - this.Rows.Add(rowAnagMappeRow); - return rowAnagMappeRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagMappeRow FindByCodMappa(string CodMappa) { - return ((AnagMappeRow)(this.Rows.Find(new object[] { - CodMappa}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - AnagMappeDataTable cln = ((AnagMappeDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new AnagMappeDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnCodMappa = base.Columns["CodMappa"]; - this.columnDescrMappa = base.Columns["DescrMappa"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnCodMappa = new global::System.Data.DataColumn("CodMappa", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodMappa); - this.columnDescrMappa = new global::System.Data.DataColumn("DescrMappa", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDescrMappa); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnCodMappa}, true)); - this.columnCodMappa.AllowDBNull = false; - this.columnCodMappa.Unique = true; - this.columnCodMappa.MaxLength = 20; - this.columnDescrMappa.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagMappeRow NewAnagMappeRow() { - return ((AnagMappeRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new AnagMappeRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(AnagMappeRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.AnagMappeRowChanged != null)) { - this.AnagMappeRowChanged(this, new AnagMappeRowChangeEvent(((AnagMappeRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.AnagMappeRowChanging != null)) { - this.AnagMappeRowChanging(this, new AnagMappeRowChangeEvent(((AnagMappeRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.AnagMappeRowDeleted != null)) { - this.AnagMappeRowDeleted(this, new AnagMappeRowChangeEvent(((AnagMappeRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.AnagMappeRowDeleting != null)) { - this.AnagMappeRowDeleting(this, new AnagMappeRowChangeEvent(((AnagMappeRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveAnagMappeRow(AnagMappeRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_XPS ds = new DS_XPS(); - 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 = "AnagMappeDataTable"; - 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. - /// - public partial class NoteRow : global::System.Data.DataRow { - - private NoteDataTable tableNote; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal NoteRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableNote = ((NoteDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int NumNota { - get { - return ((int)(this[this.tableNote.NumNotaColumn])); - } - set { - this[this.tableNote.NumNotaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string IdxObj { - get { - try { - return ((string)(this[this.tableNote.IdxObjColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'IdxObj\' in table \'Note\' is DBNull.", e); - } - } - set { - this[this.tableNote.IdxObjColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodFase { - get { - try { - return ((string)(this[this.tableNote.CodFaseColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodFase\' in table \'Note\' is DBNull.", e); - } - } - set { - this[this.tableNote.CodFaseColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string UserNota { - get { - try { - return ((string)(this[this.tableNote.UserNotaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'UserNota\' in table \'Note\' is DBNull.", e); - } - } - set { - this[this.tableNote.UserNotaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime Data { - get { - try { - return ((global::System.DateTime)(this[this.tableNote.DataColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Data\' in table \'Note\' is DBNull.", e); - } - } - set { - this[this.tableNote.DataColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ExtView { - get { - try { - return ((bool)(this[this.tableNote.ExtViewColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'ExtView\' in table \'Note\' is DBNull.", e); - } - } - set { - this[this.tableNote.ExtViewColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Nota { - get { - try { - return ((string)(this[this.tableNote.NotaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Nota\' in table \'Note\' is DBNull.", e); - } - } - set { - this[this.tableNote.NotaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsIdxObjNull() { - return this.IsNull(this.tableNote.IdxObjColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetIdxObjNull() { - this[this.tableNote.IdxObjColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodFaseNull() { - return this.IsNull(this.tableNote.CodFaseColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodFaseNull() { - this[this.tableNote.CodFaseColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsUserNotaNull() { - return this.IsNull(this.tableNote.UserNotaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetUserNotaNull() { - this[this.tableNote.UserNotaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDataNull() { - return this.IsNull(this.tableNote.DataColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDataNull() { - this[this.tableNote.DataColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsExtViewNull() { - return this.IsNull(this.tableNote.ExtViewColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetExtViewNull() { - this[this.tableNote.ExtViewColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsNotaNull() { - return this.IsNull(this.tableNote.NotaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetNotaNull() { - this[this.tableNote.NotaColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class Step4ObjRow : global::System.Data.DataRow { - - private Step4ObjDataTable tableStep4Obj; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal Step4ObjRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableStep4Obj = ((Step4ObjDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string IdxObj { - get { - return ((string)(this[this.tableStep4Obj.IdxObjColumn])); - } - set { - this[this.tableStep4Obj.IdxObjColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int IdxStep { - get { - return ((int)(this[this.tableStep4Obj.IdxStepColumn])); - } - set { - this[this.tableStep4Obj.IdxStepColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int IdxStato { - get { - try { - return ((int)(this[this.tableStep4Obj.IdxStatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'IdxStato\' in table \'Step4Obj\' is DBNull.", e); - } - } - set { - this[this.tableStep4Obj.IdxStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime StartDatePrev { - get { - try { - return ((global::System.DateTime)(this[this.tableStep4Obj.StartDatePrevColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'StartDatePrev\' in table \'Step4Obj\' is DBNull.", e); - } - } - set { - this[this.tableStep4Obj.StartDatePrevColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DueDatePrev { - get { - try { - return ((global::System.DateTime)(this[this.tableStep4Obj.DueDatePrevColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DueDatePrev\' in table \'Step4Obj\' is DBNull.", e); - } - } - set { - this[this.tableStep4Obj.DueDatePrevColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime StartDateReal { - get { - try { - return ((global::System.DateTime)(this[this.tableStep4Obj.StartDateRealColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'StartDateReal\' in table \'Step4Obj\' is DBNull.", e); - } - } - set { - this[this.tableStep4Obj.StartDateRealColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DueDateReal { - get { - try { - return ((global::System.DateTime)(this[this.tableStep4Obj.DueDateRealColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DueDateReal\' in table \'Step4Obj\' is DBNull.", e); - } - } - set { - this[this.tableStep4Obj.DueDateRealColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public double RatioCompl { - get { - try { - return ((double)(this[this.tableStep4Obj.RatioComplColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'RatioCompl\' in table \'Step4Obj\' is DBNull.", e); - } - } - set { - this[this.tableStep4Obj.RatioComplColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsIdxStatoNull() { - return this.IsNull(this.tableStep4Obj.IdxStatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetIdxStatoNull() { - this[this.tableStep4Obj.IdxStatoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsStartDatePrevNull() { - return this.IsNull(this.tableStep4Obj.StartDatePrevColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetStartDatePrevNull() { - this[this.tableStep4Obj.StartDatePrevColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDueDatePrevNull() { - return this.IsNull(this.tableStep4Obj.DueDatePrevColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDueDatePrevNull() { - this[this.tableStep4Obj.DueDatePrevColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsStartDateRealNull() { - return this.IsNull(this.tableStep4Obj.StartDateRealColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetStartDateRealNull() { - this[this.tableStep4Obj.StartDateRealColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDueDateRealNull() { - return this.IsNull(this.tableStep4Obj.DueDateRealColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDueDateRealNull() { - this[this.tableStep4Obj.DueDateRealColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsRatioComplNull() { - return this.IsNull(this.tableStep4Obj.RatioComplColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetRatioComplNull() { - this[this.tableStep4Obj.RatioComplColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class Object2SetRow : global::System.Data.DataRow { - - private Object2SetDataTable tableObject2Set; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal Object2SetRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableObject2Set = ((Object2SetDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string IdxSet { - get { - return ((string)(this[this.tableObject2Set.IdxSetColumn])); - } - set { - this[this.tableObject2Set.IdxSetColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodObj { - get { - return ((string)(this[this.tableObject2Set.CodObjColumn])); - } - set { - this[this.tableObject2Set.CodObjColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Qta { - get { - try { - return ((int)(this[this.tableObject2Set.QtaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'Object2Set\' is DBNull.", e); - } - } - set { - this[this.tableObject2Set.QtaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool UserQtyReq { - get { - try { - return ((bool)(this[this.tableObject2Set.UserQtyReqColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'UserQtyReq\' in table \'Object2Set\' is DBNull.", e); - } - } - set { - this[this.tableObject2Set.UserQtyReqColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Posizione { - get { - try { - return ((string)(this[this.tableObject2Set.PosizioneColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Posizione\' in table \'Object2Set\' is DBNull.", e); - } - } - set { - this[this.tableObject2Set.PosizioneColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool TimeTrackEnab { - get { - try { - return ((bool)(this[this.tableObject2Set.TimeTrackEnabColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'TimeTrackEnab\' in table \'Object2Set\' is DBNull.", e); - } - } - set { - this[this.tableObject2Set.TimeTrackEnabColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ProcReq { - get { - try { - return ((bool)(this[this.tableObject2Set.ProcReqColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'ProcReq\' in table \'Object2Set\' is DBNull.", e); - } - } - set { - this[this.tableObject2Set.ProcReqColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ExtView { - get { - try { - return ((bool)(this[this.tableObject2Set.ExtViewColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'ExtView\' in table \'Object2Set\' is DBNull.", e); - } - } - set { - this[this.tableObject2Set.ExtViewColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagObjRow AnagObjRow { - get { - return ((AnagObjRow)(this.GetParentRow(this.Table.ParentRelations["FK_ObjectSet_AnagTipoObj"]))); - } - set { - this.SetParentRow(value, this.Table.ParentRelations["FK_ObjectSet_AnagTipoObj"]); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsQtaNull() { - return this.IsNull(this.tableObject2Set.QtaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetQtaNull() { - this[this.tableObject2Set.QtaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsUserQtyReqNull() { - return this.IsNull(this.tableObject2Set.UserQtyReqColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetUserQtyReqNull() { - this[this.tableObject2Set.UserQtyReqColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsPosizioneNull() { - return this.IsNull(this.tableObject2Set.PosizioneColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetPosizioneNull() { - this[this.tableObject2Set.PosizioneColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsTimeTrackEnabNull() { - return this.IsNull(this.tableObject2Set.TimeTrackEnabColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetTimeTrackEnabNull() { - this[this.tableObject2Set.TimeTrackEnabColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsProcReqNull() { - return this.IsNull(this.tableObject2Set.ProcReqColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetProcReqNull() { - this[this.tableObject2Set.ProcReqColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsExtViewNull() { - return this.IsNull(this.tableObject2Set.ExtViewColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetExtViewNull() { - this[this.tableObject2Set.ExtViewColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class UMRow : global::System.Data.DataRow { - - private UMDataTable tableUM; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal UMRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableUM = ((UMDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string UM { - get { - return ((string)(this[this.tableUM.UMColumn])); - } - set { - this[this.tableUM.UMColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string DescrUM { - get { - try { - return ((string)(this[this.tableUM.DescrUMColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DescrUM\' in table \'UM\' is DBNull.", e); - } - } - set { - this[this.tableUM.DescrUMColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public double FattoreSI { - get { - try { - return ((double)(this[this.tableUM.FattoreSIColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'FattoreSI\' in table \'UM\' is DBNull.", e); - } - } - set { - this[this.tableUM.FattoreSIColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDescrUMNull() { - return this.IsNull(this.tableUM.DescrUMColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDescrUMNull() { - this[this.tableUM.DescrUMColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsFattoreSINull() { - return this.IsNull(this.tableUM.FattoreSIColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetFattoreSINull() { - this[this.tableUM.FattoreSIColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class EventiRow : global::System.Data.DataRow { - - private EventiDataTable tableEventi; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal EventiRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableEventi = ((EventiDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodEvento { - get { - return ((string)(this[this.tableEventi.CodEventoColumn])); - } - set { - this[this.tableEventi.CodEventoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodTipoEvento { - get { - try { - return ((string)(this[this.tableEventi.CodTipoEventoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodTipoEvento\' in table \'Eventi\' is DBNull.", e); - } - } - set { - this[this.tableEventi.CodTipoEventoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string DescrEvento { - get { - try { - return ((string)(this[this.tableEventi.DescrEventoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DescrEvento\' in table \'Eventi\' is DBNull.", e); - } - } - set { - this[this.tableEventi.DescrEventoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Action { - get { - try { - return ((string)(this[this.tableEventi.ActionColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Action\' in table \'Eventi\' is DBNull.", e); - } - } - set { - this[this.tableEventi.ActionColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TipoEventiRow TipoEventiRow { - get { - return ((TipoEventiRow)(this.GetParentRow(this.Table.ParentRelations["FK_Eventi_TipoEventi"]))); - } - set { - this.SetParentRow(value, this.Table.ParentRelations["FK_Eventi_TipoEventi"]); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodTipoEventoNull() { - return this.IsNull(this.tableEventi.CodTipoEventoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodTipoEventoNull() { - this[this.tableEventi.CodTipoEventoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDescrEventoNull() { - return this.IsNull(this.tableEventi.DescrEventoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDescrEventoNull() { - this[this.tableEventi.DescrEventoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsActionNull() { - return this.IsNull(this.tableEventi.ActionColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetActionNull() { - this[this.tableEventi.ActionColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class TipoEventiRow : global::System.Data.DataRow { - - private TipoEventiDataTable tableTipoEventi; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal TipoEventiRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableTipoEventi = ((TipoEventiDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodTipoEvento { - get { - return ((string)(this[this.tableTipoEventi.CodTipoEventoColumn])); - } - set { - this[this.tableTipoEventi.CodTipoEventoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string DescrTipoEv { - get { - try { - return ((string)(this[this.tableTipoEventi.DescrTipoEvColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DescrTipoEv\' in table \'TipoEventi\' is DBNull.", e); - } - } - set { - this[this.tableTipoEventi.DescrTipoEvColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDescrTipoEvNull() { - return this.IsNull(this.tableTipoEventi.DescrTipoEvColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDescrTipoEvNull() { - this[this.tableTipoEventi.DescrTipoEvColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiRow[] GetEventiRows() { - if ((this.Table.ChildRelations["FK_Eventi_TipoEventi"] == null)) { - return new EventiRow[0]; - } - else { - return ((EventiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Eventi_TipoEventi"]))); - } - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class v_ev2statiRow : global::System.Data.DataRow { - - private v_ev2statiDataTable tablev_ev2stati; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_ev2statiRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablev_ev2stati = ((v_ev2statiDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodMappa { - get { - return ((string)(this[this.tablev_ev2stati.CodMappaColumn])); - } - set { - this[this.tablev_ev2stati.CodMappaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string IdxTipoObj { - get { - return ((string)(this[this.tablev_ev2stati.IdxTipoObjColumn])); - } - set { - this[this.tablev_ev2stati.IdxTipoObjColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string DescrObj { - get { - try { - return ((string)(this[this.tablev_ev2stati.DescrObjColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DescrObj\' in table \'v_ev2stati\' is DBNull.", e); - } - } - set { - this[this.tablev_ev2stati.DescrObjColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodStato { - get { - return ((string)(this[this.tablev_ev2stati.CodStatoColumn])); - } - set { - this[this.tablev_ev2stati.CodStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string StatoCurr { - get { - try { - return ((string)(this[this.tablev_ev2stati.StatoCurrColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'StatoCurr\' in table \'v_ev2stati\' is DBNull.", e); - } - } - set { - this[this.tablev_ev2stati.StatoCurrColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodEvento { - get { - return ((string)(this[this.tablev_ev2stati.CodEventoColumn])); - } - set { - this[this.tablev_ev2stati.CodEventoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string DescrEvento { - get { - try { - return ((string)(this[this.tablev_ev2stati.DescrEventoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DescrEvento\' in table \'v_ev2stati\' is DBNull.", e); - } - } - set { - this[this.tablev_ev2stati.DescrEventoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string NextCodStato { - get { - try { - return ((string)(this[this.tablev_ev2stati.NextCodStatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'NextCodStato\' in table \'v_ev2stati\' is DBNull.", e); - } - } - set { - this[this.tablev_ev2stati.NextCodStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string StatoNext { - get { - try { - return ((string)(this[this.tablev_ev2stati.StatoNextColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'StatoNext\' in table \'v_ev2stati\' is DBNull.", e); - } - } - set { - this[this.tablev_ev2stati.StatoNextColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDescrObjNull() { - return this.IsNull(this.tablev_ev2stati.DescrObjColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDescrObjNull() { - this[this.tablev_ev2stati.DescrObjColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsStatoCurrNull() { - return this.IsNull(this.tablev_ev2stati.StatoCurrColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetStatoCurrNull() { - this[this.tablev_ev2stati.StatoCurrColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDescrEventoNull() { - return this.IsNull(this.tablev_ev2stati.DescrEventoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDescrEventoNull() { - this[this.tablev_ev2stati.DescrEventoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsNextCodStatoNull() { - return this.IsNull(this.tablev_ev2stati.NextCodStatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetNextCodStatoNull() { - this[this.tablev_ev2stati.NextCodStatoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsStatoNextNull() { - return this.IsNull(this.tablev_ev2stati.StatoNextColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetStatoNextNull() { - this[this.tablev_ev2stati.StatoNextColumn] = global::System.Convert.DBNull; - } - } - - /// - ///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", "4.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", "4.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", "4.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", "4.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("The value for column \'DescrStato\' in table \'AnagStati\' is DBNull.", e); - } - } - set { - this[this.tableAnagStati.DescrStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] - public void SetDescrStatoNull() { - this[this.tableAnagStati.DescrStatoColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class AnagObjRow : global::System.Data.DataRow { - - private AnagObjDataTable tableAnagObj; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal AnagObjRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableAnagObj = ((AnagObjDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodObj { - get { - return ((string)(this[this.tableAnagObj.CodObjColumn])); - } - set { - this[this.tableAnagObj.CodObjColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string DescrObj { - get { - try { - return ((string)(this[this.tableAnagObj.DescrObjColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DescrObj\' in table \'AnagObj\' is DBNull.", e); - } - } - set { - this[this.tableAnagObj.DescrObjColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string FamStato { - get { - try { - return ((string)(this[this.tableAnagObj.FamStatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'FamStato\' in table \'AnagObj\' is DBNull.", e); - } - } - set { - this[this.tableAnagObj.FamStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Concreto { - get { - try { - return ((bool)(this[this.tableAnagObj.ConcretoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Concreto\' in table \'AnagObj\' is DBNull.", e); - } - } - set { - this[this.tableAnagObj.ConcretoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDescrObjNull() { - return this.IsNull(this.tableAnagObj.DescrObjColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDescrObjNull() { - this[this.tableAnagObj.DescrObjColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsFamStatoNull() { - return this.IsNull(this.tableAnagObj.FamStatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetFamStatoNull() { - this[this.tableAnagObj.FamStatoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsConcretoNull() { - return this.IsNull(this.tableAnagObj.ConcretoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetConcretoNull() { - this[this.tableAnagObj.ConcretoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Object2SetRow[] GetObject2SetRows() { - if ((this.Table.ChildRelations["FK_ObjectSet_AnagTipoObj"] == null)) { - return new Object2SetRow[0]; - } - else { - return ((Object2SetRow[])(base.GetChildRows(this.Table.ChildRelations["FK_ObjectSet_AnagTipoObj"]))); - } - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class AnagMappeRow : global::System.Data.DataRow { - - private AnagMappeDataTable tableAnagMappe; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal AnagMappeRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableAnagMappe = ((AnagMappeDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodMappa { - get { - return ((string)(this[this.tableAnagMappe.CodMappaColumn])); - } - set { - this[this.tableAnagMappe.CodMappaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string DescrMappa { - get { - try { - return ((string)(this[this.tableAnagMappe.DescrMappaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DescrMappa\' in table \'AnagMappe\' is DBNull.", e); - } - } - set { - this[this.tableAnagMappe.DescrMappaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDescrMappaNull() { - return this.IsNull(this.tableAnagMappe.DescrMappaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDescrMappaNull() { - this[this.tableAnagMappe.DescrMappaColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class NoteRowChangeEvent : global::System.EventArgs { - - private NoteRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public NoteRowChangeEvent(NoteRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public NoteRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class Step4ObjRowChangeEvent : global::System.EventArgs { - - private Step4ObjRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Step4ObjRowChangeEvent(Step4ObjRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Step4ObjRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class Object2SetRowChangeEvent : global::System.EventArgs { - - private Object2SetRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Object2SetRowChangeEvent(Object2SetRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Object2SetRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class UMRowChangeEvent : global::System.EventArgs { - - private UMRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UMRowChangeEvent(UMRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UMRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class EventiRowChangeEvent : global::System.EventArgs { - - private EventiRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiRowChangeEvent(EventiRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class TipoEventiRowChangeEvent : global::System.EventArgs { - - private TipoEventiRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TipoEventiRowChangeEvent(TipoEventiRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TipoEventiRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class v_ev2statiRowChangeEvent : global::System.EventArgs { - - private v_ev2statiRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_ev2statiRowChangeEvent(v_ev2statiRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_ev2statiRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.0.0.0")] - public AnagStatiRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class AnagObjRowChangeEvent : global::System.EventArgs { - - private AnagObjRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagObjRowChangeEvent(AnagObjRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagObjRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class AnagMappeRowChangeEvent : global::System.EventArgs { - - private AnagMappeRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagMappeRowChangeEvent(AnagMappeRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagMappeRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - } -} -namespace XPS_data.DS_XPSTableAdapters { - - - /// - ///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 NoteTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public NoteTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "Note"; - tableMapping.ColumnMappings.Add("NumNota", "NumNota"); - tableMapping.ColumnMappings.Add("IdxObj", "IdxObj"); - tableMapping.ColumnMappings.Add("CodFase", "CodFase"); - tableMapping.ColumnMappings.Add("UserNota", "UserNota"); - tableMapping.ColumnMappings.Add("Data", "Data"); - tableMapping.ColumnMappings.Add("ExtView", "ExtView"); - tableMapping.ColumnMappings.Add("Nota", "Nota"); - 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].[Note] WHERE (([NumNota] = @Original_NumNota) AND ((@IsNull_IdxObj = 1 AND [IdxObj] IS NULL) OR ([IdxObj] = @Original_IdxObj)) AND ((@IsNull_CodFase = 1 AND [CodFase] IS NULL) OR ([CodFase] = @Original_CodFase)) AND ((@IsNull_UserNota = 1 AND [UserNota] IS NULL) OR ([UserNota] = @Original_UserNota)) AND ((@IsNull_Data = 1 AND [Data] IS NULL) OR ([Data] = @Original_Data)) AND ((@IsNull_ExtView = 1 AND [ExtView] IS NULL) OR ([ExtView] = @Original_ExtView)) AND ((@IsNull_Nota = 1 AND [Nota] IS NULL) OR ([Nota] = @Original_Nota)))"; - this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumNota", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxObj", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodFase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFase", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFase", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFase", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserNota", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserNota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserNota", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Data", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtView", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtView", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Nota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nota", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nota", 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].[Note] ([NumNota], [IdxObj], [CodFase], [UserNota], [Data], [ExtView], [Nota]) VALUES (@NumNota, @IdxObj, @CodFase, @UserNota, @Data, @ExtView, @Nota); -SELECT NumNota, IdxObj, CodFase, UserNota, Data, ExtView, Nota FROM Note WHERE (NumNota = @NumNota)"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumNota", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFase", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFase", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserNota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserNota", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtView", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nota", 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].[Note] SET [NumNota] = @NumNota, [IdxObj] = @IdxObj, [CodFase] = @CodFase, [UserNota] = @UserNota, [Data] = @Data, [ExtView] = @ExtView, [Nota] = @Nota WHERE (([NumNota] = @Original_NumNota) AND ((@IsNull_IdxObj = 1 AND [IdxObj] IS NULL) OR ([IdxObj] = @Original_IdxObj)) AND ((@IsNull_CodFase = 1 AND [CodFase] IS NULL) OR ([CodFase] = @Original_CodFase)) AND ((@IsNull_UserNota = 1 AND [UserNota] IS NULL) OR ([UserNota] = @Original_UserNota)) AND ((@IsNull_Data = 1 AND [Data] IS NULL) OR ([Data] = @Original_Data)) AND ((@IsNull_ExtView = 1 AND [ExtView] IS NULL) OR ([ExtView] = @Original_ExtView)) AND ((@IsNull_Nota = 1 AND [Nota] IS NULL) OR ([Nota] = @Original_Nota))); -SELECT NumNota, IdxObj, CodFase, UserNota, Data, ExtView, Nota FROM Note WHERE (NumNota = @NumNota)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumNota", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFase", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFase", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserNota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserNota", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtView", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nota", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumNota", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxObj", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodFase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFase", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFase", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFase", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserNota", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserNota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserNota", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Data", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtView", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtView", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Nota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nota", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nota", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT NumNota, IdxObj, CodFase, UserNota, Data, ExtView, Nota FROM dbo.Note"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_XPS.NoteDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_XPS.NoteDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_XPS.NoteDataTable dataTable = new DS_XPS.NoteDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS.NoteDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS dataSet) { - return this.Adapter.Update(dataSet, "Note"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(int Original_NumNota, string Original_IdxObj, string Original_CodFase, string Original_UserNota, global::System.Nullable Original_Data, global::System.Nullable Original_ExtView, string Original_Nota) { - this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_NumNota)); - if ((Original_IdxObj == null)) { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_IdxObj)); - } - if ((Original_CodFase == null)) { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodFase)); - } - if ((Original_UserNota == null)) { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_UserNota)); - } - if ((Original_Data.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[8].Value = ((System.DateTime)(Original_Data.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; - } - if ((Original_ExtView.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[10].Value = ((bool)(Original_ExtView.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; - } - if ((Original_Nota == null)) { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_Nota)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(int NumNota, string IdxObj, string CodFase, string UserNota, global::System.Nullable Data, global::System.Nullable ExtView, string Nota) { - this.Adapter.InsertCommand.Parameters[0].Value = ((int)(NumNota)); - if ((IdxObj == null)) { - this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(IdxObj)); - } - if ((CodFase == null)) { - this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodFase)); - } - if ((UserNota == null)) { - this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[3].Value = ((string)(UserNota)); - } - if ((Data.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(Data.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; - } - if ((ExtView.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[5].Value = ((bool)(ExtView.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; - } - if ((Nota == null)) { - this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Nota)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.InsertCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.InsertCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(int NumNota, string IdxObj, string CodFase, string UserNota, global::System.Nullable Data, global::System.Nullable ExtView, string Nota, int Original_NumNota, string Original_IdxObj, string Original_CodFase, string Original_UserNota, global::System.Nullable Original_Data, global::System.Nullable Original_ExtView, string Original_Nota) { - this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(NumNota)); - if ((IdxObj == null)) { - this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(IdxObj)); - } - if ((CodFase == null)) { - this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodFase)); - } - if ((UserNota == null)) { - this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(UserNota)); - } - if ((Data.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(Data.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; - } - if ((ExtView.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[5].Value = ((bool)(ExtView.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; - } - if ((Nota == null)) { - this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Nota)); - } - this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_NumNota)); - if ((Original_IdxObj == null)) { - this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_IdxObj)); - } - if ((Original_CodFase == null)) { - this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_CodFase)); - } - if ((Original_UserNota == null)) { - this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_UserNota)); - } - if ((Original_Data.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(Original_Data.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; - } - if ((Original_ExtView.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[17].Value = ((bool)(Original_ExtView.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; - } - if ((Original_Nota == null)) { - this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_Nota)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string IdxObj, string CodFase, string UserNota, global::System.Nullable Data, global::System.Nullable ExtView, string Nota, int Original_NumNota, string Original_IdxObj, string Original_CodFase, string Original_UserNota, global::System.Nullable Original_Data, global::System.Nullable Original_ExtView, string Original_Nota) { - return this.Update(Original_NumNota, IdxObj, CodFase, UserNota, Data, ExtView, Nota, Original_NumNota, Original_IdxObj, Original_CodFase, Original_UserNota, Original_Data, Original_ExtView, Original_Nota); - } - } - - /// - ///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 Step4ObjTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Step4ObjTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "Step4Obj"; - tableMapping.ColumnMappings.Add("IdxObj", "IdxObj"); - tableMapping.ColumnMappings.Add("IdxStep", "IdxStep"); - tableMapping.ColumnMappings.Add("IdxStato", "IdxStato"); - tableMapping.ColumnMappings.Add("StartDatePrev", "StartDatePrev"); - tableMapping.ColumnMappings.Add("DueDatePrev", "DueDatePrev"); - tableMapping.ColumnMappings.Add("StartDateReal", "StartDateReal"); - tableMapping.ColumnMappings.Add("DueDateReal", "DueDateReal"); - tableMapping.ColumnMappings.Add("RatioCompl", "RatioCompl"); - 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].[Step4Obj] WHERE (([IdxObj] = @Original_IdxObj) AND ([IdxStep] = @Original_IdxStep) AND ((@IsNull_IdxStato = 1 AND [IdxStato] IS NULL) OR ([IdxStato] = @Original_IdxStato)) AND ((@IsNull_StartDatePrev = 1 AND [StartDatePrev] IS NULL) OR ([StartDatePrev] = @Original_StartDatePrev)) AND ((@IsNull_DueDatePrev = 1 AND [DueDatePrev] IS NULL) OR ([DueDatePrev] = @Original_DueDatePrev)) AND ((@IsNull_StartDateReal = 1 AND [StartDateReal] IS NULL) OR ([StartDateReal] = @Original_StartDateReal)) AND ((@IsNull_DueDateReal = 1 AND [DueDateReal] IS NULL) OR ([DueDateReal] = @Original_DueDateReal)) AND ((@IsNull_RatioCompl = 1 AND [RatioCompl] IS NULL) OR ([RatioCompl] = @Original_RatioCompl)))"; - this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStep", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStep", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_StartDatePrev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDatePrev", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_StartDatePrev", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDatePrev", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DueDatePrev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDatePrev", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DueDatePrev", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDatePrev", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_StartDateReal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDateReal", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_StartDateReal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDateReal", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DueDateReal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDateReal", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DueDateReal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDateReal", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RatioCompl", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RatioCompl", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RatioCompl", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RatioCompl", 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].[Step4Obj] ([IdxObj], [IdxStep], [IdxStato], [StartDatePrev], [DueDatePrev], [StartDateReal], [DueDateReal], [RatioCompl]) VALUES (@IdxObj, @IdxStep, @IdxStato, @StartDatePrev, @DueDatePrev, @StartDateReal, @DueDateReal, @RatioCompl); -SELECT IdxObj, IdxStep, IdxStato, StartDatePrev, DueDatePrev, StartDateReal, DueDateReal, RatioCompl FROM Step4Obj WHERE (IdxObj = @IdxObj) AND (IdxStep = @IdxStep)"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStep", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStep", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@StartDatePrev", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDatePrev", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDatePrev", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDatePrev", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@StartDateReal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDateReal", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDateReal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDateReal", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RatioCompl", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RatioCompl", 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].[Step4Obj] SET [IdxObj] = @IdxObj, [IdxStep] = @IdxStep, [IdxStato] = @IdxStato, [StartDatePrev] = @StartDatePrev, [DueDatePrev] = @DueDatePrev, [StartDateReal] = @StartDateReal, [DueDateReal] = @DueDateReal, [RatioCompl] = @RatioCompl WHERE (([IdxObj] = @Original_IdxObj) AND ([IdxStep] = @Original_IdxStep) AND ((@IsNull_IdxStato = 1 AND [IdxStato] IS NULL) OR ([IdxStato] = @Original_IdxStato)) AND ((@IsNull_StartDatePrev = 1 AND [StartDatePrev] IS NULL) OR ([StartDatePrev] = @Original_StartDatePrev)) AND ((@IsNull_DueDatePrev = 1 AND [DueDatePrev] IS NULL) OR ([DueDatePrev] = @Original_DueDatePrev)) AND ((@IsNull_StartDateReal = 1 AND [StartDateReal] IS NULL) OR ([StartDateReal] = @Original_StartDateReal)) AND ((@IsNull_DueDateReal = 1 AND [DueDateReal] IS NULL) OR ([DueDateReal] = @Original_DueDateReal)) AND ((@IsNull_RatioCompl = 1 AND [RatioCompl] IS NULL) OR ([RatioCompl] = @Original_RatioCompl))); -SELECT IdxObj, IdxStep, IdxStato, StartDatePrev, DueDatePrev, StartDateReal, DueDateReal, RatioCompl FROM Step4Obj WHERE (IdxObj = @IdxObj) AND (IdxStep = @IdxStep)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStep", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStep", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@StartDatePrev", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDatePrev", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDatePrev", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDatePrev", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@StartDateReal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDateReal", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDateReal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDateReal", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RatioCompl", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RatioCompl", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStep", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStep", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_StartDatePrev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDatePrev", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_StartDatePrev", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDatePrev", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DueDatePrev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDatePrev", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DueDatePrev", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDatePrev", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_StartDateReal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDateReal", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_StartDateReal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDateReal", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DueDateReal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDateReal", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DueDateReal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDateReal", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RatioCompl", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RatioCompl", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RatioCompl", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RatioCompl", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT IdxObj, IdxStep, IdxStato, StartDatePrev, DueDatePrev, StartDateReal, DueD" + - "ateReal, RatioCompl FROM dbo.Step4Obj"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_XPS.Step4ObjDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_XPS.Step4ObjDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_XPS.Step4ObjDataTable dataTable = new DS_XPS.Step4ObjDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS.Step4ObjDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS dataSet) { - return this.Adapter.Update(dataSet, "Step4Obj"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_IdxObj, int Original_IdxStep, global::System.Nullable Original_IdxStato, global::System.Nullable Original_StartDatePrev, global::System.Nullable Original_DueDatePrev, global::System.Nullable Original_StartDateReal, global::System.Nullable Original_DueDateReal, global::System.Nullable Original_RatioCompl) { - if ((Original_IdxObj == null)) { - throw new global::System.ArgumentNullException("Original_IdxObj"); - } - else { - this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_IdxObj)); - } - this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_IdxStep)); - if ((Original_IdxStato.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_IdxStato.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; - } - if ((Original_StartDatePrev.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[5].Value = ((System.DateTime)(Original_StartDatePrev.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; - } - if ((Original_DueDatePrev.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[7].Value = ((System.DateTime)(Original_DueDatePrev.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; - } - if ((Original_StartDateReal.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[9].Value = ((System.DateTime)(Original_StartDateReal.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value; - } - if ((Original_DueDateReal.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[11].Value = ((System.DateTime)(Original_DueDateReal.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value; - } - if ((Original_RatioCompl.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[13].Value = ((double)(Original_RatioCompl.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[13].Value = global::System.DBNull.Value; - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string IdxObj, int IdxStep, global::System.Nullable IdxStato, global::System.Nullable StartDatePrev, global::System.Nullable DueDatePrev, global::System.Nullable StartDateReal, global::System.Nullable DueDateReal, global::System.Nullable RatioCompl) { - if ((IdxObj == null)) { - throw new global::System.ArgumentNullException("IdxObj"); - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = ((string)(IdxObj)); - } - this.Adapter.InsertCommand.Parameters[1].Value = ((int)(IdxStep)); - if ((IdxStato.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[2].Value = ((int)(IdxStato.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; - } - if ((StartDatePrev.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(StartDatePrev.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; - } - if ((DueDatePrev.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(DueDatePrev.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; - } - if ((StartDateReal.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(StartDateReal.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; - } - if ((DueDateReal.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[6].Value = ((System.DateTime)(DueDateReal.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; - } - if ((RatioCompl.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[7].Value = ((double)(RatioCompl.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[7].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", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update( - string IdxObj, - int IdxStep, - global::System.Nullable IdxStato, - global::System.Nullable StartDatePrev, - global::System.Nullable DueDatePrev, - global::System.Nullable StartDateReal, - global::System.Nullable DueDateReal, - global::System.Nullable RatioCompl, - string Original_IdxObj, - int Original_IdxStep, - global::System.Nullable Original_IdxStato, - global::System.Nullable Original_StartDatePrev, - global::System.Nullable Original_DueDatePrev, - global::System.Nullable Original_StartDateReal, - global::System.Nullable Original_DueDateReal, - global::System.Nullable Original_RatioCompl) { - if ((IdxObj == null)) { - throw new global::System.ArgumentNullException("IdxObj"); - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(IdxObj)); - } - this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(IdxStep)); - if ((IdxStato.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(IdxStato.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; - } - if ((StartDatePrev.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(StartDatePrev.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; - } - if ((DueDatePrev.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(DueDatePrev.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; - } - if ((StartDateReal.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(StartDateReal.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; - } - if ((DueDateReal.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(DueDateReal.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; - } - if ((RatioCompl.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[7].Value = ((double)(RatioCompl.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; - } - if ((Original_IdxObj == null)) { - throw new global::System.ArgumentNullException("Original_IdxObj"); - } - else { - this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_IdxObj)); - } - this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_IdxStep)); - if ((Original_IdxStato.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_IdxStato.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; - } - if ((Original_StartDatePrev.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(Original_StartDatePrev.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; - } - if ((Original_DueDatePrev.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(Original_DueDatePrev.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; - } - if ((Original_StartDateReal.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[17].Value = ((System.DateTime)(Original_StartDateReal.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; - } - if ((Original_DueDateReal.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[19].Value = ((System.DateTime)(Original_DueDateReal.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; - } - if ((Original_RatioCompl.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[21].Value = ((double)(Original_RatioCompl.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(global::System.Nullable IdxStato, global::System.Nullable StartDatePrev, global::System.Nullable DueDatePrev, global::System.Nullable StartDateReal, global::System.Nullable DueDateReal, global::System.Nullable RatioCompl, string Original_IdxObj, int Original_IdxStep, global::System.Nullable Original_IdxStato, global::System.Nullable Original_StartDatePrev, global::System.Nullable Original_DueDatePrev, global::System.Nullable Original_StartDateReal, global::System.Nullable Original_DueDateReal, global::System.Nullable Original_RatioCompl) { - return this.Update(Original_IdxObj, Original_IdxStep, IdxStato, StartDatePrev, DueDatePrev, StartDateReal, DueDateReal, RatioCompl, Original_IdxObj, Original_IdxStep, Original_IdxStato, Original_StartDatePrev, Original_DueDatePrev, Original_StartDateReal, Original_DueDateReal, Original_RatioCompl); - } - } - - /// - ///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 Object2SetTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Object2SetTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "Object2Set"; - tableMapping.ColumnMappings.Add("IdxSet", "IdxSet"); - tableMapping.ColumnMappings.Add("CodObj", "CodObj"); - tableMapping.ColumnMappings.Add("Qta", "Qta"); - tableMapping.ColumnMappings.Add("UserQtyReq", "UserQtyReq"); - tableMapping.ColumnMappings.Add("Posizione", "Posizione"); - tableMapping.ColumnMappings.Add("TimeTrackEnab", "TimeTrackEnab"); - tableMapping.ColumnMappings.Add("ProcReq", "ProcReq"); - tableMapping.ColumnMappings.Add("ExtView", "ExtView"); - 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].[Object2Set] WHERE (([IdxSet] = @Original_IdxSet) AND ([CodObj] = @Original_CodObj) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_UserQtyReq = 1 AND [UserQtyReq] IS NULL) OR ([UserQtyReq] = @Original_UserQtyReq)) AND ((@IsNull_Posizione = 1 AND [Posizione] IS NULL) OR ([Posizione] = @Original_Posizione)) AND ((@IsNull_TimeTrackEnab = 1 AND [TimeTrackEnab] IS NULL) OR ([TimeTrackEnab] = @Original_TimeTrackEnab)) AND ((@IsNull_ProcReq = 1 AND [ProcReq] IS NULL) OR ([ProcReq] = @Original_ProcReq)) AND ((@IsNull_ExtView = 1 AND [ExtView] IS NULL) OR ([ExtView] = @Original_ExtView)))"; - this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxSet", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxSet", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserQtyReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserQtyReq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserQtyReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserQtyReq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Posizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Posizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TimeTrackEnab", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TimeTrackEnab", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TimeTrackEnab", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TimeTrackEnab", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ProcReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcReq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcReq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtView", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtView", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", 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].[Object2Set] ([IdxSet], [CodObj], [Qta], [UserQtyReq], [Posizione], [TimeTrackEnab], [ProcReq], [ExtView]) VALUES (@IdxSet, @CodObj, @Qta, @UserQtyReq, @Posizione, @TimeTrackEnab, @ProcReq, @ExtView); -SELECT IdxSet, CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, ExtView FROM Object2Set WHERE (CodObj = @CodObj) AND (IdxSet = @IdxSet)"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxSet", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxSet", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserQtyReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserQtyReq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Posizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TimeTrackEnab", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TimeTrackEnab", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcReq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtView", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", 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].[Object2Set] SET [IdxSet] = @IdxSet, [CodObj] = @CodObj, [Qta] = @Qta, [UserQtyReq] = @UserQtyReq, [Posizione] = @Posizione, [TimeTrackEnab] = @TimeTrackEnab, [ProcReq] = @ProcReq, [ExtView] = @ExtView WHERE (([IdxSet] = @Original_IdxSet) AND ([CodObj] = @Original_CodObj) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_UserQtyReq = 1 AND [UserQtyReq] IS NULL) OR ([UserQtyReq] = @Original_UserQtyReq)) AND ((@IsNull_Posizione = 1 AND [Posizione] IS NULL) OR ([Posizione] = @Original_Posizione)) AND ((@IsNull_TimeTrackEnab = 1 AND [TimeTrackEnab] IS NULL) OR ([TimeTrackEnab] = @Original_TimeTrackEnab)) AND ((@IsNull_ProcReq = 1 AND [ProcReq] IS NULL) OR ([ProcReq] = @Original_ProcReq)) AND ((@IsNull_ExtView = 1 AND [ExtView] IS NULL) OR ([ExtView] = @Original_ExtView))); -SELECT IdxSet, CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, ExtView FROM Object2Set WHERE (CodObj = @CodObj) AND (IdxSet = @IdxSet)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxSet", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxSet", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserQtyReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserQtyReq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Posizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TimeTrackEnab", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TimeTrackEnab", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcReq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtView", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxSet", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxSet", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserQtyReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserQtyReq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserQtyReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserQtyReq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Posizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Posizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TimeTrackEnab", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TimeTrackEnab", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TimeTrackEnab", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TimeTrackEnab", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ProcReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcReq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcReq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtView", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtView", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT IdxSet, CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, ExtVie" + - "w FROM dbo.Object2Set"; - 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 = "SELECT IdxSet, CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, Ex" + - "tView\r\nFROM Object2Set\r\nWHERE (IdxSet = @IdxSet)"; - this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxSet", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "IdxSet", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_XPS.Object2SetDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_XPS.Object2SetDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_XPS.Object2SetDataTable dataTable = new DS_XPS.Object2SetDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_XPS.Object2SetDataTable getByIdxSet(string IdxSet) { - this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((IdxSet == null)) { - throw new global::System.ArgumentNullException("IdxSet"); - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = ((string)(IdxSet)); - } - DS_XPS.Object2SetDataTable dataTable = new DS_XPS.Object2SetDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS.Object2SetDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS dataSet) { - return this.Adapter.Update(dataSet, "Object2Set"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_IdxSet, string Original_CodObj, global::System.Nullable Original_Qta, global::System.Nullable Original_UserQtyReq, string Original_Posizione, global::System.Nullable Original_TimeTrackEnab, global::System.Nullable Original_ProcReq, global::System.Nullable Original_ExtView) { - if ((Original_IdxSet == null)) { - throw new global::System.ArgumentNullException("Original_IdxSet"); - } - else { - this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_IdxSet)); - } - if ((Original_CodObj == null)) { - throw new global::System.ArgumentNullException("Original_CodObj"); - } - else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodObj)); - } - if ((Original_Qta.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_Qta.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; - } - if ((Original_UserQtyReq.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[5].Value = ((bool)(Original_UserQtyReq.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; - } - if ((Original_Posizione == null)) { - this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_Posizione)); - } - if ((Original_TimeTrackEnab.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[9].Value = ((bool)(Original_TimeTrackEnab.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value; - } - if ((Original_ProcReq.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[11].Value = ((bool)(Original_ProcReq.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value; - } - if ((Original_ExtView.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[13].Value = ((bool)(Original_ExtView.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[13].Value = global::System.DBNull.Value; - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string IdxSet, string CodObj, global::System.Nullable Qta, global::System.Nullable UserQtyReq, string Posizione, global::System.Nullable TimeTrackEnab, global::System.Nullable ProcReq, global::System.Nullable ExtView) { - if ((IdxSet == null)) { - throw new global::System.ArgumentNullException("IdxSet"); - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = ((string)(IdxSet)); - } - if ((CodObj == null)) { - throw new global::System.ArgumentNullException("CodObj"); - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodObj)); - } - if ((Qta.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[2].Value = ((int)(Qta.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; - } - if ((UserQtyReq.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[3].Value = ((bool)(UserQtyReq.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; - } - if ((Posizione == null)) { - this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Posizione)); - } - if ((TimeTrackEnab.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[5].Value = ((bool)(TimeTrackEnab.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; - } - if ((ProcReq.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[6].Value = ((bool)(ProcReq.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; - } - if ((ExtView.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[7].Value = ((bool)(ExtView.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[7].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", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update( - string IdxSet, - string CodObj, - global::System.Nullable Qta, - global::System.Nullable UserQtyReq, - string Posizione, - global::System.Nullable TimeTrackEnab, - global::System.Nullable ProcReq, - global::System.Nullable ExtView, - string Original_IdxSet, - string Original_CodObj, - global::System.Nullable Original_Qta, - global::System.Nullable Original_UserQtyReq, - string Original_Posizione, - global::System.Nullable Original_TimeTrackEnab, - global::System.Nullable Original_ProcReq, - global::System.Nullable Original_ExtView) { - if ((IdxSet == null)) { - throw new global::System.ArgumentNullException("IdxSet"); - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(IdxSet)); - } - if ((CodObj == null)) { - throw new global::System.ArgumentNullException("CodObj"); - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodObj)); - } - if ((Qta.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(Qta.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; - } - if ((UserQtyReq.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[3].Value = ((bool)(UserQtyReq.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; - } - if ((Posizione == null)) { - this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Posizione)); - } - if ((TimeTrackEnab.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[5].Value = ((bool)(TimeTrackEnab.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; - } - if ((ProcReq.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[6].Value = ((bool)(ProcReq.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; - } - if ((ExtView.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[7].Value = ((bool)(ExtView.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; - } - if ((Original_IdxSet == null)) { - throw new global::System.ArgumentNullException("Original_IdxSet"); - } - else { - this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_IdxSet)); - } - if ((Original_CodObj == null)) { - throw new global::System.ArgumentNullException("Original_CodObj"); - } - else { - this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_CodObj)); - } - if ((Original_Qta.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_Qta.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; - } - if ((Original_UserQtyReq.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[13].Value = ((bool)(Original_UserQtyReq.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; - } - if ((Original_Posizione == null)) { - this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_Posizione)); - } - if ((Original_TimeTrackEnab.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[17].Value = ((bool)(Original_TimeTrackEnab.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; - } - if ((Original_ProcReq.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[19].Value = ((bool)(Original_ProcReq.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; - } - if ((Original_ExtView.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[21].Value = ((bool)(Original_ExtView.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(global::System.Nullable Qta, global::System.Nullable UserQtyReq, string Posizione, global::System.Nullable TimeTrackEnab, global::System.Nullable ProcReq, global::System.Nullable ExtView, string Original_IdxSet, string Original_CodObj, global::System.Nullable Original_Qta, global::System.Nullable Original_UserQtyReq, string Original_Posizione, global::System.Nullable Original_TimeTrackEnab, global::System.Nullable Original_ProcReq, global::System.Nullable Original_ExtView) { - return this.Update(Original_IdxSet, Original_CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, ExtView, Original_IdxSet, Original_CodObj, Original_Qta, Original_UserQtyReq, Original_Posizione, Original_TimeTrackEnab, Original_ProcReq, Original_ExtView); - } - } - - /// - ///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 UMTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UMTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "UM"; - tableMapping.ColumnMappings.Add("UM", "UM"); - tableMapping.ColumnMappings.Add("DescrUM", "DescrUM"); - tableMapping.ColumnMappings.Add("FattoreSI", "FattoreSI"); - 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].[UM] WHERE (([UM] = @Original_UM) AND ((@IsNull_DescrUM = 1 AND" + - " [DescrUM] IS NULL) OR ([DescrUM] = @Original_DescrUM)) AND ((@IsNull_FattoreSI " + - "= 1 AND [FattoreSI] IS NULL) OR ([FattoreSI] = @Original_FattoreSI)))"; - this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UM", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrUM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrUM", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrUM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrUM", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FattoreSI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FattoreSI", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FattoreSI", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FattoreSI", 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].[UM] ([UM], [DescrUM], [FattoreSI]) VALUES (@UM, @DescrUM, @Fat" + - "toreSI);\r\nSELECT UM, DescrUM, FattoreSI FROM UM WHERE (UM = @UM)"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UM", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrUM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrUM", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FattoreSI", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FattoreSI", 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].[UM] SET [UM] = @UM, [DescrUM] = @DescrUM, [FattoreSI] = @FattoreSI WHERE (([UM] = @Original_UM) AND ((@IsNull_DescrUM = 1 AND [DescrUM] IS NULL) OR ([DescrUM] = @Original_DescrUM)) AND ((@IsNull_FattoreSI = 1 AND [FattoreSI] IS NULL) OR ([FattoreSI] = @Original_FattoreSI))); -SELECT UM, DescrUM, FattoreSI FROM UM WHERE (UM = @UM)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UM", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrUM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrUM", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FattoreSI", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FattoreSI", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UM", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrUM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrUM", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrUM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrUM", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FattoreSI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FattoreSI", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FattoreSI", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FattoreSI", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT UM, DescrUM, FattoreSI FROM dbo.UM"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_XPS.UMDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_XPS.UMDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_XPS.UMDataTable dataTable = new DS_XPS.UMDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS.UMDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS dataSet) { - return this.Adapter.Update(dataSet, "UM"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_UM, string Original_DescrUM, global::System.Nullable Original_FattoreSI) { - if ((Original_UM == null)) { - throw new global::System.ArgumentNullException("Original_UM"); - } - else { - this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_UM)); - } - if ((Original_DescrUM == null)) { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrUM)); - } - if ((Original_FattoreSI.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[4].Value = ((double)(Original_FattoreSI.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string UM, string DescrUM, global::System.Nullable FattoreSI) { - if ((UM == null)) { - throw new global::System.ArgumentNullException("UM"); - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = ((string)(UM)); - } - if ((DescrUM == null)) { - this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrUM)); - } - if ((FattoreSI.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[2].Value = ((double)(FattoreSI.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[2].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", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string UM, string DescrUM, global::System.Nullable FattoreSI, string Original_UM, string Original_DescrUM, global::System.Nullable Original_FattoreSI) { - if ((UM == null)) { - throw new global::System.ArgumentNullException("UM"); - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(UM)); - } - if ((DescrUM == null)) { - this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrUM)); - } - if ((FattoreSI.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[2].Value = ((double)(FattoreSI.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; - } - if ((Original_UM == null)) { - throw new global::System.ArgumentNullException("Original_UM"); - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_UM)); - } - if ((Original_DescrUM == null)) { - this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_DescrUM)); - } - if ((Original_FattoreSI.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[7].Value = ((double)(Original_FattoreSI.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string DescrUM, global::System.Nullable FattoreSI, string Original_UM, string Original_DescrUM, global::System.Nullable Original_FattoreSI) { - return this.Update(Original_UM, DescrUM, FattoreSI, Original_UM, Original_DescrUM, Original_FattoreSI); - } - } - - /// - ///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 EventiTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "Eventi"; - tableMapping.ColumnMappings.Add("CodEvento", "CodEvento"); - tableMapping.ColumnMappings.Add("CodTipoEvento", "CodTipoEvento"); - tableMapping.ColumnMappings.Add("DescrEvento", "DescrEvento"); - tableMapping.ColumnMappings.Add("Action", "Action"); - 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].[Eventi] WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_CodTipoEvento = 1 AND [CodTipoEvento] IS NULL) OR ([CodTipoEvento] = @Original_CodTipoEvento)) AND ((@IsNull_DescrEvento = 1 AND [DescrEvento] IS NULL) OR ([DescrEvento] = @Original_DescrEvento)) AND ((@IsNull_Action = 1 AND [Action] IS NULL) OR ([Action] = @Original_Action)))"; - this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodTipoEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Action", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Action", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", 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].[Eventi] ([CodEvento], [CodTipoEvento], [DescrEvento], [Action]" + - ") VALUES (@CodEvento, @CodTipoEvento, @DescrEvento, @Action);\r\nSELECT CodEvento," + - " CodTipoEvento, DescrEvento, Action FROM Eventi WHERE (CodEvento = @CodEvento)"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Action", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", 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].[Eventi] SET [CodEvento] = @CodEvento, [CodTipoEvento] = @CodTipoEvento, [DescrEvento] = @DescrEvento, [Action] = @Action WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_CodTipoEvento = 1 AND [CodTipoEvento] IS NULL) OR ([CodTipoEvento] = @Original_CodTipoEvento)) AND ((@IsNull_DescrEvento = 1 AND [DescrEvento] IS NULL) OR ([DescrEvento] = @Original_DescrEvento)) AND ((@IsNull_Action = 1 AND [Action] IS NULL) OR ([Action] = @Original_Action))); -SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM Eventi WHERE (CodEvento = @CodEvento)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Action", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodTipoEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Action", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Action", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM dbo.Eventi"; - 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 = "DELETE FROM [dbo].[Eventi] WHERE ([idxEvento] = @Original_idxEvento)"; - this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxEvento", global::System.Data.SqlDbType.Variant, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[2].Connection = this.Connection; - this._commandCollection[2].CommandText = "UPDATE Eventi\r\nSET CodEvento = @CodEvento, DescrEvento = @DescrEv" + - "ento, CodTipoEvento = @CodTipoEvento\r\nWHERE (CodEvento = @Original_CodEvento" + - ")"; - this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrEvento", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_XPS.EventiDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_XPS.EventiDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_XPS.EventiDataTable dataTable = new DS_XPS.EventiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS.EventiDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS dataSet) { - return this.Adapter.Update(dataSet, "Eventi"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_CodEvento, string Original_CodTipoEvento, string Original_DescrEvento, string Original_Action) { - if ((Original_CodEvento == null)) { - throw new global::System.ArgumentNullException("Original_CodEvento"); - } - else { - this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodEvento)); - } - if ((Original_CodTipoEvento == null)) { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodTipoEvento)); - } - if ((Original_DescrEvento == null)) { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_DescrEvento)); - } - if ((Original_Action == null)) { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Action)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string CodEvento, string CodTipoEvento, string DescrEvento, string Action) { - if ((CodEvento == null)) { - throw new global::System.ArgumentNullException("CodEvento"); - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodEvento)); - } - if ((CodTipoEvento == null)) { - this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodTipoEvento)); - } - if ((DescrEvento == null)) { - this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[2].Value = ((string)(DescrEvento)); - } - if ((Action == null)) { - this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Action)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.InsertCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.InsertCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string CodEvento, string CodTipoEvento, string DescrEvento, string Action, string Original_CodEvento, string Original_CodTipoEvento, string Original_DescrEvento, string Original_Action) { - if ((CodEvento == null)) { - throw new global::System.ArgumentNullException("CodEvento"); - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodEvento)); - } - if ((CodTipoEvento == null)) { - this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodTipoEvento)); - } - if ((DescrEvento == null)) { - this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(DescrEvento)); - } - if ((Action == null)) { - this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Action)); - } - if ((Original_CodEvento == null)) { - throw new global::System.ArgumentNullException("Original_CodEvento"); - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodEvento)); - } - if ((Original_CodTipoEvento == null)) { - this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_CodTipoEvento)); - } - if ((Original_DescrEvento == null)) { - this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_DescrEvento)); - } - if ((Original_Action == null)) { - this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_Action)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string CodTipoEvento, string DescrEvento, string Action, string Original_CodEvento, string Original_CodTipoEvento, string Original_DescrEvento, string Original_Action) { - return this.Update(Original_CodEvento, CodTipoEvento, DescrEvento, Action, Original_CodEvento, Original_CodTipoEvento, Original_DescrEvento, Original_Action); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] - public virtual int DeleteQuery(object Original_idxEvento) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; - if ((Original_idxEvento == null)) { - throw new global::System.ArgumentNullException("Original_idxEvento"); - } - else { - command.Parameters[0].Value = ((object)(Original_idxEvento)); - } - 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; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] - public virtual int UpdateQuery(string CodEvento, string DescrEvento, string CodTipoEvento, string Original_CodEvento) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; - if ((CodEvento == null)) { - throw new global::System.ArgumentNullException("CodEvento"); - } - else { - command.Parameters[0].Value = ((string)(CodEvento)); - } - if ((DescrEvento == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(DescrEvento)); - } - if ((CodTipoEvento == null)) { - command.Parameters[2].Value = global::System.DBNull.Value; - } - else { - command.Parameters[2].Value = ((string)(CodTipoEvento)); - } - if ((Original_CodEvento == null)) { - throw new global::System.ArgumentNullException("Original_CodEvento"); - } - else { - command.Parameters[3].Value = ((string)(Original_CodEvento)); - } - 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 TipoEventiTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TipoEventiTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "TipoEventi"; - tableMapping.ColumnMappings.Add("CodTipoEvento", "CodTipoEvento"); - tableMapping.ColumnMappings.Add("DescrTipoEv", "DescrTipoEv"); - 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].[TipoEventi] WHERE (([CodTipoEvento] = @Original_CodTipoEvento)" + - " AND ((@IsNull_DescrTipoEv = 1 AND [DescrTipoEv] IS NULL) OR ([DescrTipoEv] = @O" + - "riginal_DescrTipoEv)))"; - this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrTipoEv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoEv", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrTipoEv", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoEv", 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].[TipoEventi] ([CodTipoEvento], [DescrTipoEv]) VALUES (@CodTipoE" + - "vento, @DescrTipoEv);\r\nSELECT CodTipoEvento, DescrTipoEv FROM TipoEventi WHERE (" + - "CodTipoEvento = @CodTipoEvento)"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrTipoEv", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoEv", 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].[TipoEventi] SET [CodTipoEvento] = @CodTipoEvento, [DescrTipoEv] = @DescrTipoEv WHERE (([CodTipoEvento] = @Original_CodTipoEvento) AND ((@IsNull_DescrTipoEv = 1 AND [DescrTipoEv] IS NULL) OR ([DescrTipoEv] = @Original_DescrTipoEv))); -SELECT CodTipoEvento, DescrTipoEv FROM TipoEventi WHERE (CodTipoEvento = @CodTipoEvento)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrTipoEv", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoEv", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrTipoEv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoEv", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrTipoEv", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoEv", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT CodTipoEvento, DescrTipoEv FROM dbo.TipoEventi"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_XPS.TipoEventiDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_XPS.TipoEventiDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_XPS.TipoEventiDataTable dataTable = new DS_XPS.TipoEventiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS.TipoEventiDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS dataSet) { - return this.Adapter.Update(dataSet, "TipoEventi"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_CodTipoEvento, string Original_DescrTipoEv) { - if ((Original_CodTipoEvento == null)) { - throw new global::System.ArgumentNullException("Original_CodTipoEvento"); - } - else { - this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodTipoEvento)); - } - if ((Original_DescrTipoEv == null)) { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrTipoEv)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string CodTipoEvento, string DescrTipoEv) { - if ((CodTipoEvento == null)) { - throw new global::System.ArgumentNullException("CodTipoEvento"); - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodTipoEvento)); - } - if ((DescrTipoEv == null)) { - this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrTipoEv)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.InsertCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.InsertCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string CodTipoEvento, string DescrTipoEv, string Original_CodTipoEvento, string Original_DescrTipoEv) { - if ((CodTipoEvento == null)) { - throw new global::System.ArgumentNullException("CodTipoEvento"); - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodTipoEvento)); - } - if ((DescrTipoEv == null)) { - this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrTipoEv)); - } - if ((Original_CodTipoEvento == null)) { - throw new global::System.ArgumentNullException("Original_CodTipoEvento"); - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_CodTipoEvento)); - } - if ((Original_DescrTipoEv == null)) { - this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_DescrTipoEv)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string DescrTipoEv, string Original_CodTipoEvento, string Original_DescrTipoEv) { - return this.Update(Original_CodTipoEvento, DescrTipoEv, Original_CodTipoEvento, Original_DescrTipoEv); - } - } - - /// - ///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 v_ev2statiTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_ev2statiTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "v_ev2stati"; - tableMapping.ColumnMappings.Add("CodMappa", "CodMappa"); - tableMapping.ColumnMappings.Add("IdxTipoObj", "IdxTipoObj"); - tableMapping.ColumnMappings.Add("DescrObj", "DescrObj"); - tableMapping.ColumnMappings.Add("CodStato", "CodStato"); - tableMapping.ColumnMappings.Add("StatoCurr", "StatoCurr"); - tableMapping.ColumnMappings.Add("CodEvento", "CodEvento"); - tableMapping.ColumnMappings.Add("DescrEvento", "DescrEvento"); - tableMapping.ColumnMappings.Add("NextCodStato", "NextCodStato"); - tableMapping.ColumnMappings.Add("StatoNext", "StatoNext"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT CodMappa, IdxTipoObj, DescrObj, CodStato, StatoCurr, CodEvento, DescrEvent" + - "o, NextCodStato, StatoNext FROM dbo.v_ev2stati"; - 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 = "SELECT CodEvento, CodMappa, CodStato, DescrEvento, DescrObj, IdxTipoObj, NextCodS" + - "tato, StatoCurr, StatoNext FROM v_ev2stati WHERE (CodEvento = @CodEvento) AND (I" + - "dxTipoObj = @IdxTipoObj) AND (CodMappa = @CodMappa)"; - this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoObj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "IdxTipoObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", 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 = "INSERT INTO TransizioneEventiStati\r\n (CodMappa, CodStato, Id" + - "xTipoObj, CodEvento, NextCodStato)\r\nVALUES (@CodMappa,@CodStato,@IdxTipoObj," + - "@CodEvento,@NextCodStato)"; - this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.Variant, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.Variant, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoObj", global::System.Data.SqlDbType.Variant, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "IdxTipoObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.Variant, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NextCodStato", global::System.Data.SqlDbType.Variant, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "NextCodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_XPS.v_ev2statiDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_XPS.v_ev2statiDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_XPS.v_ev2statiDataTable dataTable = new DS_XPS.v_ev2statiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_XPS.v_ev2statiDataTable getFiltered(string CodEvento, string IdxTipoObj, string CodMappa) { - this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((CodEvento == null)) { - throw new global::System.ArgumentNullException("CodEvento"); - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodEvento)); - } - if ((IdxTipoObj == null)) { - throw new global::System.ArgumentNullException("IdxTipoObj"); - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxTipoObj)); - } - if ((CodMappa == null)) { - throw new global::System.ArgumentNullException("CodMappa"); - } - else { - this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodMappa)); - } - DS_XPS.v_ev2statiDataTable dataTable = new DS_XPS.v_ev2statiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)] - public virtual int InsertQuery(object CodMappa, object CodStato, object IdxTipoObj, object CodEvento, object NextCodStato) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; - if ((CodMappa == null)) { - throw new global::System.ArgumentNullException("CodMappa"); - } - else { - command.Parameters[0].Value = ((object)(CodMappa)); - } - if ((CodStato == null)) { - throw new global::System.ArgumentNullException("CodStato"); - } - else { - command.Parameters[1].Value = ((object)(CodStato)); - } - if ((IdxTipoObj == null)) { - throw new global::System.ArgumentNullException("IdxTipoObj"); - } - else { - command.Parameters[2].Value = ((object)(IdxTipoObj)); - } - if ((CodEvento == null)) { - throw new global::System.ArgumentNullException("CodEvento"); - } - else { - command.Parameters[3].Value = ((object)(CodEvento)); - } - if ((NextCodStato == null)) { - throw new global::System.ArgumentNullException("NextCodStato"); - } - else { - command.Parameters[4].Value = ((object)(NextCodStato)); - } - 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", "4.0.0.0")] - public AnagStatiTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "AnagStati"; - tableMapping.ColumnMappings.Add("CodStato", "CodStato"); - tableMapping.ColumnMappings.Add("FamStato", "FamStato"); - tableMapping.ColumnMappings.Add("DescrStato", "DescrStato"); - 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 ([FamS" + - "tato] = @Original_FamStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NUL" + - "L) OR ([DescrStato] = @Original_DescrStato)))"; - 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.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); - this._adapter.InsertCommand.Connection = this.Connection; - this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagStati] ([CodStato], [FamStato], [DescrStato]) VALUES (@Cod" + - "Stato, @FamStato, @DescrStato);\r\nSELECT CodStato, FamStato, DescrStato FROM Anag" + - "Stati WHERE (CodStato = @CodStato)"; - 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.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 WHERE (([CodStato] = @Original_CodStato) AND ([FamStato] = @Original_FamStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato))); -SELECT CodStato, FamStato, DescrStato 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("@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, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT CodStato, FamStato, DescrStato FROM dbo.AnagStati"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_XPS.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", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_XPS.AnagStatiDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_XPS.AnagStatiDataTable dataTable = new DS_XPS.AnagStatiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS.AnagStatiDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS dataSet) { - return this.Adapter.Update(dataSet, "AnagStati"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_CodStato, string Original_FamStato, string Original_DescrStato) { - 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)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string CodStato, string FamStato, string DescrStato) { - 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)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.InsertCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.InsertCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string CodStato, string FamStato, string DescrStato, string Original_CodStato, string Original_FamStato, string Original_DescrStato) { - 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 ((Original_CodStato == null)) { - throw new global::System.ArgumentNullException("Original_CodStato"); - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_CodStato)); - } - if ((Original_FamStato == null)) { - throw new global::System.ArgumentNullException("Original_FamStato"); - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_FamStato)); - } - if ((Original_DescrStato == null)) { - this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_DescrStato)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string FamStato, string DescrStato, string Original_CodStato, string Original_FamStato, string Original_DescrStato) { - return this.Update(Original_CodStato, FamStato, DescrStato, Original_CodStato, Original_FamStato, Original_DescrStato); - } - } - - /// - ///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 AnagObjTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagObjTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "AnagObj"; - tableMapping.ColumnMappings.Add("CodObj", "CodObj"); - tableMapping.ColumnMappings.Add("DescrObj", "DescrObj"); - tableMapping.ColumnMappings.Add("FamStato", "FamStato"); - tableMapping.ColumnMappings.Add("Concreto", "Concreto"); - 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].[AnagObj] WHERE (([CodObj] = @Original_CodObj) AND ((@IsNull_DescrObj = 1 AND [DescrObj] IS NULL) OR ([DescrObj] = @Original_DescrObj)) AND ((@IsNull_FamStato = 1 AND [FamStato] IS NULL) OR ([FamStato] = @Original_FamStato)) AND ((@IsNull_Concreto = 1 AND [Concreto] IS NULL) OR ([Concreto] = @Original_Concreto)))"; - this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrObj", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrObj", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FamStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FamStato", global::System.Data.DataRowVersion.Original, true, 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_Concreto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Concreto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Concreto", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Concreto", 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].[AnagObj] ([CodObj], [DescrObj], [FamStato], [Concreto]) VALUES" + - " (@CodObj, @DescrObj, @FamStato, @Concreto);\r\nSELECT CodObj, DescrObj, FamStato," + - " Concreto FROM AnagObj WHERE (CodObj = @CodObj)"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrObj", 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("@Concreto", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Concreto", 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].[AnagObj] SET [CodObj] = @CodObj, [DescrObj] = @DescrObj, [FamStato] = @FamStato, [Concreto] = @Concreto WHERE (([CodObj] = @Original_CodObj) AND ((@IsNull_DescrObj = 1 AND [DescrObj] IS NULL) OR ([DescrObj] = @Original_DescrObj)) AND ((@IsNull_FamStato = 1 AND [FamStato] IS NULL) OR ([FamStato] = @Original_FamStato)) AND ((@IsNull_Concreto = 1 AND [Concreto] IS NULL) OR ([Concreto] = @Original_Concreto))); -SELECT CodObj, DescrObj, FamStato, Concreto FROM AnagObj WHERE (CodObj = @CodObj)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrObj", 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("@Concreto", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Concreto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrObj", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrObj", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FamStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FamStato", global::System.Data.DataRowVersion.Original, true, 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_Concreto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Concreto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Concreto", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Concreto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT CodObj, DescrObj, FamStato, Concreto FROM dbo.AnagObj"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_XPS.AnagObjDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_XPS.AnagObjDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_XPS.AnagObjDataTable dataTable = new DS_XPS.AnagObjDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS.AnagObjDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS dataSet) { - return this.Adapter.Update(dataSet, "AnagObj"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_CodObj, string Original_DescrObj, string Original_FamStato, global::System.Nullable Original_Concreto) { - if ((Original_CodObj == null)) { - throw new global::System.ArgumentNullException("Original_CodObj"); - } - else { - this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodObj)); - } - if ((Original_DescrObj == null)) { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrObj)); - } - if ((Original_FamStato == null)) { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_FamStato)); - } - if ((Original_Concreto.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[6].Value = ((bool)(Original_Concreto.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string CodObj, string DescrObj, string FamStato, global::System.Nullable Concreto) { - if ((CodObj == null)) { - throw new global::System.ArgumentNullException("CodObj"); - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodObj)); - } - if ((DescrObj == null)) { - this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrObj)); - } - if ((FamStato == null)) { - this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[2].Value = ((string)(FamStato)); - } - if ((Concreto.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[3].Value = ((bool)(Concreto.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", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string CodObj, string DescrObj, string FamStato, global::System.Nullable Concreto, string Original_CodObj, string Original_DescrObj, string Original_FamStato, global::System.Nullable Original_Concreto) { - if ((CodObj == null)) { - throw new global::System.ArgumentNullException("CodObj"); - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodObj)); - } - if ((DescrObj == null)) { - this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrObj)); - } - if ((FamStato == null)) { - this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(FamStato)); - } - if ((Concreto.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[3].Value = ((bool)(Concreto.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; - } - if ((Original_CodObj == null)) { - throw new global::System.ArgumentNullException("Original_CodObj"); - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodObj)); - } - if ((Original_DescrObj == null)) { - this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_DescrObj)); - } - if ((Original_FamStato == null)) { - this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_FamStato)); - } - if ((Original_Concreto.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[10].Value = ((bool)(Original_Concreto.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string DescrObj, string FamStato, global::System.Nullable Concreto, string Original_CodObj, string Original_DescrObj, string Original_FamStato, global::System.Nullable Original_Concreto) { - return this.Update(Original_CodObj, DescrObj, FamStato, Concreto, Original_CodObj, Original_DescrObj, Original_FamStato, Original_Concreto); - } - } - - /// - ///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 AnagMappeTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagMappeTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "AnagMappe"; - tableMapping.ColumnMappings.Add("CodMappa", "CodMappa"); - tableMapping.ColumnMappings.Add("DescrMappa", "DescrMappa"); - 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].[AnagMappe] WHERE (([CodMappa] = @Original_CodMappa) AND ((@IsN" + - "ull_DescrMappa = 1 AND [DescrMappa] IS NULL) OR ([DescrMappa] = @Original_DescrM" + - "appa)))"; - this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrMappa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrMappa", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrMappa", 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].[AnagMappe] ([CodMappa], [DescrMappa]) VALUES (@CodMappa, @Desc" + - "rMappa);\r\nSELECT CodMappa, DescrMappa FROM AnagMappe WHERE (CodMappa = @CodMappa" + - ")"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrMappa", 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].[AnagMappe] SET [CodMappa] = @CodMappa, [DescrMappa] = @DescrMappa WHERE (([CodMappa] = @Original_CodMappa) AND ((@IsNull_DescrMappa = 1 AND [DescrMappa] IS NULL) OR ([DescrMappa] = @Original_DescrMappa))); -SELECT CodMappa, DescrMappa FROM AnagMappe WHERE (CodMappa = @CodMappa)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrMappa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrMappa", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrMappa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT CodMappa, DescrMappa FROM dbo.AnagMappe"; - 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 = "DELETE FROM AnagMappe\r\nWHERE (CodMappa = @Original_CodMappa)"; - this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMappa", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[2].Connection = this.Connection; - this._commandCollection[2].CommandText = "UPDATE AnagMappe\r\nSET CodMappa = @CodMappa, DescrMappa = @De" + - "scrMappa\r\nWHERE (CodMappa = @Original_CodMappa)"; - this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrMappa", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "DescrMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMappa", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_XPS.AnagMappeDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_XPS.AnagMappeDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_XPS.AnagMappeDataTable dataTable = new DS_XPS.AnagMappeDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS.AnagMappeDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_XPS dataSet) { - return this.Adapter.Update(dataSet, "AnagMappe"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_CodMappa, string Original_DescrMappa) { - if ((Original_CodMappa == null)) { - throw new global::System.ArgumentNullException("Original_CodMappa"); - } - else { - this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodMappa)); - } - if ((Original_DescrMappa == null)) { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrMappa)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string CodMappa, string DescrMappa) { - if ((CodMappa == null)) { - throw new global::System.ArgumentNullException("CodMappa"); - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodMappa)); - } - if ((DescrMappa == null)) { - this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrMappa)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.InsertCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.InsertCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string CodMappa, string DescrMappa, string Original_CodMappa, string Original_DescrMappa) { - if ((CodMappa == null)) { - throw new global::System.ArgumentNullException("CodMappa"); - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodMappa)); - } - if ((DescrMappa == null)) { - this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrMappa)); - } - if ((Original_CodMappa == null)) { - throw new global::System.ArgumentNullException("Original_CodMappa"); - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_CodMappa)); - } - if ((Original_DescrMappa == null)) { - this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_DescrMappa)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string DescrMappa, string Original_CodMappa, string Original_DescrMappa) { - return this.Update(Original_CodMappa, DescrMappa, Original_CodMappa, Original_DescrMappa); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] - public virtual int DeleteQuery(string Original_CodMappa) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; - if ((Original_CodMappa == null)) { - throw new global::System.ArgumentNullException("Original_CodMappa"); - } - else { - command.Parameters[0].Value = ((string)(Original_CodMappa)); - } - 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; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] - public virtual int UpdateQuery(string CodMappa, string DescrMappa, string Original_CodMappa) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; - if ((CodMappa == null)) { - throw new global::System.ArgumentNullException("CodMappa"); - } - else { - command.Parameters[0].Value = ((string)(CodMappa)); - } - if ((DescrMappa == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(DescrMappa)); - } - if ((Original_CodMappa == null)) { - throw new global::System.ArgumentNullException("Original_CodMappa"); - } - else { - command.Parameters[2].Value = ((string)(Original_CodMappa)); - } - 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 SP : global::System.ComponentModel.Component { - - private global::System.Data.IDbCommand[] _commandCollection; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.IDbCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.IDbCommand[3]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Connection = new global::System.Data.SqlClient.SqlConnection(global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandText = "dbo.sp_clonaTransizEventi"; - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandType = global::System.Data.CommandType.StoredProcedure; - ((global::System.Data.SqlClient.SqlCommand)(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, "", "", "")); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoObjFrom", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoObjTo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).Connection = new global::System.Data.SqlClient.SqlConnection(global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).CommandText = "dbo.sp_clonaStati"; - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).CommandType = global::System.Data.CommandType.StoredProcedure; - ((global::System.Data.SqlClient.SqlCommand)(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, "", "", "")); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoObjFrom", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoObjTo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[2])).Connection = new global::System.Data.SqlClient.SqlConnection(global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[2])).CommandText = "dbo.stp_CaricaAnagCliSwing"; - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[2])).CommandType = global::System.Data.CommandType.StoredProcedure; - ((global::System.Data.SqlClient.SqlCommand)(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, "", "", "")); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[2])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@esito", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.InputOutput, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int sp_clonaTransizEventi(string CodMappa, string CodEvento, global::System.Nullable IdxTipoObjFrom, global::System.Nullable IdxTipoObjTo) { - global::System.Data.SqlClient.SqlCommand command = ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[0])); - if ((CodMappa == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(CodMappa)); - } - if ((CodEvento == null)) { - command.Parameters[2].Value = global::System.DBNull.Value; - } - else { - command.Parameters[2].Value = ((string)(CodEvento)); - } - if ((IdxTipoObjFrom.HasValue == true)) { - command.Parameters[3].Value = ((int)(IdxTipoObjFrom.Value)); - } - else { - command.Parameters[3].Value = global::System.DBNull.Value; - } - if ((IdxTipoObjTo.HasValue == true)) { - command.Parameters[4].Value = ((int)(IdxTipoObjTo.Value)); - } - else { - command.Parameters[4].Value = global::System.DBNull.Value; - } - 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; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int sp_clonaStati(string CodMappa, global::System.Nullable IdxTipoObjFrom, global::System.Nullable IdxTipoObjTo) { - global::System.Data.SqlClient.SqlCommand command = ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[1])); - if ((CodMappa == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(CodMappa)); - } - if ((IdxTipoObjFrom.HasValue == true)) { - command.Parameters[2].Value = ((int)(IdxTipoObjFrom.Value)); - } - else { - command.Parameters[2].Value = global::System.DBNull.Value; - } - if ((IdxTipoObjTo.HasValue == true)) { - command.Parameters[3].Value = ((int)(IdxTipoObjTo.Value)); - } - else { - command.Parameters[3].Value = global::System.DBNull.Value; - } - 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; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int stp_CaricaAnagCliSwing(ref string esito) { - global::System.Data.SqlClient.SqlCommand command = ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[2])); - if ((esito == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(esito)); - } - 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(); - } - } - if (((command.Parameters[1].Value == null) - || (command.Parameters[1].Value.GetType() == typeof(global::System.DBNull)))) { - esito = null; - } - else { - esito = ((string)(command.Parameters[1].Value)); - } - return returnValue; - } - } - - /// - ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios - /// - [global::System.ComponentModel.DesignerCategoryAttribute("code")] - [global::System.ComponentModel.ToolboxItem(true)] - [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + - "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] - public partial class TableAdapterManager : global::System.ComponentModel.Component { - - private UpdateOrderOption _updateOrder; - - private NoteTableAdapter _noteTableAdapter; - - private Step4ObjTableAdapter _step4ObjTableAdapter; - - private Object2SetTableAdapter _object2SetTableAdapter; - - private UMTableAdapter _uMTableAdapter; - - private EventiTableAdapter _eventiTableAdapter; - - private TipoEventiTableAdapter _tipoEventiTableAdapter; - - private AnagStatiTableAdapter _anagStatiTableAdapter; - - private AnagObjTableAdapter _anagObjTableAdapter; - - private AnagMappeTableAdapter _anagMappeTableAdapter; - - private bool _backupDataSetBeforeUpdate; - - private global::System.Data.IDbConnection _connection; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UpdateOrderOption UpdateOrder { - get { - return this._updateOrder; - } - set { - this._updateOrder = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public NoteTableAdapter NoteTableAdapter { - get { - return this._noteTableAdapter; - } - set { - this._noteTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public Step4ObjTableAdapter Step4ObjTableAdapter { - get { - return this._step4ObjTableAdapter; - } - set { - this._step4ObjTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public Object2SetTableAdapter Object2SetTableAdapter { - get { - return this._object2SetTableAdapter; - } - set { - this._object2SetTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public UMTableAdapter UMTableAdapter { - get { - return this._uMTableAdapter; - } - set { - this._uMTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public EventiTableAdapter EventiTableAdapter { - get { - return this._eventiTableAdapter; - } - set { - this._eventiTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public TipoEventiTableAdapter TipoEventiTableAdapter { - get { - return this._tipoEventiTableAdapter; - } - set { - this._tipoEventiTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public AnagStatiTableAdapter AnagStatiTableAdapter { - get { - return this._anagStatiTableAdapter; - } - set { - this._anagStatiTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public AnagObjTableAdapter AnagObjTableAdapter { - get { - return this._anagObjTableAdapter; - } - set { - this._anagObjTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public AnagMappeTableAdapter AnagMappeTableAdapter { - get { - return this._anagMappeTableAdapter; - } - set { - this._anagMappeTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool BackupDataSetBeforeUpdate { - get { - return this._backupDataSetBeforeUpdate; - } - set { - this._backupDataSetBeforeUpdate = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public global::System.Data.IDbConnection Connection { - get { - if ((this._connection != null)) { - return this._connection; - } - if (((this._noteTableAdapter != null) - && (this._noteTableAdapter.Connection != null))) { - return this._noteTableAdapter.Connection; - } - if (((this._step4ObjTableAdapter != null) - && (this._step4ObjTableAdapter.Connection != null))) { - return this._step4ObjTableAdapter.Connection; - } - if (((this._object2SetTableAdapter != null) - && (this._object2SetTableAdapter.Connection != null))) { - return this._object2SetTableAdapter.Connection; - } - if (((this._uMTableAdapter != null) - && (this._uMTableAdapter.Connection != null))) { - return this._uMTableAdapter.Connection; - } - if (((this._eventiTableAdapter != null) - && (this._eventiTableAdapter.Connection != null))) { - return this._eventiTableAdapter.Connection; - } - if (((this._tipoEventiTableAdapter != null) - && (this._tipoEventiTableAdapter.Connection != null))) { - return this._tipoEventiTableAdapter.Connection; - } - if (((this._anagStatiTableAdapter != null) - && (this._anagStatiTableAdapter.Connection != null))) { - return this._anagStatiTableAdapter.Connection; - } - if (((this._anagObjTableAdapter != null) - && (this._anagObjTableAdapter.Connection != null))) { - return this._anagObjTableAdapter.Connection; - } - if (((this._anagMappeTableAdapter != null) - && (this._anagMappeTableAdapter.Connection != null))) { - return this._anagMappeTableAdapter.Connection; - } - return null; - } - set { - this._connection = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int TableAdapterInstanceCount { - get { - int count = 0; - if ((this._noteTableAdapter != null)) { - count = (count + 1); - } - if ((this._step4ObjTableAdapter != null)) { - count = (count + 1); - } - if ((this._object2SetTableAdapter != null)) { - count = (count + 1); - } - if ((this._uMTableAdapter != null)) { - count = (count + 1); - } - if ((this._eventiTableAdapter != null)) { - count = (count + 1); - } - if ((this._tipoEventiTableAdapter != null)) { - count = (count + 1); - } - if ((this._anagStatiTableAdapter != null)) { - count = (count + 1); - } - if ((this._anagObjTableAdapter != null)) { - count = (count + 1); - } - if ((this._anagMappeTableAdapter != null)) { - count = (count + 1); - } - return count; - } - } - - /// - ///Update rows in top-down order. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private int UpdateUpdatedRows(DS_XPS dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { - int result = 0; - if ((this._tipoEventiTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.TipoEventi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._tipoEventiTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._anagObjTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.AnagObj.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._anagObjTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._noteTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.Note.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._noteTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._step4ObjTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.Step4Obj.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._step4ObjTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._object2SetTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.Object2Set.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._object2SetTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._uMTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.UM.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._uMTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._eventiTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.Eventi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._eventiTableAdapter.Update(updatedRows)); - 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); - } - } - if ((this._anagMappeTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.AnagMappe.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._anagMappeTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - return result; - } - - /// - ///Insert rows in top-down order. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private int UpdateInsertedRows(DS_XPS dataSet, global::System.Collections.Generic.List allAddedRows) { - int result = 0; - if ((this._tipoEventiTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.TipoEventi.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._tipoEventiTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._anagObjTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.AnagObj.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._anagObjTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._noteTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.Note.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._noteTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._step4ObjTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.Step4Obj.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._step4ObjTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._object2SetTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.Object2Set.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._object2SetTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._uMTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.UM.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._uMTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._eventiTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.Eventi.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._eventiTableAdapter.Update(addedRows)); - 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); - } - } - if ((this._anagMappeTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.AnagMappe.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._anagMappeTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - return result; - } - - /// - ///Delete rows in bottom-up order. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private int UpdateDeletedRows(DS_XPS dataSet, global::System.Collections.Generic.List allChangedRows) { - int result = 0; - if ((this._anagMappeTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.AnagMappe.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._anagMappeTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - 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._eventiTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.Eventi.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._eventiTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._uMTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.UM.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._uMTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._object2SetTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.Object2Set.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._object2SetTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._step4ObjTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.Step4Obj.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._step4ObjTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._noteTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.Note.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._noteTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._anagObjTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.AnagObj.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._anagObjTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._tipoEventiTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.TipoEventi.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._tipoEventiTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - return result; - } - - /// - ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { - if (((updatedRows == null) - || (updatedRows.Length < 1))) { - return updatedRows; - } - if (((allAddedRows == null) - || (allAddedRows.Count < 1))) { - return updatedRows; - } - global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); - for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { - global::System.Data.DataRow row = updatedRows[i]; - if ((allAddedRows.Contains(row) == false)) { - realUpdatedRows.Add(row); - } - } - return realUpdatedRows.ToArray(); - } - - /// - ///Update all changes to the dataset. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public virtual int UpdateAll(DS_XPS dataSet) { - if ((dataSet == null)) { - throw new global::System.ArgumentNullException("dataSet"); - } - if ((dataSet.HasChanges() == false)) { - return 0; - } - if (((this._noteTableAdapter != null) - && (this.MatchTableAdapterConnection(this._noteTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + - "tring."); - } - if (((this._step4ObjTableAdapter != null) - && (this.MatchTableAdapterConnection(this._step4ObjTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + - "tring."); - } - if (((this._object2SetTableAdapter != null) - && (this.MatchTableAdapterConnection(this._object2SetTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + - "tring."); - } - if (((this._uMTableAdapter != null) - && (this.MatchTableAdapterConnection(this._uMTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + - "tring."); - } - if (((this._eventiTableAdapter != null) - && (this.MatchTableAdapterConnection(this._eventiTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + - "tring."); - } - if (((this._tipoEventiTableAdapter != null) - && (this.MatchTableAdapterConnection(this._tipoEventiTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + - "tring."); - } - if (((this._anagStatiTableAdapter != null) - && (this.MatchTableAdapterConnection(this._anagStatiTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + - "tring."); - } - if (((this._anagObjTableAdapter != null) - && (this.MatchTableAdapterConnection(this._anagObjTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + - "tring."); - } - if (((this._anagMappeTableAdapter != null) - && (this.MatchTableAdapterConnection(this._anagMappeTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + - "tring."); - } - global::System.Data.IDbConnection workConnection = this.Connection; - if ((workConnection == null)) { - throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + - "ger TableAdapter property to a valid TableAdapter instance."); - } - bool workConnOpened = false; - if (((workConnection.State & global::System.Data.ConnectionState.Broken) - == global::System.Data.ConnectionState.Broken)) { - workConnection.Close(); - } - if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { - workConnection.Open(); - workConnOpened = true; - } - global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); - if ((workTransaction == null)) { - throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + - "ctions or the current state is not allowing the transaction to begin."); - } - global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); - global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); - global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); - global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); - int result = 0; - global::System.Data.DataSet backupDataSet = null; - if (this.BackupDataSetBeforeUpdate) { - backupDataSet = new global::System.Data.DataSet(); - backupDataSet.Merge(dataSet); - } - try { - // ---- Prepare for update ----------- - // - if ((this._noteTableAdapter != null)) { - revertConnections.Add(this._noteTableAdapter, this._noteTableAdapter.Connection); - this._noteTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._noteTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._noteTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._noteTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._noteTableAdapter.Adapter); - } - } - if ((this._step4ObjTableAdapter != null)) { - revertConnections.Add(this._step4ObjTableAdapter, this._step4ObjTableAdapter.Connection); - this._step4ObjTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._step4ObjTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._step4ObjTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._step4ObjTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._step4ObjTableAdapter.Adapter); - } - } - if ((this._object2SetTableAdapter != null)) { - revertConnections.Add(this._object2SetTableAdapter, this._object2SetTableAdapter.Connection); - this._object2SetTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._object2SetTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._object2SetTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._object2SetTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._object2SetTableAdapter.Adapter); - } - } - if ((this._uMTableAdapter != null)) { - revertConnections.Add(this._uMTableAdapter, this._uMTableAdapter.Connection); - this._uMTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._uMTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._uMTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._uMTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._uMTableAdapter.Adapter); - } - } - if ((this._eventiTableAdapter != null)) { - revertConnections.Add(this._eventiTableAdapter, this._eventiTableAdapter.Connection); - this._eventiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._eventiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._eventiTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._eventiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._eventiTableAdapter.Adapter); - } - } - if ((this._tipoEventiTableAdapter != null)) { - revertConnections.Add(this._tipoEventiTableAdapter, this._tipoEventiTableAdapter.Connection); - this._tipoEventiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._tipoEventiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._tipoEventiTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._tipoEventiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._tipoEventiTableAdapter.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); - } - } - if ((this._anagObjTableAdapter != null)) { - revertConnections.Add(this._anagObjTableAdapter, this._anagObjTableAdapter.Connection); - this._anagObjTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._anagObjTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._anagObjTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._anagObjTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._anagObjTableAdapter.Adapter); - } - } - if ((this._anagMappeTableAdapter != null)) { - revertConnections.Add(this._anagMappeTableAdapter, this._anagMappeTableAdapter.Connection); - this._anagMappeTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._anagMappeTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._anagMappeTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._anagMappeTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._anagMappeTableAdapter.Adapter); - } - } - // - //---- Perform updates ----------- - // - if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { - result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); - result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); - } - else { - result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); - result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); - } - result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); - // - //---- Commit updates ----------- - // - workTransaction.Commit(); - if ((0 < allAddedRows.Count)) { - global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; - allAddedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { - global::System.Data.DataRow row = rows[i]; - row.AcceptChanges(); - } - } - if ((0 < allChangedRows.Count)) { - global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; - allChangedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { - global::System.Data.DataRow row = rows[i]; - row.AcceptChanges(); - } - } - } - catch (global::System.Exception ex) { - workTransaction.Rollback(); - // ---- Restore the dataset ----------- - if (this.BackupDataSetBeforeUpdate) { - global::System.Diagnostics.Debug.Assert((backupDataSet != null)); - dataSet.Clear(); - dataSet.Merge(backupDataSet); - } - else { - if ((0 < allAddedRows.Count)) { - global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; - allAddedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { - global::System.Data.DataRow row = rows[i]; - row.AcceptChanges(); - row.SetAdded(); - } - } - } - throw ex; - } - finally { - if (workConnOpened) { - workConnection.Close(); - } - if ((this._noteTableAdapter != null)) { - this._noteTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._noteTableAdapter])); - this._noteTableAdapter.Transaction = null; - } - if ((this._step4ObjTableAdapter != null)) { - this._step4ObjTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._step4ObjTableAdapter])); - this._step4ObjTableAdapter.Transaction = null; - } - if ((this._object2SetTableAdapter != null)) { - this._object2SetTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._object2SetTableAdapter])); - this._object2SetTableAdapter.Transaction = null; - } - if ((this._uMTableAdapter != null)) { - this._uMTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._uMTableAdapter])); - this._uMTableAdapter.Transaction = null; - } - if ((this._eventiTableAdapter != null)) { - this._eventiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eventiTableAdapter])); - this._eventiTableAdapter.Transaction = null; - } - if ((this._tipoEventiTableAdapter != null)) { - this._tipoEventiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tipoEventiTableAdapter])); - this._tipoEventiTableAdapter.Transaction = null; - } - if ((this._anagStatiTableAdapter != null)) { - this._anagStatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagStatiTableAdapter])); - this._anagStatiTableAdapter.Transaction = null; - } - if ((this._anagObjTableAdapter != null)) { - this._anagObjTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagObjTableAdapter])); - this._anagObjTableAdapter.Transaction = null; - } - if ((this._anagMappeTableAdapter != null)) { - this._anagMappeTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagMappeTableAdapter])); - this._anagMappeTableAdapter.Transaction = null; - } - if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { - global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; - adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); - for (int i = 0; (i < adapters.Length); i = (i + 1)) { - global::System.Data.Common.DataAdapter adapter = adapters[i]; - adapter.AcceptChangesDuringUpdate = true; - } - } - } - return result; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { - global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { - if ((this._connection != null)) { - return true; - } - if (((this.Connection == null) - || (inputConnection == null))) { - return true; - } - if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { - return true; - } - return false; - } - - /// - ///Update Order Option - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public enum UpdateOrderOption { - - InsertUpdateDelete = 0, - - UpdateInsertDelete = 1, - } - - /// - ///Used to sort self-referenced table's rows - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { - - private global::System.Data.DataRelation _relation; - - private int _childFirst; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { - this._relation = relation; - if (childFirst) { - this._childFirst = -1; - } - else { - this._childFirst = 1; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { - global::System.Diagnostics.Debug.Assert((row != null)); - global::System.Data.DataRow root = row; - distance = 0; - - global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); - traversedRows[row] = row; - - global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); - for ( - ; ((parent != null) - && (traversedRows.ContainsKey(parent) == false)); - ) { - distance = (distance + 1); - root = parent; - traversedRows[parent] = parent; - parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); - } - - if ((distance == 0)) { - traversedRows.Clear(); - traversedRows[row] = row; - parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); - for ( - ; ((parent != null) - && (traversedRows.ContainsKey(parent) == false)); - ) { - distance = (distance + 1); - root = parent; - traversedRows[parent] = parent; - parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); - } - } - - return root; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { - if (object.ReferenceEquals(row1, row2)) { - return 0; - } - if ((row1 == null)) { - return -1; - } - if ((row2 == null)) { - return 1; - } - - int distance1 = 0; - global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); - - int distance2 = 0; - global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); - - if (object.ReferenceEquals(root1, root2)) { - return (this._childFirst * distance1.CompareTo(distance2)); - } - else { - global::System.Diagnostics.Debug.Assert(((root1.Table != null) - && (root2.Table != null))); - if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { - return -1; - } - else { - return 1; - } - } - } - } - } -} - +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.18046 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace XPS_data { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.Serializable()] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] + [global::System.Xml.Serialization.XmlRootAttribute("DS_XPS")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class DS_XPS : global::System.Data.DataSet { + + private NoteDataTable tableNote; + + private Step4ObjDataTable tableStep4Obj; + + private Object2SetDataTable tableObject2Set; + + private UMDataTable tableUM; + + private EventiDataTable tableEventi; + + private TipoEventiDataTable tableTipoEventi; + + private v_ev2statiDataTable tablev_ev2stati; + + private AnagStatiDataTable tableAnagStati; + + private AnagObjDataTable tableAnagObj; + + private AnagMappeDataTable tableAnagMappe; + + private global::System.Data.DataRelation relationFK_Eventi_TipoEventi; + + private global::System.Data.DataRelation relationFK_ObjectSet_AnagTipoObj; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DS_XPS() { + this.BeginInit(); + this.InitClass(); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + base.Relations.CollectionChanged += schemaChangedHandler; + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected DS_XPS(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context, false) { + if ((this.IsBinarySerialized(info, context) == true)) { + this.InitVars(false); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + this.Tables.CollectionChanged += schemaChangedHandler1; + this.Relations.CollectionChanged += schemaChangedHandler1; + return; + } + string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); + if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + if ((ds.Tables["Note"] != null)) { + base.Tables.Add(new NoteDataTable(ds.Tables["Note"])); + } + if ((ds.Tables["Step4Obj"] != null)) { + base.Tables.Add(new Step4ObjDataTable(ds.Tables["Step4Obj"])); + } + if ((ds.Tables["Object2Set"] != null)) { + base.Tables.Add(new Object2SetDataTable(ds.Tables["Object2Set"])); + } + if ((ds.Tables["UM"] != null)) { + base.Tables.Add(new UMDataTable(ds.Tables["UM"])); + } + if ((ds.Tables["Eventi"] != null)) { + base.Tables.Add(new EventiDataTable(ds.Tables["Eventi"])); + } + if ((ds.Tables["TipoEventi"] != null)) { + base.Tables.Add(new TipoEventiDataTable(ds.Tables["TipoEventi"])); + } + if ((ds.Tables["v_ev2stati"] != null)) { + base.Tables.Add(new v_ev2statiDataTable(ds.Tables["v_ev2stati"])); + } + if ((ds.Tables["AnagStati"] != null)) { + base.Tables.Add(new AnagStatiDataTable(ds.Tables["AnagStati"])); + } + if ((ds.Tables["AnagObj"] != null)) { + base.Tables.Add(new AnagObjDataTable(ds.Tables["AnagObj"])); + } + if ((ds.Tables["AnagMappe"] != null)) { + base.Tables.Add(new AnagMappeDataTable(ds.Tables["AnagMappe"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + } + this.GetSerializationData(info, context); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + this.Relations.CollectionChanged += schemaChangedHandler; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public NoteDataTable Note { + get { + return this.tableNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public Step4ObjDataTable Step4Obj { + get { + return this.tableStep4Obj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public Object2SetDataTable Object2Set { + get { + return this.tableObject2Set; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public UMDataTable UM { + get { + return this.tableUM; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public EventiDataTable Eventi { + get { + return this.tableEventi; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public TipoEventiDataTable TipoEventi { + get { + return this.tableTipoEventi; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_ev2statiDataTable v_ev2stati { + get { + return this.tablev_ev2stati; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagStatiDataTable AnagStati { + get { + return this.tableAnagStati; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagObjDataTable AnagObj { + get { + return this.tableAnagObj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagMappeDataTable AnagMappe { + get { + return this.tableAnagMappe; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.BrowsableAttribute(true)] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] + public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { + get { + return this._schemaSerializationMode; + } + set { + this._schemaSerializationMode = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataSet Clone() { + DS_XPS cln = ((DS_XPS)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { + if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + this.Reset(); + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXml(reader); + if ((ds.Tables["Note"] != null)) { + base.Tables.Add(new NoteDataTable(ds.Tables["Note"])); + } + if ((ds.Tables["Step4Obj"] != null)) { + base.Tables.Add(new Step4ObjDataTable(ds.Tables["Step4Obj"])); + } + if ((ds.Tables["Object2Set"] != null)) { + base.Tables.Add(new Object2SetDataTable(ds.Tables["Object2Set"])); + } + if ((ds.Tables["UM"] != null)) { + base.Tables.Add(new UMDataTable(ds.Tables["UM"])); + } + if ((ds.Tables["Eventi"] != null)) { + base.Tables.Add(new EventiDataTable(ds.Tables["Eventi"])); + } + if ((ds.Tables["TipoEventi"] != null)) { + base.Tables.Add(new TipoEventiDataTable(ds.Tables["TipoEventi"])); + } + if ((ds.Tables["v_ev2stati"] != null)) { + base.Tables.Add(new v_ev2statiDataTable(ds.Tables["v_ev2stati"])); + } + if ((ds.Tables["AnagStati"] != null)) { + base.Tables.Add(new AnagStatiDataTable(ds.Tables["AnagStati"])); + } + if ((ds.Tables["AnagObj"] != null)) { + base.Tables.Add(new AnagObjDataTable(ds.Tables["AnagObj"])); + } + if ((ds.Tables["AnagMappe"] != null)) { + base.Tables.Add(new AnagMappeDataTable(ds.Tables["AnagMappe"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXml(reader); + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { + global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); + this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); + stream.Position = 0; + return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars(bool initTable) { + this.tableNote = ((NoteDataTable)(base.Tables["Note"])); + if ((initTable == true)) { + if ((this.tableNote != null)) { + this.tableNote.InitVars(); + } + } + this.tableStep4Obj = ((Step4ObjDataTable)(base.Tables["Step4Obj"])); + if ((initTable == true)) { + if ((this.tableStep4Obj != null)) { + this.tableStep4Obj.InitVars(); + } + } + this.tableObject2Set = ((Object2SetDataTable)(base.Tables["Object2Set"])); + if ((initTable == true)) { + if ((this.tableObject2Set != null)) { + this.tableObject2Set.InitVars(); + } + } + this.tableUM = ((UMDataTable)(base.Tables["UM"])); + if ((initTable == true)) { + if ((this.tableUM != null)) { + this.tableUM.InitVars(); + } + } + this.tableEventi = ((EventiDataTable)(base.Tables["Eventi"])); + if ((initTable == true)) { + if ((this.tableEventi != null)) { + this.tableEventi.InitVars(); + } + } + this.tableTipoEventi = ((TipoEventiDataTable)(base.Tables["TipoEventi"])); + if ((initTable == true)) { + if ((this.tableTipoEventi != null)) { + this.tableTipoEventi.InitVars(); + } + } + this.tablev_ev2stati = ((v_ev2statiDataTable)(base.Tables["v_ev2stati"])); + if ((initTable == true)) { + if ((this.tablev_ev2stati != null)) { + this.tablev_ev2stati.InitVars(); + } + } + this.tableAnagStati = ((AnagStatiDataTable)(base.Tables["AnagStati"])); + if ((initTable == true)) { + if ((this.tableAnagStati != null)) { + this.tableAnagStati.InitVars(); + } + } + this.tableAnagObj = ((AnagObjDataTable)(base.Tables["AnagObj"])); + if ((initTable == true)) { + if ((this.tableAnagObj != null)) { + this.tableAnagObj.InitVars(); + } + } + this.tableAnagMappe = ((AnagMappeDataTable)(base.Tables["AnagMappe"])); + if ((initTable == true)) { + if ((this.tableAnagMappe != null)) { + this.tableAnagMappe.InitVars(); + } + } + this.relationFK_Eventi_TipoEventi = this.Relations["FK_Eventi_TipoEventi"]; + this.relationFK_ObjectSet_AnagTipoObj = this.Relations["FK_ObjectSet_AnagTipoObj"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.DataSetName = "DS_XPS"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/DS_XPS.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tableNote = new NoteDataTable(); + base.Tables.Add(this.tableNote); + this.tableStep4Obj = new Step4ObjDataTable(); + base.Tables.Add(this.tableStep4Obj); + this.tableObject2Set = new Object2SetDataTable(); + base.Tables.Add(this.tableObject2Set); + this.tableUM = new UMDataTable(); + base.Tables.Add(this.tableUM); + this.tableEventi = new EventiDataTable(); + base.Tables.Add(this.tableEventi); + this.tableTipoEventi = new TipoEventiDataTable(); + base.Tables.Add(this.tableTipoEventi); + this.tablev_ev2stati = new v_ev2statiDataTable(); + base.Tables.Add(this.tablev_ev2stati); + this.tableAnagStati = new AnagStatiDataTable(); + base.Tables.Add(this.tableAnagStati); + this.tableAnagObj = new AnagObjDataTable(); + base.Tables.Add(this.tableAnagObj); + this.tableAnagMappe = new AnagMappeDataTable(); + base.Tables.Add(this.tableAnagMappe); + this.relationFK_Eventi_TipoEventi = new global::System.Data.DataRelation("FK_Eventi_TipoEventi", new global::System.Data.DataColumn[] { + this.tableTipoEventi.CodTipoEventoColumn}, new global::System.Data.DataColumn[] { + this.tableEventi.CodTipoEventoColumn}, false); + this.Relations.Add(this.relationFK_Eventi_TipoEventi); + this.relationFK_ObjectSet_AnagTipoObj = new global::System.Data.DataRelation("FK_ObjectSet_AnagTipoObj", new global::System.Data.DataColumn[] { + this.tableAnagObj.CodObjColumn}, new global::System.Data.DataColumn[] { + this.tableObject2Set.CodObjColumn}, false); + this.Relations.Add(this.relationFK_ObjectSet_AnagTipoObj); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeNote() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeStep4Obj() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeObject2Set() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeUM() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeEventi() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeTipoEventi() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_ev2stati() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagStati() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagObj() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagMappe() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + DS_XPS ds = new DS_XPS(); + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); + any.Namespace = ds.Namespace; + sequence.Items.Add(any); + 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; + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void NoteRowChangeEventHandler(object sender, NoteRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void Step4ObjRowChangeEventHandler(object sender, Step4ObjRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void Object2SetRowChangeEventHandler(object sender, Object2SetRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void UMRowChangeEventHandler(object sender, UMRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void EventiRowChangeEventHandler(object sender, EventiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void TipoEventiRowChangeEventHandler(object sender, TipoEventiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_ev2statiRowChangeEventHandler(object sender, v_ev2statiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagStatiRowChangeEventHandler(object sender, AnagStatiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagObjRowChangeEventHandler(object sender, AnagObjRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagMappeRowChangeEventHandler(object sender, AnagMappeRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class NoteDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnNumNota; + + private global::System.Data.DataColumn columnIdxObj; + + private global::System.Data.DataColumn columnCodFase; + + private global::System.Data.DataColumn columnUserNota; + + private global::System.Data.DataColumn columnData; + + private global::System.Data.DataColumn columnExtView; + + private global::System.Data.DataColumn columnNota; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public NoteDataTable() { + this.TableName = "Note"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal NoteDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected NoteDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumNotaColumn { + get { + return this.columnNumNota; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxObjColumn { + get { + return this.columnIdxObj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodFaseColumn { + get { + return this.columnCodFase; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UserNotaColumn { + get { + return this.columnUserNota; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataColumn { + get { + return this.columnData; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ExtViewColumn { + get { + return this.columnExtView; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NotaColumn { + get { + return this.columnNota; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public NoteRow this[int index] { + get { + return ((NoteRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event NoteRowChangeEventHandler NoteRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event NoteRowChangeEventHandler NoteRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event NoteRowChangeEventHandler NoteRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event NoteRowChangeEventHandler NoteRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddNoteRow(NoteRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public NoteRow AddNoteRow(int NumNota, string IdxObj, string CodFase, string UserNota, System.DateTime Data, bool ExtView, string Nota) { + NoteRow rowNoteRow = ((NoteRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + NumNota, + IdxObj, + CodFase, + UserNota, + Data, + ExtView, + Nota}; + rowNoteRow.ItemArray = columnValuesArray; + this.Rows.Add(rowNoteRow); + return rowNoteRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public NoteRow FindByNumNota(int NumNota) { + return ((NoteRow)(this.Rows.Find(new object[] { + NumNota}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + NoteDataTable cln = ((NoteDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new NoteDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnNumNota = base.Columns["NumNota"]; + this.columnIdxObj = base.Columns["IdxObj"]; + this.columnCodFase = base.Columns["CodFase"]; + this.columnUserNota = base.Columns["UserNota"]; + this.columnData = base.Columns["Data"]; + this.columnExtView = base.Columns["ExtView"]; + this.columnNota = base.Columns["Nota"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnNumNota = new global::System.Data.DataColumn("NumNota", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumNota); + this.columnIdxObj = new global::System.Data.DataColumn("IdxObj", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxObj); + this.columnCodFase = new global::System.Data.DataColumn("CodFase", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodFase); + this.columnUserNota = new global::System.Data.DataColumn("UserNota", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUserNota); + this.columnData = new global::System.Data.DataColumn("Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnData); + this.columnExtView = new global::System.Data.DataColumn("ExtView", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnExtView); + this.columnNota = new global::System.Data.DataColumn("Nota", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNota); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnNumNota}, true)); + this.columnNumNota.AllowDBNull = false; + this.columnNumNota.Unique = true; + this.columnIdxObj.MaxLength = 50; + this.columnCodFase.MaxLength = 50; + this.columnUserNota.MaxLength = 50; + this.columnNota.MaxLength = 500; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public NoteRow NewNoteRow() { + return ((NoteRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new NoteRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(NoteRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.NoteRowChanged != null)) { + this.NoteRowChanged(this, new NoteRowChangeEvent(((NoteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.NoteRowChanging != null)) { + this.NoteRowChanging(this, new NoteRowChangeEvent(((NoteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.NoteRowDeleted != null)) { + this.NoteRowDeleted(this, new NoteRowChangeEvent(((NoteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.NoteRowDeleting != null)) { + this.NoteRowDeleting(this, new NoteRowChangeEvent(((NoteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveNoteRow(NoteRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_XPS ds = new DS_XPS(); + 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 = "NoteDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class Step4ObjDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnIdxObj; + + private global::System.Data.DataColumn columnIdxStep; + + private global::System.Data.DataColumn columnIdxStato; + + private global::System.Data.DataColumn columnStartDatePrev; + + private global::System.Data.DataColumn columnDueDatePrev; + + private global::System.Data.DataColumn columnStartDateReal; + + private global::System.Data.DataColumn columnDueDateReal; + + private global::System.Data.DataColumn columnRatioCompl; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Step4ObjDataTable() { + this.TableName = "Step4Obj"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal Step4ObjDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected Step4ObjDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxObjColumn { + get { + return this.columnIdxObj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxStepColumn { + get { + return this.columnIdxStep; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxStatoColumn { + get { + return this.columnIdxStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn StartDatePrevColumn { + get { + return this.columnStartDatePrev; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DueDatePrevColumn { + get { + return this.columnDueDatePrev; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn StartDateRealColumn { + get { + return this.columnStartDateReal; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DueDateRealColumn { + get { + return this.columnDueDateReal; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RatioComplColumn { + get { + return this.columnRatioCompl; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Step4ObjRow this[int index] { + get { + return ((Step4ObjRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Step4ObjRowChangeEventHandler Step4ObjRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Step4ObjRowChangeEventHandler Step4ObjRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Step4ObjRowChangeEventHandler Step4ObjRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Step4ObjRowChangeEventHandler Step4ObjRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddStep4ObjRow(Step4ObjRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Step4ObjRow AddStep4ObjRow(string IdxObj, int IdxStep, int IdxStato, System.DateTime StartDatePrev, System.DateTime DueDatePrev, System.DateTime StartDateReal, System.DateTime DueDateReal, double RatioCompl) { + Step4ObjRow rowStep4ObjRow = ((Step4ObjRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + IdxObj, + IdxStep, + IdxStato, + StartDatePrev, + DueDatePrev, + StartDateReal, + DueDateReal, + RatioCompl}; + rowStep4ObjRow.ItemArray = columnValuesArray; + this.Rows.Add(rowStep4ObjRow); + return rowStep4ObjRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Step4ObjRow FindByIdxObjIdxStep(string IdxObj, int IdxStep) { + return ((Step4ObjRow)(this.Rows.Find(new object[] { + IdxObj, + IdxStep}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + Step4ObjDataTable cln = ((Step4ObjDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new Step4ObjDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnIdxObj = base.Columns["IdxObj"]; + this.columnIdxStep = base.Columns["IdxStep"]; + this.columnIdxStato = base.Columns["IdxStato"]; + this.columnStartDatePrev = base.Columns["StartDatePrev"]; + this.columnDueDatePrev = base.Columns["DueDatePrev"]; + this.columnStartDateReal = base.Columns["StartDateReal"]; + this.columnDueDateReal = base.Columns["DueDateReal"]; + this.columnRatioCompl = base.Columns["RatioCompl"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnIdxObj = new global::System.Data.DataColumn("IdxObj", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxObj); + this.columnIdxStep = new global::System.Data.DataColumn("IdxStep", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxStep); + this.columnIdxStato = new global::System.Data.DataColumn("IdxStato", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxStato); + this.columnStartDatePrev = new global::System.Data.DataColumn("StartDatePrev", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnStartDatePrev); + this.columnDueDatePrev = new global::System.Data.DataColumn("DueDatePrev", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDueDatePrev); + this.columnStartDateReal = new global::System.Data.DataColumn("StartDateReal", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnStartDateReal); + this.columnDueDateReal = new global::System.Data.DataColumn("DueDateReal", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDueDateReal); + this.columnRatioCompl = new global::System.Data.DataColumn("RatioCompl", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRatioCompl); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnIdxObj, + this.columnIdxStep}, true)); + this.columnIdxObj.AllowDBNull = false; + this.columnIdxObj.MaxLength = 50; + this.columnIdxStep.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Step4ObjRow NewStep4ObjRow() { + return ((Step4ObjRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new Step4ObjRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(Step4ObjRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.Step4ObjRowChanged != null)) { + this.Step4ObjRowChanged(this, new Step4ObjRowChangeEvent(((Step4ObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.Step4ObjRowChanging != null)) { + this.Step4ObjRowChanging(this, new Step4ObjRowChangeEvent(((Step4ObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.Step4ObjRowDeleted != null)) { + this.Step4ObjRowDeleted(this, new Step4ObjRowChangeEvent(((Step4ObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.Step4ObjRowDeleting != null)) { + this.Step4ObjRowDeleting(this, new Step4ObjRowChangeEvent(((Step4ObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveStep4ObjRow(Step4ObjRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_XPS ds = new DS_XPS(); + 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 = "Step4ObjDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class Object2SetDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnIdxSet; + + private global::System.Data.DataColumn columnCodObj; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnUserQtyReq; + + private global::System.Data.DataColumn columnPosizione; + + private global::System.Data.DataColumn columnTimeTrackEnab; + + private global::System.Data.DataColumn columnProcReq; + + private global::System.Data.DataColumn columnExtView; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Object2SetDataTable() { + this.TableName = "Object2Set"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal Object2SetDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected Object2SetDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxSetColumn { + get { + return this.columnIdxSet; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodObjColumn { + get { + return this.columnCodObj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UserQtyReqColumn { + get { + return this.columnUserQtyReq; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PosizioneColumn { + get { + return this.columnPosizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TimeTrackEnabColumn { + get { + return this.columnTimeTrackEnab; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ProcReqColumn { + get { + return this.columnProcReq; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ExtViewColumn { + get { + return this.columnExtView; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Object2SetRow this[int index] { + get { + return ((Object2SetRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Object2SetRowChangeEventHandler Object2SetRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Object2SetRowChangeEventHandler Object2SetRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Object2SetRowChangeEventHandler Object2SetRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Object2SetRowChangeEventHandler Object2SetRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddObject2SetRow(Object2SetRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Object2SetRow AddObject2SetRow(string IdxSet, AnagObjRow parentAnagObjRowByFK_ObjectSet_AnagTipoObj, int Qta, bool UserQtyReq, string Posizione, bool TimeTrackEnab, bool ProcReq, bool ExtView) { + Object2SetRow rowObject2SetRow = ((Object2SetRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + IdxSet, + null, + Qta, + UserQtyReq, + Posizione, + TimeTrackEnab, + ProcReq, + ExtView}; + if ((parentAnagObjRowByFK_ObjectSet_AnagTipoObj != null)) { + columnValuesArray[1] = parentAnagObjRowByFK_ObjectSet_AnagTipoObj[0]; + } + rowObject2SetRow.ItemArray = columnValuesArray; + this.Rows.Add(rowObject2SetRow); + return rowObject2SetRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Object2SetRow FindByIdxSetCodObj(string IdxSet, string CodObj) { + return ((Object2SetRow)(this.Rows.Find(new object[] { + IdxSet, + CodObj}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + Object2SetDataTable cln = ((Object2SetDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new Object2SetDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnIdxSet = base.Columns["IdxSet"]; + this.columnCodObj = base.Columns["CodObj"]; + this.columnQta = base.Columns["Qta"]; + this.columnUserQtyReq = base.Columns["UserQtyReq"]; + this.columnPosizione = base.Columns["Posizione"]; + this.columnTimeTrackEnab = base.Columns["TimeTrackEnab"]; + this.columnProcReq = base.Columns["ProcReq"]; + this.columnExtView = base.Columns["ExtView"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnIdxSet = new global::System.Data.DataColumn("IdxSet", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxSet); + this.columnCodObj = new global::System.Data.DataColumn("CodObj", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodObj); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnUserQtyReq = new global::System.Data.DataColumn("UserQtyReq", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUserQtyReq); + this.columnPosizione = new global::System.Data.DataColumn("Posizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPosizione); + this.columnTimeTrackEnab = new global::System.Data.DataColumn("TimeTrackEnab", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTimeTrackEnab); + this.columnProcReq = new global::System.Data.DataColumn("ProcReq", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnProcReq); + this.columnExtView = new global::System.Data.DataColumn("ExtView", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnExtView); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnIdxSet, + this.columnCodObj}, true)); + this.columnIdxSet.AllowDBNull = false; + this.columnIdxSet.MaxLength = 50; + this.columnCodObj.AllowDBNull = false; + this.columnCodObj.MaxLength = 50; + this.columnPosizione.MaxLength = 250; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Object2SetRow NewObject2SetRow() { + return ((Object2SetRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new Object2SetRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(Object2SetRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.Object2SetRowChanged != null)) { + this.Object2SetRowChanged(this, new Object2SetRowChangeEvent(((Object2SetRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.Object2SetRowChanging != null)) { + this.Object2SetRowChanging(this, new Object2SetRowChangeEvent(((Object2SetRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.Object2SetRowDeleted != null)) { + this.Object2SetRowDeleted(this, new Object2SetRowChangeEvent(((Object2SetRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.Object2SetRowDeleting != null)) { + this.Object2SetRowDeleting(this, new Object2SetRowChangeEvent(((Object2SetRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveObject2SetRow(Object2SetRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_XPS ds = new DS_XPS(); + 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 = "Object2SetDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class UMDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnUM; + + private global::System.Data.DataColumn columnDescrUM; + + private global::System.Data.DataColumn columnFattoreSI; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UMDataTable() { + this.TableName = "UM"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal UMDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected UMDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UMColumn { + get { + return this.columnUM; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrUMColumn { + get { + return this.columnDescrUM; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FattoreSIColumn { + get { + return this.columnFattoreSI; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UMRow this[int index] { + get { + return ((UMRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event UMRowChangeEventHandler UMRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event UMRowChangeEventHandler UMRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event UMRowChangeEventHandler UMRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event UMRowChangeEventHandler UMRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddUMRow(UMRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UMRow AddUMRow(string UM, string DescrUM, double FattoreSI) { + UMRow rowUMRow = ((UMRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + UM, + DescrUM, + FattoreSI}; + rowUMRow.ItemArray = columnValuesArray; + this.Rows.Add(rowUMRow); + return rowUMRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UMRow FindByUM(string UM) { + return ((UMRow)(this.Rows.Find(new object[] { + UM}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + UMDataTable cln = ((UMDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new UMDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnUM = base.Columns["UM"]; + this.columnDescrUM = base.Columns["DescrUM"]; + this.columnFattoreSI = base.Columns["FattoreSI"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnUM = new global::System.Data.DataColumn("UM", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUM); + this.columnDescrUM = new global::System.Data.DataColumn("DescrUM", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrUM); + this.columnFattoreSI = new global::System.Data.DataColumn("FattoreSI", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFattoreSI); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnUM}, true)); + this.columnUM.AllowDBNull = false; + this.columnUM.Unique = true; + this.columnUM.MaxLength = 50; + this.columnDescrUM.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UMRow NewUMRow() { + return ((UMRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new UMRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(UMRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.UMRowChanged != null)) { + this.UMRowChanged(this, new UMRowChangeEvent(((UMRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.UMRowChanging != null)) { + this.UMRowChanging(this, new UMRowChangeEvent(((UMRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.UMRowDeleted != null)) { + this.UMRowDeleted(this, new UMRowChangeEvent(((UMRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.UMRowDeleting != null)) { + this.UMRowDeleting(this, new UMRowChangeEvent(((UMRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveUMRow(UMRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_XPS ds = new DS_XPS(); + 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 = "UMDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class EventiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodEvento; + + private global::System.Data.DataColumn columnCodTipoEvento; + + private global::System.Data.DataColumn columnDescrEvento; + + private global::System.Data.DataColumn columnAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiDataTable() { + this.TableName = "Eventi"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal EventiDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected EventiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodEventoColumn { + get { + return this.columnCodEvento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodTipoEventoColumn { + get { + return this.columnCodTipoEvento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrEventoColumn { + get { + return this.columnDescrEvento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ActionColumn { + get { + return this.columnAction; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiRow this[int index] { + get { + return ((EventiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event EventiRowChangeEventHandler EventiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event EventiRowChangeEventHandler EventiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event EventiRowChangeEventHandler EventiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event EventiRowChangeEventHandler EventiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddEventiRow(EventiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiRow AddEventiRow(string CodEvento, TipoEventiRow parentTipoEventiRowByFK_Eventi_TipoEventi, string DescrEvento, string Action) { + EventiRow rowEventiRow = ((EventiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodEvento, + null, + DescrEvento, + Action}; + if ((parentTipoEventiRowByFK_Eventi_TipoEventi != null)) { + columnValuesArray[1] = parentTipoEventiRowByFK_Eventi_TipoEventi[0]; + } + rowEventiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowEventiRow); + return rowEventiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiRow FindByCodEvento(string CodEvento) { + return ((EventiRow)(this.Rows.Find(new object[] { + CodEvento}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + EventiDataTable cln = ((EventiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new EventiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodEvento = base.Columns["CodEvento"]; + this.columnCodTipoEvento = base.Columns["CodTipoEvento"]; + this.columnDescrEvento = base.Columns["DescrEvento"]; + this.columnAction = base.Columns["Action"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodEvento = new global::System.Data.DataColumn("CodEvento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodEvento); + this.columnCodTipoEvento = new global::System.Data.DataColumn("CodTipoEvento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodTipoEvento); + this.columnDescrEvento = new global::System.Data.DataColumn("DescrEvento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrEvento); + this.columnAction = new global::System.Data.DataColumn("Action", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnAction); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodEvento}, true)); + this.columnCodEvento.AllowDBNull = false; + this.columnCodEvento.Unique = true; + this.columnCodEvento.MaxLength = 50; + this.columnCodTipoEvento.MaxLength = 50; + this.columnDescrEvento.MaxLength = 50; + this.columnAction.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiRow NewEventiRow() { + return ((EventiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new EventiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(EventiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.EventiRowChanged != null)) { + this.EventiRowChanged(this, new EventiRowChangeEvent(((EventiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.EventiRowChanging != null)) { + this.EventiRowChanging(this, new EventiRowChangeEvent(((EventiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.EventiRowDeleted != null)) { + this.EventiRowDeleted(this, new EventiRowChangeEvent(((EventiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.EventiRowDeleting != null)) { + this.EventiRowDeleting(this, new EventiRowChangeEvent(((EventiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveEventiRow(EventiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_XPS ds = new DS_XPS(); + 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 = "EventiDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class TipoEventiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodTipoEvento; + + private global::System.Data.DataColumn columnDescrTipoEv; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoEventiDataTable() { + this.TableName = "TipoEventi"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal TipoEventiDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected TipoEventiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodTipoEventoColumn { + get { + return this.columnCodTipoEvento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrTipoEvColumn { + get { + return this.columnDescrTipoEv; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoEventiRow this[int index] { + get { + return ((TipoEventiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TipoEventiRowChangeEventHandler TipoEventiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TipoEventiRowChangeEventHandler TipoEventiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TipoEventiRowChangeEventHandler TipoEventiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TipoEventiRowChangeEventHandler TipoEventiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddTipoEventiRow(TipoEventiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoEventiRow AddTipoEventiRow(string CodTipoEvento, string DescrTipoEv) { + TipoEventiRow rowTipoEventiRow = ((TipoEventiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodTipoEvento, + DescrTipoEv}; + rowTipoEventiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowTipoEventiRow); + return rowTipoEventiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoEventiRow FindByCodTipoEvento(string CodTipoEvento) { + return ((TipoEventiRow)(this.Rows.Find(new object[] { + CodTipoEvento}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + TipoEventiDataTable cln = ((TipoEventiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new TipoEventiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodTipoEvento = base.Columns["CodTipoEvento"]; + this.columnDescrTipoEv = base.Columns["DescrTipoEv"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodTipoEvento = new global::System.Data.DataColumn("CodTipoEvento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodTipoEvento); + this.columnDescrTipoEv = new global::System.Data.DataColumn("DescrTipoEv", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrTipoEv); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodTipoEvento}, true)); + this.columnCodTipoEvento.AllowDBNull = false; + this.columnCodTipoEvento.Unique = true; + this.columnCodTipoEvento.MaxLength = 50; + this.columnDescrTipoEv.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoEventiRow NewTipoEventiRow() { + return ((TipoEventiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new TipoEventiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(TipoEventiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.TipoEventiRowChanged != null)) { + this.TipoEventiRowChanged(this, new TipoEventiRowChangeEvent(((TipoEventiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.TipoEventiRowChanging != null)) { + this.TipoEventiRowChanging(this, new TipoEventiRowChangeEvent(((TipoEventiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.TipoEventiRowDeleted != null)) { + this.TipoEventiRowDeleted(this, new TipoEventiRowChangeEvent(((TipoEventiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.TipoEventiRowDeleting != null)) { + this.TipoEventiRowDeleting(this, new TipoEventiRowChangeEvent(((TipoEventiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveTipoEventiRow(TipoEventiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_XPS ds = new DS_XPS(); + 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 = "TipoEventiDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_ev2statiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodMappa; + + private global::System.Data.DataColumn columnIdxTipoObj; + + private global::System.Data.DataColumn columnDescrObj; + + private global::System.Data.DataColumn columnCodStato; + + private global::System.Data.DataColumn columnStatoCurr; + + private global::System.Data.DataColumn columnCodEvento; + + private global::System.Data.DataColumn columnDescrEvento; + + private global::System.Data.DataColumn columnNextCodStato; + + private global::System.Data.DataColumn columnStatoNext; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ev2statiDataTable() { + this.TableName = "v_ev2stati"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_ev2statiDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_ev2statiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodMappaColumn { + get { + return this.columnCodMappa; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxTipoObjColumn { + get { + return this.columnIdxTipoObj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrObjColumn { + get { + return this.columnDescrObj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] + public global::System.Data.DataColumn StatoCurrColumn { + get { + return this.columnStatoCurr; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodEventoColumn { + get { + return this.columnCodEvento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrEventoColumn { + get { + return this.columnDescrEvento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NextCodStatoColumn { + get { + return this.columnNextCodStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn StatoNextColumn { + get { + return this.columnStatoNext; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ev2statiRow this[int index] { + get { + return ((v_ev2statiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_ev2statiRowChangeEventHandler v_ev2statiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_ev2statiRowChangeEventHandler v_ev2statiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_ev2statiRowChangeEventHandler v_ev2statiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_ev2statiRowChangeEventHandler v_ev2statiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_ev2statiRow(v_ev2statiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ev2statiRow Addv_ev2statiRow(string CodMappa, string IdxTipoObj, string DescrObj, string CodStato, string StatoCurr, string CodEvento, string DescrEvento, string NextCodStato, string StatoNext) { + v_ev2statiRow rowv_ev2statiRow = ((v_ev2statiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodMappa, + IdxTipoObj, + DescrObj, + CodStato, + StatoCurr, + CodEvento, + DescrEvento, + NextCodStato, + StatoNext}; + rowv_ev2statiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_ev2statiRow); + return rowv_ev2statiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ev2statiRow FindByCodMappaIdxTipoObjCodStatoCodEvento(string CodMappa, string IdxTipoObj, string CodStato, string CodEvento) { + return ((v_ev2statiRow)(this.Rows.Find(new object[] { + CodMappa, + IdxTipoObj, + CodStato, + CodEvento}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_ev2statiDataTable cln = ((v_ev2statiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_ev2statiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodMappa = base.Columns["CodMappa"]; + this.columnIdxTipoObj = base.Columns["IdxTipoObj"]; + this.columnDescrObj = base.Columns["DescrObj"]; + this.columnCodStato = base.Columns["CodStato"]; + this.columnStatoCurr = base.Columns["StatoCurr"]; + this.columnCodEvento = base.Columns["CodEvento"]; + this.columnDescrEvento = base.Columns["DescrEvento"]; + this.columnNextCodStato = base.Columns["NextCodStato"]; + this.columnStatoNext = base.Columns["StatoNext"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodMappa = new global::System.Data.DataColumn("CodMappa", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodMappa); + this.columnIdxTipoObj = new global::System.Data.DataColumn("IdxTipoObj", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxTipoObj); + this.columnDescrObj = new global::System.Data.DataColumn("DescrObj", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrObj); + this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodStato); + this.columnStatoCurr = new global::System.Data.DataColumn("StatoCurr", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnStatoCurr); + this.columnCodEvento = new global::System.Data.DataColumn("CodEvento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodEvento); + this.columnDescrEvento = new global::System.Data.DataColumn("DescrEvento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrEvento); + this.columnNextCodStato = new global::System.Data.DataColumn("NextCodStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNextCodStato); + this.columnStatoNext = new global::System.Data.DataColumn("StatoNext", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnStatoNext); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodMappa, + this.columnIdxTipoObj, + this.columnCodStato, + this.columnCodEvento}, true)); + this.columnCodMappa.AllowDBNull = false; + this.columnCodMappa.MaxLength = 20; + this.columnIdxTipoObj.AllowDBNull = false; + this.columnIdxTipoObj.MaxLength = 50; + this.columnDescrObj.MaxLength = 50; + this.columnCodStato.AllowDBNull = false; + this.columnCodStato.MaxLength = 50; + this.columnStatoCurr.MaxLength = 50; + this.columnCodEvento.AllowDBNull = false; + this.columnCodEvento.MaxLength = 50; + this.columnDescrEvento.MaxLength = 50; + this.columnNextCodStato.MaxLength = 50; + this.columnStatoNext.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ev2statiRow Newv_ev2statiRow() { + return ((v_ev2statiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_ev2statiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_ev2statiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_ev2statiRowChanged != null)) { + this.v_ev2statiRowChanged(this, new v_ev2statiRowChangeEvent(((v_ev2statiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_ev2statiRowChanging != null)) { + this.v_ev2statiRowChanging(this, new v_ev2statiRowChangeEvent(((v_ev2statiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_ev2statiRowDeleted != null)) { + this.v_ev2statiRowDeleted(this, new v_ev2statiRowChangeEvent(((v_ev2statiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_ev2statiRowDeleting != null)) { + this.v_ev2statiRowDeleting(this, new v_ev2statiRowChangeEvent(((v_ev2statiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_ev2statiRow(v_ev2statiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_XPS ds = new DS_XPS(); + 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 = "v_ev2statiDataTable"; + 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 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; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiRow this[int index] { + get { + return ((AnagStatiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagStatiRowChangeEventHandler AnagStatiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagStatiRowChangeEventHandler AnagStatiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagStatiRowChangeEventHandler AnagStatiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagStatiRowChangeEventHandler AnagStatiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] + public AnagStatiRow AddAnagStatiRow(string CodStato, string FamStato, string DescrStato) { + AnagStatiRow rowAnagStatiRow = ((AnagStatiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodStato, + FamStato, + DescrStato}; + rowAnagStatiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagStatiRow); + return rowAnagStatiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.0.0.0")] + internal void InitVars() { + this.columnCodStato = base.Columns["CodStato"]; + this.columnFamStato = base.Columns["FamStato"]; + this.columnDescrStato = base.Columns["DescrStato"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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.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", "4.0.0.0")] + public AnagStatiRow NewAnagStatiRow() { + return ((AnagStatiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagStatiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagStatiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.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", "4.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", "4.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", "4.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", "4.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", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_XPS ds = new DS_XPS(); + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagObjDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodObj; + + private global::System.Data.DataColumn columnDescrObj; + + private global::System.Data.DataColumn columnFamStato; + + private global::System.Data.DataColumn columnConcreto; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagObjDataTable() { + this.TableName = "AnagObj"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagObjDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagObjDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodObjColumn { + get { + return this.columnCodObj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrObjColumn { + get { + return this.columnDescrObj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] + public global::System.Data.DataColumn ConcretoColumn { + get { + return this.columnConcreto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagObjRow this[int index] { + get { + return ((AnagObjRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagObjRowChangeEventHandler AnagObjRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagObjRowChangeEventHandler AnagObjRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagObjRowChangeEventHandler AnagObjRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagObjRowChangeEventHandler AnagObjRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagObjRow(AnagObjRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagObjRow AddAnagObjRow(string CodObj, string DescrObj, string FamStato, bool Concreto) { + AnagObjRow rowAnagObjRow = ((AnagObjRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodObj, + DescrObj, + FamStato, + Concreto}; + rowAnagObjRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagObjRow); + return rowAnagObjRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagObjRow FindByCodObj(string CodObj) { + return ((AnagObjRow)(this.Rows.Find(new object[] { + CodObj}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagObjDataTable cln = ((AnagObjDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagObjDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodObj = base.Columns["CodObj"]; + this.columnDescrObj = base.Columns["DescrObj"]; + this.columnFamStato = base.Columns["FamStato"]; + this.columnConcreto = base.Columns["Concreto"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodObj = new global::System.Data.DataColumn("CodObj", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodObj); + this.columnDescrObj = new global::System.Data.DataColumn("DescrObj", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrObj); + this.columnFamStato = new global::System.Data.DataColumn("FamStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFamStato); + this.columnConcreto = new global::System.Data.DataColumn("Concreto", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnConcreto); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodObj}, true)); + this.columnCodObj.AllowDBNull = false; + this.columnCodObj.Unique = true; + this.columnCodObj.MaxLength = 50; + this.columnDescrObj.MaxLength = 50; + this.columnFamStato.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagObjRow NewAnagObjRow() { + return ((AnagObjRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagObjRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagObjRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagObjRowChanged != null)) { + this.AnagObjRowChanged(this, new AnagObjRowChangeEvent(((AnagObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagObjRowChanging != null)) { + this.AnagObjRowChanging(this, new AnagObjRowChangeEvent(((AnagObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagObjRowDeleted != null)) { + this.AnagObjRowDeleted(this, new AnagObjRowChangeEvent(((AnagObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagObjRowDeleting != null)) { + this.AnagObjRowDeleting(this, new AnagObjRowChangeEvent(((AnagObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagObjRow(AnagObjRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_XPS ds = new DS_XPS(); + 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 = "AnagObjDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagMappeDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodMappa; + + private global::System.Data.DataColumn columnDescrMappa; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMappeDataTable() { + this.TableName = "AnagMappe"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagMappeDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagMappeDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodMappaColumn { + get { + return this.columnCodMappa; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrMappaColumn { + get { + return this.columnDescrMappa; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMappeRow this[int index] { + get { + return ((AnagMappeRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagMappeRowChangeEventHandler AnagMappeRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagMappeRowChangeEventHandler AnagMappeRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagMappeRowChangeEventHandler AnagMappeRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagMappeRowChangeEventHandler AnagMappeRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagMappeRow(AnagMappeRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMappeRow AddAnagMappeRow(string CodMappa, string DescrMappa) { + AnagMappeRow rowAnagMappeRow = ((AnagMappeRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodMappa, + DescrMappa}; + rowAnagMappeRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagMappeRow); + return rowAnagMappeRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMappeRow FindByCodMappa(string CodMappa) { + return ((AnagMappeRow)(this.Rows.Find(new object[] { + CodMappa}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagMappeDataTable cln = ((AnagMappeDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagMappeDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodMappa = base.Columns["CodMappa"]; + this.columnDescrMappa = base.Columns["DescrMappa"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodMappa = new global::System.Data.DataColumn("CodMappa", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodMappa); + this.columnDescrMappa = new global::System.Data.DataColumn("DescrMappa", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrMappa); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodMappa}, true)); + this.columnCodMappa.AllowDBNull = false; + this.columnCodMappa.Unique = true; + this.columnCodMappa.MaxLength = 20; + this.columnDescrMappa.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMappeRow NewAnagMappeRow() { + return ((AnagMappeRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagMappeRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagMappeRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagMappeRowChanged != null)) { + this.AnagMappeRowChanged(this, new AnagMappeRowChangeEvent(((AnagMappeRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagMappeRowChanging != null)) { + this.AnagMappeRowChanging(this, new AnagMappeRowChangeEvent(((AnagMappeRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagMappeRowDeleted != null)) { + this.AnagMappeRowDeleted(this, new AnagMappeRowChangeEvent(((AnagMappeRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagMappeRowDeleting != null)) { + this.AnagMappeRowDeleting(this, new AnagMappeRowChangeEvent(((AnagMappeRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagMappeRow(AnagMappeRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_XPS ds = new DS_XPS(); + 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 = "AnagMappeDataTable"; + 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. + /// + public partial class NoteRow : global::System.Data.DataRow { + + private NoteDataTable tableNote; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal NoteRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableNote = ((NoteDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int NumNota { + get { + return ((int)(this[this.tableNote.NumNotaColumn])); + } + set { + this[this.tableNote.NumNotaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string IdxObj { + get { + try { + return ((string)(this[this.tableNote.IdxObjColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IdxObj\' in table \'Note\' is DBNull.", e); + } + } + set { + this[this.tableNote.IdxObjColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodFase { + get { + try { + return ((string)(this[this.tableNote.CodFaseColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodFase\' in table \'Note\' is DBNull.", e); + } + } + set { + this[this.tableNote.CodFaseColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UserNota { + get { + try { + return ((string)(this[this.tableNote.UserNotaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'UserNota\' in table \'Note\' is DBNull.", e); + } + } + set { + this[this.tableNote.UserNotaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime Data { + get { + try { + return ((global::System.DateTime)(this[this.tableNote.DataColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Data\' in table \'Note\' is DBNull.", e); + } + } + set { + this[this.tableNote.DataColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ExtView { + get { + try { + return ((bool)(this[this.tableNote.ExtViewColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ExtView\' in table \'Note\' is DBNull.", e); + } + } + set { + this[this.tableNote.ExtViewColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Nota { + get { + try { + return ((string)(this[this.tableNote.NotaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Nota\' in table \'Note\' is DBNull.", e); + } + } + set { + this[this.tableNote.NotaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsIdxObjNull() { + return this.IsNull(this.tableNote.IdxObjColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetIdxObjNull() { + this[this.tableNote.IdxObjColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodFaseNull() { + return this.IsNull(this.tableNote.CodFaseColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodFaseNull() { + this[this.tableNote.CodFaseColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsUserNotaNull() { + return this.IsNull(this.tableNote.UserNotaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetUserNotaNull() { + this[this.tableNote.UserNotaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataNull() { + return this.IsNull(this.tableNote.DataColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataNull() { + this[this.tableNote.DataColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsExtViewNull() { + return this.IsNull(this.tableNote.ExtViewColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetExtViewNull() { + this[this.tableNote.ExtViewColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNotaNull() { + return this.IsNull(this.tableNote.NotaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNotaNull() { + this[this.tableNote.NotaColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class Step4ObjRow : global::System.Data.DataRow { + + private Step4ObjDataTable tableStep4Obj; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal Step4ObjRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableStep4Obj = ((Step4ObjDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string IdxObj { + get { + return ((string)(this[this.tableStep4Obj.IdxObjColumn])); + } + set { + this[this.tableStep4Obj.IdxObjColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxStep { + get { + return ((int)(this[this.tableStep4Obj.IdxStepColumn])); + } + set { + this[this.tableStep4Obj.IdxStepColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxStato { + get { + try { + return ((int)(this[this.tableStep4Obj.IdxStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IdxStato\' in table \'Step4Obj\' is DBNull.", e); + } + } + set { + this[this.tableStep4Obj.IdxStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime StartDatePrev { + get { + try { + return ((global::System.DateTime)(this[this.tableStep4Obj.StartDatePrevColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'StartDatePrev\' in table \'Step4Obj\' is DBNull.", e); + } + } + set { + this[this.tableStep4Obj.StartDatePrevColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DueDatePrev { + get { + try { + return ((global::System.DateTime)(this[this.tableStep4Obj.DueDatePrevColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DueDatePrev\' in table \'Step4Obj\' is DBNull.", e); + } + } + set { + this[this.tableStep4Obj.DueDatePrevColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime StartDateReal { + get { + try { + return ((global::System.DateTime)(this[this.tableStep4Obj.StartDateRealColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'StartDateReal\' in table \'Step4Obj\' is DBNull.", e); + } + } + set { + this[this.tableStep4Obj.StartDateRealColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DueDateReal { + get { + try { + return ((global::System.DateTime)(this[this.tableStep4Obj.DueDateRealColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DueDateReal\' in table \'Step4Obj\' is DBNull.", e); + } + } + set { + this[this.tableStep4Obj.DueDateRealColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double RatioCompl { + get { + try { + return ((double)(this[this.tableStep4Obj.RatioComplColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'RatioCompl\' in table \'Step4Obj\' is DBNull.", e); + } + } + set { + this[this.tableStep4Obj.RatioComplColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsIdxStatoNull() { + return this.IsNull(this.tableStep4Obj.IdxStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetIdxStatoNull() { + this[this.tableStep4Obj.IdxStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsStartDatePrevNull() { + return this.IsNull(this.tableStep4Obj.StartDatePrevColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetStartDatePrevNull() { + this[this.tableStep4Obj.StartDatePrevColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDueDatePrevNull() { + return this.IsNull(this.tableStep4Obj.DueDatePrevColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDueDatePrevNull() { + this[this.tableStep4Obj.DueDatePrevColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsStartDateRealNull() { + return this.IsNull(this.tableStep4Obj.StartDateRealColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetStartDateRealNull() { + this[this.tableStep4Obj.StartDateRealColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDueDateRealNull() { + return this.IsNull(this.tableStep4Obj.DueDateRealColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDueDateRealNull() { + this[this.tableStep4Obj.DueDateRealColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsRatioComplNull() { + return this.IsNull(this.tableStep4Obj.RatioComplColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetRatioComplNull() { + this[this.tableStep4Obj.RatioComplColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class Object2SetRow : global::System.Data.DataRow { + + private Object2SetDataTable tableObject2Set; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal Object2SetRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableObject2Set = ((Object2SetDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string IdxSet { + get { + return ((string)(this[this.tableObject2Set.IdxSetColumn])); + } + set { + this[this.tableObject2Set.IdxSetColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodObj { + get { + return ((string)(this[this.tableObject2Set.CodObjColumn])); + } + set { + this[this.tableObject2Set.CodObjColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Qta { + get { + try { + return ((int)(this[this.tableObject2Set.QtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'Object2Set\' is DBNull.", e); + } + } + set { + this[this.tableObject2Set.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool UserQtyReq { + get { + try { + return ((bool)(this[this.tableObject2Set.UserQtyReqColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'UserQtyReq\' in table \'Object2Set\' is DBNull.", e); + } + } + set { + this[this.tableObject2Set.UserQtyReqColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Posizione { + get { + try { + return ((string)(this[this.tableObject2Set.PosizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Posizione\' in table \'Object2Set\' is DBNull.", e); + } + } + set { + this[this.tableObject2Set.PosizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool TimeTrackEnab { + get { + try { + return ((bool)(this[this.tableObject2Set.TimeTrackEnabColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'TimeTrackEnab\' in table \'Object2Set\' is DBNull.", e); + } + } + set { + this[this.tableObject2Set.TimeTrackEnabColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ProcReq { + get { + try { + return ((bool)(this[this.tableObject2Set.ProcReqColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ProcReq\' in table \'Object2Set\' is DBNull.", e); + } + } + set { + this[this.tableObject2Set.ProcReqColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ExtView { + get { + try { + return ((bool)(this[this.tableObject2Set.ExtViewColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ExtView\' in table \'Object2Set\' is DBNull.", e); + } + } + set { + this[this.tableObject2Set.ExtViewColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagObjRow AnagObjRow { + get { + return ((AnagObjRow)(this.GetParentRow(this.Table.ParentRelations["FK_ObjectSet_AnagTipoObj"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_ObjectSet_AnagTipoObj"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsQtaNull() { + return this.IsNull(this.tableObject2Set.QtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetQtaNull() { + this[this.tableObject2Set.QtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsUserQtyReqNull() { + return this.IsNull(this.tableObject2Set.UserQtyReqColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetUserQtyReqNull() { + this[this.tableObject2Set.UserQtyReqColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPosizioneNull() { + return this.IsNull(this.tableObject2Set.PosizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPosizioneNull() { + this[this.tableObject2Set.PosizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsTimeTrackEnabNull() { + return this.IsNull(this.tableObject2Set.TimeTrackEnabColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetTimeTrackEnabNull() { + this[this.tableObject2Set.TimeTrackEnabColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsProcReqNull() { + return this.IsNull(this.tableObject2Set.ProcReqColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetProcReqNull() { + this[this.tableObject2Set.ProcReqColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsExtViewNull() { + return this.IsNull(this.tableObject2Set.ExtViewColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetExtViewNull() { + this[this.tableObject2Set.ExtViewColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class UMRow : global::System.Data.DataRow { + + private UMDataTable tableUM; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal UMRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableUM = ((UMDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UM { + get { + return ((string)(this[this.tableUM.UMColumn])); + } + set { + this[this.tableUM.UMColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescrUM { + get { + try { + return ((string)(this[this.tableUM.DescrUMColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrUM\' in table \'UM\' is DBNull.", e); + } + } + set { + this[this.tableUM.DescrUMColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double FattoreSI { + get { + try { + return ((double)(this[this.tableUM.FattoreSIColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'FattoreSI\' in table \'UM\' is DBNull.", e); + } + } + set { + this[this.tableUM.FattoreSIColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrUMNull() { + return this.IsNull(this.tableUM.DescrUMColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrUMNull() { + this[this.tableUM.DescrUMColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFattoreSINull() { + return this.IsNull(this.tableUM.FattoreSIColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFattoreSINull() { + this[this.tableUM.FattoreSIColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class EventiRow : global::System.Data.DataRow { + + private EventiDataTable tableEventi; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal EventiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableEventi = ((EventiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodEvento { + get { + return ((string)(this[this.tableEventi.CodEventoColumn])); + } + set { + this[this.tableEventi.CodEventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodTipoEvento { + get { + try { + return ((string)(this[this.tableEventi.CodTipoEventoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodTipoEvento\' in table \'Eventi\' is DBNull.", e); + } + } + set { + this[this.tableEventi.CodTipoEventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescrEvento { + get { + try { + return ((string)(this[this.tableEventi.DescrEventoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrEvento\' in table \'Eventi\' is DBNull.", e); + } + } + set { + this[this.tableEventi.DescrEventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Action { + get { + try { + return ((string)(this[this.tableEventi.ActionColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Action\' in table \'Eventi\' is DBNull.", e); + } + } + set { + this[this.tableEventi.ActionColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoEventiRow TipoEventiRow { + get { + return ((TipoEventiRow)(this.GetParentRow(this.Table.ParentRelations["FK_Eventi_TipoEventi"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_Eventi_TipoEventi"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodTipoEventoNull() { + return this.IsNull(this.tableEventi.CodTipoEventoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodTipoEventoNull() { + this[this.tableEventi.CodTipoEventoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrEventoNull() { + return this.IsNull(this.tableEventi.DescrEventoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrEventoNull() { + this[this.tableEventi.DescrEventoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsActionNull() { + return this.IsNull(this.tableEventi.ActionColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetActionNull() { + this[this.tableEventi.ActionColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class TipoEventiRow : global::System.Data.DataRow { + + private TipoEventiDataTable tableTipoEventi; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal TipoEventiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableTipoEventi = ((TipoEventiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodTipoEvento { + get { + return ((string)(this[this.tableTipoEventi.CodTipoEventoColumn])); + } + set { + this[this.tableTipoEventi.CodTipoEventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescrTipoEv { + get { + try { + return ((string)(this[this.tableTipoEventi.DescrTipoEvColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrTipoEv\' in table \'TipoEventi\' is DBNull.", e); + } + } + set { + this[this.tableTipoEventi.DescrTipoEvColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrTipoEvNull() { + return this.IsNull(this.tableTipoEventi.DescrTipoEvColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrTipoEvNull() { + this[this.tableTipoEventi.DescrTipoEvColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiRow[] GetEventiRows() { + if ((this.Table.ChildRelations["FK_Eventi_TipoEventi"] == null)) { + return new EventiRow[0]; + } + else { + return ((EventiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Eventi_TipoEventi"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_ev2statiRow : global::System.Data.DataRow { + + private v_ev2statiDataTable tablev_ev2stati; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_ev2statiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_ev2stati = ((v_ev2statiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodMappa { + get { + return ((string)(this[this.tablev_ev2stati.CodMappaColumn])); + } + set { + this[this.tablev_ev2stati.CodMappaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string IdxTipoObj { + get { + return ((string)(this[this.tablev_ev2stati.IdxTipoObjColumn])); + } + set { + this[this.tablev_ev2stati.IdxTipoObjColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescrObj { + get { + try { + return ((string)(this[this.tablev_ev2stati.DescrObjColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrObj\' in table \'v_ev2stati\' is DBNull.", e); + } + } + set { + this[this.tablev_ev2stati.DescrObjColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodStato { + get { + return ((string)(this[this.tablev_ev2stati.CodStatoColumn])); + } + set { + this[this.tablev_ev2stati.CodStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string StatoCurr { + get { + try { + return ((string)(this[this.tablev_ev2stati.StatoCurrColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'StatoCurr\' in table \'v_ev2stati\' is DBNull.", e); + } + } + set { + this[this.tablev_ev2stati.StatoCurrColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodEvento { + get { + return ((string)(this[this.tablev_ev2stati.CodEventoColumn])); + } + set { + this[this.tablev_ev2stati.CodEventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescrEvento { + get { + try { + return ((string)(this[this.tablev_ev2stati.DescrEventoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrEvento\' in table \'v_ev2stati\' is DBNull.", e); + } + } + set { + this[this.tablev_ev2stati.DescrEventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string NextCodStato { + get { + try { + return ((string)(this[this.tablev_ev2stati.NextCodStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NextCodStato\' in table \'v_ev2stati\' is DBNull.", e); + } + } + set { + this[this.tablev_ev2stati.NextCodStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string StatoNext { + get { + try { + return ((string)(this[this.tablev_ev2stati.StatoNextColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'StatoNext\' in table \'v_ev2stati\' is DBNull.", e); + } + } + set { + this[this.tablev_ev2stati.StatoNextColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrObjNull() { + return this.IsNull(this.tablev_ev2stati.DescrObjColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrObjNull() { + this[this.tablev_ev2stati.DescrObjColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsStatoCurrNull() { + return this.IsNull(this.tablev_ev2stati.StatoCurrColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetStatoCurrNull() { + this[this.tablev_ev2stati.StatoCurrColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrEventoNull() { + return this.IsNull(this.tablev_ev2stati.DescrEventoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrEventoNull() { + this[this.tablev_ev2stati.DescrEventoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNextCodStatoNull() { + return this.IsNull(this.tablev_ev2stati.NextCodStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNextCodStatoNull() { + this[this.tablev_ev2stati.NextCodStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsStatoNextNull() { + return this.IsNull(this.tablev_ev2stati.StatoNextColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetStatoNextNull() { + this[this.tablev_ev2stati.StatoNextColumn] = global::System.Convert.DBNull; + } + } + + /// + ///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", "4.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", "4.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", "4.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", "4.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("The value for column \'DescrStato\' in table \'AnagStati\' is DBNull.", e); + } + } + set { + this[this.tableAnagStati.DescrStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] + public void SetDescrStatoNull() { + this[this.tableAnagStati.DescrStatoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagObjRow : global::System.Data.DataRow { + + private AnagObjDataTable tableAnagObj; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagObjRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagObj = ((AnagObjDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodObj { + get { + return ((string)(this[this.tableAnagObj.CodObjColumn])); + } + set { + this[this.tableAnagObj.CodObjColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescrObj { + get { + try { + return ((string)(this[this.tableAnagObj.DescrObjColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrObj\' in table \'AnagObj\' is DBNull.", e); + } + } + set { + this[this.tableAnagObj.DescrObjColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string FamStato { + get { + try { + return ((string)(this[this.tableAnagObj.FamStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'FamStato\' in table \'AnagObj\' is DBNull.", e); + } + } + set { + this[this.tableAnagObj.FamStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Concreto { + get { + try { + return ((bool)(this[this.tableAnagObj.ConcretoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Concreto\' in table \'AnagObj\' is DBNull.", e); + } + } + set { + this[this.tableAnagObj.ConcretoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrObjNull() { + return this.IsNull(this.tableAnagObj.DescrObjColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrObjNull() { + this[this.tableAnagObj.DescrObjColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFamStatoNull() { + return this.IsNull(this.tableAnagObj.FamStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFamStatoNull() { + this[this.tableAnagObj.FamStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsConcretoNull() { + return this.IsNull(this.tableAnagObj.ConcretoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetConcretoNull() { + this[this.tableAnagObj.ConcretoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Object2SetRow[] GetObject2SetRows() { + if ((this.Table.ChildRelations["FK_ObjectSet_AnagTipoObj"] == null)) { + return new Object2SetRow[0]; + } + else { + return ((Object2SetRow[])(base.GetChildRows(this.Table.ChildRelations["FK_ObjectSet_AnagTipoObj"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagMappeRow : global::System.Data.DataRow { + + private AnagMappeDataTable tableAnagMappe; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagMappeRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagMappe = ((AnagMappeDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodMappa { + get { + return ((string)(this[this.tableAnagMappe.CodMappaColumn])); + } + set { + this[this.tableAnagMappe.CodMappaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescrMappa { + get { + try { + return ((string)(this[this.tableAnagMappe.DescrMappaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrMappa\' in table \'AnagMappe\' is DBNull.", e); + } + } + set { + this[this.tableAnagMappe.DescrMappaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrMappaNull() { + return this.IsNull(this.tableAnagMappe.DescrMappaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrMappaNull() { + this[this.tableAnagMappe.DescrMappaColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class NoteRowChangeEvent : global::System.EventArgs { + + private NoteRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public NoteRowChangeEvent(NoteRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public NoteRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class Step4ObjRowChangeEvent : global::System.EventArgs { + + private Step4ObjRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Step4ObjRowChangeEvent(Step4ObjRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Step4ObjRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class Object2SetRowChangeEvent : global::System.EventArgs { + + private Object2SetRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Object2SetRowChangeEvent(Object2SetRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Object2SetRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class UMRowChangeEvent : global::System.EventArgs { + + private UMRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UMRowChangeEvent(UMRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UMRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class EventiRowChangeEvent : global::System.EventArgs { + + private EventiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiRowChangeEvent(EventiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class TipoEventiRowChangeEvent : global::System.EventArgs { + + private TipoEventiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoEventiRowChangeEvent(TipoEventiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoEventiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_ev2statiRowChangeEvent : global::System.EventArgs { + + private v_ev2statiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ev2statiRowChangeEvent(v_ev2statiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ev2statiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.0.0.0")] + public AnagStatiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagObjRowChangeEvent : global::System.EventArgs { + + private AnagObjRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagObjRowChangeEvent(AnagObjRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagObjRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagMappeRowChangeEvent : global::System.EventArgs { + + private AnagMappeRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMappeRowChangeEvent(AnagMappeRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMappeRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace XPS_data.DS_XPSTableAdapters { + + + /// + ///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 NoteTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public NoteTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "Note"; + tableMapping.ColumnMappings.Add("NumNota", "NumNota"); + tableMapping.ColumnMappings.Add("IdxObj", "IdxObj"); + tableMapping.ColumnMappings.Add("CodFase", "CodFase"); + tableMapping.ColumnMappings.Add("UserNota", "UserNota"); + tableMapping.ColumnMappings.Add("Data", "Data"); + tableMapping.ColumnMappings.Add("ExtView", "ExtView"); + tableMapping.ColumnMappings.Add("Nota", "Nota"); + 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].[Note] WHERE (([NumNota] = @Original_NumNota) AND ((@IsNull_IdxObj = 1 AND [IdxObj] IS NULL) OR ([IdxObj] = @Original_IdxObj)) AND ((@IsNull_CodFase = 1 AND [CodFase] IS NULL) OR ([CodFase] = @Original_CodFase)) AND ((@IsNull_UserNota = 1 AND [UserNota] IS NULL) OR ([UserNota] = @Original_UserNota)) AND ((@IsNull_Data = 1 AND [Data] IS NULL) OR ([Data] = @Original_Data)) AND ((@IsNull_ExtView = 1 AND [ExtView] IS NULL) OR ([ExtView] = @Original_ExtView)) AND ((@IsNull_Nota = 1 AND [Nota] IS NULL) OR ([Nota] = @Original_Nota)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumNota", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxObj", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodFase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFase", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFase", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFase", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserNota", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserNota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserNota", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Data", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtView", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtView", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Nota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nota", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nota", 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].[Note] ([NumNota], [IdxObj], [CodFase], [UserNota], [Data], [ExtView], [Nota]) VALUES (@NumNota, @IdxObj, @CodFase, @UserNota, @Data, @ExtView, @Nota); +SELECT NumNota, IdxObj, CodFase, UserNota, Data, ExtView, Nota FROM Note WHERE (NumNota = @NumNota)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumNota", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFase", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFase", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserNota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserNota", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtView", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nota", 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].[Note] SET [NumNota] = @NumNota, [IdxObj] = @IdxObj, [CodFase] = @CodFase, [UserNota] = @UserNota, [Data] = @Data, [ExtView] = @ExtView, [Nota] = @Nota WHERE (([NumNota] = @Original_NumNota) AND ((@IsNull_IdxObj = 1 AND [IdxObj] IS NULL) OR ([IdxObj] = @Original_IdxObj)) AND ((@IsNull_CodFase = 1 AND [CodFase] IS NULL) OR ([CodFase] = @Original_CodFase)) AND ((@IsNull_UserNota = 1 AND [UserNota] IS NULL) OR ([UserNota] = @Original_UserNota)) AND ((@IsNull_Data = 1 AND [Data] IS NULL) OR ([Data] = @Original_Data)) AND ((@IsNull_ExtView = 1 AND [ExtView] IS NULL) OR ([ExtView] = @Original_ExtView)) AND ((@IsNull_Nota = 1 AND [Nota] IS NULL) OR ([Nota] = @Original_Nota))); +SELECT NumNota, IdxObj, CodFase, UserNota, Data, ExtView, Nota FROM Note WHERE (NumNota = @NumNota)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumNota", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFase", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFase", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserNota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserNota", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtView", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nota", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumNota", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxObj", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodFase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFase", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFase", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFase", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserNota", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserNota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserNota", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Data", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtView", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtView", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Nota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nota", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nota", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT NumNota, IdxObj, CodFase, UserNota, Data, ExtView, Nota FROM dbo.Note"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_XPS.NoteDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_XPS.NoteDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_XPS.NoteDataTable dataTable = new DS_XPS.NoteDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS.NoteDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS dataSet) { + return this.Adapter.Update(dataSet, "Note"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_NumNota, string Original_IdxObj, string Original_CodFase, string Original_UserNota, global::System.Nullable Original_Data, global::System.Nullable Original_ExtView, string Original_Nota) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_NumNota)); + if ((Original_IdxObj == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_IdxObj)); + } + if ((Original_CodFase == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodFase)); + } + if ((Original_UserNota == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_UserNota)); + } + if ((Original_Data.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((System.DateTime)(Original_Data.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((Original_ExtView.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((bool)(Original_ExtView.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + if ((Original_Nota == null)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_Nota)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(int NumNota, string IdxObj, string CodFase, string UserNota, global::System.Nullable Data, global::System.Nullable ExtView, string Nota) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(NumNota)); + if ((IdxObj == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(IdxObj)); + } + if ((CodFase == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodFase)); + } + if ((UserNota == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(UserNota)); + } + if ((Data.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(Data.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((ExtView.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[5].Value = ((bool)(ExtView.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((Nota == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Nota)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(int NumNota, string IdxObj, string CodFase, string UserNota, global::System.Nullable Data, global::System.Nullable ExtView, string Nota, int Original_NumNota, string Original_IdxObj, string Original_CodFase, string Original_UserNota, global::System.Nullable Original_Data, global::System.Nullable Original_ExtView, string Original_Nota) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(NumNota)); + if ((IdxObj == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(IdxObj)); + } + if ((CodFase == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodFase)); + } + if ((UserNota == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(UserNota)); + } + if ((Data.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(Data.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((ExtView.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((bool)(ExtView.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((Nota == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Nota)); + } + this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_NumNota)); + if ((Original_IdxObj == null)) { + this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_IdxObj)); + } + if ((Original_CodFase == null)) { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_CodFase)); + } + if ((Original_UserNota == null)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_UserNota)); + } + if ((Original_Data.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(Original_Data.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + if ((Original_ExtView.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[17].Value = ((bool)(Original_ExtView.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((Original_Nota == null)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_Nota)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string IdxObj, string CodFase, string UserNota, global::System.Nullable Data, global::System.Nullable ExtView, string Nota, int Original_NumNota, string Original_IdxObj, string Original_CodFase, string Original_UserNota, global::System.Nullable Original_Data, global::System.Nullable Original_ExtView, string Original_Nota) { + return this.Update(Original_NumNota, IdxObj, CodFase, UserNota, Data, ExtView, Nota, Original_NumNota, Original_IdxObj, Original_CodFase, Original_UserNota, Original_Data, Original_ExtView, Original_Nota); + } + } + + /// + ///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 Step4ObjTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Step4ObjTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "Step4Obj"; + tableMapping.ColumnMappings.Add("IdxObj", "IdxObj"); + tableMapping.ColumnMappings.Add("IdxStep", "IdxStep"); + tableMapping.ColumnMappings.Add("IdxStato", "IdxStato"); + tableMapping.ColumnMappings.Add("StartDatePrev", "StartDatePrev"); + tableMapping.ColumnMappings.Add("DueDatePrev", "DueDatePrev"); + tableMapping.ColumnMappings.Add("StartDateReal", "StartDateReal"); + tableMapping.ColumnMappings.Add("DueDateReal", "DueDateReal"); + tableMapping.ColumnMappings.Add("RatioCompl", "RatioCompl"); + 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].[Step4Obj] WHERE (([IdxObj] = @Original_IdxObj) AND ([IdxStep] = @Original_IdxStep) AND ((@IsNull_IdxStato = 1 AND [IdxStato] IS NULL) OR ([IdxStato] = @Original_IdxStato)) AND ((@IsNull_StartDatePrev = 1 AND [StartDatePrev] IS NULL) OR ([StartDatePrev] = @Original_StartDatePrev)) AND ((@IsNull_DueDatePrev = 1 AND [DueDatePrev] IS NULL) OR ([DueDatePrev] = @Original_DueDatePrev)) AND ((@IsNull_StartDateReal = 1 AND [StartDateReal] IS NULL) OR ([StartDateReal] = @Original_StartDateReal)) AND ((@IsNull_DueDateReal = 1 AND [DueDateReal] IS NULL) OR ([DueDateReal] = @Original_DueDateReal)) AND ((@IsNull_RatioCompl = 1 AND [RatioCompl] IS NULL) OR ([RatioCompl] = @Original_RatioCompl)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStep", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStep", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_StartDatePrev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDatePrev", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_StartDatePrev", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDatePrev", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DueDatePrev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDatePrev", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DueDatePrev", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDatePrev", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_StartDateReal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDateReal", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_StartDateReal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDateReal", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DueDateReal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDateReal", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DueDateReal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDateReal", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RatioCompl", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RatioCompl", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RatioCompl", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RatioCompl", 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].[Step4Obj] ([IdxObj], [IdxStep], [IdxStato], [StartDatePrev], [DueDatePrev], [StartDateReal], [DueDateReal], [RatioCompl]) VALUES (@IdxObj, @IdxStep, @IdxStato, @StartDatePrev, @DueDatePrev, @StartDateReal, @DueDateReal, @RatioCompl); +SELECT IdxObj, IdxStep, IdxStato, StartDatePrev, DueDatePrev, StartDateReal, DueDateReal, RatioCompl FROM Step4Obj WHERE (IdxObj = @IdxObj) AND (IdxStep = @IdxStep)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStep", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStep", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@StartDatePrev", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDatePrev", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDatePrev", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDatePrev", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@StartDateReal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDateReal", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDateReal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDateReal", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RatioCompl", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RatioCompl", 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].[Step4Obj] SET [IdxObj] = @IdxObj, [IdxStep] = @IdxStep, [IdxStato] = @IdxStato, [StartDatePrev] = @StartDatePrev, [DueDatePrev] = @DueDatePrev, [StartDateReal] = @StartDateReal, [DueDateReal] = @DueDateReal, [RatioCompl] = @RatioCompl WHERE (([IdxObj] = @Original_IdxObj) AND ([IdxStep] = @Original_IdxStep) AND ((@IsNull_IdxStato = 1 AND [IdxStato] IS NULL) OR ([IdxStato] = @Original_IdxStato)) AND ((@IsNull_StartDatePrev = 1 AND [StartDatePrev] IS NULL) OR ([StartDatePrev] = @Original_StartDatePrev)) AND ((@IsNull_DueDatePrev = 1 AND [DueDatePrev] IS NULL) OR ([DueDatePrev] = @Original_DueDatePrev)) AND ((@IsNull_StartDateReal = 1 AND [StartDateReal] IS NULL) OR ([StartDateReal] = @Original_StartDateReal)) AND ((@IsNull_DueDateReal = 1 AND [DueDateReal] IS NULL) OR ([DueDateReal] = @Original_DueDateReal)) AND ((@IsNull_RatioCompl = 1 AND [RatioCompl] IS NULL) OR ([RatioCompl] = @Original_RatioCompl))); +SELECT IdxObj, IdxStep, IdxStato, StartDatePrev, DueDatePrev, StartDateReal, DueDateReal, RatioCompl FROM Step4Obj WHERE (IdxObj = @IdxObj) AND (IdxStep = @IdxStep)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStep", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStep", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@StartDatePrev", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDatePrev", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDatePrev", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDatePrev", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@StartDateReal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDateReal", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDateReal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDateReal", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RatioCompl", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RatioCompl", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStep", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStep", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_StartDatePrev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDatePrev", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_StartDatePrev", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDatePrev", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DueDatePrev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDatePrev", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DueDatePrev", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDatePrev", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_StartDateReal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDateReal", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_StartDateReal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StartDateReal", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DueDateReal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDateReal", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DueDateReal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDateReal", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RatioCompl", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RatioCompl", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RatioCompl", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RatioCompl", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT IdxObj, IdxStep, IdxStato, StartDatePrev, DueDatePrev, StartDateReal, DueD" + + "ateReal, RatioCompl FROM dbo.Step4Obj"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_XPS.Step4ObjDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_XPS.Step4ObjDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_XPS.Step4ObjDataTable dataTable = new DS_XPS.Step4ObjDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS.Step4ObjDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS dataSet) { + return this.Adapter.Update(dataSet, "Step4Obj"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_IdxObj, int Original_IdxStep, global::System.Nullable Original_IdxStato, global::System.Nullable Original_StartDatePrev, global::System.Nullable Original_DueDatePrev, global::System.Nullable Original_StartDateReal, global::System.Nullable Original_DueDateReal, global::System.Nullable Original_RatioCompl) { + if ((Original_IdxObj == null)) { + throw new global::System.ArgumentNullException("Original_IdxObj"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_IdxObj)); + } + this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_IdxStep)); + if ((Original_IdxStato.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_IdxStato.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Original_StartDatePrev.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[5].Value = ((System.DateTime)(Original_StartDatePrev.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((Original_DueDatePrev.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[7].Value = ((System.DateTime)(Original_DueDatePrev.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; + } + if ((Original_StartDateReal.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[9].Value = ((System.DateTime)(Original_StartDateReal.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value; + } + if ((Original_DueDateReal.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[11].Value = ((System.DateTime)(Original_DueDateReal.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value; + } + if ((Original_RatioCompl.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[13].Value = ((double)(Original_RatioCompl.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[13].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string IdxObj, int IdxStep, global::System.Nullable IdxStato, global::System.Nullable StartDatePrev, global::System.Nullable DueDatePrev, global::System.Nullable StartDateReal, global::System.Nullable DueDateReal, global::System.Nullable RatioCompl) { + if ((IdxObj == null)) { + throw new global::System.ArgumentNullException("IdxObj"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(IdxObj)); + } + this.Adapter.InsertCommand.Parameters[1].Value = ((int)(IdxStep)); + if ((IdxStato.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[2].Value = ((int)(IdxStato.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((StartDatePrev.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(StartDatePrev.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((DueDatePrev.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(DueDatePrev.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((StartDateReal.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(StartDateReal.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((DueDateReal.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[6].Value = ((System.DateTime)(DueDateReal.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((RatioCompl.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[7].Value = ((double)(RatioCompl.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[7].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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string IdxObj, + int IdxStep, + global::System.Nullable IdxStato, + global::System.Nullable StartDatePrev, + global::System.Nullable DueDatePrev, + global::System.Nullable StartDateReal, + global::System.Nullable DueDateReal, + global::System.Nullable RatioCompl, + string Original_IdxObj, + int Original_IdxStep, + global::System.Nullable Original_IdxStato, + global::System.Nullable Original_StartDatePrev, + global::System.Nullable Original_DueDatePrev, + global::System.Nullable Original_StartDateReal, + global::System.Nullable Original_DueDateReal, + global::System.Nullable Original_RatioCompl) { + if ((IdxObj == null)) { + throw new global::System.ArgumentNullException("IdxObj"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(IdxObj)); + } + this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(IdxStep)); + if ((IdxStato.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(IdxStato.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((StartDatePrev.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(StartDatePrev.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((DueDatePrev.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(DueDatePrev.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((StartDateReal.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(StartDateReal.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((DueDateReal.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(DueDateReal.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((RatioCompl.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((double)(RatioCompl.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + if ((Original_IdxObj == null)) { + throw new global::System.ArgumentNullException("Original_IdxObj"); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_IdxObj)); + } + this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_IdxStep)); + if ((Original_IdxStato.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_IdxStato.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + if ((Original_StartDatePrev.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(Original_StartDatePrev.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((Original_DueDatePrev.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(Original_DueDatePrev.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + if ((Original_StartDateReal.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[17].Value = ((System.DateTime)(Original_StartDateReal.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((Original_DueDateReal.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[19].Value = ((System.DateTime)(Original_DueDateReal.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((Original_RatioCompl.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[21].Value = ((double)(Original_RatioCompl.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(global::System.Nullable IdxStato, global::System.Nullable StartDatePrev, global::System.Nullable DueDatePrev, global::System.Nullable StartDateReal, global::System.Nullable DueDateReal, global::System.Nullable RatioCompl, string Original_IdxObj, int Original_IdxStep, global::System.Nullable Original_IdxStato, global::System.Nullable Original_StartDatePrev, global::System.Nullable Original_DueDatePrev, global::System.Nullable Original_StartDateReal, global::System.Nullable Original_DueDateReal, global::System.Nullable Original_RatioCompl) { + return this.Update(Original_IdxObj, Original_IdxStep, IdxStato, StartDatePrev, DueDatePrev, StartDateReal, DueDateReal, RatioCompl, Original_IdxObj, Original_IdxStep, Original_IdxStato, Original_StartDatePrev, Original_DueDatePrev, Original_StartDateReal, Original_DueDateReal, Original_RatioCompl); + } + } + + /// + ///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 Object2SetTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Object2SetTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "Object2Set"; + tableMapping.ColumnMappings.Add("IdxSet", "IdxSet"); + tableMapping.ColumnMappings.Add("CodObj", "CodObj"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("UserQtyReq", "UserQtyReq"); + tableMapping.ColumnMappings.Add("Posizione", "Posizione"); + tableMapping.ColumnMappings.Add("TimeTrackEnab", "TimeTrackEnab"); + tableMapping.ColumnMappings.Add("ProcReq", "ProcReq"); + tableMapping.ColumnMappings.Add("ExtView", "ExtView"); + 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].[Object2Set] WHERE (([IdxSet] = @Original_IdxSet) AND ([CodObj] = @Original_CodObj) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_UserQtyReq = 1 AND [UserQtyReq] IS NULL) OR ([UserQtyReq] = @Original_UserQtyReq)) AND ((@IsNull_Posizione = 1 AND [Posizione] IS NULL) OR ([Posizione] = @Original_Posizione)) AND ((@IsNull_TimeTrackEnab = 1 AND [TimeTrackEnab] IS NULL) OR ([TimeTrackEnab] = @Original_TimeTrackEnab)) AND ((@IsNull_ProcReq = 1 AND [ProcReq] IS NULL) OR ([ProcReq] = @Original_ProcReq)) AND ((@IsNull_ExtView = 1 AND [ExtView] IS NULL) OR ([ExtView] = @Original_ExtView)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxSet", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxSet", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserQtyReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserQtyReq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserQtyReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserQtyReq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Posizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Posizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TimeTrackEnab", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TimeTrackEnab", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TimeTrackEnab", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TimeTrackEnab", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ProcReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcReq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcReq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtView", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtView", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", 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].[Object2Set] ([IdxSet], [CodObj], [Qta], [UserQtyReq], [Posizione], [TimeTrackEnab], [ProcReq], [ExtView]) VALUES (@IdxSet, @CodObj, @Qta, @UserQtyReq, @Posizione, @TimeTrackEnab, @ProcReq, @ExtView); +SELECT IdxSet, CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, ExtView FROM Object2Set WHERE (CodObj = @CodObj) AND (IdxSet = @IdxSet)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxSet", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxSet", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserQtyReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserQtyReq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Posizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TimeTrackEnab", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TimeTrackEnab", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcReq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtView", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", 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].[Object2Set] SET [IdxSet] = @IdxSet, [CodObj] = @CodObj, [Qta] = @Qta, [UserQtyReq] = @UserQtyReq, [Posizione] = @Posizione, [TimeTrackEnab] = @TimeTrackEnab, [ProcReq] = @ProcReq, [ExtView] = @ExtView WHERE (([IdxSet] = @Original_IdxSet) AND ([CodObj] = @Original_CodObj) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_UserQtyReq = 1 AND [UserQtyReq] IS NULL) OR ([UserQtyReq] = @Original_UserQtyReq)) AND ((@IsNull_Posizione = 1 AND [Posizione] IS NULL) OR ([Posizione] = @Original_Posizione)) AND ((@IsNull_TimeTrackEnab = 1 AND [TimeTrackEnab] IS NULL) OR ([TimeTrackEnab] = @Original_TimeTrackEnab)) AND ((@IsNull_ProcReq = 1 AND [ProcReq] IS NULL) OR ([ProcReq] = @Original_ProcReq)) AND ((@IsNull_ExtView = 1 AND [ExtView] IS NULL) OR ([ExtView] = @Original_ExtView))); +SELECT IdxSet, CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, ExtView FROM Object2Set WHERE (CodObj = @CodObj) AND (IdxSet = @IdxSet)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxSet", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxSet", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserQtyReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserQtyReq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Posizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TimeTrackEnab", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TimeTrackEnab", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcReq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtView", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxSet", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxSet", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserQtyReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserQtyReq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserQtyReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserQtyReq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Posizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Posizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TimeTrackEnab", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TimeTrackEnab", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TimeTrackEnab", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TimeTrackEnab", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ProcReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcReq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcReq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtView", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtView", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtView", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT IdxSet, CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, ExtVie" + + "w FROM dbo.Object2Set"; + 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 = "SELECT IdxSet, CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, Ex" + + "tView\r\nFROM Object2Set\r\nWHERE (IdxSet = @IdxSet)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxSet", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "IdxSet", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_XPS.Object2SetDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_XPS.Object2SetDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_XPS.Object2SetDataTable dataTable = new DS_XPS.Object2SetDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_XPS.Object2SetDataTable getByIdxSet(string IdxSet) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((IdxSet == null)) { + throw new global::System.ArgumentNullException("IdxSet"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(IdxSet)); + } + DS_XPS.Object2SetDataTable dataTable = new DS_XPS.Object2SetDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS.Object2SetDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS dataSet) { + return this.Adapter.Update(dataSet, "Object2Set"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_IdxSet, string Original_CodObj, global::System.Nullable Original_Qta, global::System.Nullable Original_UserQtyReq, string Original_Posizione, global::System.Nullable Original_TimeTrackEnab, global::System.Nullable Original_ProcReq, global::System.Nullable Original_ExtView) { + if ((Original_IdxSet == null)) { + throw new global::System.ArgumentNullException("Original_IdxSet"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_IdxSet)); + } + if ((Original_CodObj == null)) { + throw new global::System.ArgumentNullException("Original_CodObj"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodObj)); + } + if ((Original_Qta.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_Qta.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Original_UserQtyReq.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[5].Value = ((bool)(Original_UserQtyReq.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((Original_Posizione == null)) { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_Posizione)); + } + if ((Original_TimeTrackEnab.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[9].Value = ((bool)(Original_TimeTrackEnab.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value; + } + if ((Original_ProcReq.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[11].Value = ((bool)(Original_ProcReq.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value; + } + if ((Original_ExtView.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[13].Value = ((bool)(Original_ExtView.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[13].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string IdxSet, string CodObj, global::System.Nullable Qta, global::System.Nullable UserQtyReq, string Posizione, global::System.Nullable TimeTrackEnab, global::System.Nullable ProcReq, global::System.Nullable ExtView) { + if ((IdxSet == null)) { + throw new global::System.ArgumentNullException("IdxSet"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(IdxSet)); + } + if ((CodObj == null)) { + throw new global::System.ArgumentNullException("CodObj"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodObj)); + } + if ((Qta.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[2].Value = ((int)(Qta.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((UserQtyReq.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[3].Value = ((bool)(UserQtyReq.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Posizione == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Posizione)); + } + if ((TimeTrackEnab.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[5].Value = ((bool)(TimeTrackEnab.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((ProcReq.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[6].Value = ((bool)(ProcReq.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((ExtView.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[7].Value = ((bool)(ExtView.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[7].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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string IdxSet, + string CodObj, + global::System.Nullable Qta, + global::System.Nullable UserQtyReq, + string Posizione, + global::System.Nullable TimeTrackEnab, + global::System.Nullable ProcReq, + global::System.Nullable ExtView, + string Original_IdxSet, + string Original_CodObj, + global::System.Nullable Original_Qta, + global::System.Nullable Original_UserQtyReq, + string Original_Posizione, + global::System.Nullable Original_TimeTrackEnab, + global::System.Nullable Original_ProcReq, + global::System.Nullable Original_ExtView) { + if ((IdxSet == null)) { + throw new global::System.ArgumentNullException("IdxSet"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(IdxSet)); + } + if ((CodObj == null)) { + throw new global::System.ArgumentNullException("CodObj"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodObj)); + } + if ((Qta.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(Qta.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((UserQtyReq.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((bool)(UserQtyReq.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Posizione == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Posizione)); + } + if ((TimeTrackEnab.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((bool)(TimeTrackEnab.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((ProcReq.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((bool)(ProcReq.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((ExtView.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((bool)(ExtView.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + if ((Original_IdxSet == null)) { + throw new global::System.ArgumentNullException("Original_IdxSet"); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_IdxSet)); + } + if ((Original_CodObj == null)) { + throw new global::System.ArgumentNullException("Original_CodObj"); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_CodObj)); + } + if ((Original_Qta.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_Qta.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + if ((Original_UserQtyReq.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[13].Value = ((bool)(Original_UserQtyReq.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((Original_Posizione == null)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_Posizione)); + } + if ((Original_TimeTrackEnab.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[17].Value = ((bool)(Original_TimeTrackEnab.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((Original_ProcReq.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[19].Value = ((bool)(Original_ProcReq.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((Original_ExtView.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[21].Value = ((bool)(Original_ExtView.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(global::System.Nullable Qta, global::System.Nullable UserQtyReq, string Posizione, global::System.Nullable TimeTrackEnab, global::System.Nullable ProcReq, global::System.Nullable ExtView, string Original_IdxSet, string Original_CodObj, global::System.Nullable Original_Qta, global::System.Nullable Original_UserQtyReq, string Original_Posizione, global::System.Nullable Original_TimeTrackEnab, global::System.Nullable Original_ProcReq, global::System.Nullable Original_ExtView) { + return this.Update(Original_IdxSet, Original_CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, ExtView, Original_IdxSet, Original_CodObj, Original_Qta, Original_UserQtyReq, Original_Posizione, Original_TimeTrackEnab, Original_ProcReq, Original_ExtView); + } + } + + /// + ///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 UMTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UMTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "UM"; + tableMapping.ColumnMappings.Add("UM", "UM"); + tableMapping.ColumnMappings.Add("DescrUM", "DescrUM"); + tableMapping.ColumnMappings.Add("FattoreSI", "FattoreSI"); + 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].[UM] WHERE (([UM] = @Original_UM) AND ((@IsNull_DescrUM = 1 AND" + + " [DescrUM] IS NULL) OR ([DescrUM] = @Original_DescrUM)) AND ((@IsNull_FattoreSI " + + "= 1 AND [FattoreSI] IS NULL) OR ([FattoreSI] = @Original_FattoreSI)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UM", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrUM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrUM", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrUM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrUM", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FattoreSI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FattoreSI", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FattoreSI", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FattoreSI", 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].[UM] ([UM], [DescrUM], [FattoreSI]) VALUES (@UM, @DescrUM, @Fat" + + "toreSI);\r\nSELECT UM, DescrUM, FattoreSI FROM UM WHERE (UM = @UM)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UM", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrUM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrUM", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FattoreSI", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FattoreSI", 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].[UM] SET [UM] = @UM, [DescrUM] = @DescrUM, [FattoreSI] = @FattoreSI WHERE (([UM] = @Original_UM) AND ((@IsNull_DescrUM = 1 AND [DescrUM] IS NULL) OR ([DescrUM] = @Original_DescrUM)) AND ((@IsNull_FattoreSI = 1 AND [FattoreSI] IS NULL) OR ([FattoreSI] = @Original_FattoreSI))); +SELECT UM, DescrUM, FattoreSI FROM UM WHERE (UM = @UM)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UM", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrUM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrUM", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FattoreSI", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FattoreSI", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UM", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrUM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrUM", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrUM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrUM", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FattoreSI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FattoreSI", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FattoreSI", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FattoreSI", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT UM, DescrUM, FattoreSI FROM dbo.UM"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_XPS.UMDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_XPS.UMDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_XPS.UMDataTable dataTable = new DS_XPS.UMDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS.UMDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS dataSet) { + return this.Adapter.Update(dataSet, "UM"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_UM, string Original_DescrUM, global::System.Nullable Original_FattoreSI) { + if ((Original_UM == null)) { + throw new global::System.ArgumentNullException("Original_UM"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_UM)); + } + if ((Original_DescrUM == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrUM)); + } + if ((Original_FattoreSI.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((double)(Original_FattoreSI.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string UM, string DescrUM, global::System.Nullable FattoreSI) { + if ((UM == null)) { + throw new global::System.ArgumentNullException("UM"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(UM)); + } + if ((DescrUM == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrUM)); + } + if ((FattoreSI.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[2].Value = ((double)(FattoreSI.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[2].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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string UM, string DescrUM, global::System.Nullable FattoreSI, string Original_UM, string Original_DescrUM, global::System.Nullable Original_FattoreSI) { + if ((UM == null)) { + throw new global::System.ArgumentNullException("UM"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(UM)); + } + if ((DescrUM == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrUM)); + } + if ((FattoreSI.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[2].Value = ((double)(FattoreSI.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((Original_UM == null)) { + throw new global::System.ArgumentNullException("Original_UM"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_UM)); + } + if ((Original_DescrUM == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_DescrUM)); + } + if ((Original_FattoreSI.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[7].Value = ((double)(Original_FattoreSI.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescrUM, global::System.Nullable FattoreSI, string Original_UM, string Original_DescrUM, global::System.Nullable Original_FattoreSI) { + return this.Update(Original_UM, DescrUM, FattoreSI, Original_UM, Original_DescrUM, Original_FattoreSI); + } + } + + /// + ///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 EventiTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "Eventi"; + tableMapping.ColumnMappings.Add("CodEvento", "CodEvento"); + tableMapping.ColumnMappings.Add("CodTipoEvento", "CodTipoEvento"); + tableMapping.ColumnMappings.Add("DescrEvento", "DescrEvento"); + tableMapping.ColumnMappings.Add("Action", "Action"); + 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].[Eventi] WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_CodTipoEvento = 1 AND [CodTipoEvento] IS NULL) OR ([CodTipoEvento] = @Original_CodTipoEvento)) AND ((@IsNull_DescrEvento = 1 AND [DescrEvento] IS NULL) OR ([DescrEvento] = @Original_DescrEvento)) AND ((@IsNull_Action = 1 AND [Action] IS NULL) OR ([Action] = @Original_Action)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodTipoEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Action", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Action", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", 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].[Eventi] ([CodEvento], [CodTipoEvento], [DescrEvento], [Action]" + + ") VALUES (@CodEvento, @CodTipoEvento, @DescrEvento, @Action);\r\nSELECT CodEvento," + + " CodTipoEvento, DescrEvento, Action FROM Eventi WHERE (CodEvento = @CodEvento)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Action", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", 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].[Eventi] SET [CodEvento] = @CodEvento, [CodTipoEvento] = @CodTipoEvento, [DescrEvento] = @DescrEvento, [Action] = @Action WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_CodTipoEvento = 1 AND [CodTipoEvento] IS NULL) OR ([CodTipoEvento] = @Original_CodTipoEvento)) AND ((@IsNull_DescrEvento = 1 AND [DescrEvento] IS NULL) OR ([DescrEvento] = @Original_DescrEvento)) AND ((@IsNull_Action = 1 AND [Action] IS NULL) OR ([Action] = @Original_Action))); +SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM Eventi WHERE (CodEvento = @CodEvento)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Action", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodTipoEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Action", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Action", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM dbo.Eventi"; + 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 = "DELETE FROM [dbo].[Eventi] WHERE ([idxEvento] = @Original_idxEvento)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxEvento", global::System.Data.SqlDbType.Variant, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "UPDATE Eventi\r\nSET CodEvento = @CodEvento, DescrEvento = @DescrEv" + + "ento, CodTipoEvento = @CodTipoEvento\r\nWHERE (CodEvento = @Original_CodEvento" + + ")"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrEvento", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_XPS.EventiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_XPS.EventiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_XPS.EventiDataTable dataTable = new DS_XPS.EventiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS.EventiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS dataSet) { + return this.Adapter.Update(dataSet, "Eventi"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodEvento, string Original_CodTipoEvento, string Original_DescrEvento, string Original_Action) { + if ((Original_CodEvento == null)) { + throw new global::System.ArgumentNullException("Original_CodEvento"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodEvento)); + } + if ((Original_CodTipoEvento == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodTipoEvento)); + } + if ((Original_DescrEvento == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_DescrEvento)); + } + if ((Original_Action == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Action)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodEvento, string CodTipoEvento, string DescrEvento, string Action) { + if ((CodEvento == null)) { + throw new global::System.ArgumentNullException("CodEvento"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodEvento)); + } + if ((CodTipoEvento == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodTipoEvento)); + } + if ((DescrEvento == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(DescrEvento)); + } + if ((Action == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Action)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodEvento, string CodTipoEvento, string DescrEvento, string Action, string Original_CodEvento, string Original_CodTipoEvento, string Original_DescrEvento, string Original_Action) { + if ((CodEvento == null)) { + throw new global::System.ArgumentNullException("CodEvento"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodEvento)); + } + if ((CodTipoEvento == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodTipoEvento)); + } + if ((DescrEvento == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(DescrEvento)); + } + if ((Action == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Action)); + } + if ((Original_CodEvento == null)) { + throw new global::System.ArgumentNullException("Original_CodEvento"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodEvento)); + } + if ((Original_CodTipoEvento == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_CodTipoEvento)); + } + if ((Original_DescrEvento == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_DescrEvento)); + } + if ((Original_Action == null)) { + this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_Action)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodTipoEvento, string DescrEvento, string Action, string Original_CodEvento, string Original_CodTipoEvento, string Original_DescrEvento, string Original_Action) { + return this.Update(Original_CodEvento, CodTipoEvento, DescrEvento, Action, Original_CodEvento, Original_CodTipoEvento, Original_DescrEvento, Original_Action); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] + public virtual int DeleteQuery(object Original_idxEvento) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((Original_idxEvento == null)) { + throw new global::System.ArgumentNullException("Original_idxEvento"); + } + else { + command.Parameters[0].Value = ((object)(Original_idxEvento)); + } + 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; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] + public virtual int UpdateQuery(string CodEvento, string DescrEvento, string CodTipoEvento, string Original_CodEvento) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + if ((CodEvento == null)) { + throw new global::System.ArgumentNullException("CodEvento"); + } + else { + command.Parameters[0].Value = ((string)(CodEvento)); + } + if ((DescrEvento == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(DescrEvento)); + } + if ((CodTipoEvento == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodTipoEvento)); + } + if ((Original_CodEvento == null)) { + throw new global::System.ArgumentNullException("Original_CodEvento"); + } + else { + command.Parameters[3].Value = ((string)(Original_CodEvento)); + } + 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 TipoEventiTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoEventiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "TipoEventi"; + tableMapping.ColumnMappings.Add("CodTipoEvento", "CodTipoEvento"); + tableMapping.ColumnMappings.Add("DescrTipoEv", "DescrTipoEv"); + 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].[TipoEventi] WHERE (([CodTipoEvento] = @Original_CodTipoEvento)" + + " AND ((@IsNull_DescrTipoEv = 1 AND [DescrTipoEv] IS NULL) OR ([DescrTipoEv] = @O" + + "riginal_DescrTipoEv)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrTipoEv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoEv", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrTipoEv", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoEv", 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].[TipoEventi] ([CodTipoEvento], [DescrTipoEv]) VALUES (@CodTipoE" + + "vento, @DescrTipoEv);\r\nSELECT CodTipoEvento, DescrTipoEv FROM TipoEventi WHERE (" + + "CodTipoEvento = @CodTipoEvento)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrTipoEv", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoEv", 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].[TipoEventi] SET [CodTipoEvento] = @CodTipoEvento, [DescrTipoEv] = @DescrTipoEv WHERE (([CodTipoEvento] = @Original_CodTipoEvento) AND ((@IsNull_DescrTipoEv = 1 AND [DescrTipoEv] IS NULL) OR ([DescrTipoEv] = @Original_DescrTipoEv))); +SELECT CodTipoEvento, DescrTipoEv FROM TipoEventi WHERE (CodTipoEvento = @CodTipoEvento)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrTipoEv", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoEv", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrTipoEv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoEv", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrTipoEv", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoEv", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodTipoEvento, DescrTipoEv FROM dbo.TipoEventi"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_XPS.TipoEventiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_XPS.TipoEventiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_XPS.TipoEventiDataTable dataTable = new DS_XPS.TipoEventiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS.TipoEventiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS dataSet) { + return this.Adapter.Update(dataSet, "TipoEventi"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodTipoEvento, string Original_DescrTipoEv) { + if ((Original_CodTipoEvento == null)) { + throw new global::System.ArgumentNullException("Original_CodTipoEvento"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodTipoEvento)); + } + if ((Original_DescrTipoEv == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrTipoEv)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodTipoEvento, string DescrTipoEv) { + if ((CodTipoEvento == null)) { + throw new global::System.ArgumentNullException("CodTipoEvento"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodTipoEvento)); + } + if ((DescrTipoEv == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrTipoEv)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodTipoEvento, string DescrTipoEv, string Original_CodTipoEvento, string Original_DescrTipoEv) { + if ((CodTipoEvento == null)) { + throw new global::System.ArgumentNullException("CodTipoEvento"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodTipoEvento)); + } + if ((DescrTipoEv == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrTipoEv)); + } + if ((Original_CodTipoEvento == null)) { + throw new global::System.ArgumentNullException("Original_CodTipoEvento"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_CodTipoEvento)); + } + if ((Original_DescrTipoEv == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_DescrTipoEv)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescrTipoEv, string Original_CodTipoEvento, string Original_DescrTipoEv) { + return this.Update(Original_CodTipoEvento, DescrTipoEv, Original_CodTipoEvento, Original_DescrTipoEv); + } + } + + /// + ///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 v_ev2statiTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ev2statiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "v_ev2stati"; + tableMapping.ColumnMappings.Add("CodMappa", "CodMappa"); + tableMapping.ColumnMappings.Add("IdxTipoObj", "IdxTipoObj"); + tableMapping.ColumnMappings.Add("DescrObj", "DescrObj"); + tableMapping.ColumnMappings.Add("CodStato", "CodStato"); + tableMapping.ColumnMappings.Add("StatoCurr", "StatoCurr"); + tableMapping.ColumnMappings.Add("CodEvento", "CodEvento"); + tableMapping.ColumnMappings.Add("DescrEvento", "DescrEvento"); + tableMapping.ColumnMappings.Add("NextCodStato", "NextCodStato"); + tableMapping.ColumnMappings.Add("StatoNext", "StatoNext"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodMappa, IdxTipoObj, DescrObj, CodStato, StatoCurr, CodEvento, DescrEvent" + + "o, NextCodStato, StatoNext FROM dbo.v_ev2stati"; + 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 = "SELECT CodEvento, CodMappa, CodStato, DescrEvento, DescrObj, IdxTipoObj, NextCodS" + + "tato, StatoCurr, StatoNext FROM v_ev2stati WHERE (CodEvento = @CodEvento) AND (I" + + "dxTipoObj = @IdxTipoObj) AND (CodMappa = @CodMappa)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoObj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "IdxTipoObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", 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 = "INSERT INTO TransizioneEventiStati\r\n (CodMappa, CodStato, Id" + + "xTipoObj, CodEvento, NextCodStato)\r\nVALUES (@CodMappa,@CodStato,@IdxTipoObj," + + "@CodEvento,@NextCodStato)"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.Variant, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.Variant, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoObj", global::System.Data.SqlDbType.Variant, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "IdxTipoObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.Variant, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NextCodStato", global::System.Data.SqlDbType.Variant, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "NextCodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_XPS.v_ev2statiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_XPS.v_ev2statiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_XPS.v_ev2statiDataTable dataTable = new DS_XPS.v_ev2statiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_XPS.v_ev2statiDataTable getFiltered(string CodEvento, string IdxTipoObj, string CodMappa) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodEvento == null)) { + throw new global::System.ArgumentNullException("CodEvento"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodEvento)); + } + if ((IdxTipoObj == null)) { + throw new global::System.ArgumentNullException("IdxTipoObj"); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxTipoObj)); + } + if ((CodMappa == null)) { + throw new global::System.ArgumentNullException("CodMappa"); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodMappa)); + } + DS_XPS.v_ev2statiDataTable dataTable = new DS_XPS.v_ev2statiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)] + public virtual int InsertQuery(object CodMappa, object CodStato, object IdxTipoObj, object CodEvento, object NextCodStato) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + if ((CodMappa == null)) { + throw new global::System.ArgumentNullException("CodMappa"); + } + else { + command.Parameters[0].Value = ((object)(CodMappa)); + } + if ((CodStato == null)) { + throw new global::System.ArgumentNullException("CodStato"); + } + else { + command.Parameters[1].Value = ((object)(CodStato)); + } + if ((IdxTipoObj == null)) { + throw new global::System.ArgumentNullException("IdxTipoObj"); + } + else { + command.Parameters[2].Value = ((object)(IdxTipoObj)); + } + if ((CodEvento == null)) { + throw new global::System.ArgumentNullException("CodEvento"); + } + else { + command.Parameters[3].Value = ((object)(CodEvento)); + } + if ((NextCodStato == null)) { + throw new global::System.ArgumentNullException("NextCodStato"); + } + else { + command.Parameters[4].Value = ((object)(NextCodStato)); + } + 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", "4.0.0.0")] + public AnagStatiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "AnagStati"; + tableMapping.ColumnMappings.Add("CodStato", "CodStato"); + tableMapping.ColumnMappings.Add("FamStato", "FamStato"); + tableMapping.ColumnMappings.Add("DescrStato", "DescrStato"); + 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 ([FamS" + + "tato] = @Original_FamStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NUL" + + "L) OR ([DescrStato] = @Original_DescrStato)))"; + 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.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagStati] ([CodStato], [FamStato], [DescrStato]) VALUES (@Cod" + + "Stato, @FamStato, @DescrStato);\r\nSELECT CodStato, FamStato, DescrStato FROM Anag" + + "Stati WHERE (CodStato = @CodStato)"; + 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.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 WHERE (([CodStato] = @Original_CodStato) AND ([FamStato] = @Original_FamStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato))); +SELECT CodStato, FamStato, DescrStato 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("@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, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodStato, FamStato, DescrStato FROM dbo.AnagStati"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_XPS.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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_XPS.AnagStatiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_XPS.AnagStatiDataTable dataTable = new DS_XPS.AnagStatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS.AnagStatiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS dataSet) { + return this.Adapter.Update(dataSet, "AnagStati"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodStato, string Original_FamStato, string Original_DescrStato) { + 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)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodStato, string FamStato, string DescrStato) { + 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)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodStato, string FamStato, string DescrStato, string Original_CodStato, string Original_FamStato, string Original_DescrStato) { + 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 ((Original_CodStato == null)) { + throw new global::System.ArgumentNullException("Original_CodStato"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_CodStato)); + } + if ((Original_FamStato == null)) { + throw new global::System.ArgumentNullException("Original_FamStato"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_FamStato)); + } + if ((Original_DescrStato == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_DescrStato)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string FamStato, string DescrStato, string Original_CodStato, string Original_FamStato, string Original_DescrStato) { + return this.Update(Original_CodStato, FamStato, DescrStato, Original_CodStato, Original_FamStato, Original_DescrStato); + } + } + + /// + ///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 AnagObjTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagObjTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "AnagObj"; + tableMapping.ColumnMappings.Add("CodObj", "CodObj"); + tableMapping.ColumnMappings.Add("DescrObj", "DescrObj"); + tableMapping.ColumnMappings.Add("FamStato", "FamStato"); + tableMapping.ColumnMappings.Add("Concreto", "Concreto"); + 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].[AnagObj] WHERE (([CodObj] = @Original_CodObj) AND ((@IsNull_DescrObj = 1 AND [DescrObj] IS NULL) OR ([DescrObj] = @Original_DescrObj)) AND ((@IsNull_FamStato = 1 AND [FamStato] IS NULL) OR ([FamStato] = @Original_FamStato)) AND ((@IsNull_Concreto = 1 AND [Concreto] IS NULL) OR ([Concreto] = @Original_Concreto)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrObj", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrObj", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FamStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FamStato", global::System.Data.DataRowVersion.Original, true, 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_Concreto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Concreto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Concreto", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Concreto", 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].[AnagObj] ([CodObj], [DescrObj], [FamStato], [Concreto]) VALUES" + + " (@CodObj, @DescrObj, @FamStato, @Concreto);\r\nSELECT CodObj, DescrObj, FamStato," + + " Concreto FROM AnagObj WHERE (CodObj = @CodObj)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrObj", 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("@Concreto", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Concreto", 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].[AnagObj] SET [CodObj] = @CodObj, [DescrObj] = @DescrObj, [FamStato] = @FamStato, [Concreto] = @Concreto WHERE (([CodObj] = @Original_CodObj) AND ((@IsNull_DescrObj = 1 AND [DescrObj] IS NULL) OR ([DescrObj] = @Original_DescrObj)) AND ((@IsNull_FamStato = 1 AND [FamStato] IS NULL) OR ([FamStato] = @Original_FamStato)) AND ((@IsNull_Concreto = 1 AND [Concreto] IS NULL) OR ([Concreto] = @Original_Concreto))); +SELECT CodObj, DescrObj, FamStato, Concreto FROM AnagObj WHERE (CodObj = @CodObj)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrObj", 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("@Concreto", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Concreto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrObj", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrObj", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FamStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FamStato", global::System.Data.DataRowVersion.Original, true, 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_Concreto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Concreto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Concreto", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Concreto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodObj, DescrObj, FamStato, Concreto FROM dbo.AnagObj"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_XPS.AnagObjDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_XPS.AnagObjDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_XPS.AnagObjDataTable dataTable = new DS_XPS.AnagObjDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS.AnagObjDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS dataSet) { + return this.Adapter.Update(dataSet, "AnagObj"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodObj, string Original_DescrObj, string Original_FamStato, global::System.Nullable Original_Concreto) { + if ((Original_CodObj == null)) { + throw new global::System.ArgumentNullException("Original_CodObj"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodObj)); + } + if ((Original_DescrObj == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrObj)); + } + if ((Original_FamStato == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_FamStato)); + } + if ((Original_Concreto.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((bool)(Original_Concreto.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodObj, string DescrObj, string FamStato, global::System.Nullable Concreto) { + if ((CodObj == null)) { + throw new global::System.ArgumentNullException("CodObj"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodObj)); + } + if ((DescrObj == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrObj)); + } + if ((FamStato == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(FamStato)); + } + if ((Concreto.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[3].Value = ((bool)(Concreto.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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodObj, string DescrObj, string FamStato, global::System.Nullable Concreto, string Original_CodObj, string Original_DescrObj, string Original_FamStato, global::System.Nullable Original_Concreto) { + if ((CodObj == null)) { + throw new global::System.ArgumentNullException("CodObj"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodObj)); + } + if ((DescrObj == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrObj)); + } + if ((FamStato == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(FamStato)); + } + if ((Concreto.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((bool)(Concreto.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Original_CodObj == null)) { + throw new global::System.ArgumentNullException("Original_CodObj"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodObj)); + } + if ((Original_DescrObj == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_DescrObj)); + } + if ((Original_FamStato == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_FamStato)); + } + if ((Original_Concreto.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[10].Value = ((bool)(Original_Concreto.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescrObj, string FamStato, global::System.Nullable Concreto, string Original_CodObj, string Original_DescrObj, string Original_FamStato, global::System.Nullable Original_Concreto) { + return this.Update(Original_CodObj, DescrObj, FamStato, Concreto, Original_CodObj, Original_DescrObj, Original_FamStato, Original_Concreto); + } + } + + /// + ///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 AnagMappeTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMappeTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "AnagMappe"; + tableMapping.ColumnMappings.Add("CodMappa", "CodMappa"); + tableMapping.ColumnMappings.Add("DescrMappa", "DescrMappa"); + 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].[AnagMappe] WHERE (([CodMappa] = @Original_CodMappa) AND ((@IsN" + + "ull_DescrMappa = 1 AND [DescrMappa] IS NULL) OR ([DescrMappa] = @Original_DescrM" + + "appa)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrMappa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrMappa", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrMappa", 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].[AnagMappe] ([CodMappa], [DescrMappa]) VALUES (@CodMappa, @Desc" + + "rMappa);\r\nSELECT CodMappa, DescrMappa FROM AnagMappe WHERE (CodMappa = @CodMappa" + + ")"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrMappa", 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].[AnagMappe] SET [CodMappa] = @CodMappa, [DescrMappa] = @DescrMappa WHERE (([CodMappa] = @Original_CodMappa) AND ((@IsNull_DescrMappa = 1 AND [DescrMappa] IS NULL) OR ([DescrMappa] = @Original_DescrMappa))); +SELECT CodMappa, DescrMappa FROM AnagMappe WHERE (CodMappa = @CodMappa)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrMappa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrMappa", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrMappa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodMappa, DescrMappa FROM dbo.AnagMappe"; + 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 = "DELETE FROM AnagMappe\r\nWHERE (CodMappa = @Original_CodMappa)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMappa", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "UPDATE AnagMappe\r\nSET CodMappa = @CodMappa, DescrMappa = @De" + + "scrMappa\r\nWHERE (CodMappa = @Original_CodMappa)"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrMappa", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "DescrMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMappa", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_XPS.AnagMappeDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_XPS.AnagMappeDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_XPS.AnagMappeDataTable dataTable = new DS_XPS.AnagMappeDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS.AnagMappeDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_XPS dataSet) { + return this.Adapter.Update(dataSet, "AnagMappe"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodMappa, string Original_DescrMappa) { + if ((Original_CodMappa == null)) { + throw new global::System.ArgumentNullException("Original_CodMappa"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodMappa)); + } + if ((Original_DescrMappa == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrMappa)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodMappa, string DescrMappa) { + if ((CodMappa == null)) { + throw new global::System.ArgumentNullException("CodMappa"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodMappa)); + } + if ((DescrMappa == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrMappa)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodMappa, string DescrMappa, string Original_CodMappa, string Original_DescrMappa) { + if ((CodMappa == null)) { + throw new global::System.ArgumentNullException("CodMappa"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodMappa)); + } + if ((DescrMappa == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrMappa)); + } + if ((Original_CodMappa == null)) { + throw new global::System.ArgumentNullException("Original_CodMappa"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_CodMappa)); + } + if ((Original_DescrMappa == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_DescrMappa)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescrMappa, string Original_CodMappa, string Original_DescrMappa) { + return this.Update(Original_CodMappa, DescrMappa, Original_CodMappa, Original_DescrMappa); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] + public virtual int DeleteQuery(string Original_CodMappa) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((Original_CodMappa == null)) { + throw new global::System.ArgumentNullException("Original_CodMappa"); + } + else { + command.Parameters[0].Value = ((string)(Original_CodMappa)); + } + 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; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] + public virtual int UpdateQuery(string CodMappa, string DescrMappa, string Original_CodMappa) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + if ((CodMappa == null)) { + throw new global::System.ArgumentNullException("CodMappa"); + } + else { + command.Parameters[0].Value = ((string)(CodMappa)); + } + if ((DescrMappa == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(DescrMappa)); + } + if ((Original_CodMappa == null)) { + throw new global::System.ArgumentNullException("Original_CodMappa"); + } + else { + command.Parameters[2].Value = ((string)(Original_CodMappa)); + } + 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 SP : global::System.ComponentModel.Component { + + private global::System.Data.IDbCommand[] _commandCollection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.IDbCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.IDbCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Connection = new global::System.Data.SqlClient.SqlConnection(global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandText = "dbo.sp_clonaTransizEventi"; + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandType = global::System.Data.CommandType.StoredProcedure; + ((global::System.Data.SqlClient.SqlCommand)(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, "", "", "")); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoObjFrom", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoObjTo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).Connection = new global::System.Data.SqlClient.SqlConnection(global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).CommandText = "dbo.sp_clonaStati"; + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).CommandType = global::System.Data.CommandType.StoredProcedure; + ((global::System.Data.SqlClient.SqlCommand)(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, "", "", "")); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoObjFrom", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoObjTo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[2])).Connection = new global::System.Data.SqlClient.SqlConnection(global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[2])).CommandText = "dbo.stp_CaricaAnagCliSwing"; + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[2])).CommandType = global::System.Data.CommandType.StoredProcedure; + ((global::System.Data.SqlClient.SqlCommand)(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, "", "", "")); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[2])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@esito", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.InputOutput, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int sp_clonaTransizEventi(string CodMappa, string CodEvento, global::System.Nullable IdxTipoObjFrom, global::System.Nullable IdxTipoObjTo) { + global::System.Data.SqlClient.SqlCommand command = ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[0])); + if ((CodMappa == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodMappa)); + } + if ((CodEvento == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodEvento)); + } + if ((IdxTipoObjFrom.HasValue == true)) { + command.Parameters[3].Value = ((int)(IdxTipoObjFrom.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + if ((IdxTipoObjTo.HasValue == true)) { + command.Parameters[4].Value = ((int)(IdxTipoObjTo.Value)); + } + else { + command.Parameters[4].Value = global::System.DBNull.Value; + } + 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; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int sp_clonaStati(string CodMappa, global::System.Nullable IdxTipoObjFrom, global::System.Nullable IdxTipoObjTo) { + global::System.Data.SqlClient.SqlCommand command = ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[1])); + if ((CodMappa == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodMappa)); + } + if ((IdxTipoObjFrom.HasValue == true)) { + command.Parameters[2].Value = ((int)(IdxTipoObjFrom.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + if ((IdxTipoObjTo.HasValue == true)) { + command.Parameters[3].Value = ((int)(IdxTipoObjTo.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + 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; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_CaricaAnagCliSwing(ref string esito) { + global::System.Data.SqlClient.SqlCommand command = ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[2])); + if ((esito == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(esito)); + } + 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(); + } + } + if (((command.Parameters[1].Value == null) + || (command.Parameters[1].Value.GetType() == typeof(global::System.DBNull)))) { + esito = null; + } + else { + esito = ((string)(command.Parameters[1].Value)); + } + return returnValue; + } + } + + /// + ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + + "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] + public partial class TableAdapterManager : global::System.ComponentModel.Component { + + private UpdateOrderOption _updateOrder; + + private NoteTableAdapter _noteTableAdapter; + + private Step4ObjTableAdapter _step4ObjTableAdapter; + + private Object2SetTableAdapter _object2SetTableAdapter; + + private UMTableAdapter _uMTableAdapter; + + private EventiTableAdapter _eventiTableAdapter; + + private TipoEventiTableAdapter _tipoEventiTableAdapter; + + private AnagStatiTableAdapter _anagStatiTableAdapter; + + private AnagObjTableAdapter _anagObjTableAdapter; + + private AnagMappeTableAdapter _anagMappeTableAdapter; + + private bool _backupDataSetBeforeUpdate; + + private global::System.Data.IDbConnection _connection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UpdateOrderOption UpdateOrder { + get { + return this._updateOrder; + } + set { + this._updateOrder = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public NoteTableAdapter NoteTableAdapter { + get { + return this._noteTableAdapter; + } + set { + this._noteTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public Step4ObjTableAdapter Step4ObjTableAdapter { + get { + return this._step4ObjTableAdapter; + } + set { + this._step4ObjTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public Object2SetTableAdapter Object2SetTableAdapter { + get { + return this._object2SetTableAdapter; + } + set { + this._object2SetTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public UMTableAdapter UMTableAdapter { + get { + return this._uMTableAdapter; + } + set { + this._uMTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public EventiTableAdapter EventiTableAdapter { + get { + return this._eventiTableAdapter; + } + set { + this._eventiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public TipoEventiTableAdapter TipoEventiTableAdapter { + get { + return this._tipoEventiTableAdapter; + } + set { + this._tipoEventiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagStatiTableAdapter AnagStatiTableAdapter { + get { + return this._anagStatiTableAdapter; + } + set { + this._anagStatiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagObjTableAdapter AnagObjTableAdapter { + get { + return this._anagObjTableAdapter; + } + set { + this._anagObjTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagMappeTableAdapter AnagMappeTableAdapter { + get { + return this._anagMappeTableAdapter; + } + set { + this._anagMappeTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool BackupDataSetBeforeUpdate { + get { + return this._backupDataSetBeforeUpdate; + } + set { + this._backupDataSetBeforeUpdate = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public global::System.Data.IDbConnection Connection { + get { + if ((this._connection != null)) { + return this._connection; + } + if (((this._noteTableAdapter != null) + && (this._noteTableAdapter.Connection != null))) { + return this._noteTableAdapter.Connection; + } + if (((this._step4ObjTableAdapter != null) + && (this._step4ObjTableAdapter.Connection != null))) { + return this._step4ObjTableAdapter.Connection; + } + if (((this._object2SetTableAdapter != null) + && (this._object2SetTableAdapter.Connection != null))) { + return this._object2SetTableAdapter.Connection; + } + if (((this._uMTableAdapter != null) + && (this._uMTableAdapter.Connection != null))) { + return this._uMTableAdapter.Connection; + } + if (((this._eventiTableAdapter != null) + && (this._eventiTableAdapter.Connection != null))) { + return this._eventiTableAdapter.Connection; + } + if (((this._tipoEventiTableAdapter != null) + && (this._tipoEventiTableAdapter.Connection != null))) { + return this._tipoEventiTableAdapter.Connection; + } + if (((this._anagStatiTableAdapter != null) + && (this._anagStatiTableAdapter.Connection != null))) { + return this._anagStatiTableAdapter.Connection; + } + if (((this._anagObjTableAdapter != null) + && (this._anagObjTableAdapter.Connection != null))) { + return this._anagObjTableAdapter.Connection; + } + if (((this._anagMappeTableAdapter != null) + && (this._anagMappeTableAdapter.Connection != null))) { + return this._anagMappeTableAdapter.Connection; + } + return null; + } + set { + this._connection = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int TableAdapterInstanceCount { + get { + int count = 0; + if ((this._noteTableAdapter != null)) { + count = (count + 1); + } + if ((this._step4ObjTableAdapter != null)) { + count = (count + 1); + } + if ((this._object2SetTableAdapter != null)) { + count = (count + 1); + } + if ((this._uMTableAdapter != null)) { + count = (count + 1); + } + if ((this._eventiTableAdapter != null)) { + count = (count + 1); + } + if ((this._tipoEventiTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagStatiTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagObjTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagMappeTableAdapter != null)) { + count = (count + 1); + } + return count; + } + } + + /// + ///Update rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateUpdatedRows(DS_XPS dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._tipoEventiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.TipoEventi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._tipoEventiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagObjTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagObj.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagObjTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._noteTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.Note.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._noteTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._step4ObjTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.Step4Obj.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._step4ObjTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._object2SetTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.Object2Set.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._object2SetTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._uMTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.UM.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._uMTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._eventiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.Eventi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._eventiTableAdapter.Update(updatedRows)); + 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); + } + } + if ((this._anagMappeTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagMappe.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagMappeTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + return result; + } + + /// + ///Insert rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateInsertedRows(DS_XPS dataSet, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._tipoEventiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.TipoEventi.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._tipoEventiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagObjTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagObj.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagObjTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._noteTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.Note.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._noteTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._step4ObjTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.Step4Obj.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._step4ObjTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._object2SetTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.Object2Set.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._object2SetTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._uMTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.UM.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._uMTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._eventiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.Eventi.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._eventiTableAdapter.Update(addedRows)); + 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); + } + } + if ((this._anagMappeTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagMappe.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagMappeTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + return result; + } + + /// + ///Delete rows in bottom-up order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateDeletedRows(DS_XPS dataSet, global::System.Collections.Generic.List allChangedRows) { + int result = 0; + if ((this._anagMappeTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagMappe.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagMappeTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + 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._eventiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Eventi.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._eventiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._uMTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.UM.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._uMTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._object2SetTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Object2Set.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._object2SetTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._step4ObjTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Step4Obj.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._step4ObjTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._noteTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Note.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._noteTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagObjTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagObj.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagObjTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._tipoEventiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.TipoEventi.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._tipoEventiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + return result; + } + + /// + ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { + if (((updatedRows == null) + || (updatedRows.Length < 1))) { + return updatedRows; + } + if (((allAddedRows == null) + || (allAddedRows.Count < 1))) { + return updatedRows; + } + global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); + for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { + global::System.Data.DataRow row = updatedRows[i]; + if ((allAddedRows.Contains(row) == false)) { + realUpdatedRows.Add(row); + } + } + return realUpdatedRows.ToArray(); + } + + /// + ///Update all changes to the dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public virtual int UpdateAll(DS_XPS dataSet) { + if ((dataSet == null)) { + throw new global::System.ArgumentNullException("dataSet"); + } + if ((dataSet.HasChanges() == false)) { + return 0; + } + if (((this._noteTableAdapter != null) + && (this.MatchTableAdapterConnection(this._noteTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._step4ObjTableAdapter != null) + && (this.MatchTableAdapterConnection(this._step4ObjTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._object2SetTableAdapter != null) + && (this.MatchTableAdapterConnection(this._object2SetTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._uMTableAdapter != null) + && (this.MatchTableAdapterConnection(this._uMTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._eventiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._eventiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._tipoEventiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._tipoEventiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagStatiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagStatiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagObjTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagObjTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagMappeTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagMappeTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + global::System.Data.IDbConnection workConnection = this.Connection; + if ((workConnection == null)) { + throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + + "ger TableAdapter property to a valid TableAdapter instance."); + } + bool workConnOpened = false; + if (((workConnection.State & global::System.Data.ConnectionState.Broken) + == global::System.Data.ConnectionState.Broken)) { + workConnection.Close(); + } + if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { + workConnection.Open(); + workConnOpened = true; + } + global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); + if ((workTransaction == null)) { + throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + + "ctions or the current state is not allowing the transaction to begin."); + } + global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); + int result = 0; + global::System.Data.DataSet backupDataSet = null; + if (this.BackupDataSetBeforeUpdate) { + backupDataSet = new global::System.Data.DataSet(); + backupDataSet.Merge(dataSet); + } + try { + // ---- Prepare for update ----------- + // + if ((this._noteTableAdapter != null)) { + revertConnections.Add(this._noteTableAdapter, this._noteTableAdapter.Connection); + this._noteTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._noteTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._noteTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._noteTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._noteTableAdapter.Adapter); + } + } + if ((this._step4ObjTableAdapter != null)) { + revertConnections.Add(this._step4ObjTableAdapter, this._step4ObjTableAdapter.Connection); + this._step4ObjTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._step4ObjTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._step4ObjTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._step4ObjTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._step4ObjTableAdapter.Adapter); + } + } + if ((this._object2SetTableAdapter != null)) { + revertConnections.Add(this._object2SetTableAdapter, this._object2SetTableAdapter.Connection); + this._object2SetTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._object2SetTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._object2SetTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._object2SetTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._object2SetTableAdapter.Adapter); + } + } + if ((this._uMTableAdapter != null)) { + revertConnections.Add(this._uMTableAdapter, this._uMTableAdapter.Connection); + this._uMTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._uMTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._uMTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._uMTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._uMTableAdapter.Adapter); + } + } + if ((this._eventiTableAdapter != null)) { + revertConnections.Add(this._eventiTableAdapter, this._eventiTableAdapter.Connection); + this._eventiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._eventiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._eventiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._eventiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._eventiTableAdapter.Adapter); + } + } + if ((this._tipoEventiTableAdapter != null)) { + revertConnections.Add(this._tipoEventiTableAdapter, this._tipoEventiTableAdapter.Connection); + this._tipoEventiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._tipoEventiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._tipoEventiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._tipoEventiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._tipoEventiTableAdapter.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); + } + } + if ((this._anagObjTableAdapter != null)) { + revertConnections.Add(this._anagObjTableAdapter, this._anagObjTableAdapter.Connection); + this._anagObjTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagObjTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagObjTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagObjTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagObjTableAdapter.Adapter); + } + } + if ((this._anagMappeTableAdapter != null)) { + revertConnections.Add(this._anagMappeTableAdapter, this._anagMappeTableAdapter.Connection); + this._anagMappeTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagMappeTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagMappeTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagMappeTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagMappeTableAdapter.Adapter); + } + } + // + //---- Perform updates ----------- + // + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + } + else { + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + } + result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); + // + //---- Commit updates ----------- + // + workTransaction.Commit(); + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + if ((0 < allChangedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; + allChangedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + } + catch (global::System.Exception ex) { + workTransaction.Rollback(); + // ---- Restore the dataset ----------- + if (this.BackupDataSetBeforeUpdate) { + global::System.Diagnostics.Debug.Assert((backupDataSet != null)); + dataSet.Clear(); + dataSet.Merge(backupDataSet); + } + else { + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + row.SetAdded(); + } + } + } + throw ex; + } + finally { + if (workConnOpened) { + workConnection.Close(); + } + if ((this._noteTableAdapter != null)) { + this._noteTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._noteTableAdapter])); + this._noteTableAdapter.Transaction = null; + } + if ((this._step4ObjTableAdapter != null)) { + this._step4ObjTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._step4ObjTableAdapter])); + this._step4ObjTableAdapter.Transaction = null; + } + if ((this._object2SetTableAdapter != null)) { + this._object2SetTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._object2SetTableAdapter])); + this._object2SetTableAdapter.Transaction = null; + } + if ((this._uMTableAdapter != null)) { + this._uMTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._uMTableAdapter])); + this._uMTableAdapter.Transaction = null; + } + if ((this._eventiTableAdapter != null)) { + this._eventiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eventiTableAdapter])); + this._eventiTableAdapter.Transaction = null; + } + if ((this._tipoEventiTableAdapter != null)) { + this._tipoEventiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tipoEventiTableAdapter])); + this._tipoEventiTableAdapter.Transaction = null; + } + if ((this._anagStatiTableAdapter != null)) { + this._anagStatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagStatiTableAdapter])); + this._anagStatiTableAdapter.Transaction = null; + } + if ((this._anagObjTableAdapter != null)) { + this._anagObjTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagObjTableAdapter])); + this._anagObjTableAdapter.Transaction = null; + } + if ((this._anagMappeTableAdapter != null)) { + this._anagMappeTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagMappeTableAdapter])); + this._anagMappeTableAdapter.Transaction = null; + } + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; + adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); + for (int i = 0; (i < adapters.Length); i = (i + 1)) { + global::System.Data.Common.DataAdapter adapter = adapters[i]; + adapter.AcceptChangesDuringUpdate = true; + } + } + } + return result; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { + if ((this._connection != null)) { + return true; + } + if (((this.Connection == null) + || (inputConnection == null))) { + return true; + } + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + return true; + } + return false; + } + + /// + ///Update Order Option + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public enum UpdateOrderOption { + + InsertUpdateDelete = 0, + + UpdateInsertDelete = 1, + } + + /// + ///Used to sort self-referenced table's rows + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { + + private global::System.Data.DataRelation _relation; + + private int _childFirst; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + this._relation = relation; + if (childFirst) { + this._childFirst = -1; + } + else { + this._childFirst = 1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { + global::System.Diagnostics.Debug.Assert((row != null)); + global::System.Data.DataRow root = row; + distance = 0; + + global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); + traversedRows[row] = row; + + global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + } + + if ((distance == 0)) { + traversedRows.Clear(); + traversedRows[row] = row; + parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + } + } + + return root; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { + if (object.ReferenceEquals(row1, row2)) { + return 0; + } + if ((row1 == null)) { + return -1; + } + if ((row2 == null)) { + return 1; + } + + int distance1 = 0; + global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); + + int distance2 = 0; + global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); + + if (object.ReferenceEquals(root1, root2)) { + return (this._childFirst * distance1.CompareTo(distance2)); + } + else { + global::System.Diagnostics.Debug.Assert(((root1.Table != null) + && (root2.Table != null))); + if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { + return -1; + } + else { + return 1; + } + } + } + } + } +} + #pragma warning restore 1591 \ No newline at end of file diff --git a/project/XPS_data/DS_XPS.xsc b/XPS_data/DS_XPS.xsc similarity index 97% rename from project/XPS_data/DS_XPS.xsc rename to XPS_data/DS_XPS.xsc index 551fc56..05b0199 100644 --- a/project/XPS_data/DS_XPS.xsc +++ b/XPS_data/DS_XPS.xsc @@ -1,9 +1,9 @@ - - - - + + + + \ No newline at end of file diff --git a/project/XPS_data/DS_XPS.xsd b/XPS_data/DS_XPS.xsd similarity index 99% rename from project/XPS_data/DS_XPS.xsd rename to XPS_data/DS_XPS.xsd index 95fac91..b4b9695 100644 --- a/project/XPS_data/DS_XPS.xsd +++ b/XPS_data/DS_XPS.xsd @@ -1,1142 +1,1142 @@ - - - - - - - - - - - - - - - DELETE FROM [dbo].[Note] WHERE (([NumNota] = @Original_NumNota) AND ((@IsNull_IdxObj = 1 AND [IdxObj] IS NULL) OR ([IdxObj] = @Original_IdxObj)) AND ((@IsNull_CodFase = 1 AND [CodFase] IS NULL) OR ([CodFase] = @Original_CodFase)) AND ((@IsNull_UserNota = 1 AND [UserNota] IS NULL) OR ([UserNota] = @Original_UserNota)) AND ((@IsNull_Data = 1 AND [Data] IS NULL) OR ([Data] = @Original_Data)) AND ((@IsNull_ExtView = 1 AND [ExtView] IS NULL) OR ([ExtView] = @Original_ExtView)) AND ((@IsNull_Nota = 1 AND [Nota] IS NULL) OR ([Nota] = @Original_Nota))) - - - - - - - - - - - - - - - - - - - - INSERT INTO [dbo].[Note] ([NumNota], [IdxObj], [CodFase], [UserNota], [Data], [ExtView], [Nota]) VALUES (@NumNota, @IdxObj, @CodFase, @UserNota, @Data, @ExtView, @Nota); -SELECT NumNota, IdxObj, CodFase, UserNota, Data, ExtView, Nota FROM Note WHERE (NumNota = @NumNota) - - - - - - - - - - - - - - SELECT NumNota, IdxObj, CodFase, UserNota, Data, ExtView, Nota FROM dbo.Note - - - - - - UPDATE [dbo].[Note] SET [NumNota] = @NumNota, [IdxObj] = @IdxObj, [CodFase] = @CodFase, [UserNota] = @UserNota, [Data] = @Data, [ExtView] = @ExtView, [Nota] = @Nota WHERE (([NumNota] = @Original_NumNota) AND ((@IsNull_IdxObj = 1 AND [IdxObj] IS NULL) OR ([IdxObj] = @Original_IdxObj)) AND ((@IsNull_CodFase = 1 AND [CodFase] IS NULL) OR ([CodFase] = @Original_CodFase)) AND ((@IsNull_UserNota = 1 AND [UserNota] IS NULL) OR ([UserNota] = @Original_UserNota)) AND ((@IsNull_Data = 1 AND [Data] IS NULL) OR ([Data] = @Original_Data)) AND ((@IsNull_ExtView = 1 AND [ExtView] IS NULL) OR ([ExtView] = @Original_ExtView)) AND ((@IsNull_Nota = 1 AND [Nota] IS NULL) OR ([Nota] = @Original_Nota))); -SELECT NumNota, IdxObj, CodFase, UserNota, Data, ExtView, Nota FROM Note WHERE (NumNota = @NumNota) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DELETE FROM [dbo].[Step4Obj] WHERE (([IdxObj] = @Original_IdxObj) AND ([IdxStep] = @Original_IdxStep) AND ((@IsNull_IdxStato = 1 AND [IdxStato] IS NULL) OR ([IdxStato] = @Original_IdxStato)) AND ((@IsNull_StartDatePrev = 1 AND [StartDatePrev] IS NULL) OR ([StartDatePrev] = @Original_StartDatePrev)) AND ((@IsNull_DueDatePrev = 1 AND [DueDatePrev] IS NULL) OR ([DueDatePrev] = @Original_DueDatePrev)) AND ((@IsNull_StartDateReal = 1 AND [StartDateReal] IS NULL) OR ([StartDateReal] = @Original_StartDateReal)) AND ((@IsNull_DueDateReal = 1 AND [DueDateReal] IS NULL) OR ([DueDateReal] = @Original_DueDateReal)) AND ((@IsNull_RatioCompl = 1 AND [RatioCompl] IS NULL) OR ([RatioCompl] = @Original_RatioCompl))) - - - - - - - - - - - - - - - - - - - - - INSERT INTO [dbo].[Step4Obj] ([IdxObj], [IdxStep], [IdxStato], [StartDatePrev], [DueDatePrev], [StartDateReal], [DueDateReal], [RatioCompl]) VALUES (@IdxObj, @IdxStep, @IdxStato, @StartDatePrev, @DueDatePrev, @StartDateReal, @DueDateReal, @RatioCompl); -SELECT IdxObj, IdxStep, IdxStato, StartDatePrev, DueDatePrev, StartDateReal, DueDateReal, RatioCompl FROM Step4Obj WHERE (IdxObj = @IdxObj) AND (IdxStep = @IdxStep) - - - - - - - - - - - - - - - SELECT IdxObj, IdxStep, IdxStato, StartDatePrev, DueDatePrev, StartDateReal, DueDateReal, RatioCompl FROM dbo.Step4Obj - - - - - - UPDATE [dbo].[Step4Obj] SET [IdxObj] = @IdxObj, [IdxStep] = @IdxStep, [IdxStato] = @IdxStato, [StartDatePrev] = @StartDatePrev, [DueDatePrev] = @DueDatePrev, [StartDateReal] = @StartDateReal, [DueDateReal] = @DueDateReal, [RatioCompl] = @RatioCompl WHERE (([IdxObj] = @Original_IdxObj) AND ([IdxStep] = @Original_IdxStep) AND ((@IsNull_IdxStato = 1 AND [IdxStato] IS NULL) OR ([IdxStato] = @Original_IdxStato)) AND ((@IsNull_StartDatePrev = 1 AND [StartDatePrev] IS NULL) OR ([StartDatePrev] = @Original_StartDatePrev)) AND ((@IsNull_DueDatePrev = 1 AND [DueDatePrev] IS NULL) OR ([DueDatePrev] = @Original_DueDatePrev)) AND ((@IsNull_StartDateReal = 1 AND [StartDateReal] IS NULL) OR ([StartDateReal] = @Original_StartDateReal)) AND ((@IsNull_DueDateReal = 1 AND [DueDateReal] IS NULL) OR ([DueDateReal] = @Original_DueDateReal)) AND ((@IsNull_RatioCompl = 1 AND [RatioCompl] IS NULL) OR ([RatioCompl] = @Original_RatioCompl))); -SELECT IdxObj, IdxStep, IdxStato, StartDatePrev, DueDatePrev, StartDateReal, DueDateReal, RatioCompl FROM Step4Obj WHERE (IdxObj = @IdxObj) AND (IdxStep = @IdxStep) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DELETE FROM [dbo].[Object2Set] WHERE (([IdxSet] = @Original_IdxSet) AND ([CodObj] = @Original_CodObj) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_UserQtyReq = 1 AND [UserQtyReq] IS NULL) OR ([UserQtyReq] = @Original_UserQtyReq)) AND ((@IsNull_Posizione = 1 AND [Posizione] IS NULL) OR ([Posizione] = @Original_Posizione)) AND ((@IsNull_TimeTrackEnab = 1 AND [TimeTrackEnab] IS NULL) OR ([TimeTrackEnab] = @Original_TimeTrackEnab)) AND ((@IsNull_ProcReq = 1 AND [ProcReq] IS NULL) OR ([ProcReq] = @Original_ProcReq)) AND ((@IsNull_ExtView = 1 AND [ExtView] IS NULL) OR ([ExtView] = @Original_ExtView))) - - - - - - - - - - - - - - - - - - - - - INSERT INTO [dbo].[Object2Set] ([IdxSet], [CodObj], [Qta], [UserQtyReq], [Posizione], [TimeTrackEnab], [ProcReq], [ExtView]) VALUES (@IdxSet, @CodObj, @Qta, @UserQtyReq, @Posizione, @TimeTrackEnab, @ProcReq, @ExtView); -SELECT IdxSet, CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, ExtView FROM Object2Set WHERE (CodObj = @CodObj) AND (IdxSet = @IdxSet) - - - - - - - - - - - - - - - SELECT IdxSet, CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, ExtView FROM dbo.Object2Set - - - - - - UPDATE [dbo].[Object2Set] SET [IdxSet] = @IdxSet, [CodObj] = @CodObj, [Qta] = @Qta, [UserQtyReq] = @UserQtyReq, [Posizione] = @Posizione, [TimeTrackEnab] = @TimeTrackEnab, [ProcReq] = @ProcReq, [ExtView] = @ExtView WHERE (([IdxSet] = @Original_IdxSet) AND ([CodObj] = @Original_CodObj) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_UserQtyReq = 1 AND [UserQtyReq] IS NULL) OR ([UserQtyReq] = @Original_UserQtyReq)) AND ((@IsNull_Posizione = 1 AND [Posizione] IS NULL) OR ([Posizione] = @Original_Posizione)) AND ((@IsNull_TimeTrackEnab = 1 AND [TimeTrackEnab] IS NULL) OR ([TimeTrackEnab] = @Original_TimeTrackEnab)) AND ((@IsNull_ProcReq = 1 AND [ProcReq] IS NULL) OR ([ProcReq] = @Original_ProcReq)) AND ((@IsNull_ExtView = 1 AND [ExtView] IS NULL) OR ([ExtView] = @Original_ExtView))); -SELECT IdxSet, CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, ExtView FROM Object2Set WHERE (CodObj = @CodObj) AND (IdxSet = @IdxSet) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SELECT IdxSet, CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, ExtView -FROM Object2Set -WHERE (IdxSet = @IdxSet) - - - - - - - - - - - - - - DELETE FROM [dbo].[UM] WHERE (([UM] = @Original_UM) AND ((@IsNull_DescrUM = 1 AND [DescrUM] IS NULL) OR ([DescrUM] = @Original_DescrUM)) AND ((@IsNull_FattoreSI = 1 AND [FattoreSI] IS NULL) OR ([FattoreSI] = @Original_FattoreSI))) - - - - - - - - - - - - INSERT INTO [dbo].[UM] ([UM], [DescrUM], [FattoreSI]) VALUES (@UM, @DescrUM, @FattoreSI); -SELECT UM, DescrUM, FattoreSI FROM UM WHERE (UM = @UM) - - - - - - - - - - SELECT UM, DescrUM, FattoreSI FROM dbo.UM - - - - - - UPDATE [dbo].[UM] SET [UM] = @UM, [DescrUM] = @DescrUM, [FattoreSI] = @FattoreSI WHERE (([UM] = @Original_UM) AND ((@IsNull_DescrUM = 1 AND [DescrUM] IS NULL) OR ([DescrUM] = @Original_DescrUM)) AND ((@IsNull_FattoreSI = 1 AND [FattoreSI] IS NULL) OR ([FattoreSI] = @Original_FattoreSI))); -SELECT UM, DescrUM, FattoreSI FROM UM WHERE (UM = @UM) - - - - - - - - - - - - - - - - - - - - - - - - - - - DELETE FROM [dbo].[Eventi] WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_CodTipoEvento = 1 AND [CodTipoEvento] IS NULL) OR ([CodTipoEvento] = @Original_CodTipoEvento)) AND ((@IsNull_DescrEvento = 1 AND [DescrEvento] IS NULL) OR ([DescrEvento] = @Original_DescrEvento)) AND ((@IsNull_Action = 1 AND [Action] IS NULL) OR ([Action] = @Original_Action))) - - - - - - - - - - - - - - INSERT INTO [dbo].[Eventi] ([CodEvento], [CodTipoEvento], [DescrEvento], [Action]) VALUES (@CodEvento, @CodTipoEvento, @DescrEvento, @Action); -SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM Eventi WHERE (CodEvento = @CodEvento) - - - - - - - - - - - SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM dbo.Eventi - - - - - - UPDATE [dbo].[Eventi] SET [CodEvento] = @CodEvento, [CodTipoEvento] = @CodTipoEvento, [DescrEvento] = @DescrEvento, [Action] = @Action WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_CodTipoEvento = 1 AND [CodTipoEvento] IS NULL) OR ([CodTipoEvento] = @Original_CodTipoEvento)) AND ((@IsNull_DescrEvento = 1 AND [DescrEvento] IS NULL) OR ([DescrEvento] = @Original_DescrEvento)) AND ((@IsNull_Action = 1 AND [Action] IS NULL) OR ([Action] = @Original_Action))); -SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM Eventi WHERE (CodEvento = @CodEvento) - - - - - - - - - - - - - - - - - - - - - - - - - - - - DELETE FROM [dbo].[Eventi] WHERE ([idxEvento] = @Original_idxEvento) - - - - - - - - - - UPDATE Eventi -SET CodEvento = @CodEvento, DescrEvento = @DescrEvento, CodTipoEvento = @CodTipoEvento -WHERE (CodEvento = @Original_CodEvento) - - - - - - - - - - - - - - - - - DELETE FROM [dbo].[TipoEventi] WHERE (([CodTipoEvento] = @Original_CodTipoEvento) AND ((@IsNull_DescrTipoEv = 1 AND [DescrTipoEv] IS NULL) OR ([DescrTipoEv] = @Original_DescrTipoEv))) - - - - - - - - - - INSERT INTO [dbo].[TipoEventi] ([CodTipoEvento], [DescrTipoEv]) VALUES (@CodTipoEvento, @DescrTipoEv); -SELECT CodTipoEvento, DescrTipoEv FROM TipoEventi WHERE (CodTipoEvento = @CodTipoEvento) - - - - - - - - - SELECT CodTipoEvento, DescrTipoEv FROM dbo.TipoEventi - - - - - - UPDATE [dbo].[TipoEventi] SET [CodTipoEvento] = @CodTipoEvento, [DescrTipoEv] = @DescrTipoEv WHERE (([CodTipoEvento] = @Original_CodTipoEvento) AND ((@IsNull_DescrTipoEv = 1 AND [DescrTipoEv] IS NULL) OR ([DescrTipoEv] = @Original_DescrTipoEv))); -SELECT CodTipoEvento, DescrTipoEv FROM TipoEventi WHERE (CodTipoEvento = @CodTipoEvento) - - - - - - - - - - - - - - - - - - - - - - - SELECT CodMappa, IdxTipoObj, DescrObj, CodStato, StatoCurr, CodEvento, DescrEvento, NextCodStato, StatoNext FROM dbo.v_ev2stati - - - - - - - - - - - - - - - - - - - - - SELECT CodEvento, CodMappa, CodStato, DescrEvento, DescrObj, IdxTipoObj, NextCodStato, StatoCurr, StatoNext FROM v_ev2stati WHERE (CodEvento = @CodEvento) AND (IdxTipoObj = @IdxTipoObj) AND (CodMappa = @CodMappa) - - - - - - - - - - - - INSERT INTO TransizioneEventiStati - (CodMappa, CodStato, IdxTipoObj, CodEvento, NextCodStato) -VALUES (@CodMappa,@CodStato,@IdxTipoObj,@CodEvento,@NextCodStato) - - - - - - - - - - - - - - - - - - DELETE FROM [dbo].[AnagStati] WHERE (([CodStato] = @Original_CodStato) AND ([FamStato] = @Original_FamStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato))) - - - - - - - - - - - INSERT INTO [dbo].[AnagStati] ([CodStato], [FamStato], [DescrStato]) VALUES (@CodStato, @FamStato, @DescrStato); -SELECT CodStato, FamStato, DescrStato FROM AnagStati WHERE (CodStato = @CodStato) - - - - - - - - - - SELECT CodStato, FamStato, DescrStato FROM dbo.AnagStati - - - - - - UPDATE [dbo].[AnagStati] SET [CodStato] = @CodStato, [FamStato] = @FamStato, [DescrStato] = @DescrStato WHERE (([CodStato] = @Original_CodStato) AND ([FamStato] = @Original_FamStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato))); -SELECT CodStato, FamStato, DescrStato FROM AnagStati WHERE (CodStato = @CodStato) - - - - - - - - - - - - - - - - - - - - - - - - - - DELETE FROM [dbo].[AnagObj] WHERE (([CodObj] = @Original_CodObj) AND ((@IsNull_DescrObj = 1 AND [DescrObj] IS NULL) OR ([DescrObj] = @Original_DescrObj)) AND ((@IsNull_FamStato = 1 AND [FamStato] IS NULL) OR ([FamStato] = @Original_FamStato)) AND ((@IsNull_Concreto = 1 AND [Concreto] IS NULL) OR ([Concreto] = @Original_Concreto))) - - - - - - - - - - - - - - INSERT INTO [dbo].[AnagObj] ([CodObj], [DescrObj], [FamStato], [Concreto]) VALUES (@CodObj, @DescrObj, @FamStato, @Concreto); -SELECT CodObj, DescrObj, FamStato, Concreto FROM AnagObj WHERE (CodObj = @CodObj) - - - - - - - - - - - SELECT CodObj, DescrObj, FamStato, Concreto FROM dbo.AnagObj - - - - - - UPDATE [dbo].[AnagObj] SET [CodObj] = @CodObj, [DescrObj] = @DescrObj, [FamStato] = @FamStato, [Concreto] = @Concreto WHERE (([CodObj] = @Original_CodObj) AND ((@IsNull_DescrObj = 1 AND [DescrObj] IS NULL) OR ([DescrObj] = @Original_DescrObj)) AND ((@IsNull_FamStato = 1 AND [FamStato] IS NULL) OR ([FamStato] = @Original_FamStato)) AND ((@IsNull_Concreto = 1 AND [Concreto] IS NULL) OR ([Concreto] = @Original_Concreto))); -SELECT CodObj, DescrObj, FamStato, Concreto FROM AnagObj WHERE (CodObj = @CodObj) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DELETE FROM [dbo].[AnagMappe] WHERE (([CodMappa] = @Original_CodMappa) AND ((@IsNull_DescrMappa = 1 AND [DescrMappa] IS NULL) OR ([DescrMappa] = @Original_DescrMappa))) - - - - - - - - - - INSERT INTO [dbo].[AnagMappe] ([CodMappa], [DescrMappa]) VALUES (@CodMappa, @DescrMappa); -SELECT CodMappa, DescrMappa FROM AnagMappe WHERE (CodMappa = @CodMappa) - - - - - - - - - SELECT CodMappa, DescrMappa FROM dbo.AnagMappe - - - - - - UPDATE [dbo].[AnagMappe] SET [CodMappa] = @CodMappa, [DescrMappa] = @DescrMappa WHERE (([CodMappa] = @Original_CodMappa) AND ((@IsNull_DescrMappa = 1 AND [DescrMappa] IS NULL) OR ([DescrMappa] = @Original_DescrMappa))); -SELECT CodMappa, DescrMappa FROM AnagMappe WHERE (CodMappa = @CodMappa) - - - - - - - - - - - - - - - - - - - - DELETE FROM AnagMappe -WHERE (CodMappa = @Original_CodMappa) - - - - - - - - - - UPDATE AnagMappe -SET CodMappa = @CodMappa, DescrMappa = @DescrMappa -WHERE (CodMappa = @Original_CodMappa) - - - - - - - - - - - - - - - - dbo.sp_clonaTransizEventi - - - - - - - - - - - - - - dbo.sp_clonaStati - - - - - - - - - - - - - dbo.stp_CaricaAnagCliSwing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + DELETE FROM [dbo].[Note] WHERE (([NumNota] = @Original_NumNota) AND ((@IsNull_IdxObj = 1 AND [IdxObj] IS NULL) OR ([IdxObj] = @Original_IdxObj)) AND ((@IsNull_CodFase = 1 AND [CodFase] IS NULL) OR ([CodFase] = @Original_CodFase)) AND ((@IsNull_UserNota = 1 AND [UserNota] IS NULL) OR ([UserNota] = @Original_UserNota)) AND ((@IsNull_Data = 1 AND [Data] IS NULL) OR ([Data] = @Original_Data)) AND ((@IsNull_ExtView = 1 AND [ExtView] IS NULL) OR ([ExtView] = @Original_ExtView)) AND ((@IsNull_Nota = 1 AND [Nota] IS NULL) OR ([Nota] = @Original_Nota))) + + + + + + + + + + + + + + + + + + + + INSERT INTO [dbo].[Note] ([NumNota], [IdxObj], [CodFase], [UserNota], [Data], [ExtView], [Nota]) VALUES (@NumNota, @IdxObj, @CodFase, @UserNota, @Data, @ExtView, @Nota); +SELECT NumNota, IdxObj, CodFase, UserNota, Data, ExtView, Nota FROM Note WHERE (NumNota = @NumNota) + + + + + + + + + + + + + + SELECT NumNota, IdxObj, CodFase, UserNota, Data, ExtView, Nota FROM dbo.Note + + + + + + UPDATE [dbo].[Note] SET [NumNota] = @NumNota, [IdxObj] = @IdxObj, [CodFase] = @CodFase, [UserNota] = @UserNota, [Data] = @Data, [ExtView] = @ExtView, [Nota] = @Nota WHERE (([NumNota] = @Original_NumNota) AND ((@IsNull_IdxObj = 1 AND [IdxObj] IS NULL) OR ([IdxObj] = @Original_IdxObj)) AND ((@IsNull_CodFase = 1 AND [CodFase] IS NULL) OR ([CodFase] = @Original_CodFase)) AND ((@IsNull_UserNota = 1 AND [UserNota] IS NULL) OR ([UserNota] = @Original_UserNota)) AND ((@IsNull_Data = 1 AND [Data] IS NULL) OR ([Data] = @Original_Data)) AND ((@IsNull_ExtView = 1 AND [ExtView] IS NULL) OR ([ExtView] = @Original_ExtView)) AND ((@IsNull_Nota = 1 AND [Nota] IS NULL) OR ([Nota] = @Original_Nota))); +SELECT NumNota, IdxObj, CodFase, UserNota, Data, ExtView, Nota FROM Note WHERE (NumNota = @NumNota) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[Step4Obj] WHERE (([IdxObj] = @Original_IdxObj) AND ([IdxStep] = @Original_IdxStep) AND ((@IsNull_IdxStato = 1 AND [IdxStato] IS NULL) OR ([IdxStato] = @Original_IdxStato)) AND ((@IsNull_StartDatePrev = 1 AND [StartDatePrev] IS NULL) OR ([StartDatePrev] = @Original_StartDatePrev)) AND ((@IsNull_DueDatePrev = 1 AND [DueDatePrev] IS NULL) OR ([DueDatePrev] = @Original_DueDatePrev)) AND ((@IsNull_StartDateReal = 1 AND [StartDateReal] IS NULL) OR ([StartDateReal] = @Original_StartDateReal)) AND ((@IsNull_DueDateReal = 1 AND [DueDateReal] IS NULL) OR ([DueDateReal] = @Original_DueDateReal)) AND ((@IsNull_RatioCompl = 1 AND [RatioCompl] IS NULL) OR ([RatioCompl] = @Original_RatioCompl))) + + + + + + + + + + + + + + + + + + + + + INSERT INTO [dbo].[Step4Obj] ([IdxObj], [IdxStep], [IdxStato], [StartDatePrev], [DueDatePrev], [StartDateReal], [DueDateReal], [RatioCompl]) VALUES (@IdxObj, @IdxStep, @IdxStato, @StartDatePrev, @DueDatePrev, @StartDateReal, @DueDateReal, @RatioCompl); +SELECT IdxObj, IdxStep, IdxStato, StartDatePrev, DueDatePrev, StartDateReal, DueDateReal, RatioCompl FROM Step4Obj WHERE (IdxObj = @IdxObj) AND (IdxStep = @IdxStep) + + + + + + + + + + + + + + + SELECT IdxObj, IdxStep, IdxStato, StartDatePrev, DueDatePrev, StartDateReal, DueDateReal, RatioCompl FROM dbo.Step4Obj + + + + + + UPDATE [dbo].[Step4Obj] SET [IdxObj] = @IdxObj, [IdxStep] = @IdxStep, [IdxStato] = @IdxStato, [StartDatePrev] = @StartDatePrev, [DueDatePrev] = @DueDatePrev, [StartDateReal] = @StartDateReal, [DueDateReal] = @DueDateReal, [RatioCompl] = @RatioCompl WHERE (([IdxObj] = @Original_IdxObj) AND ([IdxStep] = @Original_IdxStep) AND ((@IsNull_IdxStato = 1 AND [IdxStato] IS NULL) OR ([IdxStato] = @Original_IdxStato)) AND ((@IsNull_StartDatePrev = 1 AND [StartDatePrev] IS NULL) OR ([StartDatePrev] = @Original_StartDatePrev)) AND ((@IsNull_DueDatePrev = 1 AND [DueDatePrev] IS NULL) OR ([DueDatePrev] = @Original_DueDatePrev)) AND ((@IsNull_StartDateReal = 1 AND [StartDateReal] IS NULL) OR ([StartDateReal] = @Original_StartDateReal)) AND ((@IsNull_DueDateReal = 1 AND [DueDateReal] IS NULL) OR ([DueDateReal] = @Original_DueDateReal)) AND ((@IsNull_RatioCompl = 1 AND [RatioCompl] IS NULL) OR ([RatioCompl] = @Original_RatioCompl))); +SELECT IdxObj, IdxStep, IdxStato, StartDatePrev, DueDatePrev, StartDateReal, DueDateReal, RatioCompl FROM Step4Obj WHERE (IdxObj = @IdxObj) AND (IdxStep = @IdxStep) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[Object2Set] WHERE (([IdxSet] = @Original_IdxSet) AND ([CodObj] = @Original_CodObj) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_UserQtyReq = 1 AND [UserQtyReq] IS NULL) OR ([UserQtyReq] = @Original_UserQtyReq)) AND ((@IsNull_Posizione = 1 AND [Posizione] IS NULL) OR ([Posizione] = @Original_Posizione)) AND ((@IsNull_TimeTrackEnab = 1 AND [TimeTrackEnab] IS NULL) OR ([TimeTrackEnab] = @Original_TimeTrackEnab)) AND ((@IsNull_ProcReq = 1 AND [ProcReq] IS NULL) OR ([ProcReq] = @Original_ProcReq)) AND ((@IsNull_ExtView = 1 AND [ExtView] IS NULL) OR ([ExtView] = @Original_ExtView))) + + + + + + + + + + + + + + + + + + + + + INSERT INTO [dbo].[Object2Set] ([IdxSet], [CodObj], [Qta], [UserQtyReq], [Posizione], [TimeTrackEnab], [ProcReq], [ExtView]) VALUES (@IdxSet, @CodObj, @Qta, @UserQtyReq, @Posizione, @TimeTrackEnab, @ProcReq, @ExtView); +SELECT IdxSet, CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, ExtView FROM Object2Set WHERE (CodObj = @CodObj) AND (IdxSet = @IdxSet) + + + + + + + + + + + + + + + SELECT IdxSet, CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, ExtView FROM dbo.Object2Set + + + + + + UPDATE [dbo].[Object2Set] SET [IdxSet] = @IdxSet, [CodObj] = @CodObj, [Qta] = @Qta, [UserQtyReq] = @UserQtyReq, [Posizione] = @Posizione, [TimeTrackEnab] = @TimeTrackEnab, [ProcReq] = @ProcReq, [ExtView] = @ExtView WHERE (([IdxSet] = @Original_IdxSet) AND ([CodObj] = @Original_CodObj) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_UserQtyReq = 1 AND [UserQtyReq] IS NULL) OR ([UserQtyReq] = @Original_UserQtyReq)) AND ((@IsNull_Posizione = 1 AND [Posizione] IS NULL) OR ([Posizione] = @Original_Posizione)) AND ((@IsNull_TimeTrackEnab = 1 AND [TimeTrackEnab] IS NULL) OR ([TimeTrackEnab] = @Original_TimeTrackEnab)) AND ((@IsNull_ProcReq = 1 AND [ProcReq] IS NULL) OR ([ProcReq] = @Original_ProcReq)) AND ((@IsNull_ExtView = 1 AND [ExtView] IS NULL) OR ([ExtView] = @Original_ExtView))); +SELECT IdxSet, CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, ExtView FROM Object2Set WHERE (CodObj = @CodObj) AND (IdxSet = @IdxSet) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT IdxSet, CodObj, Qta, UserQtyReq, Posizione, TimeTrackEnab, ProcReq, ExtView +FROM Object2Set +WHERE (IdxSet = @IdxSet) + + + + + + + + + + + + + + DELETE FROM [dbo].[UM] WHERE (([UM] = @Original_UM) AND ((@IsNull_DescrUM = 1 AND [DescrUM] IS NULL) OR ([DescrUM] = @Original_DescrUM)) AND ((@IsNull_FattoreSI = 1 AND [FattoreSI] IS NULL) OR ([FattoreSI] = @Original_FattoreSI))) + + + + + + + + + + + + INSERT INTO [dbo].[UM] ([UM], [DescrUM], [FattoreSI]) VALUES (@UM, @DescrUM, @FattoreSI); +SELECT UM, DescrUM, FattoreSI FROM UM WHERE (UM = @UM) + + + + + + + + + + SELECT UM, DescrUM, FattoreSI FROM dbo.UM + + + + + + UPDATE [dbo].[UM] SET [UM] = @UM, [DescrUM] = @DescrUM, [FattoreSI] = @FattoreSI WHERE (([UM] = @Original_UM) AND ((@IsNull_DescrUM = 1 AND [DescrUM] IS NULL) OR ([DescrUM] = @Original_DescrUM)) AND ((@IsNull_FattoreSI = 1 AND [FattoreSI] IS NULL) OR ([FattoreSI] = @Original_FattoreSI))); +SELECT UM, DescrUM, FattoreSI FROM UM WHERE (UM = @UM) + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[Eventi] WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_CodTipoEvento = 1 AND [CodTipoEvento] IS NULL) OR ([CodTipoEvento] = @Original_CodTipoEvento)) AND ((@IsNull_DescrEvento = 1 AND [DescrEvento] IS NULL) OR ([DescrEvento] = @Original_DescrEvento)) AND ((@IsNull_Action = 1 AND [Action] IS NULL) OR ([Action] = @Original_Action))) + + + + + + + + + + + + + + INSERT INTO [dbo].[Eventi] ([CodEvento], [CodTipoEvento], [DescrEvento], [Action]) VALUES (@CodEvento, @CodTipoEvento, @DescrEvento, @Action); +SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM Eventi WHERE (CodEvento = @CodEvento) + + + + + + + + + + + SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM dbo.Eventi + + + + + + UPDATE [dbo].[Eventi] SET [CodEvento] = @CodEvento, [CodTipoEvento] = @CodTipoEvento, [DescrEvento] = @DescrEvento, [Action] = @Action WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_CodTipoEvento = 1 AND [CodTipoEvento] IS NULL) OR ([CodTipoEvento] = @Original_CodTipoEvento)) AND ((@IsNull_DescrEvento = 1 AND [DescrEvento] IS NULL) OR ([DescrEvento] = @Original_DescrEvento)) AND ((@IsNull_Action = 1 AND [Action] IS NULL) OR ([Action] = @Original_Action))); +SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM Eventi WHERE (CodEvento = @CodEvento) + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[Eventi] WHERE ([idxEvento] = @Original_idxEvento) + + + + + + + + + + UPDATE Eventi +SET CodEvento = @CodEvento, DescrEvento = @DescrEvento, CodTipoEvento = @CodTipoEvento +WHERE (CodEvento = @Original_CodEvento) + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[TipoEventi] WHERE (([CodTipoEvento] = @Original_CodTipoEvento) AND ((@IsNull_DescrTipoEv = 1 AND [DescrTipoEv] IS NULL) OR ([DescrTipoEv] = @Original_DescrTipoEv))) + + + + + + + + + + INSERT INTO [dbo].[TipoEventi] ([CodTipoEvento], [DescrTipoEv]) VALUES (@CodTipoEvento, @DescrTipoEv); +SELECT CodTipoEvento, DescrTipoEv FROM TipoEventi WHERE (CodTipoEvento = @CodTipoEvento) + + + + + + + + + SELECT CodTipoEvento, DescrTipoEv FROM dbo.TipoEventi + + + + + + UPDATE [dbo].[TipoEventi] SET [CodTipoEvento] = @CodTipoEvento, [DescrTipoEv] = @DescrTipoEv WHERE (([CodTipoEvento] = @Original_CodTipoEvento) AND ((@IsNull_DescrTipoEv = 1 AND [DescrTipoEv] IS NULL) OR ([DescrTipoEv] = @Original_DescrTipoEv))); +SELECT CodTipoEvento, DescrTipoEv FROM TipoEventi WHERE (CodTipoEvento = @CodTipoEvento) + + + + + + + + + + + + + + + + + + + + + + + SELECT CodMappa, IdxTipoObj, DescrObj, CodStato, StatoCurr, CodEvento, DescrEvento, NextCodStato, StatoNext FROM dbo.v_ev2stati + + + + + + + + + + + + + + + + + + + + + SELECT CodEvento, CodMappa, CodStato, DescrEvento, DescrObj, IdxTipoObj, NextCodStato, StatoCurr, StatoNext FROM v_ev2stati WHERE (CodEvento = @CodEvento) AND (IdxTipoObj = @IdxTipoObj) AND (CodMappa = @CodMappa) + + + + + + + + + + + + INSERT INTO TransizioneEventiStati + (CodMappa, CodStato, IdxTipoObj, CodEvento, NextCodStato) +VALUES (@CodMappa,@CodStato,@IdxTipoObj,@CodEvento,@NextCodStato) + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagStati] WHERE (([CodStato] = @Original_CodStato) AND ([FamStato] = @Original_FamStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato))) + + + + + + + + + + + INSERT INTO [dbo].[AnagStati] ([CodStato], [FamStato], [DescrStato]) VALUES (@CodStato, @FamStato, @DescrStato); +SELECT CodStato, FamStato, DescrStato FROM AnagStati WHERE (CodStato = @CodStato) + + + + + + + + + + SELECT CodStato, FamStato, DescrStato FROM dbo.AnagStati + + + + + + UPDATE [dbo].[AnagStati] SET [CodStato] = @CodStato, [FamStato] = @FamStato, [DescrStato] = @DescrStato WHERE (([CodStato] = @Original_CodStato) AND ([FamStato] = @Original_FamStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato))); +SELECT CodStato, FamStato, DescrStato FROM AnagStati WHERE (CodStato = @CodStato) + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagObj] WHERE (([CodObj] = @Original_CodObj) AND ((@IsNull_DescrObj = 1 AND [DescrObj] IS NULL) OR ([DescrObj] = @Original_DescrObj)) AND ((@IsNull_FamStato = 1 AND [FamStato] IS NULL) OR ([FamStato] = @Original_FamStato)) AND ((@IsNull_Concreto = 1 AND [Concreto] IS NULL) OR ([Concreto] = @Original_Concreto))) + + + + + + + + + + + + + + INSERT INTO [dbo].[AnagObj] ([CodObj], [DescrObj], [FamStato], [Concreto]) VALUES (@CodObj, @DescrObj, @FamStato, @Concreto); +SELECT CodObj, DescrObj, FamStato, Concreto FROM AnagObj WHERE (CodObj = @CodObj) + + + + + + + + + + + SELECT CodObj, DescrObj, FamStato, Concreto FROM dbo.AnagObj + + + + + + UPDATE [dbo].[AnagObj] SET [CodObj] = @CodObj, [DescrObj] = @DescrObj, [FamStato] = @FamStato, [Concreto] = @Concreto WHERE (([CodObj] = @Original_CodObj) AND ((@IsNull_DescrObj = 1 AND [DescrObj] IS NULL) OR ([DescrObj] = @Original_DescrObj)) AND ((@IsNull_FamStato = 1 AND [FamStato] IS NULL) OR ([FamStato] = @Original_FamStato)) AND ((@IsNull_Concreto = 1 AND [Concreto] IS NULL) OR ([Concreto] = @Original_Concreto))); +SELECT CodObj, DescrObj, FamStato, Concreto FROM AnagObj WHERE (CodObj = @CodObj) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagMappe] WHERE (([CodMappa] = @Original_CodMappa) AND ((@IsNull_DescrMappa = 1 AND [DescrMappa] IS NULL) OR ([DescrMappa] = @Original_DescrMappa))) + + + + + + + + + + INSERT INTO [dbo].[AnagMappe] ([CodMappa], [DescrMappa]) VALUES (@CodMappa, @DescrMappa); +SELECT CodMappa, DescrMappa FROM AnagMappe WHERE (CodMappa = @CodMappa) + + + + + + + + + SELECT CodMappa, DescrMappa FROM dbo.AnagMappe + + + + + + UPDATE [dbo].[AnagMappe] SET [CodMappa] = @CodMappa, [DescrMappa] = @DescrMappa WHERE (([CodMappa] = @Original_CodMappa) AND ((@IsNull_DescrMappa = 1 AND [DescrMappa] IS NULL) OR ([DescrMappa] = @Original_DescrMappa))); +SELECT CodMappa, DescrMappa FROM AnagMappe WHERE (CodMappa = @CodMappa) + + + + + + + + + + + + + + + + + + + + DELETE FROM AnagMappe +WHERE (CodMappa = @Original_CodMappa) + + + + + + + + + + UPDATE AnagMappe +SET CodMappa = @CodMappa, DescrMappa = @DescrMappa +WHERE (CodMappa = @Original_CodMappa) + + + + + + + + + + + + + + + + dbo.sp_clonaTransizEventi + + + + + + + + + + + + + + dbo.sp_clonaStati + + + + + + + + + + + + + dbo.stp_CaricaAnagCliSwing + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/project/XPS_data/DS_XPS.xss b/XPS_data/DS_XPS.xss similarity index 98% rename from project/XPS_data/DS_XPS.xss rename to XPS_data/DS_XPS.xss index 0e20857..c742713 100644 --- a/project/XPS_data/DS_XPS.xss +++ b/XPS_data/DS_XPS.xss @@ -1,51 +1,51 @@ - - - - - - - - - - - - - - - - - - - - - 1464 - 127 - - - 1394 - 127 - - - - - - - 1004 - 423 - - - 772 - 423 - - - 772 - 318 - - - - + + + + + + + + + + + + + + + + + + + + + 1464 + 127 + + + 1394 + 127 + + + + + + + 1004 + 423 + + + 772 + 423 + + + 772 + 318 + + + + \ No newline at end of file diff --git a/project/XPS_data/DS_applicazione.Designer.cs b/XPS_data/DS_applicazione.Designer.cs similarity index 98% rename from project/XPS_data/DS_applicazione.Designer.cs rename to XPS_data/DS_applicazione.Designer.cs index 95cdfa4..640a6a2 100644 --- a/project/XPS_data/DS_applicazione.Designer.cs +++ b/XPS_data/DS_applicazione.Designer.cs @@ -1,17561 +1,17561 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.17929 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -#pragma warning disable 1591 - -namespace XPS_data { - - - /// - ///Represents a strongly typed in-memory cache of data. - /// - [global::System.Serializable()] - [global::System.ComponentModel.DesignerCategoryAttribute("code")] - [global::System.ComponentModel.ToolboxItem(true)] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] - [global::System.Xml.Serialization.XmlRootAttribute("DS_applicazione")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] - public partial class DS_applicazione : global::System.Data.DataSet { - - private AnagClientiDataTable tableAnagClienti; - - private AnagTrattamentiDataTable tableAnagTrattamenti; - - private Tratt2ObjDataTable tableTratt2Obj; - - private v_commesseDataTable tablev_commesse; - - private IstObjDataTable tableIstObj; - - private v_righeDataTable tablev_righe; - - private sp_rec4DayDataTable tablesp_rec4Day; - - private v_ULPDataTable tablev_ULP; - - private EventiDataTable tableEventi; - - private TraEv2StatiDataTable tableTraEv2Stati; - - private v_logStatiDataTable tablev_logStati; - - private sp_contaNonSchedDataTable tablesp_contaNonSched; - - private sp_schedaIdentDataTable tablesp_schedaIdent; - - private sp_ddtDataTable tablesp_ddt; - - private global::System.Data.DataRelation relationFK_Tratt2Obj_AnagTrattamenti; - - private global::System.Data.DataRelation relationFK_Tratt2Obj_IstObj; - - private global::System.Data.DataRelation relationFK_IstObj_AnagClienti; - - private global::System.Data.DataRelation relationFK_TransizioneEventiStati_Eventi; - - private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public DS_applicazione() { - this.BeginInit(); - this.InitClass(); - global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); - base.Tables.CollectionChanged += schemaChangedHandler; - base.Relations.CollectionChanged += schemaChangedHandler; - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected DS_applicazione(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context, false) { - if ((this.IsBinarySerialized(info, context) == true)) { - this.InitVars(false); - global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); - this.Tables.CollectionChanged += schemaChangedHandler1; - this.Relations.CollectionChanged += schemaChangedHandler1; - return; - } - string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); - if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { - global::System.Data.DataSet ds = new global::System.Data.DataSet(); - ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); - if ((ds.Tables["AnagClienti"] != null)) { - base.Tables.Add(new AnagClientiDataTable(ds.Tables["AnagClienti"])); - } - if ((ds.Tables["AnagTrattamenti"] != null)) { - base.Tables.Add(new AnagTrattamentiDataTable(ds.Tables["AnagTrattamenti"])); - } - if ((ds.Tables["Tratt2Obj"] != null)) { - base.Tables.Add(new Tratt2ObjDataTable(ds.Tables["Tratt2Obj"])); - } - if ((ds.Tables["v_commesse"] != null)) { - base.Tables.Add(new v_commesseDataTable(ds.Tables["v_commesse"])); - } - if ((ds.Tables["IstObj"] != null)) { - base.Tables.Add(new IstObjDataTable(ds.Tables["IstObj"])); - } - if ((ds.Tables["v_righe"] != null)) { - base.Tables.Add(new v_righeDataTable(ds.Tables["v_righe"])); - } - if ((ds.Tables["sp_rec4Day"] != null)) { - base.Tables.Add(new sp_rec4DayDataTable(ds.Tables["sp_rec4Day"])); - } - if ((ds.Tables["v_ULP"] != null)) { - base.Tables.Add(new v_ULPDataTable(ds.Tables["v_ULP"])); - } - if ((ds.Tables["Eventi"] != null)) { - base.Tables.Add(new EventiDataTable(ds.Tables["Eventi"])); - } - if ((ds.Tables["TraEv2Stati"] != null)) { - base.Tables.Add(new TraEv2StatiDataTable(ds.Tables["TraEv2Stati"])); - } - if ((ds.Tables["v_logStati"] != null)) { - base.Tables.Add(new v_logStatiDataTable(ds.Tables["v_logStati"])); - } - if ((ds.Tables["sp_contaNonSched"] != null)) { - base.Tables.Add(new sp_contaNonSchedDataTable(ds.Tables["sp_contaNonSched"])); - } - if ((ds.Tables["sp_schedaIdent"] != null)) { - base.Tables.Add(new sp_schedaIdentDataTable(ds.Tables["sp_schedaIdent"])); - } - if ((ds.Tables["sp_ddt"] != null)) { - base.Tables.Add(new sp_ddtDataTable(ds.Tables["sp_ddt"])); - } - this.DataSetName = ds.DataSetName; - this.Prefix = ds.Prefix; - this.Namespace = ds.Namespace; - this.Locale = ds.Locale; - this.CaseSensitive = ds.CaseSensitive; - this.EnforceConstraints = ds.EnforceConstraints; - this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); - this.InitVars(); - } - else { - this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); - } - this.GetSerializationData(info, context); - global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); - base.Tables.CollectionChanged += schemaChangedHandler; - this.Relations.CollectionChanged += schemaChangedHandler; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public AnagClientiDataTable AnagClienti { - get { - return this.tableAnagClienti; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public AnagTrattamentiDataTable AnagTrattamenti { - get { - return this.tableAnagTrattamenti; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public Tratt2ObjDataTable Tratt2Obj { - get { - return this.tableTratt2Obj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public v_commesseDataTable v_commesse { - get { - return this.tablev_commesse; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public IstObjDataTable IstObj { - get { - return this.tableIstObj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public v_righeDataTable v_righe { - get { - return this.tablev_righe; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public sp_rec4DayDataTable sp_rec4Day { - get { - return this.tablesp_rec4Day; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public v_ULPDataTable v_ULP { - get { - return this.tablev_ULP; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public EventiDataTable Eventi { - get { - return this.tableEventi; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public TraEv2StatiDataTable TraEv2Stati { - get { - return this.tableTraEv2Stati; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public v_logStatiDataTable v_logStati { - get { - return this.tablev_logStati; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public sp_contaNonSchedDataTable sp_contaNonSched { - get { - return this.tablesp_contaNonSched; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public sp_schedaIdentDataTable sp_schedaIdent { - get { - return this.tablesp_schedaIdent; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public sp_ddtDataTable sp_ddt { - get { - return this.tablesp_ddt; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.BrowsableAttribute(true)] - [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] - public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { - get { - return this._schemaSerializationMode; - } - set { - this._schemaSerializationMode = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public new global::System.Data.DataTableCollection Tables { - get { - return base.Tables; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public new global::System.Data.DataRelationCollection Relations { - get { - return base.Relations; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void InitializeDerivedDataSet() { - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataSet Clone() { - DS_applicazione cln = ((DS_applicazione)(base.Clone())); - cln.InitVars(); - cln.SchemaSerializationMode = this.SchemaSerializationMode; - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override bool ShouldSerializeTables() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override bool ShouldSerializeRelations() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { - if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { - this.Reset(); - global::System.Data.DataSet ds = new global::System.Data.DataSet(); - ds.ReadXml(reader); - if ((ds.Tables["AnagClienti"] != null)) { - base.Tables.Add(new AnagClientiDataTable(ds.Tables["AnagClienti"])); - } - if ((ds.Tables["AnagTrattamenti"] != null)) { - base.Tables.Add(new AnagTrattamentiDataTable(ds.Tables["AnagTrattamenti"])); - } - if ((ds.Tables["Tratt2Obj"] != null)) { - base.Tables.Add(new Tratt2ObjDataTable(ds.Tables["Tratt2Obj"])); - } - if ((ds.Tables["v_commesse"] != null)) { - base.Tables.Add(new v_commesseDataTable(ds.Tables["v_commesse"])); - } - if ((ds.Tables["IstObj"] != null)) { - base.Tables.Add(new IstObjDataTable(ds.Tables["IstObj"])); - } - if ((ds.Tables["v_righe"] != null)) { - base.Tables.Add(new v_righeDataTable(ds.Tables["v_righe"])); - } - if ((ds.Tables["sp_rec4Day"] != null)) { - base.Tables.Add(new sp_rec4DayDataTable(ds.Tables["sp_rec4Day"])); - } - if ((ds.Tables["v_ULP"] != null)) { - base.Tables.Add(new v_ULPDataTable(ds.Tables["v_ULP"])); - } - if ((ds.Tables["Eventi"] != null)) { - base.Tables.Add(new EventiDataTable(ds.Tables["Eventi"])); - } - if ((ds.Tables["TraEv2Stati"] != null)) { - base.Tables.Add(new TraEv2StatiDataTable(ds.Tables["TraEv2Stati"])); - } - if ((ds.Tables["v_logStati"] != null)) { - base.Tables.Add(new v_logStatiDataTable(ds.Tables["v_logStati"])); - } - if ((ds.Tables["sp_contaNonSched"] != null)) { - base.Tables.Add(new sp_contaNonSchedDataTable(ds.Tables["sp_contaNonSched"])); - } - if ((ds.Tables["sp_schedaIdent"] != null)) { - base.Tables.Add(new sp_schedaIdentDataTable(ds.Tables["sp_schedaIdent"])); - } - if ((ds.Tables["sp_ddt"] != null)) { - base.Tables.Add(new sp_ddtDataTable(ds.Tables["sp_ddt"])); - } - this.DataSetName = ds.DataSetName; - this.Prefix = ds.Prefix; - this.Namespace = ds.Namespace; - this.Locale = ds.Locale; - this.CaseSensitive = ds.CaseSensitive; - this.EnforceConstraints = ds.EnforceConstraints; - this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); - this.InitVars(); - } - else { - this.ReadXml(reader); - this.InitVars(); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { - global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); - this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); - stream.Position = 0; - return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.InitVars(true); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars(bool initTable) { - this.tableAnagClienti = ((AnagClientiDataTable)(base.Tables["AnagClienti"])); - if ((initTable == true)) { - if ((this.tableAnagClienti != null)) { - this.tableAnagClienti.InitVars(); - } - } - this.tableAnagTrattamenti = ((AnagTrattamentiDataTable)(base.Tables["AnagTrattamenti"])); - if ((initTable == true)) { - if ((this.tableAnagTrattamenti != null)) { - this.tableAnagTrattamenti.InitVars(); - } - } - this.tableTratt2Obj = ((Tratt2ObjDataTable)(base.Tables["Tratt2Obj"])); - if ((initTable == true)) { - if ((this.tableTratt2Obj != null)) { - this.tableTratt2Obj.InitVars(); - } - } - this.tablev_commesse = ((v_commesseDataTable)(base.Tables["v_commesse"])); - if ((initTable == true)) { - if ((this.tablev_commesse != null)) { - this.tablev_commesse.InitVars(); - } - } - this.tableIstObj = ((IstObjDataTable)(base.Tables["IstObj"])); - if ((initTable == true)) { - if ((this.tableIstObj != null)) { - this.tableIstObj.InitVars(); - } - } - this.tablev_righe = ((v_righeDataTable)(base.Tables["v_righe"])); - if ((initTable == true)) { - if ((this.tablev_righe != null)) { - this.tablev_righe.InitVars(); - } - } - this.tablesp_rec4Day = ((sp_rec4DayDataTable)(base.Tables["sp_rec4Day"])); - if ((initTable == true)) { - if ((this.tablesp_rec4Day != null)) { - this.tablesp_rec4Day.InitVars(); - } - } - this.tablev_ULP = ((v_ULPDataTable)(base.Tables["v_ULP"])); - if ((initTable == true)) { - if ((this.tablev_ULP != null)) { - this.tablev_ULP.InitVars(); - } - } - this.tableEventi = ((EventiDataTable)(base.Tables["Eventi"])); - if ((initTable == true)) { - if ((this.tableEventi != null)) { - this.tableEventi.InitVars(); - } - } - this.tableTraEv2Stati = ((TraEv2StatiDataTable)(base.Tables["TraEv2Stati"])); - if ((initTable == true)) { - if ((this.tableTraEv2Stati != null)) { - this.tableTraEv2Stati.InitVars(); - } - } - this.tablev_logStati = ((v_logStatiDataTable)(base.Tables["v_logStati"])); - if ((initTable == true)) { - if ((this.tablev_logStati != null)) { - this.tablev_logStati.InitVars(); - } - } - this.tablesp_contaNonSched = ((sp_contaNonSchedDataTable)(base.Tables["sp_contaNonSched"])); - if ((initTable == true)) { - if ((this.tablesp_contaNonSched != null)) { - this.tablesp_contaNonSched.InitVars(); - } - } - this.tablesp_schedaIdent = ((sp_schedaIdentDataTable)(base.Tables["sp_schedaIdent"])); - if ((initTable == true)) { - if ((this.tablesp_schedaIdent != null)) { - this.tablesp_schedaIdent.InitVars(); - } - } - this.tablesp_ddt = ((sp_ddtDataTable)(base.Tables["sp_ddt"])); - if ((initTable == true)) { - if ((this.tablesp_ddt != null)) { - this.tablesp_ddt.InitVars(); - } - } - this.relationFK_Tratt2Obj_AnagTrattamenti = this.Relations["FK_Tratt2Obj_AnagTrattamenti"]; - this.relationFK_Tratt2Obj_IstObj = this.Relations["FK_Tratt2Obj_IstObj"]; - this.relationFK_IstObj_AnagClienti = this.Relations["FK_IstObj_AnagClienti"]; - this.relationFK_TransizioneEventiStati_Eventi = this.Relations["FK_TransizioneEventiStati_Eventi"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.DataSetName = "DS_applicazione"; - this.Prefix = ""; - this.Namespace = "http://tempuri.org/DS_applicazione.xsd"; - this.EnforceConstraints = true; - this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; - this.tableAnagClienti = new AnagClientiDataTable(); - base.Tables.Add(this.tableAnagClienti); - this.tableAnagTrattamenti = new AnagTrattamentiDataTable(); - base.Tables.Add(this.tableAnagTrattamenti); - this.tableTratt2Obj = new Tratt2ObjDataTable(); - base.Tables.Add(this.tableTratt2Obj); - this.tablev_commesse = new v_commesseDataTable(); - base.Tables.Add(this.tablev_commesse); - this.tableIstObj = new IstObjDataTable(); - base.Tables.Add(this.tableIstObj); - this.tablev_righe = new v_righeDataTable(); - base.Tables.Add(this.tablev_righe); - this.tablesp_rec4Day = new sp_rec4DayDataTable(); - base.Tables.Add(this.tablesp_rec4Day); - this.tablev_ULP = new v_ULPDataTable(); - base.Tables.Add(this.tablev_ULP); - this.tableEventi = new EventiDataTable(); - base.Tables.Add(this.tableEventi); - this.tableTraEv2Stati = new TraEv2StatiDataTable(); - base.Tables.Add(this.tableTraEv2Stati); - this.tablev_logStati = new v_logStatiDataTable(); - base.Tables.Add(this.tablev_logStati); - this.tablesp_contaNonSched = new sp_contaNonSchedDataTable(); - base.Tables.Add(this.tablesp_contaNonSched); - this.tablesp_schedaIdent = new sp_schedaIdentDataTable(); - base.Tables.Add(this.tablesp_schedaIdent); - this.tablesp_ddt = new sp_ddtDataTable(); - base.Tables.Add(this.tablesp_ddt); - this.relationFK_Tratt2Obj_AnagTrattamenti = new global::System.Data.DataRelation("FK_Tratt2Obj_AnagTrattamenti", new global::System.Data.DataColumn[] { - this.tableAnagTrattamenti.CodTrattamentoColumn}, new global::System.Data.DataColumn[] { - this.tableTratt2Obj.CodTrattamentoColumn}, false); - this.Relations.Add(this.relationFK_Tratt2Obj_AnagTrattamenti); - this.relationFK_Tratt2Obj_IstObj = new global::System.Data.DataRelation("FK_Tratt2Obj_IstObj", new global::System.Data.DataColumn[] { - this.tableIstObj.IdxObjColumn}, new global::System.Data.DataColumn[] { - this.tableTratt2Obj.IdxObjColumn}, false); - this.Relations.Add(this.relationFK_Tratt2Obj_IstObj); - this.relationFK_IstObj_AnagClienti = new global::System.Data.DataRelation("FK_IstObj_AnagClienti", new global::System.Data.DataColumn[] { - this.tableAnagClienti.CodClienteColumn}, new global::System.Data.DataColumn[] { - this.tableIstObj.CodClienteColumn}, false); - this.Relations.Add(this.relationFK_IstObj_AnagClienti); - this.relationFK_TransizioneEventiStati_Eventi = new global::System.Data.DataRelation("FK_TransizioneEventiStati_Eventi", new global::System.Data.DataColumn[] { - this.tableEventi.CodEventoColumn}, new global::System.Data.DataColumn[] { - this.tableTraEv2Stati.CodEventoColumn}, false); - this.Relations.Add(this.relationFK_TransizioneEventiStati_Eventi); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeAnagClienti() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeAnagTrattamenti() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeTratt2Obj() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializev_commesse() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeIstObj() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializev_righe() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializesp_rec4Day() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializev_ULP() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeEventi() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeTraEv2Stati() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializev_logStati() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializesp_contaNonSched() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializesp_schedaIdent() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializesp_ddt() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { - if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { - this.InitVars(); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - DS_applicazione ds = new DS_applicazione(); - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); - any.Namespace = ds.Namespace; - sequence.Items.Add(any); - 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; - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void AnagClientiRowChangeEventHandler(object sender, AnagClientiRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void AnagTrattamentiRowChangeEventHandler(object sender, AnagTrattamentiRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void Tratt2ObjRowChangeEventHandler(object sender, Tratt2ObjRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void v_commesseRowChangeEventHandler(object sender, v_commesseRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void IstObjRowChangeEventHandler(object sender, IstObjRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void v_righeRowChangeEventHandler(object sender, v_righeRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void sp_rec4DayRowChangeEventHandler(object sender, sp_rec4DayRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void v_ULPRowChangeEventHandler(object sender, v_ULPRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void EventiRowChangeEventHandler(object sender, EventiRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void TraEv2StatiRowChangeEventHandler(object sender, TraEv2StatiRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void v_logStatiRowChangeEventHandler(object sender, v_logStatiRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void sp_contaNonSchedRowChangeEventHandler(object sender, sp_contaNonSchedRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void sp_schedaIdentRowChangeEventHandler(object sender, sp_schedaIdentRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void sp_ddtRowChangeEventHandler(object sender, sp_ddtRowChangeEvent e); - - /// - ///Represents the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class AnagClientiDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnCodCliente; - - private global::System.Data.DataColumn columnRagioneSociale; - - private global::System.Data.DataColumn columnpiva; - - private global::System.Data.DataColumn columnemail; - - private global::System.Data.DataColumn columnindirizzo; - - private global::System.Data.DataColumn columncap; - - private global::System.Data.DataColumn columnlocalita; - - private global::System.Data.DataColumn columnprovincia; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagClientiDataTable() { - this.TableName = "AnagClienti"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal AnagClientiDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected AnagClientiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodClienteColumn { - get { - return this.columnCodCliente; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn RagioneSocialeColumn { - get { - return this.columnRagioneSociale; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn pivaColumn { - get { - return this.columnpiva; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn emailColumn { - get { - return this.columnemail; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn indirizzoColumn { - get { - return this.columnindirizzo; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn capColumn { - get { - return this.columncap; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn localitaColumn { - get { - return this.columnlocalita; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn provinciaColumn { - get { - return this.columnprovincia; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagClientiRow this[int index] { - get { - return ((AnagClientiRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagClientiRowChangeEventHandler AnagClientiRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagClientiRowChangeEventHandler AnagClientiRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagClientiRowChangeEventHandler AnagClientiRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagClientiRowChangeEventHandler AnagClientiRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddAnagClientiRow(AnagClientiRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagClientiRow AddAnagClientiRow(string CodCliente, string RagioneSociale, string piva, string email, string indirizzo, string cap, string localita, string provincia) { - AnagClientiRow rowAnagClientiRow = ((AnagClientiRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - CodCliente, - RagioneSociale, - piva, - email, - indirizzo, - cap, - localita, - provincia}; - rowAnagClientiRow.ItemArray = columnValuesArray; - this.Rows.Add(rowAnagClientiRow); - return rowAnagClientiRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagClientiRow FindByCodCliente(string CodCliente) { - return ((AnagClientiRow)(this.Rows.Find(new object[] { - CodCliente}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - AnagClientiDataTable cln = ((AnagClientiDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new AnagClientiDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnCodCliente = base.Columns["CodCliente"]; - this.columnRagioneSociale = base.Columns["RagioneSociale"]; - this.columnpiva = base.Columns["piva"]; - this.columnemail = base.Columns["email"]; - this.columnindirizzo = base.Columns["indirizzo"]; - this.columncap = base.Columns["cap"]; - this.columnlocalita = base.Columns["localita"]; - this.columnprovincia = base.Columns["provincia"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodCliente); - this.columnRagioneSociale = new global::System.Data.DataColumn("RagioneSociale", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnRagioneSociale); - this.columnpiva = new global::System.Data.DataColumn("piva", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnpiva); - this.columnemail = new global::System.Data.DataColumn("email", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnemail); - this.columnindirizzo = new global::System.Data.DataColumn("indirizzo", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnindirizzo); - this.columncap = new global::System.Data.DataColumn("cap", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncap); - this.columnlocalita = new global::System.Data.DataColumn("localita", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnlocalita); - this.columnprovincia = new global::System.Data.DataColumn("provincia", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnprovincia); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnCodCliente}, true)); - this.columnCodCliente.AllowDBNull = false; - this.columnCodCliente.Unique = true; - this.columnCodCliente.MaxLength = 50; - this.columnRagioneSociale.MaxLength = 50; - this.columnpiva.MaxLength = 20; - this.columnemail.MaxLength = 500; - this.columnindirizzo.MaxLength = 50; - this.columncap.MaxLength = 5; - this.columnlocalita.MaxLength = 50; - this.columnprovincia.MaxLength = 5; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagClientiRow NewAnagClientiRow() { - return ((AnagClientiRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new AnagClientiRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(AnagClientiRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.AnagClientiRowChanged != null)) { - this.AnagClientiRowChanged(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.AnagClientiRowChanging != null)) { - this.AnagClientiRowChanging(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.AnagClientiRowDeleted != null)) { - this.AnagClientiRowDeleted(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.AnagClientiRowDeleting != null)) { - this.AnagClientiRowDeleting(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveAnagClientiRow(AnagClientiRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_applicazione ds = new DS_applicazione(); - 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 = "AnagClientiDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class AnagTrattamentiDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnCodTrattamento; - - private global::System.Data.DataColumn columnDescrTrattamento; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagTrattamentiDataTable() { - this.TableName = "AnagTrattamenti"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal AnagTrattamentiDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected AnagTrattamentiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodTrattamentoColumn { - get { - return this.columnCodTrattamento; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DescrTrattamentoColumn { - get { - return this.columnDescrTrattamento; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagTrattamentiRow this[int index] { - get { - return ((AnagTrattamentiRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagTrattamentiRowChangeEventHandler AnagTrattamentiRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagTrattamentiRowChangeEventHandler AnagTrattamentiRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagTrattamentiRowChangeEventHandler AnagTrattamentiRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AnagTrattamentiRowChangeEventHandler AnagTrattamentiRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddAnagTrattamentiRow(AnagTrattamentiRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagTrattamentiRow AddAnagTrattamentiRow(string CodTrattamento, string DescrTrattamento) { - AnagTrattamentiRow rowAnagTrattamentiRow = ((AnagTrattamentiRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - CodTrattamento, - DescrTrattamento}; - rowAnagTrattamentiRow.ItemArray = columnValuesArray; - this.Rows.Add(rowAnagTrattamentiRow); - return rowAnagTrattamentiRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagTrattamentiRow FindByCodTrattamento(string CodTrattamento) { - return ((AnagTrattamentiRow)(this.Rows.Find(new object[] { - CodTrattamento}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - AnagTrattamentiDataTable cln = ((AnagTrattamentiDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new AnagTrattamentiDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnCodTrattamento = base.Columns["CodTrattamento"]; - this.columnDescrTrattamento = base.Columns["DescrTrattamento"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnCodTrattamento = new global::System.Data.DataColumn("CodTrattamento", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodTrattamento); - this.columnDescrTrattamento = new global::System.Data.DataColumn("DescrTrattamento", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDescrTrattamento); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnCodTrattamento}, true)); - this.columnCodTrattamento.AllowDBNull = false; - this.columnCodTrattamento.Unique = true; - this.columnCodTrattamento.MaxLength = 50; - this.columnDescrTrattamento.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagTrattamentiRow NewAnagTrattamentiRow() { - return ((AnagTrattamentiRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new AnagTrattamentiRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(AnagTrattamentiRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.AnagTrattamentiRowChanged != null)) { - this.AnagTrattamentiRowChanged(this, new AnagTrattamentiRowChangeEvent(((AnagTrattamentiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.AnagTrattamentiRowChanging != null)) { - this.AnagTrattamentiRowChanging(this, new AnagTrattamentiRowChangeEvent(((AnagTrattamentiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.AnagTrattamentiRowDeleted != null)) { - this.AnagTrattamentiRowDeleted(this, new AnagTrattamentiRowChangeEvent(((AnagTrattamentiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.AnagTrattamentiRowDeleting != null)) { - this.AnagTrattamentiRowDeleting(this, new AnagTrattamentiRowChangeEvent(((AnagTrattamentiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveAnagTrattamentiRow(AnagTrattamentiRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_applicazione ds = new DS_applicazione(); - 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 = "AnagTrattamentiDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class Tratt2ObjDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnIdxObj; - - private global::System.Data.DataColumn columnCodTrattamento; - - private global::System.Data.DataColumn columnNote; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Tratt2ObjDataTable() { - this.TableName = "Tratt2Obj"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal Tratt2ObjDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected Tratt2ObjDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn IdxObjColumn { - get { - return this.columnIdxObj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodTrattamentoColumn { - get { - return this.columnCodTrattamento; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn NoteColumn { - get { - return this.columnNote; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Tratt2ObjRow this[int index] { - get { - return ((Tratt2ObjRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event Tratt2ObjRowChangeEventHandler Tratt2ObjRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event Tratt2ObjRowChangeEventHandler Tratt2ObjRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event Tratt2ObjRowChangeEventHandler Tratt2ObjRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event Tratt2ObjRowChangeEventHandler Tratt2ObjRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddTratt2ObjRow(Tratt2ObjRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Tratt2ObjRow AddTratt2ObjRow(IstObjRow parentIstObjRowByFK_Tratt2Obj_IstObj, AnagTrattamentiRow parentAnagTrattamentiRowByFK_Tratt2Obj_AnagTrattamenti, string Note) { - Tratt2ObjRow rowTratt2ObjRow = ((Tratt2ObjRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - null, - null, - Note}; - if ((parentIstObjRowByFK_Tratt2Obj_IstObj != null)) { - columnValuesArray[0] = parentIstObjRowByFK_Tratt2Obj_IstObj[0]; - } - if ((parentAnagTrattamentiRowByFK_Tratt2Obj_AnagTrattamenti != null)) { - columnValuesArray[1] = parentAnagTrattamentiRowByFK_Tratt2Obj_AnagTrattamenti[0]; - } - rowTratt2ObjRow.ItemArray = columnValuesArray; - this.Rows.Add(rowTratt2ObjRow); - return rowTratt2ObjRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Tratt2ObjRow FindByIdxObjCodTrattamento(string IdxObj, string CodTrattamento) { - return ((Tratt2ObjRow)(this.Rows.Find(new object[] { - IdxObj, - CodTrattamento}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - Tratt2ObjDataTable cln = ((Tratt2ObjDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new Tratt2ObjDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnIdxObj = base.Columns["IdxObj"]; - this.columnCodTrattamento = base.Columns["CodTrattamento"]; - this.columnNote = base.Columns["Note"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnIdxObj = new global::System.Data.DataColumn("IdxObj", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnIdxObj); - this.columnCodTrattamento = new global::System.Data.DataColumn("CodTrattamento", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodTrattamento); - this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnNote); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnIdxObj, - this.columnCodTrattamento}, true)); - this.columnIdxObj.AllowDBNull = false; - this.columnIdxObj.MaxLength = 50; - this.columnCodTrattamento.AllowDBNull = false; - this.columnCodTrattamento.MaxLength = 50; - this.columnNote.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Tratt2ObjRow NewTratt2ObjRow() { - return ((Tratt2ObjRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new Tratt2ObjRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(Tratt2ObjRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.Tratt2ObjRowChanged != null)) { - this.Tratt2ObjRowChanged(this, new Tratt2ObjRowChangeEvent(((Tratt2ObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.Tratt2ObjRowChanging != null)) { - this.Tratt2ObjRowChanging(this, new Tratt2ObjRowChangeEvent(((Tratt2ObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.Tratt2ObjRowDeleted != null)) { - this.Tratt2ObjRowDeleted(this, new Tratt2ObjRowChangeEvent(((Tratt2ObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.Tratt2ObjRowDeleting != null)) { - this.Tratt2ObjRowDeleting(this, new Tratt2ObjRowChangeEvent(((Tratt2ObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveTratt2ObjRow(Tratt2ObjRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_applicazione ds = new DS_applicazione(); - 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 = "Tratt2ObjDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class v_commesseDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnCod; - - private global::System.Data.DataColumn columnStato; - - private global::System.Data.DataColumn columnCodCliente; - - private global::System.Data.DataColumn columnCliente; - - private global::System.Data.DataColumn columndescrizione; - - private global::System.Data.DataColumn columnDDT; - - private global::System.Data.DataColumn columnDataDDT; - - private global::System.Data.DataColumn columnDataArrivo; - - private global::System.Data.DataColumn columnPosizione; - - private global::System.Data.DataColumn columnQta; - - private global::System.Data.DataColumn columnPeso; - - private global::System.Data.DataColumn columnRighe; - - private global::System.Data.DataColumn columnColli; - - private global::System.Data.DataColumn columnDataPrevista; - - private global::System.Data.DataColumn columnCiclo; - - private global::System.Data.DataColumn columnCodStato; - - private global::System.Data.DataColumn columnminStato; - - private global::System.Data.DataColumn columnmaxStato; - - private global::System.Data.DataColumn columnminCodStato; - - private global::System.Data.DataColumn columnmaxCodStato; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_commesseDataTable() { - this.TableName = "v_commesse"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_commesseDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected v_commesseDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodColumn { - get { - return this.columnCod; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn StatoColumn { - get { - return this.columnStato; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodClienteColumn { - get { - return this.columnCodCliente; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ClienteColumn { - get { - return this.columnCliente; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn descrizioneColumn { - get { - return this.columndescrizione; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DDTColumn { - get { - return this.columnDDT; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataDDTColumn { - get { - return this.columnDataDDT; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataArrivoColumn { - get { - return this.columnDataArrivo; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn PosizioneColumn { - get { - return this.columnPosizione; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn QtaColumn { - get { - return this.columnQta; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn PesoColumn { - get { - return this.columnPeso; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn RigheColumn { - get { - return this.columnRighe; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ColliColumn { - get { - return this.columnColli; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataPrevistaColumn { - get { - return this.columnDataPrevista; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CicloColumn { - get { - return this.columnCiclo; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] - public global::System.Data.DataColumn minStatoColumn { - get { - return this.columnminStato; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn maxStatoColumn { - get { - return this.columnmaxStato; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn minCodStatoColumn { - get { - return this.columnminCodStato; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn maxCodStatoColumn { - get { - return this.columnmaxCodStato; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_commesseRow this[int index] { - get { - return ((v_commesseRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_commesseRowChangeEventHandler v_commesseRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_commesseRowChangeEventHandler v_commesseRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_commesseRowChangeEventHandler v_commesseRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_commesseRowChangeEventHandler v_commesseRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addv_commesseRow(v_commesseRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_commesseRow Addv_commesseRow( - string Cod, - string Stato, - string CodCliente, - string Cliente, - string descrizione, - string DDT, - System.DateTime DataDDT, - System.DateTime DataArrivo, - string Posizione, - int Qta, - double Peso, - int Righe, - int Colli, - System.DateTime DataPrevista, - string Ciclo, - string CodStato, - string minStato, - string maxStato, - string minCodStato, - string maxCodStato) { - v_commesseRow rowv_commesseRow = ((v_commesseRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - Cod, - Stato, - CodCliente, - Cliente, - descrizione, - DDT, - DataDDT, - DataArrivo, - Posizione, - Qta, - Peso, - Righe, - Colli, - DataPrevista, - Ciclo, - CodStato, - minStato, - maxStato, - minCodStato, - maxCodStato}; - rowv_commesseRow.ItemArray = columnValuesArray; - this.Rows.Add(rowv_commesseRow); - return rowv_commesseRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_commesseRow FindByCod(string Cod) { - return ((v_commesseRow)(this.Rows.Find(new object[] { - Cod}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - v_commesseDataTable cln = ((v_commesseDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new v_commesseDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnCod = base.Columns["Cod"]; - this.columnStato = base.Columns["Stato"]; - this.columnCodCliente = base.Columns["CodCliente"]; - this.columnCliente = base.Columns["Cliente"]; - this.columndescrizione = base.Columns["descrizione"]; - this.columnDDT = base.Columns["DDT"]; - this.columnDataDDT = base.Columns["DataDDT"]; - this.columnDataArrivo = base.Columns["DataArrivo"]; - this.columnPosizione = base.Columns["Posizione"]; - this.columnQta = base.Columns["Qta"]; - this.columnPeso = base.Columns["Peso"]; - this.columnRighe = base.Columns["Righe"]; - this.columnColli = base.Columns["Colli"]; - this.columnDataPrevista = base.Columns["DataPrevista"]; - this.columnCiclo = base.Columns["Ciclo"]; - this.columnCodStato = base.Columns["CodStato"]; - this.columnminStato = base.Columns["minStato"]; - this.columnmaxStato = base.Columns["maxStato"]; - this.columnminCodStato = base.Columns["minCodStato"]; - this.columnmaxCodStato = base.Columns["maxCodStato"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnCod = new global::System.Data.DataColumn("Cod", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCod); - this.columnStato = new global::System.Data.DataColumn("Stato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnStato); - this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodCliente); - this.columnCliente = new global::System.Data.DataColumn("Cliente", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCliente); - this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columndescrizione); - this.columnDDT = new global::System.Data.DataColumn("DDT", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDDT); - this.columnDataDDT = new global::System.Data.DataColumn("DataDDT", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDataDDT); - this.columnDataArrivo = new global::System.Data.DataColumn("DataArrivo", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDataArrivo); - this.columnPosizione = new global::System.Data.DataColumn("Posizione", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnPosizione); - this.columnQta = new global::System.Data.DataColumn("Qta", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnQta); - this.columnPeso = new global::System.Data.DataColumn("Peso", typeof(double), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnPeso); - this.columnRighe = new global::System.Data.DataColumn("Righe", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnRighe); - this.columnColli = new global::System.Data.DataColumn("Colli", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnColli); - this.columnDataPrevista = new global::System.Data.DataColumn("DataPrevista", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDataPrevista); - this.columnCiclo = new global::System.Data.DataColumn("Ciclo", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCiclo); - this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodStato); - this.columnminStato = new global::System.Data.DataColumn("minStato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnminStato); - this.columnmaxStato = new global::System.Data.DataColumn("maxStato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnmaxStato); - this.columnminCodStato = new global::System.Data.DataColumn("minCodStato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnminCodStato); - this.columnmaxCodStato = new global::System.Data.DataColumn("maxCodStato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnmaxCodStato); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnCod}, true)); - this.columnCod.AllowDBNull = false; - this.columnCod.Unique = true; - this.columnCod.MaxLength = 50; - this.columnStato.MaxLength = 50; - this.columnCodCliente.ReadOnly = true; - this.columnCodCliente.MaxLength = 50; - this.columnCliente.ReadOnly = true; - this.columnCliente.MaxLength = 50; - this.columndescrizione.ReadOnly = true; - this.columndescrizione.MaxLength = 50; - this.columnDDT.MaxLength = 50; - this.columnPosizione.MaxLength = 50; - this.columnQta.ReadOnly = true; - this.columnPeso.ReadOnly = true; - this.columnRighe.ReadOnly = true; - this.columnColli.ReadOnly = true; - this.columnCiclo.MaxLength = 50; - this.columnCodStato.MaxLength = 50; - this.columnminStato.MaxLength = 50; - this.columnmaxStato.MaxLength = 50; - this.columnminCodStato.MaxLength = 50; - this.columnmaxCodStato.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_commesseRow Newv_commesseRow() { - return ((v_commesseRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new v_commesseRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(v_commesseRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.v_commesseRowChanged != null)) { - this.v_commesseRowChanged(this, new v_commesseRowChangeEvent(((v_commesseRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.v_commesseRowChanging != null)) { - this.v_commesseRowChanging(this, new v_commesseRowChangeEvent(((v_commesseRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.v_commesseRowDeleted != null)) { - this.v_commesseRowDeleted(this, new v_commesseRowChangeEvent(((v_commesseRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.v_commesseRowDeleting != null)) { - this.v_commesseRowDeleting(this, new v_commesseRowChangeEvent(((v_commesseRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removev_commesseRow(v_commesseRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_applicazione ds = new DS_applicazione(); - 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 = "v_commesseDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class IstObjDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnIdxObj; - - private global::System.Data.DataColumn columnCodCliente; - - private global::System.Data.DataColumn columnCodStato; - - private global::System.Data.DataColumn columnPosizione; - - private global::System.Data.DataColumn columnLivello; - - private global::System.Data.DataColumn columnRev; - - private global::System.Data.DataColumn columnCodObj; - - private global::System.Data.DataColumn columnNome; - - private global::System.Data.DataColumn columnDataRif; - - private global::System.Data.DataColumn columnIdxObjMamma; - - private global::System.Data.DataColumn columnNote; - - private global::System.Data.DataColumn columnExtKey; - - private global::System.Data.DataColumn columnDueDate; - - private global::System.Data.DataColumn columnLeadTime; - - private global::System.Data.DataColumn columnLeadTimeUM; - - private global::System.Data.DataColumn columnUserCreaz; - - private global::System.Data.DataColumn columnDataCreaz; - - private global::System.Data.DataColumn columnUserMod; - - private global::System.Data.DataColumn columnDataMod; - - private global::System.Data.DataColumn columnQta; - - private global::System.Data.DataColumn columnPeso; - - private global::System.Data.DataColumn columnemailReq; - - private global::System.Data.DataColumn columnemailSent; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public IstObjDataTable() { - this.TableName = "IstObj"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal IstObjDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected IstObjDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn IdxObjColumn { - get { - return this.columnIdxObj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodClienteColumn { - get { - return this.columnCodCliente; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] - public global::System.Data.DataColumn PosizioneColumn { - get { - return this.columnPosizione; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn LivelloColumn { - get { - return this.columnLivello; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn RevColumn { - get { - return this.columnRev; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodObjColumn { - get { - return this.columnCodObj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn NomeColumn { - get { - return this.columnNome; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataRifColumn { - get { - return this.columnDataRif; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn IdxObjMammaColumn { - get { - return this.columnIdxObjMamma; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn NoteColumn { - get { - return this.columnNote; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ExtKeyColumn { - get { - return this.columnExtKey; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DueDateColumn { - get { - return this.columnDueDate; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn LeadTimeColumn { - get { - return this.columnLeadTime; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn LeadTimeUMColumn { - get { - return this.columnLeadTimeUM; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn UserCreazColumn { - get { - return this.columnUserCreaz; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataCreazColumn { - get { - return this.columnDataCreaz; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn UserModColumn { - get { - return this.columnUserMod; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataModColumn { - get { - return this.columnDataMod; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn QtaColumn { - get { - return this.columnQta; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn PesoColumn { - get { - return this.columnPeso; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn emailReqColumn { - get { - return this.columnemailReq; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn emailSentColumn { - get { - return this.columnemailSent; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public IstObjRow this[int index] { - get { - return ((IstObjRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event IstObjRowChangeEventHandler IstObjRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event IstObjRowChangeEventHandler IstObjRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event IstObjRowChangeEventHandler IstObjRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event IstObjRowChangeEventHandler IstObjRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddIstObjRow(IstObjRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public IstObjRow AddIstObjRow( - string IdxObj, - AnagClientiRow parentAnagClientiRowByFK_IstObj_AnagClienti, - string CodStato, - string Posizione, - int Livello, - int Rev, - string CodObj, - string Nome, - System.DateTime DataRif, - string IdxObjMamma, - string Note, - string ExtKey, - System.DateTime DueDate, - double LeadTime, - string LeadTimeUM, - string UserCreaz, - System.DateTime DataCreaz, - string UserMod, - System.DateTime DataMod, - int Qta, - double Peso, - bool emailReq, - System.DateTime emailSent) { - IstObjRow rowIstObjRow = ((IstObjRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - IdxObj, - null, - CodStato, - Posizione, - Livello, - Rev, - CodObj, - Nome, - DataRif, - IdxObjMamma, - Note, - ExtKey, - DueDate, - LeadTime, - LeadTimeUM, - UserCreaz, - DataCreaz, - UserMod, - DataMod, - Qta, - Peso, - emailReq, - emailSent}; - if ((parentAnagClientiRowByFK_IstObj_AnagClienti != null)) { - columnValuesArray[1] = parentAnagClientiRowByFK_IstObj_AnagClienti[0]; - } - rowIstObjRow.ItemArray = columnValuesArray; - this.Rows.Add(rowIstObjRow); - return rowIstObjRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public IstObjRow FindByIdxObj(string IdxObj) { - return ((IstObjRow)(this.Rows.Find(new object[] { - IdxObj}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - IstObjDataTable cln = ((IstObjDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new IstObjDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnIdxObj = base.Columns["IdxObj"]; - this.columnCodCliente = base.Columns["CodCliente"]; - this.columnCodStato = base.Columns["CodStato"]; - this.columnPosizione = base.Columns["Posizione"]; - this.columnLivello = base.Columns["Livello"]; - this.columnRev = base.Columns["Rev"]; - this.columnCodObj = base.Columns["CodObj"]; - this.columnNome = base.Columns["Nome"]; - this.columnDataRif = base.Columns["DataRif"]; - this.columnIdxObjMamma = base.Columns["IdxObjMamma"]; - this.columnNote = base.Columns["Note"]; - this.columnExtKey = base.Columns["ExtKey"]; - this.columnDueDate = base.Columns["DueDate"]; - this.columnLeadTime = base.Columns["LeadTime"]; - this.columnLeadTimeUM = base.Columns["LeadTimeUM"]; - this.columnUserCreaz = base.Columns["UserCreaz"]; - this.columnDataCreaz = base.Columns["DataCreaz"]; - this.columnUserMod = base.Columns["UserMod"]; - this.columnDataMod = base.Columns["DataMod"]; - this.columnQta = base.Columns["Qta"]; - this.columnPeso = base.Columns["Peso"]; - this.columnemailReq = base.Columns["emailReq"]; - this.columnemailSent = base.Columns["emailSent"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnIdxObj = new global::System.Data.DataColumn("IdxObj", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnIdxObj); - this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodCliente); - this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodStato); - this.columnPosizione = new global::System.Data.DataColumn("Posizione", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnPosizione); - this.columnLivello = new global::System.Data.DataColumn("Livello", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnLivello); - this.columnRev = new global::System.Data.DataColumn("Rev", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnRev); - this.columnCodObj = new global::System.Data.DataColumn("CodObj", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodObj); - this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnNome); - this.columnDataRif = new global::System.Data.DataColumn("DataRif", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDataRif); - this.columnIdxObjMamma = new global::System.Data.DataColumn("IdxObjMamma", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnIdxObjMamma); - this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnNote); - this.columnExtKey = new global::System.Data.DataColumn("ExtKey", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnExtKey); - this.columnDueDate = new global::System.Data.DataColumn("DueDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDueDate); - this.columnLeadTime = new global::System.Data.DataColumn("LeadTime", typeof(double), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnLeadTime); - this.columnLeadTimeUM = new global::System.Data.DataColumn("LeadTimeUM", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnLeadTimeUM); - this.columnUserCreaz = new global::System.Data.DataColumn("UserCreaz", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnUserCreaz); - this.columnDataCreaz = new global::System.Data.DataColumn("DataCreaz", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDataCreaz); - this.columnUserMod = new global::System.Data.DataColumn("UserMod", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnUserMod); - this.columnDataMod = new global::System.Data.DataColumn("DataMod", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDataMod); - this.columnQta = new global::System.Data.DataColumn("Qta", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnQta); - this.columnPeso = new global::System.Data.DataColumn("Peso", typeof(double), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnPeso); - this.columnemailReq = new global::System.Data.DataColumn("emailReq", typeof(bool), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnemailReq); - this.columnemailSent = new global::System.Data.DataColumn("emailSent", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnemailSent); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnIdxObj}, true)); - this.columnIdxObj.AllowDBNull = false; - this.columnIdxObj.Unique = true; - this.columnIdxObj.MaxLength = 50; - this.columnCodCliente.MaxLength = 50; - this.columnCodStato.MaxLength = 50; - this.columnPosizione.MaxLength = 50; - this.columnCodObj.MaxLength = 50; - this.columnNome.MaxLength = 50; - this.columnIdxObjMamma.MaxLength = 50; - this.columnNote.MaxLength = 50; - this.columnExtKey.MaxLength = 50; - this.columnLeadTimeUM.MaxLength = 50; - this.columnUserCreaz.MaxLength = 50; - this.columnUserMod.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public IstObjRow NewIstObjRow() { - return ((IstObjRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new IstObjRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(IstObjRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.IstObjRowChanged != null)) { - this.IstObjRowChanged(this, new IstObjRowChangeEvent(((IstObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.IstObjRowChanging != null)) { - this.IstObjRowChanging(this, new IstObjRowChangeEvent(((IstObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.IstObjRowDeleted != null)) { - this.IstObjRowDeleted(this, new IstObjRowChangeEvent(((IstObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.IstObjRowDeleting != null)) { - this.IstObjRowDeleting(this, new IstObjRowChangeEvent(((IstObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveIstObjRow(IstObjRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_applicazione ds = new DS_applicazione(); - 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 = "IstObjDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class v_righeDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnCod; - - private global::System.Data.DataColumn columnStato; - - private global::System.Data.DataColumn columnCodCliente; - - private global::System.Data.DataColumn columnCliente; - - private global::System.Data.DataColumn columnCodCli; - - private global::System.Data.DataColumn columndescrizione; - - private global::System.Data.DataColumn columnDDT; - - private global::System.Data.DataColumn columnDataDDT; - - private global::System.Data.DataColumn columnDataArrivo; - - private global::System.Data.DataColumn columnPosizione; - - private global::System.Data.DataColumn columnQta; - - private global::System.Data.DataColumn columnPeso; - - private global::System.Data.DataColumn columnColli; - - private global::System.Data.DataColumn columnDataPrevista; - - private global::System.Data.DataColumn columnIdxObjMamma; - - private global::System.Data.DataColumn columnCodStato; - - private global::System.Data.DataColumn columnminStato; - - private global::System.Data.DataColumn columnmaxStato; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_righeDataTable() { - this.TableName = "v_righe"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_righeDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected v_righeDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodColumn { - get { - return this.columnCod; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn StatoColumn { - get { - return this.columnStato; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodClienteColumn { - get { - return this.columnCodCliente; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ClienteColumn { - get { - return this.columnCliente; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodCliColumn { - get { - return this.columnCodCli; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn descrizioneColumn { - get { - return this.columndescrizione; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DDTColumn { - get { - return this.columnDDT; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataDDTColumn { - get { - return this.columnDataDDT; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataArrivoColumn { - get { - return this.columnDataArrivo; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn PosizioneColumn { - get { - return this.columnPosizione; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn QtaColumn { - get { - return this.columnQta; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn PesoColumn { - get { - return this.columnPeso; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ColliColumn { - get { - return this.columnColli; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataPrevistaColumn { - get { - return this.columnDataPrevista; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn IdxObjMammaColumn { - get { - return this.columnIdxObjMamma; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] - public global::System.Data.DataColumn minStatoColumn { - get { - return this.columnminStato; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn maxStatoColumn { - get { - return this.columnmaxStato; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_righeRow this[int index] { - get { - return ((v_righeRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_righeRowChangeEventHandler v_righeRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_righeRowChangeEventHandler v_righeRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_righeRowChangeEventHandler v_righeRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_righeRowChangeEventHandler v_righeRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addv_righeRow(v_righeRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_righeRow Addv_righeRow( - string Cod, - string Stato, - string CodCliente, - string Cliente, - string CodCli, - string descrizione, - string DDT, - System.DateTime DataDDT, - System.DateTime DataArrivo, - string Posizione, - int Qta, - double Peso, - int Colli, - System.DateTime DataPrevista, - string IdxObjMamma, - string CodStato, - string minStato, - string maxStato) { - v_righeRow rowv_righeRow = ((v_righeRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - Cod, - Stato, - CodCliente, - Cliente, - CodCli, - descrizione, - DDT, - DataDDT, - DataArrivo, - Posizione, - Qta, - Peso, - Colli, - DataPrevista, - IdxObjMamma, - CodStato, - minStato, - maxStato}; - rowv_righeRow.ItemArray = columnValuesArray; - this.Rows.Add(rowv_righeRow); - return rowv_righeRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_righeRow FindByCod(string Cod) { - return ((v_righeRow)(this.Rows.Find(new object[] { - Cod}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - v_righeDataTable cln = ((v_righeDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new v_righeDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnCod = base.Columns["Cod"]; - this.columnStato = base.Columns["Stato"]; - this.columnCodCliente = base.Columns["CodCliente"]; - this.columnCliente = base.Columns["Cliente"]; - this.columnCodCli = base.Columns["CodCli"]; - this.columndescrizione = base.Columns["descrizione"]; - this.columnDDT = base.Columns["DDT"]; - this.columnDataDDT = base.Columns["DataDDT"]; - this.columnDataArrivo = base.Columns["DataArrivo"]; - this.columnPosizione = base.Columns["Posizione"]; - this.columnQta = base.Columns["Qta"]; - this.columnPeso = base.Columns["Peso"]; - this.columnColli = base.Columns["Colli"]; - this.columnDataPrevista = base.Columns["DataPrevista"]; - this.columnIdxObjMamma = base.Columns["IdxObjMamma"]; - this.columnCodStato = base.Columns["CodStato"]; - this.columnminStato = base.Columns["minStato"]; - this.columnmaxStato = base.Columns["maxStato"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnCod = new global::System.Data.DataColumn("Cod", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCod); - this.columnStato = new global::System.Data.DataColumn("Stato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnStato); - this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodCliente); - this.columnCliente = new global::System.Data.DataColumn("Cliente", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCliente); - this.columnCodCli = new global::System.Data.DataColumn("CodCli", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodCli); - this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columndescrizione); - this.columnDDT = new global::System.Data.DataColumn("DDT", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDDT); - this.columnDataDDT = new global::System.Data.DataColumn("DataDDT", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDataDDT); - this.columnDataArrivo = new global::System.Data.DataColumn("DataArrivo", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDataArrivo); - this.columnPosizione = new global::System.Data.DataColumn("Posizione", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnPosizione); - this.columnQta = new global::System.Data.DataColumn("Qta", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnQta); - this.columnPeso = new global::System.Data.DataColumn("Peso", typeof(double), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnPeso); - this.columnColli = new global::System.Data.DataColumn("Colli", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnColli); - this.columnDataPrevista = new global::System.Data.DataColumn("DataPrevista", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDataPrevista); - this.columnIdxObjMamma = new global::System.Data.DataColumn("IdxObjMamma", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnIdxObjMamma); - this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodStato); - this.columnminStato = new global::System.Data.DataColumn("minStato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnminStato); - this.columnmaxStato = new global::System.Data.DataColumn("maxStato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnmaxStato); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnCod}, true)); - this.columnCod.AllowDBNull = false; - this.columnCod.Unique = true; - this.columnCod.MaxLength = 50; - this.columnStato.MaxLength = 50; - this.columnCodCliente.ReadOnly = true; - this.columnCodCliente.MaxLength = 50; - this.columnCliente.ReadOnly = true; - this.columnCliente.MaxLength = 50; - this.columnCodCli.ReadOnly = true; - this.columnCodCli.MaxLength = 50; - this.columndescrizione.ReadOnly = true; - this.columndescrizione.MaxLength = 50; - this.columnDDT.MaxLength = 50; - this.columnPosizione.MaxLength = 50; - this.columnColli.ReadOnly = true; - this.columnIdxObjMamma.MaxLength = 50; - this.columnCodStato.MaxLength = 50; - this.columnminStato.MaxLength = 50; - this.columnmaxStato.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_righeRow Newv_righeRow() { - return ((v_righeRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new v_righeRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(v_righeRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.v_righeRowChanged != null)) { - this.v_righeRowChanged(this, new v_righeRowChangeEvent(((v_righeRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.v_righeRowChanging != null)) { - this.v_righeRowChanging(this, new v_righeRowChangeEvent(((v_righeRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.v_righeRowDeleted != null)) { - this.v_righeRowDeleted(this, new v_righeRowChangeEvent(((v_righeRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.v_righeRowDeleting != null)) { - this.v_righeRowDeleting(this, new v_righeRowChangeEvent(((v_righeRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removev_righeRow(v_righeRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_applicazione ds = new DS_applicazione(); - 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 = "v_righeDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class sp_rec4DayDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnrec4Day; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_rec4DayDataTable() { - this.TableName = "sp_rec4Day"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal sp_rec4DayDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected sp_rec4DayDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn rec4DayColumn { - get { - return this.columnrec4Day; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_rec4DayRow this[int index] { - get { - return ((sp_rec4DayRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event sp_rec4DayRowChangeEventHandler sp_rec4DayRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event sp_rec4DayRowChangeEventHandler sp_rec4DayRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event sp_rec4DayRowChangeEventHandler sp_rec4DayRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event sp_rec4DayRowChangeEventHandler sp_rec4DayRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addsp_rec4DayRow(sp_rec4DayRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_rec4DayRow Addsp_rec4DayRow(int rec4Day) { - sp_rec4DayRow rowsp_rec4DayRow = ((sp_rec4DayRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - rec4Day}; - rowsp_rec4DayRow.ItemArray = columnValuesArray; - this.Rows.Add(rowsp_rec4DayRow); - return rowsp_rec4DayRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - sp_rec4DayDataTable cln = ((sp_rec4DayDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new sp_rec4DayDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnrec4Day = base.Columns["rec4Day"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnrec4Day = new global::System.Data.DataColumn("rec4Day", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnrec4Day); - this.columnrec4Day.ReadOnly = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_rec4DayRow Newsp_rec4DayRow() { - return ((sp_rec4DayRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new sp_rec4DayRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(sp_rec4DayRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.sp_rec4DayRowChanged != null)) { - this.sp_rec4DayRowChanged(this, new sp_rec4DayRowChangeEvent(((sp_rec4DayRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.sp_rec4DayRowChanging != null)) { - this.sp_rec4DayRowChanging(this, new sp_rec4DayRowChangeEvent(((sp_rec4DayRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.sp_rec4DayRowDeleted != null)) { - this.sp_rec4DayRowDeleted(this, new sp_rec4DayRowChangeEvent(((sp_rec4DayRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.sp_rec4DayRowDeleting != null)) { - this.sp_rec4DayRowDeleting(this, new sp_rec4DayRowChangeEvent(((sp_rec4DayRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removesp_rec4DayRow(sp_rec4DayRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_applicazione ds = new DS_applicazione(); - 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 = "sp_rec4DayDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class v_ULPDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnCod; - - private global::System.Data.DataColumn columnStato; - - private global::System.Data.DataColumn columnCodCliente; - - private global::System.Data.DataColumn columnCliente; - - private global::System.Data.DataColumn columnCodCli; - - private global::System.Data.DataColumn columndescrizione; - - private global::System.Data.DataColumn columnDDT; - - private global::System.Data.DataColumn columnDataDDT; - - private global::System.Data.DataColumn columnDataArrivo; - - private global::System.Data.DataColumn columnPosizione; - - private global::System.Data.DataColumn columnQta; - - private global::System.Data.DataColumn columnPeso; - - private global::System.Data.DataColumn columnDataPrevista; - - private global::System.Data.DataColumn columnIdxObjMamma; - - private global::System.Data.DataColumn columnCodStato; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_ULPDataTable() { - this.TableName = "v_ULP"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_ULPDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected v_ULPDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodColumn { - get { - return this.columnCod; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn StatoColumn { - get { - return this.columnStato; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodClienteColumn { - get { - return this.columnCodCliente; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ClienteColumn { - get { - return this.columnCliente; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodCliColumn { - get { - return this.columnCodCli; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn descrizioneColumn { - get { - return this.columndescrizione; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DDTColumn { - get { - return this.columnDDT; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataDDTColumn { - get { - return this.columnDataDDT; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataArrivoColumn { - get { - return this.columnDataArrivo; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn PosizioneColumn { - get { - return this.columnPosizione; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn QtaColumn { - get { - return this.columnQta; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn PesoColumn { - get { - return this.columnPeso; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataPrevistaColumn { - get { - return this.columnDataPrevista; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn IdxObjMammaColumn { - get { - return this.columnIdxObjMamma; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_ULPRow this[int index] { - get { - return ((v_ULPRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_ULPRowChangeEventHandler v_ULPRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_ULPRowChangeEventHandler v_ULPRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_ULPRowChangeEventHandler v_ULPRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_ULPRowChangeEventHandler v_ULPRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addv_ULPRow(v_ULPRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_ULPRow Addv_ULPRow(string Cod, string Stato, string CodCliente, string Cliente, string CodCli, string descrizione, string DDT, System.DateTime DataDDT, System.DateTime DataArrivo, string Posizione, int Qta, double Peso, System.DateTime DataPrevista, string IdxObjMamma, string CodStato) { - v_ULPRow rowv_ULPRow = ((v_ULPRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - Cod, - Stato, - CodCliente, - Cliente, - CodCli, - descrizione, - DDT, - DataDDT, - DataArrivo, - Posizione, - Qta, - Peso, - DataPrevista, - IdxObjMamma, - CodStato}; - rowv_ULPRow.ItemArray = columnValuesArray; - this.Rows.Add(rowv_ULPRow); - return rowv_ULPRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_ULPRow FindByCod(string Cod) { - return ((v_ULPRow)(this.Rows.Find(new object[] { - Cod}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - v_ULPDataTable cln = ((v_ULPDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new v_ULPDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnCod = base.Columns["Cod"]; - this.columnStato = base.Columns["Stato"]; - this.columnCodCliente = base.Columns["CodCliente"]; - this.columnCliente = base.Columns["Cliente"]; - this.columnCodCli = base.Columns["CodCli"]; - this.columndescrizione = base.Columns["descrizione"]; - this.columnDDT = base.Columns["DDT"]; - this.columnDataDDT = base.Columns["DataDDT"]; - this.columnDataArrivo = base.Columns["DataArrivo"]; - this.columnPosizione = base.Columns["Posizione"]; - this.columnQta = base.Columns["Qta"]; - this.columnPeso = base.Columns["Peso"]; - this.columnDataPrevista = base.Columns["DataPrevista"]; - this.columnIdxObjMamma = base.Columns["IdxObjMamma"]; - this.columnCodStato = base.Columns["CodStato"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnCod = new global::System.Data.DataColumn("Cod", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCod); - this.columnStato = new global::System.Data.DataColumn("Stato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnStato); - this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodCliente); - this.columnCliente = new global::System.Data.DataColumn("Cliente", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCliente); - this.columnCodCli = new global::System.Data.DataColumn("CodCli", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodCli); - this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columndescrizione); - this.columnDDT = new global::System.Data.DataColumn("DDT", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDDT); - this.columnDataDDT = new global::System.Data.DataColumn("DataDDT", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDataDDT); - this.columnDataArrivo = new global::System.Data.DataColumn("DataArrivo", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDataArrivo); - this.columnPosizione = new global::System.Data.DataColumn("Posizione", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnPosizione); - this.columnQta = new global::System.Data.DataColumn("Qta", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnQta); - this.columnPeso = new global::System.Data.DataColumn("Peso", typeof(double), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnPeso); - this.columnDataPrevista = new global::System.Data.DataColumn("DataPrevista", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDataPrevista); - this.columnIdxObjMamma = new global::System.Data.DataColumn("IdxObjMamma", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnIdxObjMamma); - this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodStato); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnCod}, true)); - this.columnCod.AllowDBNull = false; - this.columnCod.Unique = true; - this.columnCod.MaxLength = 50; - this.columnStato.MaxLength = 50; - this.columnCodCliente.ReadOnly = true; - this.columnCodCliente.MaxLength = 50; - this.columnCliente.ReadOnly = true; - this.columnCliente.MaxLength = 50; - this.columnCodCli.ReadOnly = true; - this.columnCodCli.MaxLength = 50; - this.columndescrizione.ReadOnly = true; - this.columndescrizione.MaxLength = 50; - this.columnDDT.MaxLength = 50; - this.columnPosizione.MaxLength = 50; - this.columnQta.ReadOnly = true; - this.columnPeso.ReadOnly = true; - this.columnIdxObjMamma.MaxLength = 50; - this.columnCodStato.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_ULPRow Newv_ULPRow() { - return ((v_ULPRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new v_ULPRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(v_ULPRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.v_ULPRowChanged != null)) { - this.v_ULPRowChanged(this, new v_ULPRowChangeEvent(((v_ULPRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.v_ULPRowChanging != null)) { - this.v_ULPRowChanging(this, new v_ULPRowChangeEvent(((v_ULPRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.v_ULPRowDeleted != null)) { - this.v_ULPRowDeleted(this, new v_ULPRowChangeEvent(((v_ULPRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.v_ULPRowDeleting != null)) { - this.v_ULPRowDeleting(this, new v_ULPRowChangeEvent(((v_ULPRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removev_ULPRow(v_ULPRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_applicazione ds = new DS_applicazione(); - 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 = "v_ULPDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class EventiDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnCodEvento; - - private global::System.Data.DataColumn columnCodTipoEvento; - - private global::System.Data.DataColumn columnDescrEvento; - - private global::System.Data.DataColumn columnAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiDataTable() { - this.TableName = "Eventi"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal EventiDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected EventiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodEventoColumn { - get { - return this.columnCodEvento; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodTipoEventoColumn { - get { - return this.columnCodTipoEvento; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DescrEventoColumn { - get { - return this.columnDescrEvento; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ActionColumn { - get { - return this.columnAction; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiRow this[int index] { - get { - return ((EventiRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event EventiRowChangeEventHandler EventiRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event EventiRowChangeEventHandler EventiRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event EventiRowChangeEventHandler EventiRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event EventiRowChangeEventHandler EventiRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddEventiRow(EventiRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiRow AddEventiRow(string CodEvento, string CodTipoEvento, string DescrEvento, string Action) { - EventiRow rowEventiRow = ((EventiRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - CodEvento, - CodTipoEvento, - DescrEvento, - Action}; - rowEventiRow.ItemArray = columnValuesArray; - this.Rows.Add(rowEventiRow); - return rowEventiRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiRow FindByCodEvento(string CodEvento) { - return ((EventiRow)(this.Rows.Find(new object[] { - CodEvento}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - EventiDataTable cln = ((EventiDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new EventiDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnCodEvento = base.Columns["CodEvento"]; - this.columnCodTipoEvento = base.Columns["CodTipoEvento"]; - this.columnDescrEvento = base.Columns["DescrEvento"]; - this.columnAction = base.Columns["Action"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnCodEvento = new global::System.Data.DataColumn("CodEvento", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodEvento); - this.columnCodTipoEvento = new global::System.Data.DataColumn("CodTipoEvento", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodTipoEvento); - this.columnDescrEvento = new global::System.Data.DataColumn("DescrEvento", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDescrEvento); - this.columnAction = new global::System.Data.DataColumn("Action", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnAction); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnCodEvento}, true)); - this.columnCodEvento.AllowDBNull = false; - this.columnCodEvento.Unique = true; - this.columnCodEvento.MaxLength = 50; - this.columnCodTipoEvento.MaxLength = 50; - this.columnDescrEvento.MaxLength = 50; - this.columnAction.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiRow NewEventiRow() { - return ((EventiRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new EventiRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(EventiRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.EventiRowChanged != null)) { - this.EventiRowChanged(this, new EventiRowChangeEvent(((EventiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.EventiRowChanging != null)) { - this.EventiRowChanging(this, new EventiRowChangeEvent(((EventiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.EventiRowDeleted != null)) { - this.EventiRowDeleted(this, new EventiRowChangeEvent(((EventiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.EventiRowDeleting != null)) { - this.EventiRowDeleting(this, new EventiRowChangeEvent(((EventiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveEventiRow(EventiRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_applicazione ds = new DS_applicazione(); - 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 = "EventiDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class TraEv2StatiDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnCodMappa; - - private global::System.Data.DataColumn columnCodObj; - - private global::System.Data.DataColumn columnCodStato; - - private global::System.Data.DataColumn columnCodEvento; - - private global::System.Data.DataColumn columnNextCodStato; - - private global::System.Data.DataColumn columnCmdPlugin; - - private global::System.Data.DataColumn columntext2show; - - private global::System.Data.DataColumn columndescrComando; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TraEv2StatiDataTable() { - this.TableName = "TraEv2Stati"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal TraEv2StatiDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected TraEv2StatiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodMappaColumn { - get { - return this.columnCodMappa; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodObjColumn { - get { - return this.columnCodObj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] - public global::System.Data.DataColumn CodEventoColumn { - get { - return this.columnCodEvento; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn NextCodStatoColumn { - get { - return this.columnNextCodStato; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CmdPluginColumn { - get { - return this.columnCmdPlugin; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn text2showColumn { - get { - return this.columntext2show; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn descrComandoColumn { - get { - return this.columndescrComando; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TraEv2StatiRow this[int index] { - get { - return ((TraEv2StatiRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event TraEv2StatiRowChangeEventHandler TraEv2StatiRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event TraEv2StatiRowChangeEventHandler TraEv2StatiRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event TraEv2StatiRowChangeEventHandler TraEv2StatiRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event TraEv2StatiRowChangeEventHandler TraEv2StatiRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddTraEv2StatiRow(TraEv2StatiRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TraEv2StatiRow AddTraEv2StatiRow(string CodMappa, string CodObj, string CodStato, EventiRow parentEventiRowByFK_TransizioneEventiStati_Eventi, string NextCodStato, string CmdPlugin, string text2show, string descrComando) { - TraEv2StatiRow rowTraEv2StatiRow = ((TraEv2StatiRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - CodMappa, - CodObj, - CodStato, - null, - NextCodStato, - CmdPlugin, - text2show, - descrComando}; - if ((parentEventiRowByFK_TransizioneEventiStati_Eventi != null)) { - columnValuesArray[3] = parentEventiRowByFK_TransizioneEventiStati_Eventi[0]; - } - rowTraEv2StatiRow.ItemArray = columnValuesArray; - this.Rows.Add(rowTraEv2StatiRow); - return rowTraEv2StatiRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TraEv2StatiRow FindByCodMappaCodObjCodStatoCodEvento(string CodMappa, string CodObj, string CodStato, string CodEvento) { - return ((TraEv2StatiRow)(this.Rows.Find(new object[] { - CodMappa, - CodObj, - CodStato, - CodEvento}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - TraEv2StatiDataTable cln = ((TraEv2StatiDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new TraEv2StatiDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnCodMappa = base.Columns["CodMappa"]; - this.columnCodObj = base.Columns["CodObj"]; - this.columnCodStato = base.Columns["CodStato"]; - this.columnCodEvento = base.Columns["CodEvento"]; - this.columnNextCodStato = base.Columns["NextCodStato"]; - this.columnCmdPlugin = base.Columns["CmdPlugin"]; - this.columntext2show = base.Columns["text2show"]; - this.columndescrComando = base.Columns["descrComando"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnCodMappa = new global::System.Data.DataColumn("CodMappa", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodMappa); - this.columnCodObj = new global::System.Data.DataColumn("CodObj", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodObj); - this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodStato); - this.columnCodEvento = new global::System.Data.DataColumn("CodEvento", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodEvento); - this.columnNextCodStato = new global::System.Data.DataColumn("NextCodStato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnNextCodStato); - this.columnCmdPlugin = new global::System.Data.DataColumn("CmdPlugin", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCmdPlugin); - this.columntext2show = new global::System.Data.DataColumn("text2show", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columntext2show); - this.columndescrComando = new global::System.Data.DataColumn("descrComando", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columndescrComando); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnCodMappa, - this.columnCodObj, - this.columnCodStato, - this.columnCodEvento}, true)); - this.columnCodMappa.AllowDBNull = false; - this.columnCodMappa.MaxLength = 20; - this.columnCodObj.AllowDBNull = false; - this.columnCodObj.MaxLength = 50; - this.columnCodStato.AllowDBNull = false; - this.columnCodStato.MaxLength = 50; - this.columnCodEvento.AllowDBNull = false; - this.columnCodEvento.MaxLength = 50; - this.columnNextCodStato.MaxLength = 50; - this.columnCmdPlugin.MaxLength = 50; - this.columntext2show.MaxLength = 500; - this.columndescrComando.MaxLength = 250; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TraEv2StatiRow NewTraEv2StatiRow() { - return ((TraEv2StatiRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new TraEv2StatiRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(TraEv2StatiRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.TraEv2StatiRowChanged != null)) { - this.TraEv2StatiRowChanged(this, new TraEv2StatiRowChangeEvent(((TraEv2StatiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.TraEv2StatiRowChanging != null)) { - this.TraEv2StatiRowChanging(this, new TraEv2StatiRowChangeEvent(((TraEv2StatiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.TraEv2StatiRowDeleted != null)) { - this.TraEv2StatiRowDeleted(this, new TraEv2StatiRowChangeEvent(((TraEv2StatiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.TraEv2StatiRowDeleting != null)) { - this.TraEv2StatiRowDeleting(this, new TraEv2StatiRowChangeEvent(((TraEv2StatiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveTraEv2StatiRow(TraEv2StatiRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_applicazione ds = new DS_applicazione(); - 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 = "TraEv2StatiDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class v_logStatiDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnIdxObj; - - private global::System.Data.DataColumn columnCodCliente; - - private global::System.Data.DataColumn columnNome; - - private global::System.Data.DataColumn columnDataRif; - - private global::System.Data.DataColumn columnNote; - - private global::System.Data.DataColumn columnExtKey; - - private global::System.Data.DataColumn columnDataOra; - - private global::System.Data.DataColumn columnDescrStato; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_logStatiDataTable() { - this.TableName = "v_logStati"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_logStatiDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected v_logStatiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn IdxObjColumn { - get { - return this.columnIdxObj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodClienteColumn { - get { - return this.columnCodCliente; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn NomeColumn { - get { - return this.columnNome; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataRifColumn { - get { - return this.columnDataRif; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn NoteColumn { - get { - return this.columnNote; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ExtKeyColumn { - get { - return this.columnExtKey; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataOraColumn { - get { - return this.columnDataOra; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_logStatiRow this[int index] { - get { - return ((v_logStatiRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_logStatiRowChangeEventHandler v_logStatiRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_logStatiRowChangeEventHandler v_logStatiRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_logStatiRowChangeEventHandler v_logStatiRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_logStatiRowChangeEventHandler v_logStatiRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addv_logStatiRow(v_logStatiRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_logStatiRow Addv_logStatiRow(string IdxObj, string CodCliente, string Nome, System.DateTime DataRif, string Note, string ExtKey, System.DateTime DataOra, string DescrStato) { - v_logStatiRow rowv_logStatiRow = ((v_logStatiRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - IdxObj, - CodCliente, - Nome, - DataRif, - Note, - ExtKey, - DataOra, - DescrStato}; - rowv_logStatiRow.ItemArray = columnValuesArray; - this.Rows.Add(rowv_logStatiRow); - return rowv_logStatiRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - v_logStatiDataTable cln = ((v_logStatiDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new v_logStatiDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnIdxObj = base.Columns["IdxObj"]; - this.columnCodCliente = base.Columns["CodCliente"]; - this.columnNome = base.Columns["Nome"]; - this.columnDataRif = base.Columns["DataRif"]; - this.columnNote = base.Columns["Note"]; - this.columnExtKey = base.Columns["ExtKey"]; - this.columnDataOra = base.Columns["DataOra"]; - this.columnDescrStato = base.Columns["DescrStato"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnIdxObj = new global::System.Data.DataColumn("IdxObj", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnIdxObj); - this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodCliente); - this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnNome); - this.columnDataRif = new global::System.Data.DataColumn("DataRif", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDataRif); - this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnNote); - this.columnExtKey = new global::System.Data.DataColumn("ExtKey", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnExtKey); - this.columnDataOra = new global::System.Data.DataColumn("DataOra", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDataOra); - this.columnDescrStato = new global::System.Data.DataColumn("DescrStato", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDescrStato); - this.columnIdxObj.AllowDBNull = false; - this.columnIdxObj.MaxLength = 50; - this.columnCodCliente.MaxLength = 50; - this.columnNome.MaxLength = 50; - this.columnNote.MaxLength = 50; - this.columnExtKey.MaxLength = 50; - this.columnDataOra.AllowDBNull = false; - this.columnDescrStato.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_logStatiRow Newv_logStatiRow() { - return ((v_logStatiRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new v_logStatiRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(v_logStatiRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.v_logStatiRowChanged != null)) { - this.v_logStatiRowChanged(this, new v_logStatiRowChangeEvent(((v_logStatiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.v_logStatiRowChanging != null)) { - this.v_logStatiRowChanging(this, new v_logStatiRowChangeEvent(((v_logStatiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.v_logStatiRowDeleted != null)) { - this.v_logStatiRowDeleted(this, new v_logStatiRowChangeEvent(((v_logStatiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.v_logStatiRowDeleting != null)) { - this.v_logStatiRowDeleting(this, new v_logStatiRowChangeEvent(((v_logStatiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removev_logStatiRow(v_logStatiRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_applicazione ds = new DS_applicazione(); - 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 = "v_logStatiDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class sp_contaNonSchedDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnquanti; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_contaNonSchedDataTable() { - this.TableName = "sp_contaNonSched"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal sp_contaNonSchedDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected sp_contaNonSchedDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn quantiColumn { - get { - return this.columnquanti; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_contaNonSchedRow this[int index] { - get { - return ((sp_contaNonSchedRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event sp_contaNonSchedRowChangeEventHandler sp_contaNonSchedRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event sp_contaNonSchedRowChangeEventHandler sp_contaNonSchedRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event sp_contaNonSchedRowChangeEventHandler sp_contaNonSchedRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event sp_contaNonSchedRowChangeEventHandler sp_contaNonSchedRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addsp_contaNonSchedRow(sp_contaNonSchedRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_contaNonSchedRow Addsp_contaNonSchedRow(int quanti) { - sp_contaNonSchedRow rowsp_contaNonSchedRow = ((sp_contaNonSchedRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - quanti}; - rowsp_contaNonSchedRow.ItemArray = columnValuesArray; - this.Rows.Add(rowsp_contaNonSchedRow); - return rowsp_contaNonSchedRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - sp_contaNonSchedDataTable cln = ((sp_contaNonSchedDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new sp_contaNonSchedDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnquanti = base.Columns["quanti"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnquanti = new global::System.Data.DataColumn("quanti", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnquanti); - this.columnquanti.ReadOnly = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_contaNonSchedRow Newsp_contaNonSchedRow() { - return ((sp_contaNonSchedRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new sp_contaNonSchedRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(sp_contaNonSchedRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.sp_contaNonSchedRowChanged != null)) { - this.sp_contaNonSchedRowChanged(this, new sp_contaNonSchedRowChangeEvent(((sp_contaNonSchedRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.sp_contaNonSchedRowChanging != null)) { - this.sp_contaNonSchedRowChanging(this, new sp_contaNonSchedRowChangeEvent(((sp_contaNonSchedRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.sp_contaNonSchedRowDeleted != null)) { - this.sp_contaNonSchedRowDeleted(this, new sp_contaNonSchedRowChangeEvent(((sp_contaNonSchedRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.sp_contaNonSchedRowDeleting != null)) { - this.sp_contaNonSchedRowDeleting(this, new sp_contaNonSchedRowChangeEvent(((sp_contaNonSchedRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removesp_contaNonSchedRow(sp_contaNonSchedRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_applicazione ds = new DS_applicazione(); - 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 = "sp_contaNonSchedDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class sp_schedaIdentDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnIdxObj; - - private global::System.Data.DataColumn columnCliente; - - private global::System.Data.DataColumn columnDDT; - - private global::System.Data.DataColumn columnDDT_del; - - private global::System.Data.DataColumn columnDataArrivo; - - private global::System.Data.DataColumn columnCodProdotto; - - private global::System.Data.DataColumn columnConsegnaPrevista; - - private global::System.Data.DataColumn columnPeso; - - private global::System.Data.DataColumn columnFosfManganese; - - private global::System.Data.DataColumn columnBrunitura; - - private global::System.Data.DataColumn columnFosfTeflon; - - private global::System.Data.DataColumn columnSabbiatura; - - private global::System.Data.DataColumn columnF1; - - private global::System.Data.DataColumn columnF2; - - private global::System.Data.DataColumn columnFosfZinco; - - private global::System.Data.DataColumn columnTeflon; - - private global::System.Data.DataColumn columnFosfPreVern; - - private global::System.Data.DataColumn columnPzRoto; - - private global::System.Data.DataColumn columnZinchlorex; - - private global::System.Data.DataColumn columnPeekVicote; - - private global::System.Data.DataColumn columnCodCli; - - private global::System.Data.DataColumn columnCodCliente; - - private global::System.Data.DataColumn columnQta; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_schedaIdentDataTable() { - this.TableName = "sp_schedaIdent"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal sp_schedaIdentDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected sp_schedaIdentDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn IdxObjColumn { - get { - return this.columnIdxObj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ClienteColumn { - get { - return this.columnCliente; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DDTColumn { - get { - return this.columnDDT; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DDT_delColumn { - get { - return this.columnDDT_del; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataArrivoColumn { - get { - return this.columnDataArrivo; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodProdottoColumn { - get { - return this.columnCodProdotto; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ConsegnaPrevistaColumn { - get { - return this.columnConsegnaPrevista; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn PesoColumn { - get { - return this.columnPeso; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn FosfManganeseColumn { - get { - return this.columnFosfManganese; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn BrunituraColumn { - get { - return this.columnBrunitura; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn FosfTeflonColumn { - get { - return this.columnFosfTeflon; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn SabbiaturaColumn { - get { - return this.columnSabbiatura; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn F1Column { - get { - return this.columnF1; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn F2Column { - get { - return this.columnF2; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn FosfZincoColumn { - get { - return this.columnFosfZinco; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn TeflonColumn { - get { - return this.columnTeflon; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn FosfPreVernColumn { - get { - return this.columnFosfPreVern; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn PzRotoColumn { - get { - return this.columnPzRoto; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ZinchlorexColumn { - get { - return this.columnZinchlorex; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn PeekVicoteColumn { - get { - return this.columnPeekVicote; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodCliColumn { - get { - return this.columnCodCli; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CodClienteColumn { - get { - return this.columnCodCliente; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn QtaColumn { - get { - return this.columnQta; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_schedaIdentRow this[int index] { - get { - return ((sp_schedaIdentRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event sp_schedaIdentRowChangeEventHandler sp_schedaIdentRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event sp_schedaIdentRowChangeEventHandler sp_schedaIdentRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event sp_schedaIdentRowChangeEventHandler sp_schedaIdentRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event sp_schedaIdentRowChangeEventHandler sp_schedaIdentRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addsp_schedaIdentRow(sp_schedaIdentRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_schedaIdentRow Addsp_schedaIdentRow( - string IdxObj, - string Cliente, - string DDT, - System.DateTime DDT_del, - System.DateTime DataArrivo, - string CodProdotto, - System.DateTime ConsegnaPrevista, - double Peso, - string FosfManganese, - string Brunitura, - string FosfTeflon, - string Sabbiatura, - string F1, - string F2, - string FosfZinco, - string Teflon, - string FosfPreVern, - string PzRoto, - string Zinchlorex, - string PeekVicote, - string CodCli, - string CodCliente, - int Qta) { - sp_schedaIdentRow rowsp_schedaIdentRow = ((sp_schedaIdentRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - IdxObj, - Cliente, - DDT, - DDT_del, - DataArrivo, - CodProdotto, - ConsegnaPrevista, - Peso, - FosfManganese, - Brunitura, - FosfTeflon, - Sabbiatura, - F1, - F2, - FosfZinco, - Teflon, - FosfPreVern, - PzRoto, - Zinchlorex, - PeekVicote, - CodCli, - CodCliente, - Qta}; - rowsp_schedaIdentRow.ItemArray = columnValuesArray; - this.Rows.Add(rowsp_schedaIdentRow); - return rowsp_schedaIdentRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_schedaIdentRow FindByIdxObj(string IdxObj) { - return ((sp_schedaIdentRow)(this.Rows.Find(new object[] { - IdxObj}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - sp_schedaIdentDataTable cln = ((sp_schedaIdentDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new sp_schedaIdentDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnIdxObj = base.Columns["IdxObj"]; - this.columnCliente = base.Columns["Cliente"]; - this.columnDDT = base.Columns["DDT"]; - this.columnDDT_del = base.Columns["DDT_del"]; - this.columnDataArrivo = base.Columns["DataArrivo"]; - this.columnCodProdotto = base.Columns["CodProdotto"]; - this.columnConsegnaPrevista = base.Columns["ConsegnaPrevista"]; - this.columnPeso = base.Columns["Peso"]; - this.columnFosfManganese = base.Columns["FosfManganese"]; - this.columnBrunitura = base.Columns["Brunitura"]; - this.columnFosfTeflon = base.Columns["FosfTeflon"]; - this.columnSabbiatura = base.Columns["Sabbiatura"]; - this.columnF1 = base.Columns["F1"]; - this.columnF2 = base.Columns["F2"]; - this.columnFosfZinco = base.Columns["FosfZinco"]; - this.columnTeflon = base.Columns["Teflon"]; - this.columnFosfPreVern = base.Columns["FosfPreVern"]; - this.columnPzRoto = base.Columns["PzRoto"]; - this.columnZinchlorex = base.Columns["Zinchlorex"]; - this.columnPeekVicote = base.Columns["PeekVicote"]; - this.columnCodCli = base.Columns["CodCli"]; - this.columnCodCliente = base.Columns["CodCliente"]; - this.columnQta = base.Columns["Qta"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnIdxObj = new global::System.Data.DataColumn("IdxObj", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnIdxObj); - this.columnCliente = new global::System.Data.DataColumn("Cliente", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCliente); - this.columnDDT = new global::System.Data.DataColumn("DDT", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDDT); - this.columnDDT_del = new global::System.Data.DataColumn("DDT_del", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDDT_del); - this.columnDataArrivo = new global::System.Data.DataColumn("DataArrivo", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDataArrivo); - this.columnCodProdotto = new global::System.Data.DataColumn("CodProdotto", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodProdotto); - this.columnConsegnaPrevista = new global::System.Data.DataColumn("ConsegnaPrevista", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnConsegnaPrevista); - this.columnPeso = new global::System.Data.DataColumn("Peso", typeof(double), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnPeso); - this.columnFosfManganese = new global::System.Data.DataColumn("FosfManganese", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnFosfManganese); - this.columnBrunitura = new global::System.Data.DataColumn("Brunitura", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnBrunitura); - this.columnFosfTeflon = new global::System.Data.DataColumn("FosfTeflon", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnFosfTeflon); - this.columnSabbiatura = new global::System.Data.DataColumn("Sabbiatura", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnSabbiatura); - this.columnF1 = new global::System.Data.DataColumn("F1", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnF1); - this.columnF2 = new global::System.Data.DataColumn("F2", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnF2); - this.columnFosfZinco = new global::System.Data.DataColumn("FosfZinco", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnFosfZinco); - this.columnTeflon = new global::System.Data.DataColumn("Teflon", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnTeflon); - this.columnFosfPreVern = new global::System.Data.DataColumn("FosfPreVern", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnFosfPreVern); - this.columnPzRoto = new global::System.Data.DataColumn("PzRoto", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnPzRoto); - this.columnZinchlorex = new global::System.Data.DataColumn("Zinchlorex", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnZinchlorex); - this.columnPeekVicote = new global::System.Data.DataColumn("PeekVicote", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnPeekVicote); - this.columnCodCli = new global::System.Data.DataColumn("CodCli", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodCli); - this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodCliente); - this.columnQta = new global::System.Data.DataColumn("Qta", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnQta); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnIdxObj}, true)); - this.columnIdxObj.AllowDBNull = false; - this.columnIdxObj.Unique = true; - this.columnIdxObj.MaxLength = 50; - this.columnCliente.ReadOnly = true; - this.columnCliente.MaxLength = 250; - this.columnDDT.MaxLength = 50; - this.columnCodProdotto.ReadOnly = true; - this.columnCodProdotto.MaxLength = 50; - this.columnPeso.ReadOnly = true; - this.columnFosfManganese.ReadOnly = true; - this.columnFosfManganese.MaxLength = 1; - this.columnBrunitura.ReadOnly = true; - this.columnBrunitura.MaxLength = 1; - this.columnFosfTeflon.ReadOnly = true; - this.columnFosfTeflon.MaxLength = 1; - this.columnSabbiatura.ReadOnly = true; - this.columnSabbiatura.MaxLength = 1; - this.columnF1.ReadOnly = true; - this.columnF1.MaxLength = 1; - this.columnF2.ReadOnly = true; - this.columnF2.MaxLength = 1; - this.columnFosfZinco.ReadOnly = true; - this.columnFosfZinco.MaxLength = 1; - this.columnTeflon.ReadOnly = true; - this.columnTeflon.MaxLength = 1; - this.columnFosfPreVern.ReadOnly = true; - this.columnFosfPreVern.MaxLength = 1; - this.columnPzRoto.ReadOnly = true; - this.columnPzRoto.MaxLength = 1; - this.columnZinchlorex.ReadOnly = true; - this.columnZinchlorex.MaxLength = 1; - this.columnPeekVicote.ReadOnly = true; - this.columnPeekVicote.MaxLength = 1; - this.columnCodCli.ReadOnly = true; - this.columnCodCli.MaxLength = 50; - this.columnCodCliente.ReadOnly = true; - this.columnCodCliente.MaxLength = 50; - this.columnQta.ReadOnly = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_schedaIdentRow Newsp_schedaIdentRow() { - return ((sp_schedaIdentRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new sp_schedaIdentRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(sp_schedaIdentRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.sp_schedaIdentRowChanged != null)) { - this.sp_schedaIdentRowChanged(this, new sp_schedaIdentRowChangeEvent(((sp_schedaIdentRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.sp_schedaIdentRowChanging != null)) { - this.sp_schedaIdentRowChanging(this, new sp_schedaIdentRowChangeEvent(((sp_schedaIdentRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.sp_schedaIdentRowDeleted != null)) { - this.sp_schedaIdentRowDeleted(this, new sp_schedaIdentRowChangeEvent(((sp_schedaIdentRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.sp_schedaIdentRowDeleting != null)) { - this.sp_schedaIdentRowDeleting(this, new sp_schedaIdentRowChangeEvent(((sp_schedaIdentRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removesp_schedaIdentRow(sp_schedaIdentRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_applicazione ds = new DS_applicazione(); - 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 = "sp_schedaIdentDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class sp_ddtDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnIdxObj; - - private global::System.Data.DataColumn columnDataCreaz; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_ddtDataTable() { - this.TableName = "sp_ddt"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal sp_ddtDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected sp_ddtDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn IdxObjColumn { - get { - return this.columnIdxObj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataCreazColumn { - get { - return this.columnDataCreaz; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_ddtRow this[int index] { - get { - return ((sp_ddtRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event sp_ddtRowChangeEventHandler sp_ddtRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event sp_ddtRowChangeEventHandler sp_ddtRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event sp_ddtRowChangeEventHandler sp_ddtRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event sp_ddtRowChangeEventHandler sp_ddtRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addsp_ddtRow(sp_ddtRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_ddtRow Addsp_ddtRow(string IdxObj, System.DateTime DataCreaz) { - sp_ddtRow rowsp_ddtRow = ((sp_ddtRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - IdxObj, - DataCreaz}; - rowsp_ddtRow.ItemArray = columnValuesArray; - this.Rows.Add(rowsp_ddtRow); - return rowsp_ddtRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_ddtRow FindByIdxObj(string IdxObj) { - return ((sp_ddtRow)(this.Rows.Find(new object[] { - IdxObj}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - sp_ddtDataTable cln = ((sp_ddtDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new sp_ddtDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnIdxObj = base.Columns["IdxObj"]; - this.columnDataCreaz = base.Columns["DataCreaz"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnIdxObj = new global::System.Data.DataColumn("IdxObj", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnIdxObj); - this.columnDataCreaz = new global::System.Data.DataColumn("DataCreaz", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDataCreaz); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnIdxObj}, true)); - this.columnIdxObj.AllowDBNull = false; - this.columnIdxObj.Unique = true; - this.columnIdxObj.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_ddtRow Newsp_ddtRow() { - return ((sp_ddtRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new sp_ddtRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(sp_ddtRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.sp_ddtRowChanged != null)) { - this.sp_ddtRowChanged(this, new sp_ddtRowChangeEvent(((sp_ddtRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.sp_ddtRowChanging != null)) { - this.sp_ddtRowChanging(this, new sp_ddtRowChangeEvent(((sp_ddtRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.sp_ddtRowDeleted != null)) { - this.sp_ddtRowDeleted(this, new sp_ddtRowChangeEvent(((sp_ddtRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.sp_ddtRowDeleting != null)) { - this.sp_ddtRowDeleting(this, new sp_ddtRowChangeEvent(((sp_ddtRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removesp_ddtRow(sp_ddtRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_applicazione ds = new DS_applicazione(); - 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 = "sp_ddtDataTable"; - 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. - /// - public partial class AnagClientiRow : global::System.Data.DataRow { - - private AnagClientiDataTable tableAnagClienti; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal AnagClientiRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableAnagClienti = ((AnagClientiDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodCliente { - get { - return ((string)(this[this.tableAnagClienti.CodClienteColumn])); - } - set { - this[this.tableAnagClienti.CodClienteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string RagioneSociale { - get { - try { - return ((string)(this[this.tableAnagClienti.RagioneSocialeColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'RagioneSociale\' in table \'AnagClienti\' is DBNull.", e); - } - } - set { - this[this.tableAnagClienti.RagioneSocialeColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string piva { - get { - try { - return ((string)(this[this.tableAnagClienti.pivaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'piva\' in table \'AnagClienti\' is DBNull.", e); - } - } - set { - this[this.tableAnagClienti.pivaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string email { - get { - try { - return ((string)(this[this.tableAnagClienti.emailColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'email\' in table \'AnagClienti\' is DBNull.", e); - } - } - set { - this[this.tableAnagClienti.emailColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string indirizzo { - get { - try { - return ((string)(this[this.tableAnagClienti.indirizzoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'indirizzo\' in table \'AnagClienti\' is DBNull.", e); - } - } - set { - this[this.tableAnagClienti.indirizzoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cap { - get { - try { - return ((string)(this[this.tableAnagClienti.capColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cap\' in table \'AnagClienti\' is DBNull.", e); - } - } - set { - this[this.tableAnagClienti.capColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string localita { - get { - try { - return ((string)(this[this.tableAnagClienti.localitaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'localita\' in table \'AnagClienti\' is DBNull.", e); - } - } - set { - this[this.tableAnagClienti.localitaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string provincia { - get { - try { - return ((string)(this[this.tableAnagClienti.provinciaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'provincia\' in table \'AnagClienti\' is DBNull.", e); - } - } - set { - this[this.tableAnagClienti.provinciaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsRagioneSocialeNull() { - return this.IsNull(this.tableAnagClienti.RagioneSocialeColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetRagioneSocialeNull() { - this[this.tableAnagClienti.RagioneSocialeColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IspivaNull() { - return this.IsNull(this.tableAnagClienti.pivaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetpivaNull() { - this[this.tableAnagClienti.pivaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsemailNull() { - return this.IsNull(this.tableAnagClienti.emailColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetemailNull() { - this[this.tableAnagClienti.emailColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsindirizzoNull() { - return this.IsNull(this.tableAnagClienti.indirizzoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetindirizzoNull() { - this[this.tableAnagClienti.indirizzoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscapNull() { - return this.IsNull(this.tableAnagClienti.capColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcapNull() { - this[this.tableAnagClienti.capColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IslocalitaNull() { - return this.IsNull(this.tableAnagClienti.localitaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetlocalitaNull() { - this[this.tableAnagClienti.localitaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsprovinciaNull() { - return this.IsNull(this.tableAnagClienti.provinciaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetprovinciaNull() { - this[this.tableAnagClienti.provinciaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public IstObjRow[] GetIstObjRows() { - if ((this.Table.ChildRelations["FK_IstObj_AnagClienti"] == null)) { - return new IstObjRow[0]; - } - else { - return ((IstObjRow[])(base.GetChildRows(this.Table.ChildRelations["FK_IstObj_AnagClienti"]))); - } - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class AnagTrattamentiRow : global::System.Data.DataRow { - - private AnagTrattamentiDataTable tableAnagTrattamenti; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal AnagTrattamentiRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableAnagTrattamenti = ((AnagTrattamentiDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodTrattamento { - get { - return ((string)(this[this.tableAnagTrattamenti.CodTrattamentoColumn])); - } - set { - this[this.tableAnagTrattamenti.CodTrattamentoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string DescrTrattamento { - get { - try { - return ((string)(this[this.tableAnagTrattamenti.DescrTrattamentoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DescrTrattamento\' in table \'AnagTrattamenti\' is DBNull.", e); - } - } - set { - this[this.tableAnagTrattamenti.DescrTrattamentoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDescrTrattamentoNull() { - return this.IsNull(this.tableAnagTrattamenti.DescrTrattamentoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDescrTrattamentoNull() { - this[this.tableAnagTrattamenti.DescrTrattamentoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Tratt2ObjRow[] GetTratt2ObjRows() { - if ((this.Table.ChildRelations["FK_Tratt2Obj_AnagTrattamenti"] == null)) { - return new Tratt2ObjRow[0]; - } - else { - return ((Tratt2ObjRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Tratt2Obj_AnagTrattamenti"]))); - } - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class Tratt2ObjRow : global::System.Data.DataRow { - - private Tratt2ObjDataTable tableTratt2Obj; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal Tratt2ObjRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableTratt2Obj = ((Tratt2ObjDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string IdxObj { - get { - return ((string)(this[this.tableTratt2Obj.IdxObjColumn])); - } - set { - this[this.tableTratt2Obj.IdxObjColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodTrattamento { - get { - return ((string)(this[this.tableTratt2Obj.CodTrattamentoColumn])); - } - set { - this[this.tableTratt2Obj.CodTrattamentoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Note { - get { - try { - return ((string)(this[this.tableTratt2Obj.NoteColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'Tratt2Obj\' is DBNull.", e); - } - } - set { - this[this.tableTratt2Obj.NoteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagTrattamentiRow AnagTrattamentiRow { - get { - return ((AnagTrattamentiRow)(this.GetParentRow(this.Table.ParentRelations["FK_Tratt2Obj_AnagTrattamenti"]))); - } - set { - this.SetParentRow(value, this.Table.ParentRelations["FK_Tratt2Obj_AnagTrattamenti"]); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public IstObjRow IstObjRow { - get { - return ((IstObjRow)(this.GetParentRow(this.Table.ParentRelations["FK_Tratt2Obj_IstObj"]))); - } - set { - this.SetParentRow(value, this.Table.ParentRelations["FK_Tratt2Obj_IstObj"]); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsNoteNull() { - return this.IsNull(this.tableTratt2Obj.NoteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetNoteNull() { - this[this.tableTratt2Obj.NoteColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class v_commesseRow : global::System.Data.DataRow { - - private v_commesseDataTable tablev_commesse; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_commesseRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablev_commesse = ((v_commesseDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Cod { - get { - return ((string)(this[this.tablev_commesse.CodColumn])); - } - set { - this[this.tablev_commesse.CodColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Stato { - get { - try { - return ((string)(this[this.tablev_commesse.StatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Stato\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.StatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodCliente { - get { - try { - return ((string)(this[this.tablev_commesse.CodClienteColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.CodClienteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Cliente { - get { - try { - return ((string)(this[this.tablev_commesse.ClienteColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Cliente\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.ClienteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string descrizione { - get { - try { - return ((string)(this[this.tablev_commesse.descrizioneColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.descrizioneColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string DDT { - get { - try { - return ((string)(this[this.tablev_commesse.DDTColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DDT\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.DDTColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DataDDT { - get { - try { - return ((global::System.DateTime)(this[this.tablev_commesse.DataDDTColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DataDDT\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.DataDDTColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DataArrivo { - get { - try { - return ((global::System.DateTime)(this[this.tablev_commesse.DataArrivoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DataArrivo\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.DataArrivoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Posizione { - get { - try { - return ((string)(this[this.tablev_commesse.PosizioneColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Posizione\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.PosizioneColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Qta { - get { - try { - return ((int)(this[this.tablev_commesse.QtaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.QtaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public double Peso { - get { - try { - return ((double)(this[this.tablev_commesse.PesoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Peso\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.PesoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Righe { - get { - try { - return ((int)(this[this.tablev_commesse.RigheColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Righe\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.RigheColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Colli { - get { - try { - return ((int)(this[this.tablev_commesse.ColliColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Colli\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.ColliColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DataPrevista { - get { - try { - return ((global::System.DateTime)(this[this.tablev_commesse.DataPrevistaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DataPrevista\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.DataPrevistaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Ciclo { - get { - try { - return ((string)(this[this.tablev_commesse.CicloColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Ciclo\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.CicloColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodStato { - get { - try { - return ((string)(this[this.tablev_commesse.CodStatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodStato\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.CodStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string minStato { - get { - try { - return ((string)(this[this.tablev_commesse.minStatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'minStato\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.minStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string maxStato { - get { - try { - return ((string)(this[this.tablev_commesse.maxStatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'maxStato\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.maxStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string minCodStato { - get { - try { - return ((string)(this[this.tablev_commesse.minCodStatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'minCodStato\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.minCodStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string maxCodStato { - get { - try { - return ((string)(this[this.tablev_commesse.maxCodStatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'maxCodStato\' in table \'v_commesse\' is DBNull.", e); - } - } - set { - this[this.tablev_commesse.maxCodStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsStatoNull() { - return this.IsNull(this.tablev_commesse.StatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetStatoNull() { - this[this.tablev_commesse.StatoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodClienteNull() { - return this.IsNull(this.tablev_commesse.CodClienteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodClienteNull() { - this[this.tablev_commesse.CodClienteColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsClienteNull() { - return this.IsNull(this.tablev_commesse.ClienteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetClienteNull() { - this[this.tablev_commesse.ClienteColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsdescrizioneNull() { - return this.IsNull(this.tablev_commesse.descrizioneColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetdescrizioneNull() { - this[this.tablev_commesse.descrizioneColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDDTNull() { - return this.IsNull(this.tablev_commesse.DDTColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDDTNull() { - this[this.tablev_commesse.DDTColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDataDDTNull() { - return this.IsNull(this.tablev_commesse.DataDDTColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDataDDTNull() { - this[this.tablev_commesse.DataDDTColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDataArrivoNull() { - return this.IsNull(this.tablev_commesse.DataArrivoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDataArrivoNull() { - this[this.tablev_commesse.DataArrivoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsPosizioneNull() { - return this.IsNull(this.tablev_commesse.PosizioneColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetPosizioneNull() { - this[this.tablev_commesse.PosizioneColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsQtaNull() { - return this.IsNull(this.tablev_commesse.QtaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetQtaNull() { - this[this.tablev_commesse.QtaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsPesoNull() { - return this.IsNull(this.tablev_commesse.PesoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetPesoNull() { - this[this.tablev_commesse.PesoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsRigheNull() { - return this.IsNull(this.tablev_commesse.RigheColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetRigheNull() { - this[this.tablev_commesse.RigheColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsColliNull() { - return this.IsNull(this.tablev_commesse.ColliColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetColliNull() { - this[this.tablev_commesse.ColliColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDataPrevistaNull() { - return this.IsNull(this.tablev_commesse.DataPrevistaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDataPrevistaNull() { - this[this.tablev_commesse.DataPrevistaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCicloNull() { - return this.IsNull(this.tablev_commesse.CicloColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCicloNull() { - this[this.tablev_commesse.CicloColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodStatoNull() { - return this.IsNull(this.tablev_commesse.CodStatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodStatoNull() { - this[this.tablev_commesse.CodStatoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsminStatoNull() { - return this.IsNull(this.tablev_commesse.minStatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetminStatoNull() { - this[this.tablev_commesse.minStatoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsmaxStatoNull() { - return this.IsNull(this.tablev_commesse.maxStatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetmaxStatoNull() { - this[this.tablev_commesse.maxStatoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsminCodStatoNull() { - return this.IsNull(this.tablev_commesse.minCodStatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetminCodStatoNull() { - this[this.tablev_commesse.minCodStatoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsmaxCodStatoNull() { - return this.IsNull(this.tablev_commesse.maxCodStatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetmaxCodStatoNull() { - this[this.tablev_commesse.maxCodStatoColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class IstObjRow : global::System.Data.DataRow { - - private IstObjDataTable tableIstObj; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal IstObjRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableIstObj = ((IstObjDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string IdxObj { - get { - return ((string)(this[this.tableIstObj.IdxObjColumn])); - } - set { - this[this.tableIstObj.IdxObjColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodCliente { - get { - try { - return ((string)(this[this.tableIstObj.CodClienteColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.CodClienteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodStato { - get { - try { - return ((string)(this[this.tableIstObj.CodStatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodStato\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.CodStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Posizione { - get { - try { - return ((string)(this[this.tableIstObj.PosizioneColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Posizione\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.PosizioneColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Livello { - get { - try { - return ((int)(this[this.tableIstObj.LivelloColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Livello\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.LivelloColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Rev { - get { - try { - return ((int)(this[this.tableIstObj.RevColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Rev\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.RevColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodObj { - get { - try { - return ((string)(this[this.tableIstObj.CodObjColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodObj\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.CodObjColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Nome { - get { - try { - return ((string)(this[this.tableIstObj.NomeColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.NomeColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DataRif { - get { - try { - return ((global::System.DateTime)(this[this.tableIstObj.DataRifColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DataRif\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.DataRifColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string IdxObjMamma { - get { - try { - return ((string)(this[this.tableIstObj.IdxObjMammaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'IdxObjMamma\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.IdxObjMammaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Note { - get { - try { - return ((string)(this[this.tableIstObj.NoteColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.NoteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string ExtKey { - get { - try { - return ((string)(this[this.tableIstObj.ExtKeyColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'ExtKey\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.ExtKeyColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DueDate { - get { - try { - return ((global::System.DateTime)(this[this.tableIstObj.DueDateColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DueDate\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.DueDateColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public double LeadTime { - get { - try { - return ((double)(this[this.tableIstObj.LeadTimeColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'LeadTime\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.LeadTimeColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string LeadTimeUM { - get { - try { - return ((string)(this[this.tableIstObj.LeadTimeUMColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'LeadTimeUM\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.LeadTimeUMColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string UserCreaz { - get { - try { - return ((string)(this[this.tableIstObj.UserCreazColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'UserCreaz\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.UserCreazColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DataCreaz { - get { - try { - return ((global::System.DateTime)(this[this.tableIstObj.DataCreazColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DataCreaz\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.DataCreazColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string UserMod { - get { - try { - return ((string)(this[this.tableIstObj.UserModColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'UserMod\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.UserModColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DataMod { - get { - try { - return ((global::System.DateTime)(this[this.tableIstObj.DataModColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DataMod\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.DataModColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Qta { - get { - try { - return ((int)(this[this.tableIstObj.QtaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.QtaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public double Peso { - get { - try { - return ((double)(this[this.tableIstObj.PesoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Peso\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.PesoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool emailReq { - get { - try { - return ((bool)(this[this.tableIstObj.emailReqColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'emailReq\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.emailReqColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime emailSent { - get { - try { - return ((global::System.DateTime)(this[this.tableIstObj.emailSentColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'emailSent\' in table \'IstObj\' is DBNull.", e); - } - } - set { - this[this.tableIstObj.emailSentColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagClientiRow AnagClientiRow { - get { - return ((AnagClientiRow)(this.GetParentRow(this.Table.ParentRelations["FK_IstObj_AnagClienti"]))); - } - set { - this.SetParentRow(value, this.Table.ParentRelations["FK_IstObj_AnagClienti"]); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodClienteNull() { - return this.IsNull(this.tableIstObj.CodClienteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodClienteNull() { - this[this.tableIstObj.CodClienteColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodStatoNull() { - return this.IsNull(this.tableIstObj.CodStatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodStatoNull() { - this[this.tableIstObj.CodStatoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsPosizioneNull() { - return this.IsNull(this.tableIstObj.PosizioneColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetPosizioneNull() { - this[this.tableIstObj.PosizioneColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsLivelloNull() { - return this.IsNull(this.tableIstObj.LivelloColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetLivelloNull() { - this[this.tableIstObj.LivelloColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsRevNull() { - return this.IsNull(this.tableIstObj.RevColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetRevNull() { - this[this.tableIstObj.RevColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodObjNull() { - return this.IsNull(this.tableIstObj.CodObjColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodObjNull() { - this[this.tableIstObj.CodObjColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsNomeNull() { - return this.IsNull(this.tableIstObj.NomeColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetNomeNull() { - this[this.tableIstObj.NomeColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDataRifNull() { - return this.IsNull(this.tableIstObj.DataRifColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDataRifNull() { - this[this.tableIstObj.DataRifColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsIdxObjMammaNull() { - return this.IsNull(this.tableIstObj.IdxObjMammaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetIdxObjMammaNull() { - this[this.tableIstObj.IdxObjMammaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsNoteNull() { - return this.IsNull(this.tableIstObj.NoteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetNoteNull() { - this[this.tableIstObj.NoteColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsExtKeyNull() { - return this.IsNull(this.tableIstObj.ExtKeyColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetExtKeyNull() { - this[this.tableIstObj.ExtKeyColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDueDateNull() { - return this.IsNull(this.tableIstObj.DueDateColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDueDateNull() { - this[this.tableIstObj.DueDateColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsLeadTimeNull() { - return this.IsNull(this.tableIstObj.LeadTimeColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetLeadTimeNull() { - this[this.tableIstObj.LeadTimeColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsLeadTimeUMNull() { - return this.IsNull(this.tableIstObj.LeadTimeUMColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetLeadTimeUMNull() { - this[this.tableIstObj.LeadTimeUMColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsUserCreazNull() { - return this.IsNull(this.tableIstObj.UserCreazColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetUserCreazNull() { - this[this.tableIstObj.UserCreazColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDataCreazNull() { - return this.IsNull(this.tableIstObj.DataCreazColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDataCreazNull() { - this[this.tableIstObj.DataCreazColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsUserModNull() { - return this.IsNull(this.tableIstObj.UserModColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetUserModNull() { - this[this.tableIstObj.UserModColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDataModNull() { - return this.IsNull(this.tableIstObj.DataModColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDataModNull() { - this[this.tableIstObj.DataModColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsQtaNull() { - return this.IsNull(this.tableIstObj.QtaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetQtaNull() { - this[this.tableIstObj.QtaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsPesoNull() { - return this.IsNull(this.tableIstObj.PesoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetPesoNull() { - this[this.tableIstObj.PesoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsemailReqNull() { - return this.IsNull(this.tableIstObj.emailReqColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetemailReqNull() { - this[this.tableIstObj.emailReqColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsemailSentNull() { - return this.IsNull(this.tableIstObj.emailSentColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetemailSentNull() { - this[this.tableIstObj.emailSentColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Tratt2ObjRow[] GetTratt2ObjRows() { - if ((this.Table.ChildRelations["FK_Tratt2Obj_IstObj"] == null)) { - return new Tratt2ObjRow[0]; - } - else { - return ((Tratt2ObjRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Tratt2Obj_IstObj"]))); - } - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class v_righeRow : global::System.Data.DataRow { - - private v_righeDataTable tablev_righe; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_righeRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablev_righe = ((v_righeDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Cod { - get { - return ((string)(this[this.tablev_righe.CodColumn])); - } - set { - this[this.tablev_righe.CodColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Stato { - get { - try { - return ((string)(this[this.tablev_righe.StatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Stato\' in table \'v_righe\' is DBNull.", e); - } - } - set { - this[this.tablev_righe.StatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodCliente { - get { - try { - return ((string)(this[this.tablev_righe.CodClienteColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'v_righe\' is DBNull.", e); - } - } - set { - this[this.tablev_righe.CodClienteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Cliente { - get { - try { - return ((string)(this[this.tablev_righe.ClienteColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Cliente\' in table \'v_righe\' is DBNull.", e); - } - } - set { - this[this.tablev_righe.ClienteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodCli { - get { - try { - return ((string)(this[this.tablev_righe.CodCliColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodCli\' in table \'v_righe\' is DBNull.", e); - } - } - set { - this[this.tablev_righe.CodCliColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string descrizione { - get { - try { - return ((string)(this[this.tablev_righe.descrizioneColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'v_righe\' is DBNull.", e); - } - } - set { - this[this.tablev_righe.descrizioneColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string DDT { - get { - try { - return ((string)(this[this.tablev_righe.DDTColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DDT\' in table \'v_righe\' is DBNull.", e); - } - } - set { - this[this.tablev_righe.DDTColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DataDDT { - get { - try { - return ((global::System.DateTime)(this[this.tablev_righe.DataDDTColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DataDDT\' in table \'v_righe\' is DBNull.", e); - } - } - set { - this[this.tablev_righe.DataDDTColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DataArrivo { - get { - try { - return ((global::System.DateTime)(this[this.tablev_righe.DataArrivoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DataArrivo\' in table \'v_righe\' is DBNull.", e); - } - } - set { - this[this.tablev_righe.DataArrivoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Posizione { - get { - try { - return ((string)(this[this.tablev_righe.PosizioneColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Posizione\' in table \'v_righe\' is DBNull.", e); - } - } - set { - this[this.tablev_righe.PosizioneColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Qta { - get { - try { - return ((int)(this[this.tablev_righe.QtaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'v_righe\' is DBNull.", e); - } - } - set { - this[this.tablev_righe.QtaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public double Peso { - get { - try { - return ((double)(this[this.tablev_righe.PesoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Peso\' in table \'v_righe\' is DBNull.", e); - } - } - set { - this[this.tablev_righe.PesoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Colli { - get { - try { - return ((int)(this[this.tablev_righe.ColliColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Colli\' in table \'v_righe\' is DBNull.", e); - } - } - set { - this[this.tablev_righe.ColliColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DataPrevista { - get { - try { - return ((global::System.DateTime)(this[this.tablev_righe.DataPrevistaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DataPrevista\' in table \'v_righe\' is DBNull.", e); - } - } - set { - this[this.tablev_righe.DataPrevistaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string IdxObjMamma { - get { - try { - return ((string)(this[this.tablev_righe.IdxObjMammaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'IdxObjMamma\' in table \'v_righe\' is DBNull.", e); - } - } - set { - this[this.tablev_righe.IdxObjMammaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodStato { - get { - try { - return ((string)(this[this.tablev_righe.CodStatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodStato\' in table \'v_righe\' is DBNull.", e); - } - } - set { - this[this.tablev_righe.CodStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string minStato { - get { - try { - return ((string)(this[this.tablev_righe.minStatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'minStato\' in table \'v_righe\' is DBNull.", e); - } - } - set { - this[this.tablev_righe.minStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string maxStato { - get { - try { - return ((string)(this[this.tablev_righe.maxStatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'maxStato\' in table \'v_righe\' is DBNull.", e); - } - } - set { - this[this.tablev_righe.maxStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsStatoNull() { - return this.IsNull(this.tablev_righe.StatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetStatoNull() { - this[this.tablev_righe.StatoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodClienteNull() { - return this.IsNull(this.tablev_righe.CodClienteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodClienteNull() { - this[this.tablev_righe.CodClienteColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsClienteNull() { - return this.IsNull(this.tablev_righe.ClienteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetClienteNull() { - this[this.tablev_righe.ClienteColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodCliNull() { - return this.IsNull(this.tablev_righe.CodCliColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodCliNull() { - this[this.tablev_righe.CodCliColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsdescrizioneNull() { - return this.IsNull(this.tablev_righe.descrizioneColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetdescrizioneNull() { - this[this.tablev_righe.descrizioneColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDDTNull() { - return this.IsNull(this.tablev_righe.DDTColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDDTNull() { - this[this.tablev_righe.DDTColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDataDDTNull() { - return this.IsNull(this.tablev_righe.DataDDTColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDataDDTNull() { - this[this.tablev_righe.DataDDTColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDataArrivoNull() { - return this.IsNull(this.tablev_righe.DataArrivoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDataArrivoNull() { - this[this.tablev_righe.DataArrivoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsPosizioneNull() { - return this.IsNull(this.tablev_righe.PosizioneColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetPosizioneNull() { - this[this.tablev_righe.PosizioneColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsQtaNull() { - return this.IsNull(this.tablev_righe.QtaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetQtaNull() { - this[this.tablev_righe.QtaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsPesoNull() { - return this.IsNull(this.tablev_righe.PesoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetPesoNull() { - this[this.tablev_righe.PesoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsColliNull() { - return this.IsNull(this.tablev_righe.ColliColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetColliNull() { - this[this.tablev_righe.ColliColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDataPrevistaNull() { - return this.IsNull(this.tablev_righe.DataPrevistaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDataPrevistaNull() { - this[this.tablev_righe.DataPrevistaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsIdxObjMammaNull() { - return this.IsNull(this.tablev_righe.IdxObjMammaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetIdxObjMammaNull() { - this[this.tablev_righe.IdxObjMammaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodStatoNull() { - return this.IsNull(this.tablev_righe.CodStatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodStatoNull() { - this[this.tablev_righe.CodStatoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsminStatoNull() { - return this.IsNull(this.tablev_righe.minStatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetminStatoNull() { - this[this.tablev_righe.minStatoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsmaxStatoNull() { - return this.IsNull(this.tablev_righe.maxStatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetmaxStatoNull() { - this[this.tablev_righe.maxStatoColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class sp_rec4DayRow : global::System.Data.DataRow { - - private sp_rec4DayDataTable tablesp_rec4Day; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal sp_rec4DayRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablesp_rec4Day = ((sp_rec4DayDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int rec4Day { - get { - try { - return ((int)(this[this.tablesp_rec4Day.rec4DayColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'rec4Day\' in table \'sp_rec4Day\' is DBNull.", e); - } - } - set { - this[this.tablesp_rec4Day.rec4DayColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Isrec4DayNull() { - return this.IsNull(this.tablesp_rec4Day.rec4DayColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setrec4DayNull() { - this[this.tablesp_rec4Day.rec4DayColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class v_ULPRow : global::System.Data.DataRow { - - private v_ULPDataTable tablev_ULP; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_ULPRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablev_ULP = ((v_ULPDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Cod { - get { - return ((string)(this[this.tablev_ULP.CodColumn])); - } - set { - this[this.tablev_ULP.CodColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Stato { - get { - try { - return ((string)(this[this.tablev_ULP.StatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Stato\' in table \'v_ULP\' is DBNull.", e); - } - } - set { - this[this.tablev_ULP.StatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodCliente { - get { - try { - return ((string)(this[this.tablev_ULP.CodClienteColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'v_ULP\' is DBNull.", e); - } - } - set { - this[this.tablev_ULP.CodClienteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Cliente { - get { - try { - return ((string)(this[this.tablev_ULP.ClienteColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Cliente\' in table \'v_ULP\' is DBNull.", e); - } - } - set { - this[this.tablev_ULP.ClienteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodCli { - get { - try { - return ((string)(this[this.tablev_ULP.CodCliColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodCli\' in table \'v_ULP\' is DBNull.", e); - } - } - set { - this[this.tablev_ULP.CodCliColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string descrizione { - get { - try { - return ((string)(this[this.tablev_ULP.descrizioneColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'v_ULP\' is DBNull.", e); - } - } - set { - this[this.tablev_ULP.descrizioneColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string DDT { - get { - try { - return ((string)(this[this.tablev_ULP.DDTColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DDT\' in table \'v_ULP\' is DBNull.", e); - } - } - set { - this[this.tablev_ULP.DDTColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DataDDT { - get { - try { - return ((global::System.DateTime)(this[this.tablev_ULP.DataDDTColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DataDDT\' in table \'v_ULP\' is DBNull.", e); - } - } - set { - this[this.tablev_ULP.DataDDTColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DataArrivo { - get { - try { - return ((global::System.DateTime)(this[this.tablev_ULP.DataArrivoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DataArrivo\' in table \'v_ULP\' is DBNull.", e); - } - } - set { - this[this.tablev_ULP.DataArrivoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Posizione { - get { - try { - return ((string)(this[this.tablev_ULP.PosizioneColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Posizione\' in table \'v_ULP\' is DBNull.", e); - } - } - set { - this[this.tablev_ULP.PosizioneColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Qta { - get { - try { - return ((int)(this[this.tablev_ULP.QtaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'v_ULP\' is DBNull.", e); - } - } - set { - this[this.tablev_ULP.QtaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public double Peso { - get { - try { - return ((double)(this[this.tablev_ULP.PesoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Peso\' in table \'v_ULP\' is DBNull.", e); - } - } - set { - this[this.tablev_ULP.PesoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DataPrevista { - get { - try { - return ((global::System.DateTime)(this[this.tablev_ULP.DataPrevistaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DataPrevista\' in table \'v_ULP\' is DBNull.", e); - } - } - set { - this[this.tablev_ULP.DataPrevistaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string IdxObjMamma { - get { - try { - return ((string)(this[this.tablev_ULP.IdxObjMammaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'IdxObjMamma\' in table \'v_ULP\' is DBNull.", e); - } - } - set { - this[this.tablev_ULP.IdxObjMammaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodStato { - get { - try { - return ((string)(this[this.tablev_ULP.CodStatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodStato\' in table \'v_ULP\' is DBNull.", e); - } - } - set { - this[this.tablev_ULP.CodStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsStatoNull() { - return this.IsNull(this.tablev_ULP.StatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetStatoNull() { - this[this.tablev_ULP.StatoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodClienteNull() { - return this.IsNull(this.tablev_ULP.CodClienteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodClienteNull() { - this[this.tablev_ULP.CodClienteColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsClienteNull() { - return this.IsNull(this.tablev_ULP.ClienteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetClienteNull() { - this[this.tablev_ULP.ClienteColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodCliNull() { - return this.IsNull(this.tablev_ULP.CodCliColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodCliNull() { - this[this.tablev_ULP.CodCliColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsdescrizioneNull() { - return this.IsNull(this.tablev_ULP.descrizioneColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetdescrizioneNull() { - this[this.tablev_ULP.descrizioneColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDDTNull() { - return this.IsNull(this.tablev_ULP.DDTColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDDTNull() { - this[this.tablev_ULP.DDTColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDataDDTNull() { - return this.IsNull(this.tablev_ULP.DataDDTColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDataDDTNull() { - this[this.tablev_ULP.DataDDTColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDataArrivoNull() { - return this.IsNull(this.tablev_ULP.DataArrivoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDataArrivoNull() { - this[this.tablev_ULP.DataArrivoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsPosizioneNull() { - return this.IsNull(this.tablev_ULP.PosizioneColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetPosizioneNull() { - this[this.tablev_ULP.PosizioneColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsQtaNull() { - return this.IsNull(this.tablev_ULP.QtaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetQtaNull() { - this[this.tablev_ULP.QtaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsPesoNull() { - return this.IsNull(this.tablev_ULP.PesoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetPesoNull() { - this[this.tablev_ULP.PesoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDataPrevistaNull() { - return this.IsNull(this.tablev_ULP.DataPrevistaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDataPrevistaNull() { - this[this.tablev_ULP.DataPrevistaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsIdxObjMammaNull() { - return this.IsNull(this.tablev_ULP.IdxObjMammaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetIdxObjMammaNull() { - this[this.tablev_ULP.IdxObjMammaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodStatoNull() { - return this.IsNull(this.tablev_ULP.CodStatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodStatoNull() { - this[this.tablev_ULP.CodStatoColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class EventiRow : global::System.Data.DataRow { - - private EventiDataTable tableEventi; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal EventiRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableEventi = ((EventiDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodEvento { - get { - return ((string)(this[this.tableEventi.CodEventoColumn])); - } - set { - this[this.tableEventi.CodEventoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodTipoEvento { - get { - try { - return ((string)(this[this.tableEventi.CodTipoEventoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodTipoEvento\' in table \'Eventi\' is DBNull.", e); - } - } - set { - this[this.tableEventi.CodTipoEventoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string DescrEvento { - get { - try { - return ((string)(this[this.tableEventi.DescrEventoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DescrEvento\' in table \'Eventi\' is DBNull.", e); - } - } - set { - this[this.tableEventi.DescrEventoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Action { - get { - try { - return ((string)(this[this.tableEventi.ActionColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Action\' in table \'Eventi\' is DBNull.", e); - } - } - set { - this[this.tableEventi.ActionColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodTipoEventoNull() { - return this.IsNull(this.tableEventi.CodTipoEventoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodTipoEventoNull() { - this[this.tableEventi.CodTipoEventoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDescrEventoNull() { - return this.IsNull(this.tableEventi.DescrEventoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDescrEventoNull() { - this[this.tableEventi.DescrEventoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsActionNull() { - return this.IsNull(this.tableEventi.ActionColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetActionNull() { - this[this.tableEventi.ActionColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TraEv2StatiRow[] GetTraEv2StatiRows() { - if ((this.Table.ChildRelations["FK_TransizioneEventiStati_Eventi"] == null)) { - return new TraEv2StatiRow[0]; - } - else { - return ((TraEv2StatiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_TransizioneEventiStati_Eventi"]))); - } - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class TraEv2StatiRow : global::System.Data.DataRow { - - private TraEv2StatiDataTable tableTraEv2Stati; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal TraEv2StatiRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableTraEv2Stati = ((TraEv2StatiDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodMappa { - get { - return ((string)(this[this.tableTraEv2Stati.CodMappaColumn])); - } - set { - this[this.tableTraEv2Stati.CodMappaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodObj { - get { - return ((string)(this[this.tableTraEv2Stati.CodObjColumn])); - } - set { - this[this.tableTraEv2Stati.CodObjColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodStato { - get { - return ((string)(this[this.tableTraEv2Stati.CodStatoColumn])); - } - set { - this[this.tableTraEv2Stati.CodStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodEvento { - get { - return ((string)(this[this.tableTraEv2Stati.CodEventoColumn])); - } - set { - this[this.tableTraEv2Stati.CodEventoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string NextCodStato { - get { - try { - return ((string)(this[this.tableTraEv2Stati.NextCodStatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'NextCodStato\' in table \'TraEv2Stati\' is DBNull.", e); - } - } - set { - this[this.tableTraEv2Stati.NextCodStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CmdPlugin { - get { - try { - return ((string)(this[this.tableTraEv2Stati.CmdPluginColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CmdPlugin\' in table \'TraEv2Stati\' is DBNull.", e); - } - } - set { - this[this.tableTraEv2Stati.CmdPluginColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string text2show { - get { - try { - return ((string)(this[this.tableTraEv2Stati.text2showColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'text2show\' in table \'TraEv2Stati\' is DBNull.", e); - } - } - set { - this[this.tableTraEv2Stati.text2showColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string descrComando { - get { - try { - return ((string)(this[this.tableTraEv2Stati.descrComandoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'descrComando\' in table \'TraEv2Stati\' is DBNull.", e); - } - } - set { - this[this.tableTraEv2Stati.descrComandoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiRow EventiRow { - get { - return ((EventiRow)(this.GetParentRow(this.Table.ParentRelations["FK_TransizioneEventiStati_Eventi"]))); - } - set { - this.SetParentRow(value, this.Table.ParentRelations["FK_TransizioneEventiStati_Eventi"]); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsNextCodStatoNull() { - return this.IsNull(this.tableTraEv2Stati.NextCodStatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetNextCodStatoNull() { - this[this.tableTraEv2Stati.NextCodStatoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCmdPluginNull() { - return this.IsNull(this.tableTraEv2Stati.CmdPluginColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCmdPluginNull() { - this[this.tableTraEv2Stati.CmdPluginColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Istext2showNull() { - return this.IsNull(this.tableTraEv2Stati.text2showColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Settext2showNull() { - this[this.tableTraEv2Stati.text2showColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsdescrComandoNull() { - return this.IsNull(this.tableTraEv2Stati.descrComandoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetdescrComandoNull() { - this[this.tableTraEv2Stati.descrComandoColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class v_logStatiRow : global::System.Data.DataRow { - - private v_logStatiDataTable tablev_logStati; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_logStatiRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablev_logStati = ((v_logStatiDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string IdxObj { - get { - return ((string)(this[this.tablev_logStati.IdxObjColumn])); - } - set { - this[this.tablev_logStati.IdxObjColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodCliente { - get { - try { - return ((string)(this[this.tablev_logStati.CodClienteColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'v_logStati\' is DBNull.", e); - } - } - set { - this[this.tablev_logStati.CodClienteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Nome { - get { - try { - return ((string)(this[this.tablev_logStati.NomeColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'v_logStati\' is DBNull.", e); - } - } - set { - this[this.tablev_logStati.NomeColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DataRif { - get { - try { - return ((global::System.DateTime)(this[this.tablev_logStati.DataRifColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DataRif\' in table \'v_logStati\' is DBNull.", e); - } - } - set { - this[this.tablev_logStati.DataRifColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Note { - get { - try { - return ((string)(this[this.tablev_logStati.NoteColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'v_logStati\' is DBNull.", e); - } - } - set { - this[this.tablev_logStati.NoteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string ExtKey { - get { - try { - return ((string)(this[this.tablev_logStati.ExtKeyColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'ExtKey\' in table \'v_logStati\' is DBNull.", e); - } - } - set { - this[this.tablev_logStati.ExtKeyColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DataOra { - get { - return ((global::System.DateTime)(this[this.tablev_logStati.DataOraColumn])); - } - set { - this[this.tablev_logStati.DataOraColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string DescrStato { - get { - try { - return ((string)(this[this.tablev_logStati.DescrStatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DescrStato\' in table \'v_logStati\' is DBNull.", e); - } - } - set { - this[this.tablev_logStati.DescrStatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodClienteNull() { - return this.IsNull(this.tablev_logStati.CodClienteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodClienteNull() { - this[this.tablev_logStati.CodClienteColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsNomeNull() { - return this.IsNull(this.tablev_logStati.NomeColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetNomeNull() { - this[this.tablev_logStati.NomeColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDataRifNull() { - return this.IsNull(this.tablev_logStati.DataRifColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDataRifNull() { - this[this.tablev_logStati.DataRifColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsNoteNull() { - return this.IsNull(this.tablev_logStati.NoteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetNoteNull() { - this[this.tablev_logStati.NoteColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsExtKeyNull() { - return this.IsNull(this.tablev_logStati.ExtKeyColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetExtKeyNull() { - this[this.tablev_logStati.ExtKeyColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDescrStatoNull() { - return this.IsNull(this.tablev_logStati.DescrStatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDescrStatoNull() { - this[this.tablev_logStati.DescrStatoColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class sp_contaNonSchedRow : global::System.Data.DataRow { - - private sp_contaNonSchedDataTable tablesp_contaNonSched; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal sp_contaNonSchedRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablesp_contaNonSched = ((sp_contaNonSchedDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int quanti { - get { - try { - return ((int)(this[this.tablesp_contaNonSched.quantiColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'quanti\' in table \'sp_contaNonSched\' is DBNull.", e); - } - } - set { - this[this.tablesp_contaNonSched.quantiColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsquantiNull() { - return this.IsNull(this.tablesp_contaNonSched.quantiColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetquantiNull() { - this[this.tablesp_contaNonSched.quantiColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class sp_schedaIdentRow : global::System.Data.DataRow { - - private sp_schedaIdentDataTable tablesp_schedaIdent; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal sp_schedaIdentRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablesp_schedaIdent = ((sp_schedaIdentDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string IdxObj { - get { - return ((string)(this[this.tablesp_schedaIdent.IdxObjColumn])); - } - set { - this[this.tablesp_schedaIdent.IdxObjColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Cliente { - get { - if (this.IsClienteNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tablesp_schedaIdent.ClienteColumn])); - } - } - set { - this[this.tablesp_schedaIdent.ClienteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string DDT { - get { - if (this.IsDDTNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tablesp_schedaIdent.DDTColumn])); - } - } - set { - this[this.tablesp_schedaIdent.DDTColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DDT_del { - get { - try { - return ((global::System.DateTime)(this[this.tablesp_schedaIdent.DDT_delColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DDT_del\' in table \'sp_schedaIdent\' is DBNull.", e); - } - } - set { - this[this.tablesp_schedaIdent.DDT_delColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DataArrivo { - get { - try { - return ((global::System.DateTime)(this[this.tablesp_schedaIdent.DataArrivoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DataArrivo\' in table \'sp_schedaIdent\' is DBNull.", e); - } - } - set { - this[this.tablesp_schedaIdent.DataArrivoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodProdotto { - get { - if (this.IsCodProdottoNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tablesp_schedaIdent.CodProdottoColumn])); - } - } - set { - this[this.tablesp_schedaIdent.CodProdottoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime ConsegnaPrevista { - get { - try { - return ((global::System.DateTime)(this[this.tablesp_schedaIdent.ConsegnaPrevistaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'ConsegnaPrevista\' in table \'sp_schedaIdent\' is DBNull.", e); - } - } - set { - this[this.tablesp_schedaIdent.ConsegnaPrevistaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public double Peso { - get { - try { - return ((double)(this[this.tablesp_schedaIdent.PesoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Peso\' in table \'sp_schedaIdent\' is DBNull.", e); - } - } - set { - this[this.tablesp_schedaIdent.PesoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string FosfManganese { - get { - if (this.IsFosfManganeseNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tablesp_schedaIdent.FosfManganeseColumn])); - } - } - set { - this[this.tablesp_schedaIdent.FosfManganeseColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Brunitura { - get { - if (this.IsBrunituraNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tablesp_schedaIdent.BrunituraColumn])); - } - } - set { - this[this.tablesp_schedaIdent.BrunituraColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string FosfTeflon { - get { - if (this.IsFosfTeflonNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tablesp_schedaIdent.FosfTeflonColumn])); - } - } - set { - this[this.tablesp_schedaIdent.FosfTeflonColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Sabbiatura { - get { - if (this.IsSabbiaturaNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tablesp_schedaIdent.SabbiaturaColumn])); - } - } - set { - this[this.tablesp_schedaIdent.SabbiaturaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string F1 { - get { - if (this.IsF1Null()) { - return string.Empty; - } - else { - return ((string)(this[this.tablesp_schedaIdent.F1Column])); - } - } - set { - this[this.tablesp_schedaIdent.F1Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string F2 { - get { - if (this.IsF2Null()) { - return string.Empty; - } - else { - return ((string)(this[this.tablesp_schedaIdent.F2Column])); - } - } - set { - this[this.tablesp_schedaIdent.F2Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string FosfZinco { - get { - if (this.IsFosfZincoNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tablesp_schedaIdent.FosfZincoColumn])); - } - } - set { - this[this.tablesp_schedaIdent.FosfZincoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Teflon { - get { - if (this.IsTeflonNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tablesp_schedaIdent.TeflonColumn])); - } - } - set { - this[this.tablesp_schedaIdent.TeflonColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string FosfPreVern { - get { - if (this.IsFosfPreVernNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tablesp_schedaIdent.FosfPreVernColumn])); - } - } - set { - this[this.tablesp_schedaIdent.FosfPreVernColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string PzRoto { - get { - if (this.IsPzRotoNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tablesp_schedaIdent.PzRotoColumn])); - } - } - set { - this[this.tablesp_schedaIdent.PzRotoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Zinchlorex { - get { - if (this.IsZinchlorexNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tablesp_schedaIdent.ZinchlorexColumn])); - } - } - set { - this[this.tablesp_schedaIdent.ZinchlorexColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string PeekVicote { - get { - if (this.IsPeekVicoteNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tablesp_schedaIdent.PeekVicoteColumn])); - } - } - set { - this[this.tablesp_schedaIdent.PeekVicoteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodCli { - get { - if (this.IsCodCliNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tablesp_schedaIdent.CodCliColumn])); - } - } - set { - this[this.tablesp_schedaIdent.CodCliColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string CodCliente { - get { - try { - return ((string)(this[this.tablesp_schedaIdent.CodClienteColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'sp_schedaIdent\' is DBNull.", e); - } - } - set { - this[this.tablesp_schedaIdent.CodClienteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Qta { - get { - try { - return ((int)(this[this.tablesp_schedaIdent.QtaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'sp_schedaIdent\' is DBNull.", e); - } - } - set { - this[this.tablesp_schedaIdent.QtaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsClienteNull() { - return this.IsNull(this.tablesp_schedaIdent.ClienteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetClienteNull() { - this[this.tablesp_schedaIdent.ClienteColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDDTNull() { - return this.IsNull(this.tablesp_schedaIdent.DDTColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDDTNull() { - this[this.tablesp_schedaIdent.DDTColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDDT_delNull() { - return this.IsNull(this.tablesp_schedaIdent.DDT_delColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDDT_delNull() { - this[this.tablesp_schedaIdent.DDT_delColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDataArrivoNull() { - return this.IsNull(this.tablesp_schedaIdent.DataArrivoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDataArrivoNull() { - this[this.tablesp_schedaIdent.DataArrivoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodProdottoNull() { - return this.IsNull(this.tablesp_schedaIdent.CodProdottoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodProdottoNull() { - this[this.tablesp_schedaIdent.CodProdottoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsConsegnaPrevistaNull() { - return this.IsNull(this.tablesp_schedaIdent.ConsegnaPrevistaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetConsegnaPrevistaNull() { - this[this.tablesp_schedaIdent.ConsegnaPrevistaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsPesoNull() { - return this.IsNull(this.tablesp_schedaIdent.PesoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetPesoNull() { - this[this.tablesp_schedaIdent.PesoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsFosfManganeseNull() { - return this.IsNull(this.tablesp_schedaIdent.FosfManganeseColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetFosfManganeseNull() { - this[this.tablesp_schedaIdent.FosfManganeseColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsBrunituraNull() { - return this.IsNull(this.tablesp_schedaIdent.BrunituraColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetBrunituraNull() { - this[this.tablesp_schedaIdent.BrunituraColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsFosfTeflonNull() { - return this.IsNull(this.tablesp_schedaIdent.FosfTeflonColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetFosfTeflonNull() { - this[this.tablesp_schedaIdent.FosfTeflonColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsSabbiaturaNull() { - return this.IsNull(this.tablesp_schedaIdent.SabbiaturaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetSabbiaturaNull() { - this[this.tablesp_schedaIdent.SabbiaturaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsF1Null() { - return this.IsNull(this.tablesp_schedaIdent.F1Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetF1Null() { - this[this.tablesp_schedaIdent.F1Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsF2Null() { - return this.IsNull(this.tablesp_schedaIdent.F2Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetF2Null() { - this[this.tablesp_schedaIdent.F2Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsFosfZincoNull() { - return this.IsNull(this.tablesp_schedaIdent.FosfZincoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetFosfZincoNull() { - this[this.tablesp_schedaIdent.FosfZincoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsTeflonNull() { - return this.IsNull(this.tablesp_schedaIdent.TeflonColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetTeflonNull() { - this[this.tablesp_schedaIdent.TeflonColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsFosfPreVernNull() { - return this.IsNull(this.tablesp_schedaIdent.FosfPreVernColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetFosfPreVernNull() { - this[this.tablesp_schedaIdent.FosfPreVernColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsPzRotoNull() { - return this.IsNull(this.tablesp_schedaIdent.PzRotoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetPzRotoNull() { - this[this.tablesp_schedaIdent.PzRotoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsZinchlorexNull() { - return this.IsNull(this.tablesp_schedaIdent.ZinchlorexColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetZinchlorexNull() { - this[this.tablesp_schedaIdent.ZinchlorexColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsPeekVicoteNull() { - return this.IsNull(this.tablesp_schedaIdent.PeekVicoteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetPeekVicoteNull() { - this[this.tablesp_schedaIdent.PeekVicoteColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodCliNull() { - return this.IsNull(this.tablesp_schedaIdent.CodCliColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodCliNull() { - this[this.tablesp_schedaIdent.CodCliColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCodClienteNull() { - return this.IsNull(this.tablesp_schedaIdent.CodClienteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCodClienteNull() { - this[this.tablesp_schedaIdent.CodClienteColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsQtaNull() { - return this.IsNull(this.tablesp_schedaIdent.QtaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetQtaNull() { - this[this.tablesp_schedaIdent.QtaColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class sp_ddtRow : global::System.Data.DataRow { - - private sp_ddtDataTable tablesp_ddt; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal sp_ddtRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablesp_ddt = ((sp_ddtDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string IdxObj { - get { - return ((string)(this[this.tablesp_ddt.IdxObjColumn])); - } - set { - this[this.tablesp_ddt.IdxObjColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime DataCreaz { - get { - try { - return ((global::System.DateTime)(this[this.tablesp_ddt.DataCreazColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DataCreaz\' in table \'sp_ddt\' is DBNull.", e); - } - } - set { - this[this.tablesp_ddt.DataCreazColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDataCreazNull() { - return this.IsNull(this.tablesp_ddt.DataCreazColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDataCreazNull() { - this[this.tablesp_ddt.DataCreazColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class AnagClientiRowChangeEvent : global::System.EventArgs { - - private AnagClientiRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagClientiRowChangeEvent(AnagClientiRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagClientiRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class AnagTrattamentiRowChangeEvent : global::System.EventArgs { - - private AnagTrattamentiRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagTrattamentiRowChangeEvent(AnagTrattamentiRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagTrattamentiRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class Tratt2ObjRowChangeEvent : global::System.EventArgs { - - private Tratt2ObjRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Tratt2ObjRowChangeEvent(Tratt2ObjRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Tratt2ObjRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class v_commesseRowChangeEvent : global::System.EventArgs { - - private v_commesseRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_commesseRowChangeEvent(v_commesseRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_commesseRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class IstObjRowChangeEvent : global::System.EventArgs { - - private IstObjRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public IstObjRowChangeEvent(IstObjRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public IstObjRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class v_righeRowChangeEvent : global::System.EventArgs { - - private v_righeRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_righeRowChangeEvent(v_righeRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_righeRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class sp_rec4DayRowChangeEvent : global::System.EventArgs { - - private sp_rec4DayRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_rec4DayRowChangeEvent(sp_rec4DayRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_rec4DayRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class v_ULPRowChangeEvent : global::System.EventArgs { - - private v_ULPRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_ULPRowChangeEvent(v_ULPRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_ULPRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class EventiRowChangeEvent : global::System.EventArgs { - - private EventiRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiRowChangeEvent(EventiRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class TraEv2StatiRowChangeEvent : global::System.EventArgs { - - private TraEv2StatiRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TraEv2StatiRowChangeEvent(TraEv2StatiRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TraEv2StatiRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class v_logStatiRowChangeEvent : global::System.EventArgs { - - private v_logStatiRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_logStatiRowChangeEvent(v_logStatiRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_logStatiRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class sp_contaNonSchedRowChangeEvent : global::System.EventArgs { - - private sp_contaNonSchedRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_contaNonSchedRowChangeEvent(sp_contaNonSchedRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_contaNonSchedRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class sp_schedaIdentRowChangeEvent : global::System.EventArgs { - - private sp_schedaIdentRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_schedaIdentRowChangeEvent(sp_schedaIdentRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_schedaIdentRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class sp_ddtRowChangeEvent : global::System.EventArgs { - - private sp_ddtRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_ddtRowChangeEvent(sp_ddtRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_ddtRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - } -} -namespace XPS_data.DS_applicazioneTableAdapters { - - - /// - ///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 AnagClientiTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagClientiTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "AnagClienti"; - tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); - tableMapping.ColumnMappings.Add("RagioneSociale", "RagioneSociale"); - tableMapping.ColumnMappings.Add("piva", "piva"); - tableMapping.ColumnMappings.Add("email", "email"); - tableMapping.ColumnMappings.Add("indirizzo", "indirizzo"); - tableMapping.ColumnMappings.Add("cap", "cap"); - tableMapping.ColumnMappings.Add("localita", "localita"); - tableMapping.ColumnMappings.Add("provincia", "provincia"); - 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].[AnagClienti] WHERE (([CodCliente] = @Original_CodCliente) AND ((@IsNull_RagioneSociale = 1 AND [RagioneSociale] IS NULL) OR ([RagioneSociale] = @Original_RagioneSociale)) AND ((@IsNull_piva = 1 AND [piva] IS NULL) OR ([piva] = @Original_piva)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_indirizzo = 1 AND [indirizzo] IS NULL) OR ([indirizzo] = @Original_indirizzo)) AND ((@IsNull_cap = 1 AND [cap] IS NULL) OR ([cap] = @Original_cap)) AND ((@IsNull_localita = 1 AND [localita] IS NULL) OR ([localita] = @Original_localita)) AND ((@IsNull_provincia = 1 AND [provincia] IS NULL) OR ([provincia] = @Original_provincia)))"; - this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RagioneSociale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagioneSociale", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagioneSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagioneSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_piva", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "piva", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_piva", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "piva", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_email", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_indirizzo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cap", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cap", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cap", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_localita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "localita", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "localita", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_provincia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provincia", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_provincia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provincia", 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].[AnagClienti] ([CodCliente], [RagioneSociale], [piva], [email], [indirizzo], [cap], [localita], [provincia]) VALUES (@CodCliente, @RagioneSociale, @piva, @email, @indirizzo, @cap, @localita, @provincia); -SELECT CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provincia FROM AnagClienti WHERE (CodCliente = @CodCliente)"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagioneSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagioneSociale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@piva", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "piva", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cap", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "localita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@provincia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provincia", 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].[AnagClienti] SET [CodCliente] = @CodCliente, [RagioneSociale] = @RagioneSociale, [piva] = @piva, [email] = @email, [indirizzo] = @indirizzo, [cap] = @cap, [localita] = @localita, [provincia] = @provincia WHERE (([CodCliente] = @Original_CodCliente) AND ((@IsNull_RagioneSociale = 1 AND [RagioneSociale] IS NULL) OR ([RagioneSociale] = @Original_RagioneSociale)) AND ((@IsNull_piva = 1 AND [piva] IS NULL) OR ([piva] = @Original_piva)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_indirizzo = 1 AND [indirizzo] IS NULL) OR ([indirizzo] = @Original_indirizzo)) AND ((@IsNull_cap = 1 AND [cap] IS NULL) OR ([cap] = @Original_cap)) AND ((@IsNull_localita = 1 AND [localita] IS NULL) OR ([localita] = @Original_localita)) AND ((@IsNull_provincia = 1 AND [provincia] IS NULL) OR ([provincia] = @Original_provincia))); -SELECT CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provincia FROM AnagClienti WHERE (CodCliente = @CodCliente)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagioneSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagioneSociale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@piva", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "piva", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cap", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "localita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@provincia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provincia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RagioneSociale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagioneSociale", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagioneSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagioneSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_piva", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "piva", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_piva", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "piva", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_email", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_indirizzo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cap", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cap", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cap", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_localita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "localita", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "localita", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_provincia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provincia", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_provincia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provincia", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT * FROM dbo.AnagClienti"; - 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_AnagCliGetByKey"; - 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("@CodCliente", 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_AnagCliUpdate"; - 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_CodCliente", 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("@RagioneSociale", 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("@piva", global::System.Data.SqlDbType.NVarChar, 20, 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("@email", global::System.Data.SqlDbType.NVarChar, 500, 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("@indirizzo", 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("@cap", global::System.Data.SqlDbType.NVarChar, 5, 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("@localita", 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("@provincia", global::System.Data.SqlDbType.NVarChar, 5, 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", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_applicazione.AnagClientiDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_applicazione.AnagClientiDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_applicazione.AnagClientiDataTable dataTable = new DS_applicazione.AnagClientiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_applicazione.AnagClientiDataTable getByKey(string CodCliente) { - this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((CodCliente == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCliente)); - } - DS_applicazione.AnagClientiDataTable dataTable = new DS_applicazione.AnagClientiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_applicazione.AnagClientiDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_applicazione dataSet) { - return this.Adapter.Update(dataSet, "AnagClienti"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_CodCliente, string Original_RagioneSociale, string Original_piva, string Original_email, string Original_indirizzo, string Original_cap, string Original_localita, string Original_provincia) { - if ((Original_CodCliente == null)) { - throw new global::System.ArgumentNullException("Original_CodCliente"); - } - else { - this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodCliente)); - } - if ((Original_RagioneSociale == null)) { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_RagioneSociale)); - } - if ((Original_piva == null)) { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_piva)); - } - if ((Original_email == null)) { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_email)); - } - if ((Original_indirizzo == null)) { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_indirizzo)); - } - if ((Original_cap == null)) { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_cap)); - } - if ((Original_localita == null)) { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_localita)); - } - if ((Original_provincia == null)) { - this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_provincia)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string CodCliente, string RagioneSociale, string piva, string email, string indirizzo, string cap, string localita, string provincia) { - if ((CodCliente == null)) { - throw new global::System.ArgumentNullException("CodCliente"); - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodCliente)); - } - if ((RagioneSociale == null)) { - this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(RagioneSociale)); - } - if ((piva == null)) { - this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[2].Value = ((string)(piva)); - } - if ((email == null)) { - this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[3].Value = ((string)(email)); - } - if ((indirizzo == null)) { - this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[4].Value = ((string)(indirizzo)); - } - if ((cap == null)) { - this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[5].Value = ((string)(cap)); - } - if ((localita == null)) { - this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[6].Value = ((string)(localita)); - } - if ((provincia == null)) { - this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[7].Value = ((string)(provincia)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.InsertCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.InsertCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update( - string CodCliente, - string RagioneSociale, - string piva, - string email, - string indirizzo, - string cap, - string localita, - string provincia, - string Original_CodCliente, - string Original_RagioneSociale, - string Original_piva, - string Original_email, - string Original_indirizzo, - string Original_cap, - string Original_localita, - string Original_provincia) { - if ((CodCliente == null)) { - throw new global::System.ArgumentNullException("CodCliente"); - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodCliente)); - } - if ((RagioneSociale == null)) { - this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(RagioneSociale)); - } - if ((piva == null)) { - this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(piva)); - } - if ((email == null)) { - this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(email)); - } - if ((indirizzo == null)) { - this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(indirizzo)); - } - if ((cap == null)) { - this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(cap)); - } - if ((localita == null)) { - this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(localita)); - } - if ((provincia == null)) { - this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(provincia)); - } - if ((Original_CodCliente == null)) { - throw new global::System.ArgumentNullException("Original_CodCliente"); - } - else { - this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodCliente)); - } - if ((Original_RagioneSociale == null)) { - this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_RagioneSociale)); - } - if ((Original_piva == null)) { - this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_piva)); - } - if ((Original_email == null)) { - this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_email)); - } - if ((Original_indirizzo == null)) { - this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_indirizzo)); - } - if ((Original_cap == null)) { - this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_cap)); - } - if ((Original_localita == null)) { - this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_localita)); - } - if ((Original_provincia == null)) { - this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_provincia)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string RagioneSociale, string piva, string email, string indirizzo, string cap, string localita, string provincia, string Original_CodCliente, string Original_RagioneSociale, string Original_piva, string Original_email, string Original_indirizzo, string Original_cap, string Original_localita, string Original_provincia) { - return this.Update(Original_CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provincia, Original_CodCliente, Original_RagioneSociale, Original_piva, Original_email, Original_indirizzo, Original_cap, Original_localita, Original_provincia); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int updateQuery(string Original_CodCliente, string RagioneSociale, string piva, string email, string indirizzo, string cap, string localita, string provincia) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; - if ((Original_CodCliente == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(Original_CodCliente)); - } - if ((RagioneSociale == null)) { - command.Parameters[2].Value = global::System.DBNull.Value; - } - else { - command.Parameters[2].Value = ((string)(RagioneSociale)); - } - if ((piva == null)) { - command.Parameters[3].Value = global::System.DBNull.Value; - } - else { - command.Parameters[3].Value = ((string)(piva)); - } - if ((email == null)) { - command.Parameters[4].Value = global::System.DBNull.Value; - } - else { - command.Parameters[4].Value = ((string)(email)); - } - if ((indirizzo == null)) { - command.Parameters[5].Value = global::System.DBNull.Value; - } - else { - command.Parameters[5].Value = ((string)(indirizzo)); - } - if ((cap == null)) { - command.Parameters[6].Value = global::System.DBNull.Value; - } - else { - command.Parameters[6].Value = ((string)(cap)); - } - if ((localita == null)) { - command.Parameters[7].Value = global::System.DBNull.Value; - } - else { - command.Parameters[7].Value = ((string)(localita)); - } - if ((provincia == null)) { - command.Parameters[8].Value = global::System.DBNull.Value; - } - else { - command.Parameters[8].Value = ((string)(provincia)); - } - 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 AnagTrattamentiTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagTrattamentiTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "AnagTrattamenti"; - tableMapping.ColumnMappings.Add("CodTrattamento", "CodTrattamento"); - tableMapping.ColumnMappings.Add("DescrTrattamento", "DescrTrattamento"); - 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].[AnagTrattamenti] WHERE (([CodTrattamento] = @Original_CodTratt" + - "amento) AND ((@IsNull_DescrTrattamento = 1 AND [DescrTrattamento] IS NULL) OR ([" + - "DescrTrattamento] = @Original_DescrTrattamento)))"; - this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTrattamento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrTrattamento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTrattamento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTrattamento", 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].[AnagTrattamenti] ([CodTrattamento], [DescrTrattamento]) VALUES" + - " (@CodTrattamento, @DescrTrattamento);\r\nSELECT CodTrattamento, DescrTrattamento " + - "FROM AnagTrattamenti WHERE (CodTrattamento = @CodTrattamento)"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTrattamento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTrattamento", 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].[AnagTrattamenti] SET [CodTrattamento] = @CodTrattamento, [DescrTrattamento] = @DescrTrattamento WHERE (([CodTrattamento] = @Original_CodTrattamento) AND ((@IsNull_DescrTrattamento = 1 AND [DescrTrattamento] IS NULL) OR ([DescrTrattamento] = @Original_DescrTrattamento))); -SELECT CodTrattamento, DescrTrattamento FROM AnagTrattamenti WHERE (CodTrattamento = @CodTrattamento)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTrattamento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTrattamento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTrattamento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrTrattamento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTrattamento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTrattamento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT CodTrattamento, DescrTrattamento FROM dbo.AnagTrattamenti"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_applicazione.AnagTrattamentiDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_applicazione.AnagTrattamentiDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_applicazione.AnagTrattamentiDataTable dataTable = new DS_applicazione.AnagTrattamentiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_applicazione.AnagTrattamentiDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_applicazione dataSet) { - return this.Adapter.Update(dataSet, "AnagTrattamenti"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_CodTrattamento, string Original_DescrTrattamento) { - if ((Original_CodTrattamento == null)) { - throw new global::System.ArgumentNullException("Original_CodTrattamento"); - } - else { - this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodTrattamento)); - } - if ((Original_DescrTrattamento == null)) { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrTrattamento)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string CodTrattamento, string DescrTrattamento) { - if ((CodTrattamento == null)) { - throw new global::System.ArgumentNullException("CodTrattamento"); - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodTrattamento)); - } - if ((DescrTrattamento == null)) { - this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrTrattamento)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.InsertCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.InsertCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string CodTrattamento, string DescrTrattamento, string Original_CodTrattamento, string Original_DescrTrattamento) { - if ((CodTrattamento == null)) { - throw new global::System.ArgumentNullException("CodTrattamento"); - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodTrattamento)); - } - if ((DescrTrattamento == null)) { - this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrTrattamento)); - } - if ((Original_CodTrattamento == null)) { - throw new global::System.ArgumentNullException("Original_CodTrattamento"); - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_CodTrattamento)); - } - if ((Original_DescrTrattamento == null)) { - this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_DescrTrattamento)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string DescrTrattamento, string Original_CodTrattamento, string Original_DescrTrattamento) { - return this.Update(Original_CodTrattamento, DescrTrattamento, Original_CodTrattamento, Original_DescrTrattamento); - } - } - - /// - ///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 Tratt2ObjTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public Tratt2ObjTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "Tratt2Obj"; - tableMapping.ColumnMappings.Add("IdxObj", "IdxObj"); - tableMapping.ColumnMappings.Add("CodTrattamento", "CodTrattamento"); - tableMapping.ColumnMappings.Add("Note", "Note"); - 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].[Tratt2Obj] WHERE (([IdxObj] = @Original_IdxObj) AND ([CodTratt" + - "amento] = @Original_CodTrattamento) AND ((@IsNull_Note = 1 AND [Note] IS NULL) O" + - "R ([Note] = @Original_Note)))"; - this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTrattamento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); - this._adapter.InsertCommand.Connection = this.Connection; - this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[Tratt2Obj] ([IdxObj], [CodTrattamento], [Note]) VALUES (@IdxOb" + - "j, @CodTrattamento, @Note);\r\nSELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj " + - "WHERE (CodTrattamento = @CodTrattamento) AND (IdxObj = @IdxObj)"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTrattamento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); - this._adapter.UpdateCommand.Connection = this.Connection; - this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Tratt2Obj] SET [IdxObj] = @IdxObj, [CodTrattamento] = @CodTrattamento, [Note] = @Note WHERE (([IdxObj] = @Original_IdxObj) AND ([CodTrattamento] = @Original_CodTrattamento) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note))); -SELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj WHERE (CodTrattamento = @CodTrattamento) AND (IdxObj = @IdxObj)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTrattamento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTrattamento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT IdxObj, CodTrattamento, Note FROM dbo.Tratt2Obj"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_applicazione.Tratt2ObjDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_applicazione.Tratt2ObjDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_applicazione.Tratt2ObjDataTable dataTable = new DS_applicazione.Tratt2ObjDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_applicazione.Tratt2ObjDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_applicazione dataSet) { - return this.Adapter.Update(dataSet, "Tratt2Obj"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_IdxObj, string Original_CodTrattamento, string Original_Note) { - if ((Original_IdxObj == null)) { - throw new global::System.ArgumentNullException("Original_IdxObj"); - } - else { - this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_IdxObj)); - } - if ((Original_CodTrattamento == null)) { - throw new global::System.ArgumentNullException("Original_CodTrattamento"); - } - else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodTrattamento)); - } - if ((Original_Note == 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_Note)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string IdxObj, string CodTrattamento, string Note) { - if ((IdxObj == null)) { - throw new global::System.ArgumentNullException("IdxObj"); - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = ((string)(IdxObj)); - } - if ((CodTrattamento == null)) { - throw new global::System.ArgumentNullException("CodTrattamento"); - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodTrattamento)); - } - if ((Note == null)) { - this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Note)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.InsertCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.InsertCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string IdxObj, string CodTrattamento, string Note, string Original_IdxObj, string Original_CodTrattamento, string Original_Note) { - if ((IdxObj == null)) { - throw new global::System.ArgumentNullException("IdxObj"); - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(IdxObj)); - } - if ((CodTrattamento == null)) { - throw new global::System.ArgumentNullException("CodTrattamento"); - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodTrattamento)); - } - if ((Note == null)) { - this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Note)); - } - if ((Original_IdxObj == null)) { - throw new global::System.ArgumentNullException("Original_IdxObj"); - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_IdxObj)); - } - if ((Original_CodTrattamento == null)) { - throw new global::System.ArgumentNullException("Original_CodTrattamento"); - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodTrattamento)); - } - if ((Original_Note == null)) { - this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_Note)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string Note, string Original_IdxObj, string Original_CodTrattamento, string Original_Note) { - return this.Update(Original_IdxObj, Original_CodTrattamento, Note, Original_IdxObj, Original_CodTrattamento, Original_Note); - } - } - - /// - ///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 v_commesseTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_commesseTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "v_commesse"; - tableMapping.ColumnMappings.Add("Cod", "Cod"); - tableMapping.ColumnMappings.Add("Stato", "Stato"); - tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); - tableMapping.ColumnMappings.Add("Cliente", "Cliente"); - tableMapping.ColumnMappings.Add("descrizione", "descrizione"); - tableMapping.ColumnMappings.Add("DDT", "DDT"); - tableMapping.ColumnMappings.Add("DataDDT", "DataDDT"); - tableMapping.ColumnMappings.Add("DataArrivo", "DataArrivo"); - tableMapping.ColumnMappings.Add("Posizione", "Posizione"); - tableMapping.ColumnMappings.Add("Qta", "Qta"); - tableMapping.ColumnMappings.Add("Peso", "Peso"); - tableMapping.ColumnMappings.Add("Righe", "Righe"); - tableMapping.ColumnMappings.Add("Colli", "Colli"); - tableMapping.ColumnMappings.Add("DataPrevista", "DataPrevista"); - tableMapping.ColumnMappings.Add("Ciclo", "Ciclo"); - tableMapping.ColumnMappings.Add("CodStato", "CodStato"); - tableMapping.ColumnMappings.Add("minStato", "minStato"); - tableMapping.ColumnMappings.Add("maxStato", "maxStato"); - tableMapping.ColumnMappings.Add("minCodStato", "minCodStato"); - tableMapping.ColumnMappings.Add("maxCodStato", "maxCodStato"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT * FROM v_commesse ORDER BY DataArrivo DESC"; - 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_vElComm_getByCod"; - 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("@Cod", 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_vElComm_getByCodFiltro"; - 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("@CodFiltro", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[3].Connection = this.Connection; - this._commandCollection[3].CommandText = "dbo.sp_creaSetObj"; - this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; - this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSet", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumDDT", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataDDT", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserName", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@note", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@emailReq", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[4].Connection = this.Connection; - this._commandCollection[4].CommandText = "dbo.sp_delObj"; - this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; - this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cod", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[5].Connection = this.Connection; - this._commandCollection[5].CommandText = "dbo.stp_IstObjUpdateMag"; - this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; - this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ciclo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataDDT", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DDT", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", 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", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_applicazione.v_commesseDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_applicazione.v_commesseDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_applicazione.v_commesseDataTable dataTable = new DS_applicazione.v_commesseDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_applicazione.v_commesseDataTable getByCod(string Cod) { - this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((Cod == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Cod)); - } - DS_applicazione.v_commesseDataTable dataTable = new DS_applicazione.v_commesseDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_applicazione.v_commesseDataTable getByCodFiltro(string CodFiltro) { - this.Adapter.SelectCommand = this.CommandCollection[2]; - if ((CodFiltro == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodFiltro)); - } - DS_applicazione.v_commesseDataTable dataTable = new DS_applicazione.v_commesseDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int sp_creaSetObj(string IdxObj, string CodSet, string CodCliente, string NumDDT, global::System.Nullable dataDDT, string Nome, string UserName, string note, global::System.Nullable emailReq) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; - if ((IdxObj == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(IdxObj)); - } - if ((CodSet == null)) { - command.Parameters[2].Value = global::System.DBNull.Value; - } - else { - command.Parameters[2].Value = ((string)(CodSet)); - } - if ((CodCliente == null)) { - command.Parameters[3].Value = global::System.DBNull.Value; - } - else { - command.Parameters[3].Value = ((string)(CodCliente)); - } - if ((NumDDT == null)) { - command.Parameters[4].Value = global::System.DBNull.Value; - } - else { - command.Parameters[4].Value = ((string)(NumDDT)); - } - if ((dataDDT.HasValue == true)) { - command.Parameters[5].Value = ((System.DateTime)(dataDDT.Value)); - } - else { - command.Parameters[5].Value = global::System.DBNull.Value; - } - if ((Nome == null)) { - command.Parameters[6].Value = global::System.DBNull.Value; - } - else { - command.Parameters[6].Value = ((string)(Nome)); - } - if ((UserName == null)) { - command.Parameters[7].Value = global::System.DBNull.Value; - } - else { - command.Parameters[7].Value = ((string)(UserName)); - } - if ((note == null)) { - command.Parameters[8].Value = global::System.DBNull.Value; - } - else { - command.Parameters[8].Value = ((string)(note)); - } - if ((emailReq.HasValue == true)) { - command.Parameters[9].Value = ((bool)(emailReq.Value)); - } - else { - command.Parameters[9].Value = global::System.DBNull.Value; - } - 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; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int sp_delObj(string Original_Cod) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; - if ((Original_Cod == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(Original_Cod)); - } - 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; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int updateMag(string Original_Cod, string CodCliente, string Ciclo, global::System.Nullable DataDDT, string DDT, string UserName, string Descrizione) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; - if ((Original_Cod == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(Original_Cod)); - } - if ((CodCliente == null)) { - command.Parameters[2].Value = global::System.DBNull.Value; - } - else { - command.Parameters[2].Value = ((string)(CodCliente)); - } - if ((Ciclo == null)) { - command.Parameters[3].Value = global::System.DBNull.Value; - } - else { - command.Parameters[3].Value = ((string)(Ciclo)); - } - if ((DataDDT.HasValue == true)) { - command.Parameters[4].Value = ((System.DateTime)(DataDDT.Value)); - } - else { - command.Parameters[4].Value = global::System.DBNull.Value; - } - if ((DDT == null)) { - command.Parameters[5].Value = global::System.DBNull.Value; - } - else { - command.Parameters[5].Value = ((string)(DDT)); - } - if ((UserName == null)) { - command.Parameters[6].Value = global::System.DBNull.Value; - } - else { - command.Parameters[6].Value = ((string)(UserName)); - } - if ((Descrizione == null)) { - command.Parameters[7].Value = global::System.DBNull.Value; - } - else { - command.Parameters[7].Value = ((string)(Descrizione)); - } - 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 IstObjTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public IstObjTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "IstObj"; - tableMapping.ColumnMappings.Add("IdxObj", "IdxObj"); - tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); - tableMapping.ColumnMappings.Add("CodStato", "CodStato"); - tableMapping.ColumnMappings.Add("Posizione", "Posizione"); - tableMapping.ColumnMappings.Add("Livello", "Livello"); - tableMapping.ColumnMappings.Add("Rev", "Rev"); - tableMapping.ColumnMappings.Add("CodObj", "CodObj"); - tableMapping.ColumnMappings.Add("Nome", "Nome"); - tableMapping.ColumnMappings.Add("DataRif", "DataRif"); - tableMapping.ColumnMappings.Add("IdxObjMamma", "IdxObjMamma"); - tableMapping.ColumnMappings.Add("Note", "Note"); - tableMapping.ColumnMappings.Add("ExtKey", "ExtKey"); - tableMapping.ColumnMappings.Add("DueDate", "DueDate"); - tableMapping.ColumnMappings.Add("LeadTime", "LeadTime"); - tableMapping.ColumnMappings.Add("LeadTimeUM", "LeadTimeUM"); - tableMapping.ColumnMappings.Add("UserCreaz", "UserCreaz"); - tableMapping.ColumnMappings.Add("DataCreaz", "DataCreaz"); - tableMapping.ColumnMappings.Add("UserMod", "UserMod"); - tableMapping.ColumnMappings.Add("DataMod", "DataMod"); - tableMapping.ColumnMappings.Add("Qta", "Qta"); - tableMapping.ColumnMappings.Add("Peso", "Peso"); - tableMapping.ColumnMappings.Add("emailReq", "emailReq"); - tableMapping.ColumnMappings.Add("emailSent", "emailSent"); - 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 [IstObj] WHERE (([IdxObj] = @Original_IdxObj) AND ((@IsNull_CodClient" + - "e = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodCliente)) AND ((" + - "@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato" + - ")) AND ((@IsNull_Posizione = 1 AND [Posizione] IS NULL) OR ([Posizione] = @Origi" + - "nal_Posizione)) AND ((@IsNull_Livello = 1 AND [Livello] IS NULL) OR ([Livello] =" + - " @Original_Livello)) AND ((@IsNull_Rev = 1 AND [Rev] IS NULL) OR ([Rev] = @Origi" + - "nal_Rev)) AND ((@IsNull_CodObj = 1 AND [CodObj] IS NULL) OR ([CodObj] = @Origina" + - "l_CodObj)) AND ((@IsNull_Nome = 1 AND [Nome] IS NULL) OR ([Nome] = @Original_Nom" + - "e)) AND ((@IsNull_DataRif = 1 AND [DataRif] IS NULL) OR ([DataRif] = @Original_D" + - "ataRif)) AND ((@IsNull_IdxObjMamma = 1 AND [IdxObjMamma] IS NULL) OR ([IdxObjMam" + - "ma] = @Original_IdxObjMamma)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([No" + - "te] = @Original_Note)) AND ((@IsNull_ExtKey = 1 AND [ExtKey] IS NULL) OR ([ExtKe" + - "y] = @Original_ExtKey)) AND ((@IsNull_DueDate = 1 AND [DueDate] IS NULL) OR ([Du" + - "eDate] = @Original_DueDate)) AND ((@IsNull_LeadTime = 1 AND [LeadTime] IS NULL) " + - "OR ([LeadTime] = @Original_LeadTime)) AND ((@IsNull_LeadTimeUM = 1 AND [LeadTime" + - "UM] IS NULL) OR ([LeadTimeUM] = @Original_LeadTimeUM)) AND ((@IsNull_UserCreaz =" + - " 1 AND [UserCreaz] IS NULL) OR ([UserCreaz] = @Original_UserCreaz)) AND ((@IsNul" + - "l_DataCreaz = 1 AND [DataCreaz] IS NULL) OR ([DataCreaz] = @Original_DataCreaz))" + - " AND ((@IsNull_UserMod = 1 AND [UserMod] IS NULL) OR ([UserMod] = @Original_User" + - "Mod)) AND ((@IsNull_DataMod = 1 AND [DataMod] IS NULL) OR ([DataMod] = @Original" + - "_DataMod)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) " + - "AND ((@IsNull_Peso = 1 AND [Peso] IS NULL) OR ([Peso] = @Original_Peso)) AND ((@" + - "IsNull_emailReq = 1 AND [emailReq] IS NULL) OR ([emailReq] = @Original_emailReq)" + - ") AND ((@IsNull_emailSent = 1 AND [emailSent] IS NULL) OR ([emailSent] = @Origin" + - "al_emailSent)))"; - this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCliente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - 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("@IsNull_Posizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Posizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Livello", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Livello", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Livello", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Livello", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Rev", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Rev", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodObj", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Nome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxObjMamma", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObjMamma", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObjMamma", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObjMamma", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtKey", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtKey", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtKey", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtKey", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DueDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DueDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_LeadTime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTime", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LeadTime", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTime", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_LeadTimeUM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTimeUM", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LeadTimeUM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTimeUM", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserCreaz", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserCreaz", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserCreaz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataCreaz", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserMod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataMod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Peso", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Peso", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_emailReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailReq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_emailReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailReq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_emailSent", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailSent", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_emailSent", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailSent", 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 [IstObj] ([IdxObj], [CodCliente], [CodStato], [Posizione], [Livello], [Rev], [CodObj], [Nome], [DataRif], [IdxObjMamma], [Note], [ExtKey], [DueDate], [LeadTime], [LeadTimeUM], [UserCreaz], [DataCreaz], [UserMod], [DataMod], [Qta], [Peso], [emailReq], [emailSent]) VALUES (@IdxObj, @CodCliente, @CodStato, @Posizione, @Livello, @Rev, @CodObj, @Nome, @DataRif, @IdxObjMamma, @Note, @ExtKey, @DueDate, @LeadTime, @LeadTimeUM, @UserCreaz, @DataCreaz, @UserMod, @DataMod, @Qta, @Peso, @emailReq, @emailSent); -SELECT IdxObj, CodCliente, CodStato, Posizione, Livello, Rev, CodObj, Nome, DataRif, IdxObjMamma, Note, ExtKey, DueDate, LeadTime, LeadTimeUM, UserCreaz, DataCreaz, UserMod, DataMod, Qta, Peso, emailReq, emailSent FROM IstObj WHERE (IdxObj = @IdxObj)"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - 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("@Posizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Livello", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Livello", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Rev", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObjMamma", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObjMamma", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtKey", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtKey", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LeadTime", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTime", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LeadTimeUM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTimeUM", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserCreaz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Peso", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@emailReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailReq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@emailSent", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailSent", 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 [IstObj] SET [IdxObj] = @IdxObj, [CodCliente] = @CodCliente, [CodStato] = " + - "@CodStato, [Posizione] = @Posizione, [Livello] = @Livello, [Rev] = @Rev, [CodObj" + - "] = @CodObj, [Nome] = @Nome, [DataRif] = @DataRif, [IdxObjMamma] = @IdxObjMamma," + - " [Note] = @Note, [ExtKey] = @ExtKey, [DueDate] = @DueDate, [LeadTime] = @LeadTim" + - "e, [LeadTimeUM] = @LeadTimeUM, [UserCreaz] = @UserCreaz, [DataCreaz] = @DataCrea" + - "z, [UserMod] = @UserMod, [DataMod] = @DataMod, [Qta] = @Qta, [Peso] = @Peso, [em" + - "ailReq] = @emailReq, [emailSent] = @emailSent WHERE (([IdxObj] = @Original_IdxOb" + - "j) AND ((@IsNull_CodCliente = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Or" + - "iginal_CodCliente)) AND ((@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodS" + - "tato] = @Original_CodStato)) AND ((@IsNull_Posizione = 1 AND [Posizione] IS NULL" + - ") OR ([Posizione] = @Original_Posizione)) AND ((@IsNull_Livello = 1 AND [Livello" + - "] IS NULL) OR ([Livello] = @Original_Livello)) AND ((@IsNull_Rev = 1 AND [Rev] I" + - "S NULL) OR ([Rev] = @Original_Rev)) AND ((@IsNull_CodObj = 1 AND [CodObj] IS NUL" + - "L) OR ([CodObj] = @Original_CodObj)) AND ((@IsNull_Nome = 1 AND [Nome] IS NULL) " + - "OR ([Nome] = @Original_Nome)) AND ((@IsNull_DataRif = 1 AND [DataRif] IS NULL) O" + - "R ([DataRif] = @Original_DataRif)) AND ((@IsNull_IdxObjMamma = 1 AND [IdxObjMamm" + - "a] IS NULL) OR ([IdxObjMamma] = @Original_IdxObjMamma)) AND ((@IsNull_Note = 1 A" + - "ND [Note] IS NULL) OR ([Note] = @Original_Note)) AND ((@IsNull_ExtKey = 1 AND [E" + - "xtKey] IS NULL) OR ([ExtKey] = @Original_ExtKey)) AND ((@IsNull_DueDate = 1 AND " + - "[DueDate] IS NULL) OR ([DueDate] = @Original_DueDate)) AND ((@IsNull_LeadTime = " + - "1 AND [LeadTime] IS NULL) OR ([LeadTime] = @Original_LeadTime)) AND ((@IsNull_Le" + - "adTimeUM = 1 AND [LeadTimeUM] IS NULL) OR ([LeadTimeUM] = @Original_LeadTimeUM))" + - " AND ((@IsNull_UserCreaz = 1 AND [UserCreaz] IS NULL) OR ([UserCreaz] = @Origina" + - "l_UserCreaz)) AND ((@IsNull_DataCreaz = 1 AND [DataCreaz] IS NULL) OR ([DataCrea" + - "z] = @Original_DataCreaz)) AND ((@IsNull_UserMod = 1 AND [UserMod] IS NULL) OR (" + - "[UserMod] = @Original_UserMod)) AND ((@IsNull_DataMod = 1 AND [DataMod] IS NULL)" + - " OR ([DataMod] = @Original_DataMod)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR" + - " ([Qta] = @Original_Qta)) AND ((@IsNull_Peso = 1 AND [Peso] IS NULL) OR ([Peso] " + - "= @Original_Peso)) AND ((@IsNull_emailReq = 1 AND [emailReq] IS NULL) OR ([email" + - "Req] = @Original_emailReq)) AND ((@IsNull_emailSent = 1 AND [emailSent] IS NULL)" + - " OR ([emailSent] = @Original_emailSent)));\r\nSELECT IdxObj, CodCliente, CodStato," + - " Posizione, Livello, Rev, CodObj, Nome, DataRif, IdxObjMamma, Note, ExtKey, DueD" + - "ate, LeadTime, LeadTimeUM, UserCreaz, DataCreaz, UserMod, DataMod, Qta, Peso, em" + - "ailReq, emailSent FROM IstObj WHERE (IdxObj = @IdxObj)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - 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("@Posizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Livello", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Livello", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Rev", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObjMamma", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObjMamma", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtKey", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtKey", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LeadTime", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTime", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LeadTimeUM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTimeUM", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserCreaz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Peso", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@emailReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailReq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@emailSent", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailSent", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCliente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, true, 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("@IsNull_Posizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Posizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Livello", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Livello", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Livello", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Livello", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Rev", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Rev", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodObj", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Nome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxObjMamma", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObjMamma", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObjMamma", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObjMamma", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtKey", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtKey", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtKey", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtKey", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DueDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DueDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_LeadTime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTime", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LeadTime", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTime", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_LeadTimeUM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTimeUM", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LeadTimeUM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTimeUM", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserCreaz", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserCreaz", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserCreaz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataCreaz", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserMod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataMod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Peso", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Peso", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_emailReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailReq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_emailReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailReq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_emailSent", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailSent", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_emailSent", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailSent", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[8]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = @"SELECT IdxObj, CodCliente, CodStato, Posizione, Livello, Rev, CodObj, Nome, DataRif, IdxObjMamma, Note, ExtKey, DueDate, LeadTime, LeadTimeUM, UserCreaz, - DataCreaz, UserMod, DataMod, Qta, Peso, emailReq, emailSent -FROM IstObj"; - 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_IstObj_countSisters"; - 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("@IdxObjMamma", 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_IstObj_getByIdx"; - 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("@IdxObj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[3].Connection = this.Connection; - this._commandCollection[3].CommandText = "dbo.stp_IstObj_lastSister"; - this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; - this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObjMamma", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[4].Connection = this.Connection; - this._commandCollection[4].CommandText = "dbo.stp_IstObj_updateDueDateULP"; - this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; - this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMod", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObjCommon", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[5].Connection = this.Connection; - this._commandCollection[5].CommandText = "dbo.stp_IstObj_updateEmailSent"; - this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; - this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[6].Connection = this.Connection; - this._commandCollection[6].CommandText = "dbo.stp_IstObj_updateStato"; - this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; - this._commandCollection[6].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[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMod", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[7].Connection = this.Connection; - this._commandCollection[7].CommandText = "dbo.stp_IstObj_updateStatoTree"; - this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure; - this._commandCollection[7].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[7].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[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMod", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObjCommon", 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", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_applicazione.IstObjDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_applicazione.IstObjDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_applicazione.IstObjDataTable dataTable = new DS_applicazione.IstObjDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_applicazione.IstObjDataTable getByIdxObj(string IdxObj) { - this.Adapter.SelectCommand = this.CommandCollection[2]; - if ((IdxObj == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxObj)); - } - DS_applicazione.IstObjDataTable dataTable = new DS_applicazione.IstObjDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_applicazione.IstObjDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_applicazione dataSet) { - return this.Adapter.Update(dataSet, "IstObj"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete( - string Original_IdxObj, - string Original_CodCliente, - string Original_CodStato, - string Original_Posizione, - global::System.Nullable Original_Livello, - global::System.Nullable Original_Rev, - string Original_CodObj, - string Original_Nome, - global::System.Nullable Original_DataRif, - string Original_IdxObjMamma, - string Original_Note, - string Original_ExtKey, - global::System.Nullable Original_DueDate, - global::System.Nullable Original_LeadTime, - string Original_LeadTimeUM, - string Original_UserCreaz, - global::System.Nullable Original_DataCreaz, - string Original_UserMod, - global::System.Nullable Original_DataMod, - global::System.Nullable Original_Qta, - global::System.Nullable Original_Peso, - global::System.Nullable Original_emailReq, - global::System.Nullable Original_emailSent) { - if ((Original_IdxObj == null)) { - throw new global::System.ArgumentNullException("Original_IdxObj"); - } - else { - this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_IdxObj)); - } - if ((Original_CodCliente == null)) { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodCliente)); - } - if ((Original_CodStato == null)) { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodStato)); - } - if ((Original_Posizione == null)) { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Posizione)); - } - if ((Original_Livello.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[8].Value = ((int)(Original_Livello.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; - } - if ((Original_Rev.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[10].Value = ((int)(Original_Rev.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; - } - if ((Original_CodObj == null)) { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_CodObj)); - } - if ((Original_Nome == null)) { - this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_Nome)); - } - if ((Original_DataRif.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[16].Value = ((System.DateTime)(Original_DataRif.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value; - } - if ((Original_IdxObjMamma == null)) { - this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_IdxObjMamma)); - } - if ((Original_Note == null)) { - this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_Note)); - } - if ((Original_ExtKey == null)) { - this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_ExtKey)); - } - if ((Original_DueDate.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[24].Value = ((System.DateTime)(Original_DueDate.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value; - } - if ((Original_LeadTime.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[26].Value = ((double)(Original_LeadTime.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value; - } - if ((Original_LeadTimeUM == null)) { - this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_LeadTimeUM)); - } - if ((Original_UserCreaz == null)) { - this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_UserCreaz)); - } - if ((Original_DataCreaz.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[32].Value = ((System.DateTime)(Original_DataCreaz.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value; - } - if ((Original_UserMod == null)) { - this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_UserMod)); - } - if ((Original_DataMod.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[36].Value = ((System.DateTime)(Original_DataMod.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value; - } - if ((Original_Qta.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[38].Value = ((int)(Original_Qta.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value; - } - if ((Original_Peso.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[40].Value = ((double)(Original_Peso.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value; - } - if ((Original_emailReq.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[42].Value = ((bool)(Original_emailReq.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[42].Value = global::System.DBNull.Value; - } - if ((Original_emailSent.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[44].Value = ((System.DateTime)(Original_emailSent.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[44].Value = global::System.DBNull.Value; - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert( - string IdxObj, - string CodCliente, - string CodStato, - string Posizione, - global::System.Nullable Livello, - global::System.Nullable Rev, - string CodObj, - string Nome, - global::System.Nullable DataRif, - string IdxObjMamma, - string Note, - string ExtKey, - global::System.Nullable DueDate, - global::System.Nullable LeadTime, - string LeadTimeUM, - string UserCreaz, - global::System.Nullable DataCreaz, - string UserMod, - global::System.Nullable DataMod, - global::System.Nullable Qta, - global::System.Nullable Peso, - global::System.Nullable emailReq, - global::System.Nullable emailSent) { - if ((IdxObj == null)) { - throw new global::System.ArgumentNullException("IdxObj"); - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = ((string)(IdxObj)); - } - if ((CodCliente == null)) { - this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodCliente)); - } - if ((CodStato == null)) { - this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodStato)); - } - if ((Posizione == null)) { - this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Posizione)); - } - if ((Livello.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[4].Value = ((int)(Livello.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; - } - if ((Rev.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[5].Value = ((int)(Rev.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; - } - if ((CodObj == null)) { - this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[6].Value = ((string)(CodObj)); - } - if ((Nome == null)) { - this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Nome)); - } - if ((DataRif.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(DataRif.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; - } - if ((IdxObjMamma == null)) { - this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[9].Value = ((string)(IdxObjMamma)); - } - if ((Note == null)) { - this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[10].Value = ((string)(Note)); - } - if ((ExtKey == null)) { - this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[11].Value = ((string)(ExtKey)); - } - if ((DueDate.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[12].Value = ((System.DateTime)(DueDate.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; - } - if ((LeadTime.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[13].Value = ((double)(LeadTime.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; - } - if ((LeadTimeUM == null)) { - this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[14].Value = ((string)(LeadTimeUM)); - } - if ((UserCreaz == null)) { - this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[15].Value = ((string)(UserCreaz)); - } - if ((DataCreaz.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[16].Value = ((System.DateTime)(DataCreaz.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; - } - if ((UserMod == null)) { - this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[17].Value = ((string)(UserMod)); - } - if ((DataMod.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[18].Value = ((System.DateTime)(DataMod.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; - } - if ((Qta.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[19].Value = ((int)(Qta.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; - } - if ((Peso.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[20].Value = ((double)(Peso.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; - } - if ((emailReq.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[21].Value = ((bool)(emailReq.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value; - } - if ((emailSent.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[22].Value = ((System.DateTime)(emailSent.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[22].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", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update( - string IdxObj, - string CodCliente, - string CodStato, - string Posizione, - global::System.Nullable Livello, - global::System.Nullable Rev, - string CodObj, - string Nome, - global::System.Nullable DataRif, - string IdxObjMamma, - string Note, - string ExtKey, - global::System.Nullable DueDate, - global::System.Nullable LeadTime, - string LeadTimeUM, - string UserCreaz, - global::System.Nullable DataCreaz, - string UserMod, - global::System.Nullable DataMod, - global::System.Nullable Qta, - global::System.Nullable Peso, - global::System.Nullable emailReq, - global::System.Nullable emailSent, - string Original_IdxObj, - string Original_CodCliente, - string Original_CodStato, - string Original_Posizione, - global::System.Nullable Original_Livello, - global::System.Nullable Original_Rev, - string Original_CodObj, - string Original_Nome, - global::System.Nullable Original_DataRif, - string Original_IdxObjMamma, - string Original_Note, - string Original_ExtKey, - global::System.Nullable Original_DueDate, - global::System.Nullable Original_LeadTime, - string Original_LeadTimeUM, - string Original_UserCreaz, - global::System.Nullable Original_DataCreaz, - string Original_UserMod, - global::System.Nullable Original_DataMod, - global::System.Nullable Original_Qta, - global::System.Nullable Original_Peso, - global::System.Nullable Original_emailReq, - global::System.Nullable Original_emailSent) { - if ((IdxObj == null)) { - throw new global::System.ArgumentNullException("IdxObj"); - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(IdxObj)); - } - if ((CodCliente == null)) { - this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodCliente)); - } - if ((CodStato == null)) { - this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodStato)); - } - if ((Posizione == null)) { - this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Posizione)); - } - if ((Livello.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(Livello.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; - } - if ((Rev.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Rev.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; - } - if ((CodObj == null)) { - this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(CodObj)); - } - if ((Nome == null)) { - this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Nome)); - } - if ((DataRif.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(DataRif.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; - } - if ((IdxObjMamma == null)) { - this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(IdxObjMamma)); - } - if ((Note == null)) { - this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Note)); - } - if ((ExtKey == null)) { - this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(ExtKey)); - } - if ((DueDate.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(DueDate.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; - } - if ((LeadTime.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[13].Value = ((double)(LeadTime.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; - } - if ((LeadTimeUM == null)) { - this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(LeadTimeUM)); - } - if ((UserCreaz == null)) { - this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(UserCreaz)); - } - if ((DataCreaz.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[16].Value = ((System.DateTime)(DataCreaz.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; - } - if ((UserMod == null)) { - this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(UserMod)); - } - if ((DataMod.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[18].Value = ((System.DateTime)(DataMod.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; - } - if ((Qta.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(Qta.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; - } - if ((Peso.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[20].Value = ((double)(Peso.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; - } - if ((emailReq.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[21].Value = ((bool)(emailReq.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; - } - if ((emailSent.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[22].Value = ((System.DateTime)(emailSent.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; - } - if ((Original_IdxObj == null)) { - throw new global::System.ArgumentNullException("Original_IdxObj"); - } - else { - this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_IdxObj)); - } - if ((Original_CodCliente == null)) { - this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_CodCliente)); - } - if ((Original_CodStato == null)) { - this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_CodStato)); - } - if ((Original_Posizione == null)) { - this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_Posizione)); - } - if ((Original_Livello.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_Livello.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value; - } - if ((Original_Rev.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(Original_Rev.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value; - } - if ((Original_CodObj == null)) { - this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_CodObj)); - } - if ((Original_Nome == null)) { - this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_Nome)); - } - if ((Original_DataRif.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[39].Value = ((System.DateTime)(Original_DataRif.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value; - } - if ((Original_IdxObjMamma == null)) { - this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_IdxObjMamma)); - } - if ((Original_Note == null)) { - this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_Note)); - } - if ((Original_ExtKey == null)) { - this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_ExtKey)); - } - if ((Original_DueDate.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[47].Value = ((System.DateTime)(Original_DueDate.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value; - } - if ((Original_LeadTime.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[49].Value = ((double)(Original_LeadTime.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value; - } - if ((Original_LeadTimeUM == null)) { - this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Original_LeadTimeUM)); - } - if ((Original_UserCreaz == null)) { - this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[53].Value = ((string)(Original_UserCreaz)); - } - if ((Original_DataCreaz.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[55].Value = ((System.DateTime)(Original_DataCreaz.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value; - } - if ((Original_UserMod == null)) { - this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[57].Value = ((string)(Original_UserMod)); - } - if ((Original_DataMod.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[59].Value = ((System.DateTime)(Original_DataMod.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value; - } - if ((Original_Qta.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[61].Value = ((int)(Original_Qta.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value; - } - if ((Original_Peso.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[63].Value = ((double)(Original_Peso.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value; - } - if ((Original_emailReq.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[65].Value = ((bool)(Original_emailReq.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value; - } - if ((Original_emailSent.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[67].Value = ((System.DateTime)(Original_emailSent.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value; - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update( - string CodCliente, - string CodStato, - string Posizione, - global::System.Nullable Livello, - global::System.Nullable Rev, - string CodObj, - string Nome, - global::System.Nullable DataRif, - string IdxObjMamma, - string Note, - string ExtKey, - global::System.Nullable DueDate, - global::System.Nullable LeadTime, - string LeadTimeUM, - string UserCreaz, - global::System.Nullable DataCreaz, - string UserMod, - global::System.Nullable DataMod, - global::System.Nullable Qta, - global::System.Nullable Peso, - global::System.Nullable emailReq, - global::System.Nullable emailSent, - string Original_IdxObj, - string Original_CodCliente, - string Original_CodStato, - string Original_Posizione, - global::System.Nullable Original_Livello, - global::System.Nullable Original_Rev, - string Original_CodObj, - string Original_Nome, - global::System.Nullable Original_DataRif, - string Original_IdxObjMamma, - string Original_Note, - string Original_ExtKey, - global::System.Nullable Original_DueDate, - global::System.Nullable Original_LeadTime, - string Original_LeadTimeUM, - string Original_UserCreaz, - global::System.Nullable Original_DataCreaz, - string Original_UserMod, - global::System.Nullable Original_DataMod, - global::System.Nullable Original_Qta, - global::System.Nullable Original_Peso, - global::System.Nullable Original_emailReq, - global::System.Nullable Original_emailSent) { - return this.Update(Original_IdxObj, CodCliente, CodStato, Posizione, Livello, Rev, CodObj, Nome, DataRif, IdxObjMamma, Note, ExtKey, DueDate, LeadTime, LeadTimeUM, UserCreaz, DataCreaz, UserMod, DataMod, Qta, Peso, emailReq, emailSent, Original_IdxObj, Original_CodCliente, Original_CodStato, Original_Posizione, Original_Livello, Original_Rev, Original_CodObj, Original_Nome, Original_DataRif, Original_IdxObjMamma, Original_Note, Original_ExtKey, Original_DueDate, Original_LeadTime, Original_LeadTimeUM, Original_UserCreaz, Original_DataCreaz, Original_UserMod, Original_DataMod, Original_Qta, Original_Peso, Original_emailReq, Original_emailSent); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual object countSisters(string IdxObjMamma) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; - if ((IdxObjMamma == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(IdxObjMamma)); - } - 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(); - } - object returnValue; - try { - returnValue = command.ExecuteScalar(); - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - command.Connection.Close(); - } - } - if (((returnValue == null) - || (returnValue.GetType() == typeof(global::System.DBNull)))) { - return null; - } - else { - return ((object)(returnValue)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual object lastSister(string IdxObjMamma) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; - if ((IdxObjMamma == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(IdxObjMamma)); - } - 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(); - } - object returnValue; - try { - returnValue = command.ExecuteScalar(); - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - command.Connection.Close(); - } - } - if (((returnValue == null) - || (returnValue.GetType() == typeof(global::System.DBNull)))) { - return null; - } - else { - return ((object)(returnValue)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int updateDueDateULP(global::System.Nullable DueDate, string UserMod, global::System.Nullable DataMod, string IdxObjCommon) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; - if ((DueDate.HasValue == true)) { - command.Parameters[1].Value = ((System.DateTime)(DueDate.Value)); - } - else { - command.Parameters[1].Value = global::System.DBNull.Value; - } - if ((UserMod == null)) { - command.Parameters[2].Value = global::System.DBNull.Value; - } - else { - command.Parameters[2].Value = ((string)(UserMod)); - } - if ((DataMod.HasValue == true)) { - command.Parameters[3].Value = ((System.DateTime)(DataMod.Value)); - } - else { - command.Parameters[3].Value = global::System.DBNull.Value; - } - if ((IdxObjCommon == null)) { - command.Parameters[4].Value = global::System.DBNull.Value; - } - else { - command.Parameters[4].Value = ((string)(IdxObjCommon)); - } - 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; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int updateEmailSent(string IdxObj) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; - if ((IdxObj == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(IdxObj)); - } - 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; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int updateStato(string CodStato, string UserMod, global::System.Nullable DataMod, string IdxObj) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; - if ((CodStato == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(CodStato)); - } - if ((UserMod == null)) { - command.Parameters[2].Value = global::System.DBNull.Value; - } - else { - command.Parameters[2].Value = ((string)(UserMod)); - } - if ((DataMod.HasValue == true)) { - command.Parameters[3].Value = ((System.DateTime)(DataMod.Value)); - } - else { - command.Parameters[3].Value = global::System.DBNull.Value; - } - if ((IdxObj == null)) { - command.Parameters[4].Value = global::System.DBNull.Value; - } - else { - command.Parameters[4].Value = ((string)(IdxObj)); - } - 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; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int updateStatoTree(string CodStato, string UserMod, global::System.Nullable DataMod, string IdxObjCommon) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7]; - if ((CodStato == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(CodStato)); - } - if ((UserMod == null)) { - command.Parameters[2].Value = global::System.DBNull.Value; - } - else { - command.Parameters[2].Value = ((string)(UserMod)); - } - if ((DataMod.HasValue == true)) { - command.Parameters[3].Value = ((System.DateTime)(DataMod.Value)); - } - else { - command.Parameters[3].Value = global::System.DBNull.Value; - } - if ((IdxObjCommon == null)) { - command.Parameters[4].Value = global::System.DBNull.Value; - } - else { - command.Parameters[4].Value = ((string)(IdxObjCommon)); - } - 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 v_righeTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_righeTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "v_righe"; - tableMapping.ColumnMappings.Add("Cod", "Cod"); - tableMapping.ColumnMappings.Add("Stato", "Stato"); - tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); - tableMapping.ColumnMappings.Add("Cliente", "Cliente"); - tableMapping.ColumnMappings.Add("CodCli", "CodCli"); - tableMapping.ColumnMappings.Add("descrizione", "descrizione"); - tableMapping.ColumnMappings.Add("DDT", "DDT"); - tableMapping.ColumnMappings.Add("DataDDT", "DataDDT"); - tableMapping.ColumnMappings.Add("DataArrivo", "DataArrivo"); - tableMapping.ColumnMappings.Add("Posizione", "Posizione"); - tableMapping.ColumnMappings.Add("Qta", "Qta"); - tableMapping.ColumnMappings.Add("Peso", "Peso"); - tableMapping.ColumnMappings.Add("Colli", "Colli"); - tableMapping.ColumnMappings.Add("DataPrevista", "DataPrevista"); - tableMapping.ColumnMappings.Add("IdxObjMamma", "IdxObjMamma"); - tableMapping.ColumnMappings.Add("CodStato", "CodStato"); - tableMapping.ColumnMappings.Add("minStato", "minStato"); - tableMapping.ColumnMappings.Add("maxStato", "maxStato"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT Cod, Stato, CodCliente, Cliente, CodCli, descrizione, DDT, DataDDT, DataAr" + - "rivo, Posizione, Qta, Peso, Colli, DataPrevista, IdxObjMamma, CodStato, minStato" + - ", maxStato FROM dbo.v_righe"; - 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 = "SELECT Cliente, Cod, CodCli, CodCliente, CodStato, Colli, DDT, DataArrivo, DataDD" + - "T, DataPrevista, IdxObjMamma, Peso, Posizione, Qta, Stato, descrizione, maxStato" + - ", minStato FROM v_righe WHERE (IdxObjMamma = @CodMamma)"; - this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMamma", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObjMamma", 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.sp_clonaRowObj"; - 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("@IdxObj_orig", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[3].Connection = this.Connection; - this._commandCollection[3].CommandText = "dbo.sp_delRow"; - this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; - this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cod", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[4].Connection = this.Connection; - this._commandCollection[4].CommandText = "UPDATE IstObj\r\nSET Note = @descrizione\r\nWHERE (IdxObj = @Origi" + - "nal_Cod)"; - this._commandCollection[4].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_applicazione.v_righeDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_applicazione.v_righeDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_applicazione.v_righeDataTable dataTable = new DS_applicazione.v_righeDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_applicazione.v_righeDataTable getByCodMamma(string CodMamma) { - this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((CodMamma == null)) { - this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodMamma)); - } - DS_applicazione.v_righeDataTable dataTable = new DS_applicazione.v_righeDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int sp_clonaRowObj(string IdxObj_orig) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; - if ((IdxObj_orig == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(IdxObj_orig)); - } - 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; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int sp_delRow(string Original_Cod) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; - if ((Original_Cod == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(Original_Cod)); - } - 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; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] - public virtual int UpdateQuery(string descrizione, string Original_Cod) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; - if ((descrizione == null)) { - command.Parameters[0].Value = global::System.DBNull.Value; - } - else { - command.Parameters[0].Value = ((string)(descrizione)); - } - if ((Original_Cod == null)) { - throw new global::System.ArgumentNullException("Original_Cod"); - } - else { - command.Parameters[1].Value = ((string)(Original_Cod)); - } - 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 sp_rec4DayTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_rec4DayTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "sp_rec4Day"; - tableMapping.ColumnMappings.Add("rec4Day", "rec4Day"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "dbo.sp_rec4Day"; - 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("@dayCod", global::System.Data.SqlDbType.VarChar, 6, 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", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_applicazione.sp_rec4DayDataTable dataTable, string dayCod) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((dayCod == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(dayCod)); - } - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_applicazione.sp_rec4DayDataTable GetData(string dayCod) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((dayCod == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(dayCod)); - } - DS_applicazione.sp_rec4DayDataTable dataTable = new DS_applicazione.sp_rec4DayDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - } - - /// - ///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 v_ULPTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_ULPTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "v_ULP"; - tableMapping.ColumnMappings.Add("Cod", "Cod"); - tableMapping.ColumnMappings.Add("Stato", "Stato"); - tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); - tableMapping.ColumnMappings.Add("Cliente", "Cliente"); - tableMapping.ColumnMappings.Add("CodCli", "CodCli"); - tableMapping.ColumnMappings.Add("descrizione", "descrizione"); - tableMapping.ColumnMappings.Add("DDT", "DDT"); - tableMapping.ColumnMappings.Add("DataDDT", "DataDDT"); - tableMapping.ColumnMappings.Add("DataArrivo", "DataArrivo"); - tableMapping.ColumnMappings.Add("Posizione", "Posizione"); - tableMapping.ColumnMappings.Add("Qta", "Qta"); - tableMapping.ColumnMappings.Add("Peso", "Peso"); - tableMapping.ColumnMappings.Add("DataPrevista", "DataPrevista"); - tableMapping.ColumnMappings.Add("IdxObjMamma", "IdxObjMamma"); - tableMapping.ColumnMappings.Add("CodStato", "CodStato"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[8]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT Cod, Stato, CodCliente, Cliente, CodCli, descrizione, DDT, DataDDT, DataAr" + - "rivo, Posizione, Qta, Peso, DataPrevista, IdxObjMamma, CodStato FROM dbo.v_ULP"; - 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 = "SELECT * FROM v_ULP WHERE (IdxObjMamma = @CodMamma)"; - this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMamma", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObjMamma", 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 = "SELECT Cod, Stato, CodCliente, Cliente, CodCli, descrizione, DDT, DataDDT, Da" + - "taArrivo, Posizione, Qta, Peso, DataPrevista, IdxObjMamma, CodStato\r\nFROM " + - " v_ULP\r\nWHERE (CodStato = @CodStato)"; - this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; - 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, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[3].Connection = this.Connection; - this._commandCollection[3].CommandText = @"SELECT Cod, Stato, CodCliente, Cliente, CodCli, descrizione, DDT, DataDDT, DataArrivo, Posizione, Qta, Peso, DataPrevista, IdxObjMamma, CodStato -FROM v_ULP -WHERE (DataPrevista BETWEEN @DataRif AND DATEADD(dd, 1, @DataRif)) AND (CodStato < @MaxStato)"; - this._commandCollection[3].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "DataPrevista", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MaxStato", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[4].Connection = this.Connection; - this._commandCollection[4].CommandText = "SELECT * FROM v_ULP\r\nWHERE ((DataPrevista < @DataPrevista) OR (DataPrevista " + - "IS NULL)) AND (CodStato< @MaxStato)\r\nORDER BY DataArrivo\t"; - this._commandCollection[4].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataPrevista", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "DataPrevista", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MaxStato", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[5].Connection = this.Connection; - this._commandCollection[5].CommandText = "dbo.sp_clonaObj"; - this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; - this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj_orig", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[6].Connection = this.Connection; - this._commandCollection[6].CommandText = "dbo.sp_delRow"; - this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; - this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cod", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[7].Connection = this.Connection; - this._commandCollection[7].CommandText = "UPDATE IstObj\r\nSET Note = @descrizione, Qta = @Qta, Peso = @Peso," + - " DueDate = @DataPrevista\r\nWHERE (IdxObj = @Original_Cod)"; - this._commandCollection[7].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Peso", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataPrevista", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_applicazione.v_ULPDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_applicazione.v_ULPDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_applicazione.v_ULPDataTable dataTable = new DS_applicazione.v_ULPDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_applicazione.v_ULPDataTable getByCodMamma(string CodMamma) { - this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((CodMamma == null)) { - this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodMamma)); - } - DS_applicazione.v_ULPDataTable dataTable = new DS_applicazione.v_ULPDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_applicazione.v_ULPDataTable getByCodStato(string CodStato) { - this.Adapter.SelectCommand = this.CommandCollection[2]; - if ((CodStato == null)) { - this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodStato)); - } - DS_applicazione.v_ULPDataTable dataTable = new DS_applicazione.v_ULPDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_applicazione.v_ULPDataTable getOnlyOnDate(global::System.Nullable DataRif, string MaxStato) { - this.Adapter.SelectCommand = this.CommandCollection[3]; - if ((DataRif.HasValue == true)) { - this.Adapter.SelectCommand.Parameters[0].Value = ((System.DateTime)(DataRif.Value)); - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; - } - if ((MaxStato == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(MaxStato)); - } - DS_applicazione.v_ULPDataTable dataTable = new DS_applicazione.v_ULPDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_applicazione.v_ULPDataTable getPreDueDate(global::System.Nullable DataPrevista, string MaxStato) { - this.Adapter.SelectCommand = this.CommandCollection[4]; - if ((DataPrevista.HasValue == true)) { - this.Adapter.SelectCommand.Parameters[0].Value = ((System.DateTime)(DataPrevista.Value)); - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; - } - if ((MaxStato == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(MaxStato)); - } - DS_applicazione.v_ULPDataTable dataTable = new DS_applicazione.v_ULPDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int sp_clonaObj(string IdxObj_orig) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; - if ((IdxObj_orig == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(IdxObj_orig)); - } - 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; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int sp_delRow(string Original_Cod) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; - if ((Original_Cod == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(Original_Cod)); - } - 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; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] - public virtual int UpdateQuery(string descrizione, global::System.Nullable Qta, global::System.Nullable Peso, global::System.Nullable DataPrevista, string Original_Cod) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7]; - if ((descrizione == null)) { - command.Parameters[0].Value = global::System.DBNull.Value; - } - else { - command.Parameters[0].Value = ((string)(descrizione)); - } - if ((Qta.HasValue == true)) { - command.Parameters[1].Value = ((int)(Qta.Value)); - } - else { - command.Parameters[1].Value = global::System.DBNull.Value; - } - if ((Peso.HasValue == true)) { - command.Parameters[2].Value = ((double)(Peso.Value)); - } - else { - command.Parameters[2].Value = global::System.DBNull.Value; - } - if ((DataPrevista.HasValue == true)) { - command.Parameters[3].Value = ((System.DateTime)(DataPrevista.Value)); - } - else { - command.Parameters[3].Value = global::System.DBNull.Value; - } - if ((Original_Cod == null)) { - throw new global::System.ArgumentNullException("Original_Cod"); - } - else { - command.Parameters[4].Value = ((string)(Original_Cod)); - } - 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 EventiTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public EventiTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "Eventi"; - tableMapping.ColumnMappings.Add("CodEvento", "CodEvento"); - tableMapping.ColumnMappings.Add("CodTipoEvento", "CodTipoEvento"); - tableMapping.ColumnMappings.Add("DescrEvento", "DescrEvento"); - tableMapping.ColumnMappings.Add("Action", "Action"); - 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].[Eventi] WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_CodTipoEvento = 1 AND [CodTipoEvento] IS NULL) OR ([CodTipoEvento] = @Original_CodTipoEvento)) AND ((@IsNull_DescrEvento = 1 AND [DescrEvento] IS NULL) OR ([DescrEvento] = @Original_DescrEvento)) AND ((@IsNull_Action = 1 AND [Action] IS NULL) OR ([Action] = @Original_Action)))"; - this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodTipoEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Action", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Action", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", 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].[Eventi] ([CodEvento], [CodTipoEvento], [DescrEvento], [Action]" + - ") VALUES (@CodEvento, @CodTipoEvento, @DescrEvento, @Action);\r\nSELECT CodEvento," + - " CodTipoEvento, DescrEvento, Action FROM Eventi WHERE (CodEvento = @CodEvento)"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Action", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", 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].[Eventi] SET [CodEvento] = @CodEvento, [CodTipoEvento] = @CodTipoEvento, [DescrEvento] = @DescrEvento, [Action] = @Action WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_CodTipoEvento = 1 AND [CodTipoEvento] IS NULL) OR ([CodTipoEvento] = @Original_CodTipoEvento)) AND ((@IsNull_DescrEvento = 1 AND [DescrEvento] IS NULL) OR ([DescrEvento] = @Original_DescrEvento)) AND ((@IsNull_Action = 1 AND [Action] IS NULL) OR ([Action] = @Original_Action))); -SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM Eventi WHERE (CodEvento = @CodEvento)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Action", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodTipoEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Action", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Action", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM dbo.Eventi"; - 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 = "SELECT DISTINCT Eventi.CodEvento, Eventi.CodTipoEvento, Eventi.DescrEvento, Event" + - "i.Action\r\nFROM Eventi INNER JOIN\r\n TraEv2Stati ON E" + - "venti.CodEvento = TraEv2Stati.CodEvento\r\nWHERE (TraEv2Stati.CodEvento = @Cod" + - "Evento)"; - this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_applicazione.EventiDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_applicazione.EventiDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_applicazione.EventiDataTable dataTable = new DS_applicazione.EventiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_applicazione.EventiDataTable getByCodEvento(string CodEvento) { - this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((CodEvento == null)) { - throw new global::System.ArgumentNullException("CodEvento"); - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodEvento)); - } - DS_applicazione.EventiDataTable dataTable = new DS_applicazione.EventiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_applicazione.EventiDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_applicazione dataSet) { - return this.Adapter.Update(dataSet, "Eventi"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_CodEvento, string Original_CodTipoEvento, string Original_DescrEvento, string Original_Action) { - if ((Original_CodEvento == null)) { - throw new global::System.ArgumentNullException("Original_CodEvento"); - } - else { - this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodEvento)); - } - if ((Original_CodTipoEvento == null)) { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodTipoEvento)); - } - if ((Original_DescrEvento == null)) { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_DescrEvento)); - } - if ((Original_Action == null)) { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Action)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string CodEvento, string CodTipoEvento, string DescrEvento, string Action) { - if ((CodEvento == null)) { - throw new global::System.ArgumentNullException("CodEvento"); - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodEvento)); - } - if ((CodTipoEvento == null)) { - this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodTipoEvento)); - } - if ((DescrEvento == null)) { - this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[2].Value = ((string)(DescrEvento)); - } - if ((Action == null)) { - this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Action)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.InsertCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.InsertCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string CodEvento, string CodTipoEvento, string DescrEvento, string Action, string Original_CodEvento, string Original_CodTipoEvento, string Original_DescrEvento, string Original_Action) { - if ((CodEvento == null)) { - throw new global::System.ArgumentNullException("CodEvento"); - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodEvento)); - } - if ((CodTipoEvento == null)) { - this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodTipoEvento)); - } - if ((DescrEvento == null)) { - this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(DescrEvento)); - } - if ((Action == null)) { - this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Action)); - } - if ((Original_CodEvento == null)) { - throw new global::System.ArgumentNullException("Original_CodEvento"); - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodEvento)); - } - if ((Original_CodTipoEvento == null)) { - this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_CodTipoEvento)); - } - if ((Original_DescrEvento == null)) { - this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_DescrEvento)); - } - if ((Original_Action == null)) { - this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_Action)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string CodTipoEvento, string DescrEvento, string Action, string Original_CodEvento, string Original_CodTipoEvento, string Original_DescrEvento, string Original_Action) { - return this.Update(Original_CodEvento, CodTipoEvento, DescrEvento, Action, Original_CodEvento, Original_CodTipoEvento, Original_DescrEvento, Original_Action); - } - } - - /// - ///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 TraEv2StatiTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public TraEv2StatiTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "TraEv2Stati"; - tableMapping.ColumnMappings.Add("CodMappa", "CodMappa"); - tableMapping.ColumnMappings.Add("CodObj", "CodObj"); - tableMapping.ColumnMappings.Add("CodStato", "CodStato"); - tableMapping.ColumnMappings.Add("CodEvento", "CodEvento"); - tableMapping.ColumnMappings.Add("NextCodStato", "NextCodStato"); - tableMapping.ColumnMappings.Add("CmdPlugin", "CmdPlugin"); - tableMapping.ColumnMappings.Add("text2show", "text2show"); - tableMapping.ColumnMappings.Add("descrComando", "descrComando"); - 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].[TraEv2Stati] WHERE (([CodMappa] = @Original_CodMappa) AND ([CodObj] = @Original_CodObj) AND ([CodStato] = @Original_CodStato) AND ([CodEvento] = @Original_CodEvento) AND ((@IsNull_NextCodStato = 1 AND [NextCodStato] IS NULL) OR ([NextCodStato] = @Original_NextCodStato)) AND ((@IsNull_CmdPlugin = 1 AND [CmdPlugin] IS NULL) OR ([CmdPlugin] = @Original_CmdPlugin)) AND ((@IsNull_text2show = 1 AND [text2show] IS NULL) OR ([text2show] = @Original_text2show)) AND ((@IsNull_descrComando = 1 AND [descrComando] IS NULL) OR ([descrComando] = @Original_descrComando)))"; - this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - 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_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NextCodStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NextCodStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NextCodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NextCodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CmdPlugin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CmdPlugin", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CmdPlugin", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CmdPlugin", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_text2show", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "text2show", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_text2show", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "text2show", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_descrComando", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrComando", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_descrComando", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrComando", 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].[TraEv2Stati] ([CodMappa], [CodObj], [CodStato], [CodEvento], [NextCodStato], [CmdPlugin], [text2show], [descrComando]) VALUES (@CodMappa, @CodObj, @CodStato, @CodEvento, @NextCodStato, @CmdPlugin, @text2show, @descrComando); -SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show, descrComando FROM TraEv2Stati WHERE (CodEvento = @CodEvento) AND (CodMappa = @CodMappa) AND (CodObj = @CodObj) AND (CodStato = @CodStato)"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - 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("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NextCodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NextCodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CmdPlugin", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CmdPlugin", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@text2show", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "text2show", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrComando", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrComando", 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].[TraEv2Stati] SET [CodMappa] = @CodMappa, [CodObj] = @CodObj, [CodStato] = @CodStato, [CodEvento] = @CodEvento, [NextCodStato] = @NextCodStato, [CmdPlugin] = @CmdPlugin, [text2show] = @text2show, [descrComando] = @descrComando WHERE (([CodMappa] = @Original_CodMappa) AND ([CodObj] = @Original_CodObj) AND ([CodStato] = @Original_CodStato) AND ([CodEvento] = @Original_CodEvento) AND ((@IsNull_NextCodStato = 1 AND [NextCodStato] IS NULL) OR ([NextCodStato] = @Original_NextCodStato)) AND ((@IsNull_CmdPlugin = 1 AND [CmdPlugin] IS NULL) OR ([CmdPlugin] = @Original_CmdPlugin)) AND ((@IsNull_text2show = 1 AND [text2show] IS NULL) OR ([text2show] = @Original_text2show)) AND ((@IsNull_descrComando = 1 AND [descrComando] IS NULL) OR ([descrComando] = @Original_descrComando))); -SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show, descrComando FROM TraEv2Stati WHERE (CodEvento = @CodEvento) AND (CodMappa = @CodMappa) AND (CodObj = @CodObj) AND (CodStato = @CodStato)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - 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("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NextCodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NextCodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CmdPlugin", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CmdPlugin", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@text2show", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "text2show", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrComando", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrComando", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, 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_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NextCodStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NextCodStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NextCodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NextCodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CmdPlugin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CmdPlugin", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CmdPlugin", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CmdPlugin", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_text2show", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "text2show", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_text2show", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "text2show", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_descrComando", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrComando", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_descrComando", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrComando", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show," + - " descrComando FROM dbo.TraEv2Stati"; - 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 = "SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show," + - " descrComando FROM dbo.TraEv2Stati\r\nwhere CodMappa=@CodMappa"; - this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", 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 = "SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2s" + - "how, descrComando\r\nFROM TraEv2Stati\r\nWHERE (CodMappa = @CodMappa) AN" + - "D (CodObj = @CodObj) AND (CodStato = @CodStato) AND (CodEvento = @CodEvento)"; - this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", 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, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_applicazione.TraEv2StatiDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_applicazione.TraEv2StatiDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_applicazione.TraEv2StatiDataTable dataTable = new DS_applicazione.TraEv2StatiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_applicazione.TraEv2StatiDataTable getByCodMappa(string CodMappa) { - this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((CodMappa == null)) { - throw new global::System.ArgumentNullException("CodMappa"); - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodMappa)); - } - DS_applicazione.TraEv2StatiDataTable dataTable = new DS_applicazione.TraEv2StatiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_applicazione.TraEv2StatiDataTable getByKey(string CodMappa, string CodObj, string CodStato, string CodEvento) { - this.Adapter.SelectCommand = this.CommandCollection[2]; - if ((CodMappa == null)) { - throw new global::System.ArgumentNullException("CodMappa"); - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodMappa)); - } - if ((CodObj == null)) { - throw new global::System.ArgumentNullException("CodObj"); - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodObj)); - } - if ((CodStato == null)) { - throw new global::System.ArgumentNullException("CodStato"); - } - else { - this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodStato)); - } - if ((CodEvento == null)) { - throw new global::System.ArgumentNullException("CodEvento"); - } - else { - this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodEvento)); - } - DS_applicazione.TraEv2StatiDataTable dataTable = new DS_applicazione.TraEv2StatiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_applicazione.TraEv2StatiDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_applicazione dataSet) { - return this.Adapter.Update(dataSet, "TraEv2Stati"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_CodMappa, string Original_CodObj, string Original_CodStato, string Original_CodEvento, string Original_NextCodStato, string Original_CmdPlugin, string Original_text2show, string Original_descrComando) { - if ((Original_CodMappa == null)) { - throw new global::System.ArgumentNullException("Original_CodMappa"); - } - else { - this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodMappa)); - } - if ((Original_CodObj == null)) { - throw new global::System.ArgumentNullException("Original_CodObj"); - } - else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodObj)); - } - if ((Original_CodStato == null)) { - throw new global::System.ArgumentNullException("Original_CodStato"); - } - else { - this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodStato)); - } - if ((Original_CodEvento == null)) { - throw new global::System.ArgumentNullException("Original_CodEvento"); - } - else { - this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CodEvento)); - } - if ((Original_NextCodStato == null)) { - this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_NextCodStato)); - } - if ((Original_CmdPlugin == null)) { - this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_CmdPlugin)); - } - if ((Original_text2show == null)) { - this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_text2show)); - } - if ((Original_descrComando == null)) { - this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_descrComando)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string CodMappa, string CodObj, string CodStato, string CodEvento, string NextCodStato, string CmdPlugin, string text2show, string descrComando) { - if ((CodMappa == null)) { - throw new global::System.ArgumentNullException("CodMappa"); - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodMappa)); - } - if ((CodObj == null)) { - throw new global::System.ArgumentNullException("CodObj"); - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodObj)); - } - if ((CodStato == null)) { - throw new global::System.ArgumentNullException("CodStato"); - } - else { - this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodStato)); - } - if ((CodEvento == null)) { - throw new global::System.ArgumentNullException("CodEvento"); - } - else { - this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodEvento)); - } - if ((NextCodStato == null)) { - this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[4].Value = ((string)(NextCodStato)); - } - if ((CmdPlugin == null)) { - this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CmdPlugin)); - } - if ((text2show == null)) { - this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[6].Value = ((string)(text2show)); - } - if ((descrComando == null)) { - this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[7].Value = ((string)(descrComando)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.InsertCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.InsertCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update( - string CodMappa, - string CodObj, - string CodStato, - string CodEvento, - string NextCodStato, - string CmdPlugin, - string text2show, - string descrComando, - string Original_CodMappa, - string Original_CodObj, - string Original_CodStato, - string Original_CodEvento, - string Original_NextCodStato, - string Original_CmdPlugin, - string Original_text2show, - string Original_descrComando) { - if ((CodMappa == null)) { - throw new global::System.ArgumentNullException("CodMappa"); - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodMappa)); - } - if ((CodObj == null)) { - throw new global::System.ArgumentNullException("CodObj"); - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodObj)); - } - if ((CodStato == null)) { - throw new global::System.ArgumentNullException("CodStato"); - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodStato)); - } - if ((CodEvento == null)) { - throw new global::System.ArgumentNullException("CodEvento"); - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodEvento)); - } - if ((NextCodStato == null)) { - this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(NextCodStato)); - } - if ((CmdPlugin == null)) { - this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CmdPlugin)); - } - if ((text2show == null)) { - this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(text2show)); - } - if ((descrComando == null)) { - this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(descrComando)); - } - if ((Original_CodMappa == null)) { - throw new global::System.ArgumentNullException("Original_CodMappa"); - } - else { - this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodMappa)); - } - if ((Original_CodObj == null)) { - throw new global::System.ArgumentNullException("Original_CodObj"); - } - else { - this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_CodObj)); - } - if ((Original_CodStato == null)) { - throw new global::System.ArgumentNullException("Original_CodStato"); - } - else { - this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_CodStato)); - } - if ((Original_CodEvento == null)) { - throw new global::System.ArgumentNullException("Original_CodEvento"); - } - else { - this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_CodEvento)); - } - if ((Original_NextCodStato == null)) { - this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_NextCodStato)); - } - if ((Original_CmdPlugin == null)) { - this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_CmdPlugin)); - } - if ((Original_text2show == null)) { - this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_text2show)); - } - if ((Original_descrComando == null)) { - this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_descrComando)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string NextCodStato, string CmdPlugin, string text2show, string descrComando, string Original_CodMappa, string Original_CodObj, string Original_CodStato, string Original_CodEvento, string Original_NextCodStato, string Original_CmdPlugin, string Original_text2show, string Original_descrComando) { - return this.Update(Original_CodMappa, Original_CodObj, Original_CodStato, Original_CodEvento, NextCodStato, CmdPlugin, text2show, descrComando, Original_CodMappa, Original_CodObj, Original_CodStato, Original_CodEvento, Original_NextCodStato, Original_CmdPlugin, Original_text2show, Original_descrComando); - } - } - - /// - ///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 v_logStatiTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_logStatiTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "v_logStati"; - tableMapping.ColumnMappings.Add("IdxObj", "IdxObj"); - tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); - tableMapping.ColumnMappings.Add("Nome", "Nome"); - tableMapping.ColumnMappings.Add("DataRif", "DataRif"); - tableMapping.ColumnMappings.Add("Note", "Note"); - tableMapping.ColumnMappings.Add("ExtKey", "ExtKey"); - tableMapping.ColumnMappings.Add("DataOra", "DataOra"); - tableMapping.ColumnMappings.Add("DescrStato", "DescrStato"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT IdxObj, CodCliente, Nome, DataRif, Note, ExtKey, DataOra, DescrStato FROM " + - "dbo.v_logStati"; - 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 = "SELECT IdxObj, CodCliente, Nome, DataRif, Note, ExtKey, DataOra, DescrStat" + - "o\r\nFROM v_logStati\r\nWHERE (IdxObj = @IdxObj)"; - this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_applicazione.v_logStatiDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_applicazione.v_logStatiDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_applicazione.v_logStatiDataTable dataTable = new DS_applicazione.v_logStatiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_applicazione.v_logStatiDataTable getByIdxObj(string IdxObj) { - this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((IdxObj == null)) { - throw new global::System.ArgumentNullException("IdxObj"); - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = ((string)(IdxObj)); - } - DS_applicazione.v_logStatiDataTable dataTable = new DS_applicazione.v_logStatiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - } - - /// - ///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 sp_contaNonSchedTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_contaNonSchedTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "sp_contaNonSched"; - tableMapping.ColumnMappings.Add("quanti", "quanti"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "dbo.sp_contaNonSched"; - 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("@codComune", global::System.Data.SqlDbType.VarChar, 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", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_applicazione.sp_contaNonSchedDataTable dataTable, string codComune) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((codComune == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(codComune)); - } - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_applicazione.sp_contaNonSchedDataTable GetData(string codComune) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((codComune == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(codComune)); - } - DS_applicazione.sp_contaNonSchedDataTable dataTable = new DS_applicazione.sp_contaNonSchedDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - } - - /// - ///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 sp_schedaIdentTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_schedaIdentTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "sp_schedaIdent"; - tableMapping.ColumnMappings.Add("IdxObj", "IdxObj"); - tableMapping.ColumnMappings.Add("Cliente", "Cliente"); - tableMapping.ColumnMappings.Add("DDT", "DDT"); - tableMapping.ColumnMappings.Add("DDT_del", "DDT_del"); - tableMapping.ColumnMappings.Add("DataArrivo", "DataArrivo"); - tableMapping.ColumnMappings.Add("CodProdotto", "CodProdotto"); - tableMapping.ColumnMappings.Add("ConsegnaPrevista", "ConsegnaPrevista"); - tableMapping.ColumnMappings.Add("Peso", "Peso"); - tableMapping.ColumnMappings.Add("FosfManganese", "FosfManganese"); - tableMapping.ColumnMappings.Add("Brunitura", "Brunitura"); - tableMapping.ColumnMappings.Add("FosfTeflon", "FosfTeflon"); - tableMapping.ColumnMappings.Add("Sabbiatura", "Sabbiatura"); - tableMapping.ColumnMappings.Add("F1", "F1"); - tableMapping.ColumnMappings.Add("F2", "F2"); - tableMapping.ColumnMappings.Add("FosfZinco", "FosfZinco"); - tableMapping.ColumnMappings.Add("Teflon", "Teflon"); - tableMapping.ColumnMappings.Add("FosfPreVern", "FosfPreVern"); - tableMapping.ColumnMappings.Add("PzRoto", "PzRoto"); - tableMapping.ColumnMappings.Add("Zinchlorex", "Zinchlorex"); - tableMapping.ColumnMappings.Add("PeekVicote", "PeekVicote"); - tableMapping.ColumnMappings.Add("CodCli", "CodCli"); - tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); - tableMapping.ColumnMappings.Add("Qta", "Qta"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "dbo.sp_schedaIdent"; - 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("@IdxObj", global::System.Data.SqlDbType.VarChar, 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", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_applicazione.sp_schedaIdentDataTable dataTable, string IdxObj) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((IdxObj == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxObj)); - } - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_applicazione.sp_schedaIdentDataTable GetData(string IdxObj) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((IdxObj == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxObj)); - } - DS_applicazione.sp_schedaIdentDataTable dataTable = new DS_applicazione.sp_schedaIdentDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - } - - /// - ///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 sp_ddtTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public sp_ddtTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "sp_ddt"; - tableMapping.ColumnMappings.Add("IdxObj", "IdxObj"); - tableMapping.ColumnMappings.Add("DataCreaz", "DataCreaz"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "dbo.sp_ddt"; - 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("@IdxObj", global::System.Data.SqlDbType.VarChar, 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", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_applicazione.sp_ddtDataTable dataTable, string IdxObj) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((IdxObj == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxObj)); - } - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_applicazione.sp_ddtDataTable GetData(string IdxObj) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((IdxObj == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxObj)); - } - DS_applicazione.sp_ddtDataTable dataTable = new DS_applicazione.sp_ddtDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - } - - /// - ///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 SP : global::System.ComponentModel.Component { - - private global::System.Data.IDbCommand[] _commandCollection; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.IDbCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.IDbCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Connection = new global::System.Data.SqlClient.SqlConnection(global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandText = "dbo.sp_updateAncestorState"; - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandType = global::System.Data.CommandType.StoredProcedure; - ((global::System.Data.SqlClient.SqlCommand)(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, "", "", "")); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxObjCommon", global::System.Data.SqlDbType.VarChar, 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", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int sp_updateAncestorState(string idxObjCommon) { - global::System.Data.SqlClient.SqlCommand command = ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[0])); - if ((idxObjCommon == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(idxObjCommon)); - } - 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; - } - } - - /// - ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios - /// - [global::System.ComponentModel.DesignerCategoryAttribute("code")] - [global::System.ComponentModel.ToolboxItem(true)] - [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + - "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] - public partial class TableAdapterManager : global::System.ComponentModel.Component { - - private UpdateOrderOption _updateOrder; - - private AnagClientiTableAdapter _anagClientiTableAdapter; - - private AnagTrattamentiTableAdapter _anagTrattamentiTableAdapter; - - private Tratt2ObjTableAdapter _tratt2ObjTableAdapter; - - private IstObjTableAdapter _istObjTableAdapter; - - private EventiTableAdapter _eventiTableAdapter; - - private TraEv2StatiTableAdapter _traEv2StatiTableAdapter; - - private bool _backupDataSetBeforeUpdate; - - private global::System.Data.IDbConnection _connection; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UpdateOrderOption UpdateOrder { - get { - return this._updateOrder; - } - set { - this._updateOrder = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public AnagClientiTableAdapter AnagClientiTableAdapter { - get { - return this._anagClientiTableAdapter; - } - set { - this._anagClientiTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public AnagTrattamentiTableAdapter AnagTrattamentiTableAdapter { - get { - return this._anagTrattamentiTableAdapter; - } - set { - this._anagTrattamentiTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public Tratt2ObjTableAdapter Tratt2ObjTableAdapter { - get { - return this._tratt2ObjTableAdapter; - } - set { - this._tratt2ObjTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public IstObjTableAdapter IstObjTableAdapter { - get { - return this._istObjTableAdapter; - } - set { - this._istObjTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public EventiTableAdapter EventiTableAdapter { - get { - return this._eventiTableAdapter; - } - set { - this._eventiTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public TraEv2StatiTableAdapter TraEv2StatiTableAdapter { - get { - return this._traEv2StatiTableAdapter; - } - set { - this._traEv2StatiTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool BackupDataSetBeforeUpdate { - get { - return this._backupDataSetBeforeUpdate; - } - set { - this._backupDataSetBeforeUpdate = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public global::System.Data.IDbConnection Connection { - get { - if ((this._connection != null)) { - return this._connection; - } - if (((this._anagClientiTableAdapter != null) - && (this._anagClientiTableAdapter.Connection != null))) { - return this._anagClientiTableAdapter.Connection; - } - if (((this._anagTrattamentiTableAdapter != null) - && (this._anagTrattamentiTableAdapter.Connection != null))) { - return this._anagTrattamentiTableAdapter.Connection; - } - if (((this._tratt2ObjTableAdapter != null) - && (this._tratt2ObjTableAdapter.Connection != null))) { - return this._tratt2ObjTableAdapter.Connection; - } - if (((this._istObjTableAdapter != null) - && (this._istObjTableAdapter.Connection != null))) { - return this._istObjTableAdapter.Connection; - } - if (((this._eventiTableAdapter != null) - && (this._eventiTableAdapter.Connection != null))) { - return this._eventiTableAdapter.Connection; - } - if (((this._traEv2StatiTableAdapter != null) - && (this._traEv2StatiTableAdapter.Connection != null))) { - return this._traEv2StatiTableAdapter.Connection; - } - return null; - } - set { - this._connection = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int TableAdapterInstanceCount { - get { - int count = 0; - if ((this._anagClientiTableAdapter != null)) { - count = (count + 1); - } - if ((this._anagTrattamentiTableAdapter != null)) { - count = (count + 1); - } - if ((this._tratt2ObjTableAdapter != null)) { - count = (count + 1); - } - if ((this._istObjTableAdapter != null)) { - count = (count + 1); - } - if ((this._eventiTableAdapter != null)) { - count = (count + 1); - } - if ((this._traEv2StatiTableAdapter != null)) { - count = (count + 1); - } - return count; - } - } - - /// - ///Update rows in top-down order. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private int UpdateUpdatedRows(DS_applicazione dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { - int result = 0; - if ((this._anagClientiTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._anagClientiTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._anagTrattamentiTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.AnagTrattamenti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._anagTrattamentiTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._istObjTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.IstObj.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._istObjTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._eventiTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.Eventi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._eventiTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._tratt2ObjTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.Tratt2Obj.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._tratt2ObjTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._traEv2StatiTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.TraEv2Stati.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._traEv2StatiTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - return result; - } - - /// - ///Insert rows in top-down order. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private int UpdateInsertedRows(DS_applicazione dataSet, global::System.Collections.Generic.List allAddedRows) { - int result = 0; - if ((this._anagClientiTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._anagClientiTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._anagTrattamentiTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.AnagTrattamenti.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._anagTrattamentiTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._istObjTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.IstObj.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._istObjTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._eventiTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.Eventi.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._eventiTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._tratt2ObjTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.Tratt2Obj.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._tratt2ObjTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._traEv2StatiTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.TraEv2Stati.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._traEv2StatiTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - return result; - } - - /// - ///Delete rows in bottom-up order. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private int UpdateDeletedRows(DS_applicazione dataSet, global::System.Collections.Generic.List allChangedRows) { - int result = 0; - if ((this._traEv2StatiTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.TraEv2Stati.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._traEv2StatiTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._tratt2ObjTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.Tratt2Obj.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._tratt2ObjTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._eventiTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.Eventi.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._eventiTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._istObjTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.IstObj.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._istObjTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._anagTrattamentiTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.AnagTrattamenti.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._anagTrattamentiTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._anagClientiTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._anagClientiTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - return result; - } - - /// - ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { - if (((updatedRows == null) - || (updatedRows.Length < 1))) { - return updatedRows; - } - if (((allAddedRows == null) - || (allAddedRows.Count < 1))) { - return updatedRows; - } - global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); - for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { - global::System.Data.DataRow row = updatedRows[i]; - if ((allAddedRows.Contains(row) == false)) { - realUpdatedRows.Add(row); - } - } - return realUpdatedRows.ToArray(); - } - - /// - ///Update all changes to the dataset. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public virtual int UpdateAll(DS_applicazione dataSet) { - if ((dataSet == null)) { - throw new global::System.ArgumentNullException("dataSet"); - } - if ((dataSet.HasChanges() == false)) { - return 0; - } - if (((this._anagClientiTableAdapter != null) - && (this.MatchTableAdapterConnection(this._anagClientiTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + - "tring."); - } - if (((this._anagTrattamentiTableAdapter != null) - && (this.MatchTableAdapterConnection(this._anagTrattamentiTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + - "tring."); - } - if (((this._tratt2ObjTableAdapter != null) - && (this.MatchTableAdapterConnection(this._tratt2ObjTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + - "tring."); - } - if (((this._istObjTableAdapter != null) - && (this.MatchTableAdapterConnection(this._istObjTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + - "tring."); - } - if (((this._eventiTableAdapter != null) - && (this.MatchTableAdapterConnection(this._eventiTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + - "tring."); - } - if (((this._traEv2StatiTableAdapter != null) - && (this.MatchTableAdapterConnection(this._traEv2StatiTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + - "tring."); - } - global::System.Data.IDbConnection workConnection = this.Connection; - if ((workConnection == null)) { - throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + - "ger TableAdapter property to a valid TableAdapter instance."); - } - bool workConnOpened = false; - if (((workConnection.State & global::System.Data.ConnectionState.Broken) - == global::System.Data.ConnectionState.Broken)) { - workConnection.Close(); - } - if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { - workConnection.Open(); - workConnOpened = true; - } - global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); - if ((workTransaction == null)) { - throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + - "ctions or the current state is not allowing the transaction to begin."); - } - global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); - global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); - global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); - global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); - int result = 0; - global::System.Data.DataSet backupDataSet = null; - if (this.BackupDataSetBeforeUpdate) { - backupDataSet = new global::System.Data.DataSet(); - backupDataSet.Merge(dataSet); - } - try { - // ---- Prepare for update ----------- - // - if ((this._anagClientiTableAdapter != null)) { - revertConnections.Add(this._anagClientiTableAdapter, this._anagClientiTableAdapter.Connection); - this._anagClientiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._anagClientiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._anagClientiTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._anagClientiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._anagClientiTableAdapter.Adapter); - } - } - if ((this._anagTrattamentiTableAdapter != null)) { - revertConnections.Add(this._anagTrattamentiTableAdapter, this._anagTrattamentiTableAdapter.Connection); - this._anagTrattamentiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._anagTrattamentiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._anagTrattamentiTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._anagTrattamentiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._anagTrattamentiTableAdapter.Adapter); - } - } - if ((this._tratt2ObjTableAdapter != null)) { - revertConnections.Add(this._tratt2ObjTableAdapter, this._tratt2ObjTableAdapter.Connection); - this._tratt2ObjTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._tratt2ObjTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._tratt2ObjTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._tratt2ObjTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._tratt2ObjTableAdapter.Adapter); - } - } - if ((this._istObjTableAdapter != null)) { - revertConnections.Add(this._istObjTableAdapter, this._istObjTableAdapter.Connection); - this._istObjTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._istObjTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._istObjTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._istObjTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._istObjTableAdapter.Adapter); - } - } - if ((this._eventiTableAdapter != null)) { - revertConnections.Add(this._eventiTableAdapter, this._eventiTableAdapter.Connection); - this._eventiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._eventiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._eventiTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._eventiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._eventiTableAdapter.Adapter); - } - } - if ((this._traEv2StatiTableAdapter != null)) { - revertConnections.Add(this._traEv2StatiTableAdapter, this._traEv2StatiTableAdapter.Connection); - this._traEv2StatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._traEv2StatiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._traEv2StatiTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._traEv2StatiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._traEv2StatiTableAdapter.Adapter); - } - } - // - //---- Perform updates ----------- - // - if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { - result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); - result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); - } - else { - result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); - result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); - } - result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); - // - //---- Commit updates ----------- - // - workTransaction.Commit(); - if ((0 < allAddedRows.Count)) { - global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; - allAddedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { - global::System.Data.DataRow row = rows[i]; - row.AcceptChanges(); - } - } - if ((0 < allChangedRows.Count)) { - global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; - allChangedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { - global::System.Data.DataRow row = rows[i]; - row.AcceptChanges(); - } - } - } - catch (global::System.Exception ex) { - workTransaction.Rollback(); - // ---- Restore the dataset ----------- - if (this.BackupDataSetBeforeUpdate) { - global::System.Diagnostics.Debug.Assert((backupDataSet != null)); - dataSet.Clear(); - dataSet.Merge(backupDataSet); - } - else { - if ((0 < allAddedRows.Count)) { - global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; - allAddedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { - global::System.Data.DataRow row = rows[i]; - row.AcceptChanges(); - row.SetAdded(); - } - } - } - throw ex; - } - finally { - if (workConnOpened) { - workConnection.Close(); - } - if ((this._anagClientiTableAdapter != null)) { - this._anagClientiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagClientiTableAdapter])); - this._anagClientiTableAdapter.Transaction = null; - } - if ((this._anagTrattamentiTableAdapter != null)) { - this._anagTrattamentiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagTrattamentiTableAdapter])); - this._anagTrattamentiTableAdapter.Transaction = null; - } - if ((this._tratt2ObjTableAdapter != null)) { - this._tratt2ObjTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tratt2ObjTableAdapter])); - this._tratt2ObjTableAdapter.Transaction = null; - } - if ((this._istObjTableAdapter != null)) { - this._istObjTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._istObjTableAdapter])); - this._istObjTableAdapter.Transaction = null; - } - if ((this._eventiTableAdapter != null)) { - this._eventiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eventiTableAdapter])); - this._eventiTableAdapter.Transaction = null; - } - if ((this._traEv2StatiTableAdapter != null)) { - this._traEv2StatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._traEv2StatiTableAdapter])); - this._traEv2StatiTableAdapter.Transaction = null; - } - if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { - global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; - adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); - for (int i = 0; (i < adapters.Length); i = (i + 1)) { - global::System.Data.Common.DataAdapter adapter = adapters[i]; - adapter.AcceptChangesDuringUpdate = true; - } - } - } - return result; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { - global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { - if ((this._connection != null)) { - return true; - } - if (((this.Connection == null) - || (inputConnection == null))) { - return true; - } - if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { - return true; - } - return false; - } - - /// - ///Update Order Option - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public enum UpdateOrderOption { - - InsertUpdateDelete = 0, - - UpdateInsertDelete = 1, - } - - /// - ///Used to sort self-referenced table's rows - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { - - private global::System.Data.DataRelation _relation; - - private int _childFirst; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { - this._relation = relation; - if (childFirst) { - this._childFirst = -1; - } - else { - this._childFirst = 1; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { - global::System.Diagnostics.Debug.Assert((row != null)); - global::System.Data.DataRow root = row; - distance = 0; - - global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); - traversedRows[row] = row; - - global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); - for ( - ; ((parent != null) - && (traversedRows.ContainsKey(parent) == false)); - ) { - distance = (distance + 1); - root = parent; - traversedRows[parent] = parent; - parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); - } - - if ((distance == 0)) { - traversedRows.Clear(); - traversedRows[row] = row; - parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); - for ( - ; ((parent != null) - && (traversedRows.ContainsKey(parent) == false)); - ) { - distance = (distance + 1); - root = parent; - traversedRows[parent] = parent; - parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); - } - } - - return root; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { - if (object.ReferenceEquals(row1, row2)) { - return 0; - } - if ((row1 == null)) { - return -1; - } - if ((row2 == null)) { - return 1; - } - - int distance1 = 0; - global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); - - int distance2 = 0; - global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); - - if (object.ReferenceEquals(root1, root2)) { - return (this._childFirst * distance1.CompareTo(distance2)); - } - else { - global::System.Diagnostics.Debug.Assert(((root1.Table != null) - && (root2.Table != null))); - if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { - return -1; - } - else { - return 1; - } - } - } - } - } -} - +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17929 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace XPS_data { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.Serializable()] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] + [global::System.Xml.Serialization.XmlRootAttribute("DS_applicazione")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class DS_applicazione : global::System.Data.DataSet { + + private AnagClientiDataTable tableAnagClienti; + + private AnagTrattamentiDataTable tableAnagTrattamenti; + + private Tratt2ObjDataTable tableTratt2Obj; + + private v_commesseDataTable tablev_commesse; + + private IstObjDataTable tableIstObj; + + private v_righeDataTable tablev_righe; + + private sp_rec4DayDataTable tablesp_rec4Day; + + private v_ULPDataTable tablev_ULP; + + private EventiDataTable tableEventi; + + private TraEv2StatiDataTable tableTraEv2Stati; + + private v_logStatiDataTable tablev_logStati; + + private sp_contaNonSchedDataTable tablesp_contaNonSched; + + private sp_schedaIdentDataTable tablesp_schedaIdent; + + private sp_ddtDataTable tablesp_ddt; + + private global::System.Data.DataRelation relationFK_Tratt2Obj_AnagTrattamenti; + + private global::System.Data.DataRelation relationFK_Tratt2Obj_IstObj; + + private global::System.Data.DataRelation relationFK_IstObj_AnagClienti; + + private global::System.Data.DataRelation relationFK_TransizioneEventiStati_Eventi; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DS_applicazione() { + this.BeginInit(); + this.InitClass(); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + base.Relations.CollectionChanged += schemaChangedHandler; + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected DS_applicazione(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context, false) { + if ((this.IsBinarySerialized(info, context) == true)) { + this.InitVars(false); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + this.Tables.CollectionChanged += schemaChangedHandler1; + this.Relations.CollectionChanged += schemaChangedHandler1; + return; + } + string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); + if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + if ((ds.Tables["AnagClienti"] != null)) { + base.Tables.Add(new AnagClientiDataTable(ds.Tables["AnagClienti"])); + } + if ((ds.Tables["AnagTrattamenti"] != null)) { + base.Tables.Add(new AnagTrattamentiDataTable(ds.Tables["AnagTrattamenti"])); + } + if ((ds.Tables["Tratt2Obj"] != null)) { + base.Tables.Add(new Tratt2ObjDataTable(ds.Tables["Tratt2Obj"])); + } + if ((ds.Tables["v_commesse"] != null)) { + base.Tables.Add(new v_commesseDataTable(ds.Tables["v_commesse"])); + } + if ((ds.Tables["IstObj"] != null)) { + base.Tables.Add(new IstObjDataTable(ds.Tables["IstObj"])); + } + if ((ds.Tables["v_righe"] != null)) { + base.Tables.Add(new v_righeDataTable(ds.Tables["v_righe"])); + } + if ((ds.Tables["sp_rec4Day"] != null)) { + base.Tables.Add(new sp_rec4DayDataTable(ds.Tables["sp_rec4Day"])); + } + if ((ds.Tables["v_ULP"] != null)) { + base.Tables.Add(new v_ULPDataTable(ds.Tables["v_ULP"])); + } + if ((ds.Tables["Eventi"] != null)) { + base.Tables.Add(new EventiDataTable(ds.Tables["Eventi"])); + } + if ((ds.Tables["TraEv2Stati"] != null)) { + base.Tables.Add(new TraEv2StatiDataTable(ds.Tables["TraEv2Stati"])); + } + if ((ds.Tables["v_logStati"] != null)) { + base.Tables.Add(new v_logStatiDataTable(ds.Tables["v_logStati"])); + } + if ((ds.Tables["sp_contaNonSched"] != null)) { + base.Tables.Add(new sp_contaNonSchedDataTable(ds.Tables["sp_contaNonSched"])); + } + if ((ds.Tables["sp_schedaIdent"] != null)) { + base.Tables.Add(new sp_schedaIdentDataTable(ds.Tables["sp_schedaIdent"])); + } + if ((ds.Tables["sp_ddt"] != null)) { + base.Tables.Add(new sp_ddtDataTable(ds.Tables["sp_ddt"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + } + this.GetSerializationData(info, context); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + this.Relations.CollectionChanged += schemaChangedHandler; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagClientiDataTable AnagClienti { + get { + return this.tableAnagClienti; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagTrattamentiDataTable AnagTrattamenti { + get { + return this.tableAnagTrattamenti; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public Tratt2ObjDataTable Tratt2Obj { + get { + return this.tableTratt2Obj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_commesseDataTable v_commesse { + get { + return this.tablev_commesse; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public IstObjDataTable IstObj { + get { + return this.tableIstObj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_righeDataTable v_righe { + get { + return this.tablev_righe; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public sp_rec4DayDataTable sp_rec4Day { + get { + return this.tablesp_rec4Day; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_ULPDataTable v_ULP { + get { + return this.tablev_ULP; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public EventiDataTable Eventi { + get { + return this.tableEventi; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public TraEv2StatiDataTable TraEv2Stati { + get { + return this.tableTraEv2Stati; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_logStatiDataTable v_logStati { + get { + return this.tablev_logStati; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public sp_contaNonSchedDataTable sp_contaNonSched { + get { + return this.tablesp_contaNonSched; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public sp_schedaIdentDataTable sp_schedaIdent { + get { + return this.tablesp_schedaIdent; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public sp_ddtDataTable sp_ddt { + get { + return this.tablesp_ddt; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.BrowsableAttribute(true)] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] + public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { + get { + return this._schemaSerializationMode; + } + set { + this._schemaSerializationMode = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataSet Clone() { + DS_applicazione cln = ((DS_applicazione)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { + if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + this.Reset(); + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXml(reader); + if ((ds.Tables["AnagClienti"] != null)) { + base.Tables.Add(new AnagClientiDataTable(ds.Tables["AnagClienti"])); + } + if ((ds.Tables["AnagTrattamenti"] != null)) { + base.Tables.Add(new AnagTrattamentiDataTable(ds.Tables["AnagTrattamenti"])); + } + if ((ds.Tables["Tratt2Obj"] != null)) { + base.Tables.Add(new Tratt2ObjDataTable(ds.Tables["Tratt2Obj"])); + } + if ((ds.Tables["v_commesse"] != null)) { + base.Tables.Add(new v_commesseDataTable(ds.Tables["v_commesse"])); + } + if ((ds.Tables["IstObj"] != null)) { + base.Tables.Add(new IstObjDataTable(ds.Tables["IstObj"])); + } + if ((ds.Tables["v_righe"] != null)) { + base.Tables.Add(new v_righeDataTable(ds.Tables["v_righe"])); + } + if ((ds.Tables["sp_rec4Day"] != null)) { + base.Tables.Add(new sp_rec4DayDataTable(ds.Tables["sp_rec4Day"])); + } + if ((ds.Tables["v_ULP"] != null)) { + base.Tables.Add(new v_ULPDataTable(ds.Tables["v_ULP"])); + } + if ((ds.Tables["Eventi"] != null)) { + base.Tables.Add(new EventiDataTable(ds.Tables["Eventi"])); + } + if ((ds.Tables["TraEv2Stati"] != null)) { + base.Tables.Add(new TraEv2StatiDataTable(ds.Tables["TraEv2Stati"])); + } + if ((ds.Tables["v_logStati"] != null)) { + base.Tables.Add(new v_logStatiDataTable(ds.Tables["v_logStati"])); + } + if ((ds.Tables["sp_contaNonSched"] != null)) { + base.Tables.Add(new sp_contaNonSchedDataTable(ds.Tables["sp_contaNonSched"])); + } + if ((ds.Tables["sp_schedaIdent"] != null)) { + base.Tables.Add(new sp_schedaIdentDataTable(ds.Tables["sp_schedaIdent"])); + } + if ((ds.Tables["sp_ddt"] != null)) { + base.Tables.Add(new sp_ddtDataTable(ds.Tables["sp_ddt"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXml(reader); + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { + global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); + this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); + stream.Position = 0; + return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars(bool initTable) { + this.tableAnagClienti = ((AnagClientiDataTable)(base.Tables["AnagClienti"])); + if ((initTable == true)) { + if ((this.tableAnagClienti != null)) { + this.tableAnagClienti.InitVars(); + } + } + this.tableAnagTrattamenti = ((AnagTrattamentiDataTable)(base.Tables["AnagTrattamenti"])); + if ((initTable == true)) { + if ((this.tableAnagTrattamenti != null)) { + this.tableAnagTrattamenti.InitVars(); + } + } + this.tableTratt2Obj = ((Tratt2ObjDataTable)(base.Tables["Tratt2Obj"])); + if ((initTable == true)) { + if ((this.tableTratt2Obj != null)) { + this.tableTratt2Obj.InitVars(); + } + } + this.tablev_commesse = ((v_commesseDataTable)(base.Tables["v_commesse"])); + if ((initTable == true)) { + if ((this.tablev_commesse != null)) { + this.tablev_commesse.InitVars(); + } + } + this.tableIstObj = ((IstObjDataTable)(base.Tables["IstObj"])); + if ((initTable == true)) { + if ((this.tableIstObj != null)) { + this.tableIstObj.InitVars(); + } + } + this.tablev_righe = ((v_righeDataTable)(base.Tables["v_righe"])); + if ((initTable == true)) { + if ((this.tablev_righe != null)) { + this.tablev_righe.InitVars(); + } + } + this.tablesp_rec4Day = ((sp_rec4DayDataTable)(base.Tables["sp_rec4Day"])); + if ((initTable == true)) { + if ((this.tablesp_rec4Day != null)) { + this.tablesp_rec4Day.InitVars(); + } + } + this.tablev_ULP = ((v_ULPDataTable)(base.Tables["v_ULP"])); + if ((initTable == true)) { + if ((this.tablev_ULP != null)) { + this.tablev_ULP.InitVars(); + } + } + this.tableEventi = ((EventiDataTable)(base.Tables["Eventi"])); + if ((initTable == true)) { + if ((this.tableEventi != null)) { + this.tableEventi.InitVars(); + } + } + this.tableTraEv2Stati = ((TraEv2StatiDataTable)(base.Tables["TraEv2Stati"])); + if ((initTable == true)) { + if ((this.tableTraEv2Stati != null)) { + this.tableTraEv2Stati.InitVars(); + } + } + this.tablev_logStati = ((v_logStatiDataTable)(base.Tables["v_logStati"])); + if ((initTable == true)) { + if ((this.tablev_logStati != null)) { + this.tablev_logStati.InitVars(); + } + } + this.tablesp_contaNonSched = ((sp_contaNonSchedDataTable)(base.Tables["sp_contaNonSched"])); + if ((initTable == true)) { + if ((this.tablesp_contaNonSched != null)) { + this.tablesp_contaNonSched.InitVars(); + } + } + this.tablesp_schedaIdent = ((sp_schedaIdentDataTable)(base.Tables["sp_schedaIdent"])); + if ((initTable == true)) { + if ((this.tablesp_schedaIdent != null)) { + this.tablesp_schedaIdent.InitVars(); + } + } + this.tablesp_ddt = ((sp_ddtDataTable)(base.Tables["sp_ddt"])); + if ((initTable == true)) { + if ((this.tablesp_ddt != null)) { + this.tablesp_ddt.InitVars(); + } + } + this.relationFK_Tratt2Obj_AnagTrattamenti = this.Relations["FK_Tratt2Obj_AnagTrattamenti"]; + this.relationFK_Tratt2Obj_IstObj = this.Relations["FK_Tratt2Obj_IstObj"]; + this.relationFK_IstObj_AnagClienti = this.Relations["FK_IstObj_AnagClienti"]; + this.relationFK_TransizioneEventiStati_Eventi = this.Relations["FK_TransizioneEventiStati_Eventi"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.DataSetName = "DS_applicazione"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/DS_applicazione.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tableAnagClienti = new AnagClientiDataTable(); + base.Tables.Add(this.tableAnagClienti); + this.tableAnagTrattamenti = new AnagTrattamentiDataTable(); + base.Tables.Add(this.tableAnagTrattamenti); + this.tableTratt2Obj = new Tratt2ObjDataTable(); + base.Tables.Add(this.tableTratt2Obj); + this.tablev_commesse = new v_commesseDataTable(); + base.Tables.Add(this.tablev_commesse); + this.tableIstObj = new IstObjDataTable(); + base.Tables.Add(this.tableIstObj); + this.tablev_righe = new v_righeDataTable(); + base.Tables.Add(this.tablev_righe); + this.tablesp_rec4Day = new sp_rec4DayDataTable(); + base.Tables.Add(this.tablesp_rec4Day); + this.tablev_ULP = new v_ULPDataTable(); + base.Tables.Add(this.tablev_ULP); + this.tableEventi = new EventiDataTable(); + base.Tables.Add(this.tableEventi); + this.tableTraEv2Stati = new TraEv2StatiDataTable(); + base.Tables.Add(this.tableTraEv2Stati); + this.tablev_logStati = new v_logStatiDataTable(); + base.Tables.Add(this.tablev_logStati); + this.tablesp_contaNonSched = new sp_contaNonSchedDataTable(); + base.Tables.Add(this.tablesp_contaNonSched); + this.tablesp_schedaIdent = new sp_schedaIdentDataTable(); + base.Tables.Add(this.tablesp_schedaIdent); + this.tablesp_ddt = new sp_ddtDataTable(); + base.Tables.Add(this.tablesp_ddt); + this.relationFK_Tratt2Obj_AnagTrattamenti = new global::System.Data.DataRelation("FK_Tratt2Obj_AnagTrattamenti", new global::System.Data.DataColumn[] { + this.tableAnagTrattamenti.CodTrattamentoColumn}, new global::System.Data.DataColumn[] { + this.tableTratt2Obj.CodTrattamentoColumn}, false); + this.Relations.Add(this.relationFK_Tratt2Obj_AnagTrattamenti); + this.relationFK_Tratt2Obj_IstObj = new global::System.Data.DataRelation("FK_Tratt2Obj_IstObj", new global::System.Data.DataColumn[] { + this.tableIstObj.IdxObjColumn}, new global::System.Data.DataColumn[] { + this.tableTratt2Obj.IdxObjColumn}, false); + this.Relations.Add(this.relationFK_Tratt2Obj_IstObj); + this.relationFK_IstObj_AnagClienti = new global::System.Data.DataRelation("FK_IstObj_AnagClienti", new global::System.Data.DataColumn[] { + this.tableAnagClienti.CodClienteColumn}, new global::System.Data.DataColumn[] { + this.tableIstObj.CodClienteColumn}, false); + this.Relations.Add(this.relationFK_IstObj_AnagClienti); + this.relationFK_TransizioneEventiStati_Eventi = new global::System.Data.DataRelation("FK_TransizioneEventiStati_Eventi", new global::System.Data.DataColumn[] { + this.tableEventi.CodEventoColumn}, new global::System.Data.DataColumn[] { + this.tableTraEv2Stati.CodEventoColumn}, false); + this.Relations.Add(this.relationFK_TransizioneEventiStati_Eventi); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagClienti() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagTrattamenti() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeTratt2Obj() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_commesse() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeIstObj() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_righe() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializesp_rec4Day() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_ULP() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeEventi() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeTraEv2Stati() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_logStati() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializesp_contaNonSched() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializesp_schedaIdent() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializesp_ddt() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); + any.Namespace = ds.Namespace; + sequence.Items.Add(any); + 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; + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagClientiRowChangeEventHandler(object sender, AnagClientiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagTrattamentiRowChangeEventHandler(object sender, AnagTrattamentiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void Tratt2ObjRowChangeEventHandler(object sender, Tratt2ObjRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_commesseRowChangeEventHandler(object sender, v_commesseRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void IstObjRowChangeEventHandler(object sender, IstObjRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_righeRowChangeEventHandler(object sender, v_righeRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void sp_rec4DayRowChangeEventHandler(object sender, sp_rec4DayRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_ULPRowChangeEventHandler(object sender, v_ULPRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void EventiRowChangeEventHandler(object sender, EventiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void TraEv2StatiRowChangeEventHandler(object sender, TraEv2StatiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_logStatiRowChangeEventHandler(object sender, v_logStatiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void sp_contaNonSchedRowChangeEventHandler(object sender, sp_contaNonSchedRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void sp_schedaIdentRowChangeEventHandler(object sender, sp_schedaIdentRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void sp_ddtRowChangeEventHandler(object sender, sp_ddtRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagClientiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodCliente; + + private global::System.Data.DataColumn columnRagioneSociale; + + private global::System.Data.DataColumn columnpiva; + + private global::System.Data.DataColumn columnemail; + + private global::System.Data.DataColumn columnindirizzo; + + private global::System.Data.DataColumn columncap; + + private global::System.Data.DataColumn columnlocalita; + + private global::System.Data.DataColumn columnprovincia; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagClientiDataTable() { + this.TableName = "AnagClienti"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagClientiDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagClientiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodClienteColumn { + get { + return this.columnCodCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RagioneSocialeColumn { + get { + return this.columnRagioneSociale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn pivaColumn { + get { + return this.columnpiva; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn emailColumn { + get { + return this.columnemail; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn indirizzoColumn { + get { + return this.columnindirizzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn capColumn { + get { + return this.columncap; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn localitaColumn { + get { + return this.columnlocalita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn provinciaColumn { + get { + return this.columnprovincia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagClientiRow this[int index] { + get { + return ((AnagClientiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagClientiRowChangeEventHandler AnagClientiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagClientiRowChangeEventHandler AnagClientiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagClientiRowChangeEventHandler AnagClientiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagClientiRowChangeEventHandler AnagClientiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagClientiRow(AnagClientiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagClientiRow AddAnagClientiRow(string CodCliente, string RagioneSociale, string piva, string email, string indirizzo, string cap, string localita, string provincia) { + AnagClientiRow rowAnagClientiRow = ((AnagClientiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodCliente, + RagioneSociale, + piva, + email, + indirizzo, + cap, + localita, + provincia}; + rowAnagClientiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagClientiRow); + return rowAnagClientiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagClientiRow FindByCodCliente(string CodCliente) { + return ((AnagClientiRow)(this.Rows.Find(new object[] { + CodCliente}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagClientiDataTable cln = ((AnagClientiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagClientiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodCliente = base.Columns["CodCliente"]; + this.columnRagioneSociale = base.Columns["RagioneSociale"]; + this.columnpiva = base.Columns["piva"]; + this.columnemail = base.Columns["email"]; + this.columnindirizzo = base.Columns["indirizzo"]; + this.columncap = base.Columns["cap"]; + this.columnlocalita = base.Columns["localita"]; + this.columnprovincia = base.Columns["provincia"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCliente); + this.columnRagioneSociale = new global::System.Data.DataColumn("RagioneSociale", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRagioneSociale); + this.columnpiva = new global::System.Data.DataColumn("piva", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpiva); + this.columnemail = new global::System.Data.DataColumn("email", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnemail); + this.columnindirizzo = new global::System.Data.DataColumn("indirizzo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnindirizzo); + this.columncap = new global::System.Data.DataColumn("cap", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncap); + this.columnlocalita = new global::System.Data.DataColumn("localita", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlocalita); + this.columnprovincia = new global::System.Data.DataColumn("provincia", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnprovincia); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodCliente}, true)); + this.columnCodCliente.AllowDBNull = false; + this.columnCodCliente.Unique = true; + this.columnCodCliente.MaxLength = 50; + this.columnRagioneSociale.MaxLength = 50; + this.columnpiva.MaxLength = 20; + this.columnemail.MaxLength = 500; + this.columnindirizzo.MaxLength = 50; + this.columncap.MaxLength = 5; + this.columnlocalita.MaxLength = 50; + this.columnprovincia.MaxLength = 5; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagClientiRow NewAnagClientiRow() { + return ((AnagClientiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagClientiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagClientiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagClientiRowChanged != null)) { + this.AnagClientiRowChanged(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagClientiRowChanging != null)) { + this.AnagClientiRowChanging(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagClientiRowDeleted != null)) { + this.AnagClientiRowDeleted(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagClientiRowDeleting != null)) { + this.AnagClientiRowDeleting(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagClientiRow(AnagClientiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + 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 = "AnagClientiDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagTrattamentiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodTrattamento; + + private global::System.Data.DataColumn columnDescrTrattamento; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTrattamentiDataTable() { + this.TableName = "AnagTrattamenti"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagTrattamentiDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagTrattamentiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodTrattamentoColumn { + get { + return this.columnCodTrattamento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrTrattamentoColumn { + get { + return this.columnDescrTrattamento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTrattamentiRow this[int index] { + get { + return ((AnagTrattamentiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagTrattamentiRowChangeEventHandler AnagTrattamentiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagTrattamentiRowChangeEventHandler AnagTrattamentiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagTrattamentiRowChangeEventHandler AnagTrattamentiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagTrattamentiRowChangeEventHandler AnagTrattamentiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagTrattamentiRow(AnagTrattamentiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTrattamentiRow AddAnagTrattamentiRow(string CodTrattamento, string DescrTrattamento) { + AnagTrattamentiRow rowAnagTrattamentiRow = ((AnagTrattamentiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodTrattamento, + DescrTrattamento}; + rowAnagTrattamentiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagTrattamentiRow); + return rowAnagTrattamentiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTrattamentiRow FindByCodTrattamento(string CodTrattamento) { + return ((AnagTrattamentiRow)(this.Rows.Find(new object[] { + CodTrattamento}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagTrattamentiDataTable cln = ((AnagTrattamentiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagTrattamentiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodTrattamento = base.Columns["CodTrattamento"]; + this.columnDescrTrattamento = base.Columns["DescrTrattamento"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodTrattamento = new global::System.Data.DataColumn("CodTrattamento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodTrattamento); + this.columnDescrTrattamento = new global::System.Data.DataColumn("DescrTrattamento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrTrattamento); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodTrattamento}, true)); + this.columnCodTrattamento.AllowDBNull = false; + this.columnCodTrattamento.Unique = true; + this.columnCodTrattamento.MaxLength = 50; + this.columnDescrTrattamento.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTrattamentiRow NewAnagTrattamentiRow() { + return ((AnagTrattamentiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagTrattamentiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagTrattamentiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagTrattamentiRowChanged != null)) { + this.AnagTrattamentiRowChanged(this, new AnagTrattamentiRowChangeEvent(((AnagTrattamentiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagTrattamentiRowChanging != null)) { + this.AnagTrattamentiRowChanging(this, new AnagTrattamentiRowChangeEvent(((AnagTrattamentiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagTrattamentiRowDeleted != null)) { + this.AnagTrattamentiRowDeleted(this, new AnagTrattamentiRowChangeEvent(((AnagTrattamentiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagTrattamentiRowDeleting != null)) { + this.AnagTrattamentiRowDeleting(this, new AnagTrattamentiRowChangeEvent(((AnagTrattamentiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagTrattamentiRow(AnagTrattamentiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + 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 = "AnagTrattamentiDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class Tratt2ObjDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnIdxObj; + + private global::System.Data.DataColumn columnCodTrattamento; + + private global::System.Data.DataColumn columnNote; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Tratt2ObjDataTable() { + this.TableName = "Tratt2Obj"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal Tratt2ObjDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected Tratt2ObjDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxObjColumn { + get { + return this.columnIdxObj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodTrattamentoColumn { + get { + return this.columnCodTrattamento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Tratt2ObjRow this[int index] { + get { + return ((Tratt2ObjRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Tratt2ObjRowChangeEventHandler Tratt2ObjRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Tratt2ObjRowChangeEventHandler Tratt2ObjRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Tratt2ObjRowChangeEventHandler Tratt2ObjRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Tratt2ObjRowChangeEventHandler Tratt2ObjRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddTratt2ObjRow(Tratt2ObjRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Tratt2ObjRow AddTratt2ObjRow(IstObjRow parentIstObjRowByFK_Tratt2Obj_IstObj, AnagTrattamentiRow parentAnagTrattamentiRowByFK_Tratt2Obj_AnagTrattamenti, string Note) { + Tratt2ObjRow rowTratt2ObjRow = ((Tratt2ObjRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + null, + Note}; + if ((parentIstObjRowByFK_Tratt2Obj_IstObj != null)) { + columnValuesArray[0] = parentIstObjRowByFK_Tratt2Obj_IstObj[0]; + } + if ((parentAnagTrattamentiRowByFK_Tratt2Obj_AnagTrattamenti != null)) { + columnValuesArray[1] = parentAnagTrattamentiRowByFK_Tratt2Obj_AnagTrattamenti[0]; + } + rowTratt2ObjRow.ItemArray = columnValuesArray; + this.Rows.Add(rowTratt2ObjRow); + return rowTratt2ObjRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Tratt2ObjRow FindByIdxObjCodTrattamento(string IdxObj, string CodTrattamento) { + return ((Tratt2ObjRow)(this.Rows.Find(new object[] { + IdxObj, + CodTrattamento}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + Tratt2ObjDataTable cln = ((Tratt2ObjDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new Tratt2ObjDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnIdxObj = base.Columns["IdxObj"]; + this.columnCodTrattamento = base.Columns["CodTrattamento"]; + this.columnNote = base.Columns["Note"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnIdxObj = new global::System.Data.DataColumn("IdxObj", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxObj); + this.columnCodTrattamento = new global::System.Data.DataColumn("CodTrattamento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodTrattamento); + this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNote); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnIdxObj, + this.columnCodTrattamento}, true)); + this.columnIdxObj.AllowDBNull = false; + this.columnIdxObj.MaxLength = 50; + this.columnCodTrattamento.AllowDBNull = false; + this.columnCodTrattamento.MaxLength = 50; + this.columnNote.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Tratt2ObjRow NewTratt2ObjRow() { + return ((Tratt2ObjRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new Tratt2ObjRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(Tratt2ObjRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.Tratt2ObjRowChanged != null)) { + this.Tratt2ObjRowChanged(this, new Tratt2ObjRowChangeEvent(((Tratt2ObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.Tratt2ObjRowChanging != null)) { + this.Tratt2ObjRowChanging(this, new Tratt2ObjRowChangeEvent(((Tratt2ObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.Tratt2ObjRowDeleted != null)) { + this.Tratt2ObjRowDeleted(this, new Tratt2ObjRowChangeEvent(((Tratt2ObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.Tratt2ObjRowDeleting != null)) { + this.Tratt2ObjRowDeleting(this, new Tratt2ObjRowChangeEvent(((Tratt2ObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveTratt2ObjRow(Tratt2ObjRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + 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 = "Tratt2ObjDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_commesseDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCod; + + private global::System.Data.DataColumn columnStato; + + private global::System.Data.DataColumn columnCodCliente; + + private global::System.Data.DataColumn columnCliente; + + private global::System.Data.DataColumn columndescrizione; + + private global::System.Data.DataColumn columnDDT; + + private global::System.Data.DataColumn columnDataDDT; + + private global::System.Data.DataColumn columnDataArrivo; + + private global::System.Data.DataColumn columnPosizione; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnPeso; + + private global::System.Data.DataColumn columnRighe; + + private global::System.Data.DataColumn columnColli; + + private global::System.Data.DataColumn columnDataPrevista; + + private global::System.Data.DataColumn columnCiclo; + + private global::System.Data.DataColumn columnCodStato; + + private global::System.Data.DataColumn columnminStato; + + private global::System.Data.DataColumn columnmaxStato; + + private global::System.Data.DataColumn columnminCodStato; + + private global::System.Data.DataColumn columnmaxCodStato; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_commesseDataTable() { + this.TableName = "v_commesse"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_commesseDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_commesseDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodColumn { + get { + return this.columnCod; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn StatoColumn { + get { + return this.columnStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodClienteColumn { + get { + return this.columnCodCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ClienteColumn { + get { + return this.columnCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descrizioneColumn { + get { + return this.columndescrizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DDTColumn { + get { + return this.columnDDT; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataDDTColumn { + get { + return this.columnDataDDT; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataArrivoColumn { + get { + return this.columnDataArrivo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PosizioneColumn { + get { + return this.columnPosizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PesoColumn { + get { + return this.columnPeso; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RigheColumn { + get { + return this.columnRighe; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ColliColumn { + get { + return this.columnColli; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataPrevistaColumn { + get { + return this.columnDataPrevista; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CicloColumn { + get { + return this.columnCiclo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] + public global::System.Data.DataColumn minStatoColumn { + get { + return this.columnminStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn maxStatoColumn { + get { + return this.columnmaxStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn minCodStatoColumn { + get { + return this.columnminCodStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn maxCodStatoColumn { + get { + return this.columnmaxCodStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_commesseRow this[int index] { + get { + return ((v_commesseRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_commesseRowChangeEventHandler v_commesseRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_commesseRowChangeEventHandler v_commesseRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_commesseRowChangeEventHandler v_commesseRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_commesseRowChangeEventHandler v_commesseRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_commesseRow(v_commesseRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_commesseRow Addv_commesseRow( + string Cod, + string Stato, + string CodCliente, + string Cliente, + string descrizione, + string DDT, + System.DateTime DataDDT, + System.DateTime DataArrivo, + string Posizione, + int Qta, + double Peso, + int Righe, + int Colli, + System.DateTime DataPrevista, + string Ciclo, + string CodStato, + string minStato, + string maxStato, + string minCodStato, + string maxCodStato) { + v_commesseRow rowv_commesseRow = ((v_commesseRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + Cod, + Stato, + CodCliente, + Cliente, + descrizione, + DDT, + DataDDT, + DataArrivo, + Posizione, + Qta, + Peso, + Righe, + Colli, + DataPrevista, + Ciclo, + CodStato, + minStato, + maxStato, + minCodStato, + maxCodStato}; + rowv_commesseRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_commesseRow); + return rowv_commesseRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_commesseRow FindByCod(string Cod) { + return ((v_commesseRow)(this.Rows.Find(new object[] { + Cod}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_commesseDataTable cln = ((v_commesseDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_commesseDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCod = base.Columns["Cod"]; + this.columnStato = base.Columns["Stato"]; + this.columnCodCliente = base.Columns["CodCliente"]; + this.columnCliente = base.Columns["Cliente"]; + this.columndescrizione = base.Columns["descrizione"]; + this.columnDDT = base.Columns["DDT"]; + this.columnDataDDT = base.Columns["DataDDT"]; + this.columnDataArrivo = base.Columns["DataArrivo"]; + this.columnPosizione = base.Columns["Posizione"]; + this.columnQta = base.Columns["Qta"]; + this.columnPeso = base.Columns["Peso"]; + this.columnRighe = base.Columns["Righe"]; + this.columnColli = base.Columns["Colli"]; + this.columnDataPrevista = base.Columns["DataPrevista"]; + this.columnCiclo = base.Columns["Ciclo"]; + this.columnCodStato = base.Columns["CodStato"]; + this.columnminStato = base.Columns["minStato"]; + this.columnmaxStato = base.Columns["maxStato"]; + this.columnminCodStato = base.Columns["minCodStato"]; + this.columnmaxCodStato = base.Columns["maxCodStato"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCod = new global::System.Data.DataColumn("Cod", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCod); + this.columnStato = new global::System.Data.DataColumn("Stato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnStato); + this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCliente); + this.columnCliente = new global::System.Data.DataColumn("Cliente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCliente); + this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrizione); + this.columnDDT = new global::System.Data.DataColumn("DDT", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDDT); + this.columnDataDDT = new global::System.Data.DataColumn("DataDDT", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataDDT); + this.columnDataArrivo = new global::System.Data.DataColumn("DataArrivo", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataArrivo); + this.columnPosizione = new global::System.Data.DataColumn("Posizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPosizione); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnPeso = new global::System.Data.DataColumn("Peso", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPeso); + this.columnRighe = new global::System.Data.DataColumn("Righe", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRighe); + this.columnColli = new global::System.Data.DataColumn("Colli", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnColli); + this.columnDataPrevista = new global::System.Data.DataColumn("DataPrevista", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataPrevista); + this.columnCiclo = new global::System.Data.DataColumn("Ciclo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCiclo); + this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodStato); + this.columnminStato = new global::System.Data.DataColumn("minStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnminStato); + this.columnmaxStato = new global::System.Data.DataColumn("maxStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmaxStato); + this.columnminCodStato = new global::System.Data.DataColumn("minCodStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnminCodStato); + this.columnmaxCodStato = new global::System.Data.DataColumn("maxCodStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmaxCodStato); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCod}, true)); + this.columnCod.AllowDBNull = false; + this.columnCod.Unique = true; + this.columnCod.MaxLength = 50; + this.columnStato.MaxLength = 50; + this.columnCodCliente.ReadOnly = true; + this.columnCodCliente.MaxLength = 50; + this.columnCliente.ReadOnly = true; + this.columnCliente.MaxLength = 50; + this.columndescrizione.ReadOnly = true; + this.columndescrizione.MaxLength = 50; + this.columnDDT.MaxLength = 50; + this.columnPosizione.MaxLength = 50; + this.columnQta.ReadOnly = true; + this.columnPeso.ReadOnly = true; + this.columnRighe.ReadOnly = true; + this.columnColli.ReadOnly = true; + this.columnCiclo.MaxLength = 50; + this.columnCodStato.MaxLength = 50; + this.columnminStato.MaxLength = 50; + this.columnmaxStato.MaxLength = 50; + this.columnminCodStato.MaxLength = 50; + this.columnmaxCodStato.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_commesseRow Newv_commesseRow() { + return ((v_commesseRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_commesseRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_commesseRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_commesseRowChanged != null)) { + this.v_commesseRowChanged(this, new v_commesseRowChangeEvent(((v_commesseRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_commesseRowChanging != null)) { + this.v_commesseRowChanging(this, new v_commesseRowChangeEvent(((v_commesseRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_commesseRowDeleted != null)) { + this.v_commesseRowDeleted(this, new v_commesseRowChangeEvent(((v_commesseRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_commesseRowDeleting != null)) { + this.v_commesseRowDeleting(this, new v_commesseRowChangeEvent(((v_commesseRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_commesseRow(v_commesseRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + 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 = "v_commesseDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class IstObjDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnIdxObj; + + private global::System.Data.DataColumn columnCodCliente; + + private global::System.Data.DataColumn columnCodStato; + + private global::System.Data.DataColumn columnPosizione; + + private global::System.Data.DataColumn columnLivello; + + private global::System.Data.DataColumn columnRev; + + private global::System.Data.DataColumn columnCodObj; + + private global::System.Data.DataColumn columnNome; + + private global::System.Data.DataColumn columnDataRif; + + private global::System.Data.DataColumn columnIdxObjMamma; + + private global::System.Data.DataColumn columnNote; + + private global::System.Data.DataColumn columnExtKey; + + private global::System.Data.DataColumn columnDueDate; + + private global::System.Data.DataColumn columnLeadTime; + + private global::System.Data.DataColumn columnLeadTimeUM; + + private global::System.Data.DataColumn columnUserCreaz; + + private global::System.Data.DataColumn columnDataCreaz; + + private global::System.Data.DataColumn columnUserMod; + + private global::System.Data.DataColumn columnDataMod; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnPeso; + + private global::System.Data.DataColumn columnemailReq; + + private global::System.Data.DataColumn columnemailSent; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public IstObjDataTable() { + this.TableName = "IstObj"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal IstObjDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected IstObjDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxObjColumn { + get { + return this.columnIdxObj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodClienteColumn { + get { + return this.columnCodCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] + public global::System.Data.DataColumn PosizioneColumn { + get { + return this.columnPosizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn LivelloColumn { + get { + return this.columnLivello; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RevColumn { + get { + return this.columnRev; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodObjColumn { + get { + return this.columnCodObj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NomeColumn { + get { + return this.columnNome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataRifColumn { + get { + return this.columnDataRif; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxObjMammaColumn { + get { + return this.columnIdxObjMamma; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ExtKeyColumn { + get { + return this.columnExtKey; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DueDateColumn { + get { + return this.columnDueDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn LeadTimeColumn { + get { + return this.columnLeadTime; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn LeadTimeUMColumn { + get { + return this.columnLeadTimeUM; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UserCreazColumn { + get { + return this.columnUserCreaz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataCreazColumn { + get { + return this.columnDataCreaz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UserModColumn { + get { + return this.columnUserMod; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataModColumn { + get { + return this.columnDataMod; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PesoColumn { + get { + return this.columnPeso; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn emailReqColumn { + get { + return this.columnemailReq; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn emailSentColumn { + get { + return this.columnemailSent; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public IstObjRow this[int index] { + get { + return ((IstObjRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event IstObjRowChangeEventHandler IstObjRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event IstObjRowChangeEventHandler IstObjRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event IstObjRowChangeEventHandler IstObjRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event IstObjRowChangeEventHandler IstObjRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddIstObjRow(IstObjRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public IstObjRow AddIstObjRow( + string IdxObj, + AnagClientiRow parentAnagClientiRowByFK_IstObj_AnagClienti, + string CodStato, + string Posizione, + int Livello, + int Rev, + string CodObj, + string Nome, + System.DateTime DataRif, + string IdxObjMamma, + string Note, + string ExtKey, + System.DateTime DueDate, + double LeadTime, + string LeadTimeUM, + string UserCreaz, + System.DateTime DataCreaz, + string UserMod, + System.DateTime DataMod, + int Qta, + double Peso, + bool emailReq, + System.DateTime emailSent) { + IstObjRow rowIstObjRow = ((IstObjRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + IdxObj, + null, + CodStato, + Posizione, + Livello, + Rev, + CodObj, + Nome, + DataRif, + IdxObjMamma, + Note, + ExtKey, + DueDate, + LeadTime, + LeadTimeUM, + UserCreaz, + DataCreaz, + UserMod, + DataMod, + Qta, + Peso, + emailReq, + emailSent}; + if ((parentAnagClientiRowByFK_IstObj_AnagClienti != null)) { + columnValuesArray[1] = parentAnagClientiRowByFK_IstObj_AnagClienti[0]; + } + rowIstObjRow.ItemArray = columnValuesArray; + this.Rows.Add(rowIstObjRow); + return rowIstObjRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public IstObjRow FindByIdxObj(string IdxObj) { + return ((IstObjRow)(this.Rows.Find(new object[] { + IdxObj}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + IstObjDataTable cln = ((IstObjDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new IstObjDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnIdxObj = base.Columns["IdxObj"]; + this.columnCodCliente = base.Columns["CodCliente"]; + this.columnCodStato = base.Columns["CodStato"]; + this.columnPosizione = base.Columns["Posizione"]; + this.columnLivello = base.Columns["Livello"]; + this.columnRev = base.Columns["Rev"]; + this.columnCodObj = base.Columns["CodObj"]; + this.columnNome = base.Columns["Nome"]; + this.columnDataRif = base.Columns["DataRif"]; + this.columnIdxObjMamma = base.Columns["IdxObjMamma"]; + this.columnNote = base.Columns["Note"]; + this.columnExtKey = base.Columns["ExtKey"]; + this.columnDueDate = base.Columns["DueDate"]; + this.columnLeadTime = base.Columns["LeadTime"]; + this.columnLeadTimeUM = base.Columns["LeadTimeUM"]; + this.columnUserCreaz = base.Columns["UserCreaz"]; + this.columnDataCreaz = base.Columns["DataCreaz"]; + this.columnUserMod = base.Columns["UserMod"]; + this.columnDataMod = base.Columns["DataMod"]; + this.columnQta = base.Columns["Qta"]; + this.columnPeso = base.Columns["Peso"]; + this.columnemailReq = base.Columns["emailReq"]; + this.columnemailSent = base.Columns["emailSent"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnIdxObj = new global::System.Data.DataColumn("IdxObj", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxObj); + this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCliente); + this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodStato); + this.columnPosizione = new global::System.Data.DataColumn("Posizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPosizione); + this.columnLivello = new global::System.Data.DataColumn("Livello", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLivello); + this.columnRev = new global::System.Data.DataColumn("Rev", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRev); + this.columnCodObj = new global::System.Data.DataColumn("CodObj", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodObj); + this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNome); + this.columnDataRif = new global::System.Data.DataColumn("DataRif", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataRif); + this.columnIdxObjMamma = new global::System.Data.DataColumn("IdxObjMamma", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxObjMamma); + this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNote); + this.columnExtKey = new global::System.Data.DataColumn("ExtKey", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnExtKey); + this.columnDueDate = new global::System.Data.DataColumn("DueDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDueDate); + this.columnLeadTime = new global::System.Data.DataColumn("LeadTime", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLeadTime); + this.columnLeadTimeUM = new global::System.Data.DataColumn("LeadTimeUM", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLeadTimeUM); + this.columnUserCreaz = new global::System.Data.DataColumn("UserCreaz", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUserCreaz); + this.columnDataCreaz = new global::System.Data.DataColumn("DataCreaz", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataCreaz); + this.columnUserMod = new global::System.Data.DataColumn("UserMod", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUserMod); + this.columnDataMod = new global::System.Data.DataColumn("DataMod", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataMod); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnPeso = new global::System.Data.DataColumn("Peso", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPeso); + this.columnemailReq = new global::System.Data.DataColumn("emailReq", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnemailReq); + this.columnemailSent = new global::System.Data.DataColumn("emailSent", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnemailSent); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnIdxObj}, true)); + this.columnIdxObj.AllowDBNull = false; + this.columnIdxObj.Unique = true; + this.columnIdxObj.MaxLength = 50; + this.columnCodCliente.MaxLength = 50; + this.columnCodStato.MaxLength = 50; + this.columnPosizione.MaxLength = 50; + this.columnCodObj.MaxLength = 50; + this.columnNome.MaxLength = 50; + this.columnIdxObjMamma.MaxLength = 50; + this.columnNote.MaxLength = 50; + this.columnExtKey.MaxLength = 50; + this.columnLeadTimeUM.MaxLength = 50; + this.columnUserCreaz.MaxLength = 50; + this.columnUserMod.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public IstObjRow NewIstObjRow() { + return ((IstObjRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new IstObjRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(IstObjRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.IstObjRowChanged != null)) { + this.IstObjRowChanged(this, new IstObjRowChangeEvent(((IstObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.IstObjRowChanging != null)) { + this.IstObjRowChanging(this, new IstObjRowChangeEvent(((IstObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.IstObjRowDeleted != null)) { + this.IstObjRowDeleted(this, new IstObjRowChangeEvent(((IstObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.IstObjRowDeleting != null)) { + this.IstObjRowDeleting(this, new IstObjRowChangeEvent(((IstObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveIstObjRow(IstObjRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + 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 = "IstObjDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_righeDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCod; + + private global::System.Data.DataColumn columnStato; + + private global::System.Data.DataColumn columnCodCliente; + + private global::System.Data.DataColumn columnCliente; + + private global::System.Data.DataColumn columnCodCli; + + private global::System.Data.DataColumn columndescrizione; + + private global::System.Data.DataColumn columnDDT; + + private global::System.Data.DataColumn columnDataDDT; + + private global::System.Data.DataColumn columnDataArrivo; + + private global::System.Data.DataColumn columnPosizione; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnPeso; + + private global::System.Data.DataColumn columnColli; + + private global::System.Data.DataColumn columnDataPrevista; + + private global::System.Data.DataColumn columnIdxObjMamma; + + private global::System.Data.DataColumn columnCodStato; + + private global::System.Data.DataColumn columnminStato; + + private global::System.Data.DataColumn columnmaxStato; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_righeDataTable() { + this.TableName = "v_righe"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_righeDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_righeDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodColumn { + get { + return this.columnCod; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn StatoColumn { + get { + return this.columnStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodClienteColumn { + get { + return this.columnCodCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ClienteColumn { + get { + return this.columnCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCliColumn { + get { + return this.columnCodCli; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descrizioneColumn { + get { + return this.columndescrizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DDTColumn { + get { + return this.columnDDT; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataDDTColumn { + get { + return this.columnDataDDT; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataArrivoColumn { + get { + return this.columnDataArrivo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PosizioneColumn { + get { + return this.columnPosizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PesoColumn { + get { + return this.columnPeso; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ColliColumn { + get { + return this.columnColli; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataPrevistaColumn { + get { + return this.columnDataPrevista; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxObjMammaColumn { + get { + return this.columnIdxObjMamma; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] + public global::System.Data.DataColumn minStatoColumn { + get { + return this.columnminStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn maxStatoColumn { + get { + return this.columnmaxStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_righeRow this[int index] { + get { + return ((v_righeRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_righeRowChangeEventHandler v_righeRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_righeRowChangeEventHandler v_righeRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_righeRowChangeEventHandler v_righeRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_righeRowChangeEventHandler v_righeRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_righeRow(v_righeRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_righeRow Addv_righeRow( + string Cod, + string Stato, + string CodCliente, + string Cliente, + string CodCli, + string descrizione, + string DDT, + System.DateTime DataDDT, + System.DateTime DataArrivo, + string Posizione, + int Qta, + double Peso, + int Colli, + System.DateTime DataPrevista, + string IdxObjMamma, + string CodStato, + string minStato, + string maxStato) { + v_righeRow rowv_righeRow = ((v_righeRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + Cod, + Stato, + CodCliente, + Cliente, + CodCli, + descrizione, + DDT, + DataDDT, + DataArrivo, + Posizione, + Qta, + Peso, + Colli, + DataPrevista, + IdxObjMamma, + CodStato, + minStato, + maxStato}; + rowv_righeRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_righeRow); + return rowv_righeRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_righeRow FindByCod(string Cod) { + return ((v_righeRow)(this.Rows.Find(new object[] { + Cod}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_righeDataTable cln = ((v_righeDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_righeDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCod = base.Columns["Cod"]; + this.columnStato = base.Columns["Stato"]; + this.columnCodCliente = base.Columns["CodCliente"]; + this.columnCliente = base.Columns["Cliente"]; + this.columnCodCli = base.Columns["CodCli"]; + this.columndescrizione = base.Columns["descrizione"]; + this.columnDDT = base.Columns["DDT"]; + this.columnDataDDT = base.Columns["DataDDT"]; + this.columnDataArrivo = base.Columns["DataArrivo"]; + this.columnPosizione = base.Columns["Posizione"]; + this.columnQta = base.Columns["Qta"]; + this.columnPeso = base.Columns["Peso"]; + this.columnColli = base.Columns["Colli"]; + this.columnDataPrevista = base.Columns["DataPrevista"]; + this.columnIdxObjMamma = base.Columns["IdxObjMamma"]; + this.columnCodStato = base.Columns["CodStato"]; + this.columnminStato = base.Columns["minStato"]; + this.columnmaxStato = base.Columns["maxStato"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCod = new global::System.Data.DataColumn("Cod", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCod); + this.columnStato = new global::System.Data.DataColumn("Stato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnStato); + this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCliente); + this.columnCliente = new global::System.Data.DataColumn("Cliente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCliente); + this.columnCodCli = new global::System.Data.DataColumn("CodCli", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCli); + this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrizione); + this.columnDDT = new global::System.Data.DataColumn("DDT", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDDT); + this.columnDataDDT = new global::System.Data.DataColumn("DataDDT", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataDDT); + this.columnDataArrivo = new global::System.Data.DataColumn("DataArrivo", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataArrivo); + this.columnPosizione = new global::System.Data.DataColumn("Posizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPosizione); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnPeso = new global::System.Data.DataColumn("Peso", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPeso); + this.columnColli = new global::System.Data.DataColumn("Colli", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnColli); + this.columnDataPrevista = new global::System.Data.DataColumn("DataPrevista", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataPrevista); + this.columnIdxObjMamma = new global::System.Data.DataColumn("IdxObjMamma", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxObjMamma); + this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodStato); + this.columnminStato = new global::System.Data.DataColumn("minStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnminStato); + this.columnmaxStato = new global::System.Data.DataColumn("maxStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmaxStato); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCod}, true)); + this.columnCod.AllowDBNull = false; + this.columnCod.Unique = true; + this.columnCod.MaxLength = 50; + this.columnStato.MaxLength = 50; + this.columnCodCliente.ReadOnly = true; + this.columnCodCliente.MaxLength = 50; + this.columnCliente.ReadOnly = true; + this.columnCliente.MaxLength = 50; + this.columnCodCli.ReadOnly = true; + this.columnCodCli.MaxLength = 50; + this.columndescrizione.ReadOnly = true; + this.columndescrizione.MaxLength = 50; + this.columnDDT.MaxLength = 50; + this.columnPosizione.MaxLength = 50; + this.columnColli.ReadOnly = true; + this.columnIdxObjMamma.MaxLength = 50; + this.columnCodStato.MaxLength = 50; + this.columnminStato.MaxLength = 50; + this.columnmaxStato.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_righeRow Newv_righeRow() { + return ((v_righeRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_righeRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_righeRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_righeRowChanged != null)) { + this.v_righeRowChanged(this, new v_righeRowChangeEvent(((v_righeRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_righeRowChanging != null)) { + this.v_righeRowChanging(this, new v_righeRowChangeEvent(((v_righeRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_righeRowDeleted != null)) { + this.v_righeRowDeleted(this, new v_righeRowChangeEvent(((v_righeRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_righeRowDeleting != null)) { + this.v_righeRowDeleting(this, new v_righeRowChangeEvent(((v_righeRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_righeRow(v_righeRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + 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 = "v_righeDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class sp_rec4DayDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnrec4Day; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_rec4DayDataTable() { + this.TableName = "sp_rec4Day"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal sp_rec4DayDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected sp_rec4DayDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn rec4DayColumn { + get { + return this.columnrec4Day; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_rec4DayRow this[int index] { + get { + return ((sp_rec4DayRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event sp_rec4DayRowChangeEventHandler sp_rec4DayRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event sp_rec4DayRowChangeEventHandler sp_rec4DayRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event sp_rec4DayRowChangeEventHandler sp_rec4DayRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event sp_rec4DayRowChangeEventHandler sp_rec4DayRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addsp_rec4DayRow(sp_rec4DayRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_rec4DayRow Addsp_rec4DayRow(int rec4Day) { + sp_rec4DayRow rowsp_rec4DayRow = ((sp_rec4DayRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + rec4Day}; + rowsp_rec4DayRow.ItemArray = columnValuesArray; + this.Rows.Add(rowsp_rec4DayRow); + return rowsp_rec4DayRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + sp_rec4DayDataTable cln = ((sp_rec4DayDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new sp_rec4DayDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnrec4Day = base.Columns["rec4Day"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnrec4Day = new global::System.Data.DataColumn("rec4Day", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnrec4Day); + this.columnrec4Day.ReadOnly = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_rec4DayRow Newsp_rec4DayRow() { + return ((sp_rec4DayRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new sp_rec4DayRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(sp_rec4DayRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.sp_rec4DayRowChanged != null)) { + this.sp_rec4DayRowChanged(this, new sp_rec4DayRowChangeEvent(((sp_rec4DayRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.sp_rec4DayRowChanging != null)) { + this.sp_rec4DayRowChanging(this, new sp_rec4DayRowChangeEvent(((sp_rec4DayRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.sp_rec4DayRowDeleted != null)) { + this.sp_rec4DayRowDeleted(this, new sp_rec4DayRowChangeEvent(((sp_rec4DayRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.sp_rec4DayRowDeleting != null)) { + this.sp_rec4DayRowDeleting(this, new sp_rec4DayRowChangeEvent(((sp_rec4DayRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removesp_rec4DayRow(sp_rec4DayRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + 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 = "sp_rec4DayDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_ULPDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCod; + + private global::System.Data.DataColumn columnStato; + + private global::System.Data.DataColumn columnCodCliente; + + private global::System.Data.DataColumn columnCliente; + + private global::System.Data.DataColumn columnCodCli; + + private global::System.Data.DataColumn columndescrizione; + + private global::System.Data.DataColumn columnDDT; + + private global::System.Data.DataColumn columnDataDDT; + + private global::System.Data.DataColumn columnDataArrivo; + + private global::System.Data.DataColumn columnPosizione; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnPeso; + + private global::System.Data.DataColumn columnDataPrevista; + + private global::System.Data.DataColumn columnIdxObjMamma; + + private global::System.Data.DataColumn columnCodStato; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ULPDataTable() { + this.TableName = "v_ULP"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_ULPDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_ULPDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodColumn { + get { + return this.columnCod; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn StatoColumn { + get { + return this.columnStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodClienteColumn { + get { + return this.columnCodCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ClienteColumn { + get { + return this.columnCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCliColumn { + get { + return this.columnCodCli; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descrizioneColumn { + get { + return this.columndescrizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DDTColumn { + get { + return this.columnDDT; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataDDTColumn { + get { + return this.columnDataDDT; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataArrivoColumn { + get { + return this.columnDataArrivo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PosizioneColumn { + get { + return this.columnPosizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PesoColumn { + get { + return this.columnPeso; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataPrevistaColumn { + get { + return this.columnDataPrevista; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxObjMammaColumn { + get { + return this.columnIdxObjMamma; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ULPRow this[int index] { + get { + return ((v_ULPRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_ULPRowChangeEventHandler v_ULPRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_ULPRowChangeEventHandler v_ULPRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_ULPRowChangeEventHandler v_ULPRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_ULPRowChangeEventHandler v_ULPRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_ULPRow(v_ULPRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ULPRow Addv_ULPRow(string Cod, string Stato, string CodCliente, string Cliente, string CodCli, string descrizione, string DDT, System.DateTime DataDDT, System.DateTime DataArrivo, string Posizione, int Qta, double Peso, System.DateTime DataPrevista, string IdxObjMamma, string CodStato) { + v_ULPRow rowv_ULPRow = ((v_ULPRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + Cod, + Stato, + CodCliente, + Cliente, + CodCli, + descrizione, + DDT, + DataDDT, + DataArrivo, + Posizione, + Qta, + Peso, + DataPrevista, + IdxObjMamma, + CodStato}; + rowv_ULPRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_ULPRow); + return rowv_ULPRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ULPRow FindByCod(string Cod) { + return ((v_ULPRow)(this.Rows.Find(new object[] { + Cod}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_ULPDataTable cln = ((v_ULPDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_ULPDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCod = base.Columns["Cod"]; + this.columnStato = base.Columns["Stato"]; + this.columnCodCliente = base.Columns["CodCliente"]; + this.columnCliente = base.Columns["Cliente"]; + this.columnCodCli = base.Columns["CodCli"]; + this.columndescrizione = base.Columns["descrizione"]; + this.columnDDT = base.Columns["DDT"]; + this.columnDataDDT = base.Columns["DataDDT"]; + this.columnDataArrivo = base.Columns["DataArrivo"]; + this.columnPosizione = base.Columns["Posizione"]; + this.columnQta = base.Columns["Qta"]; + this.columnPeso = base.Columns["Peso"]; + this.columnDataPrevista = base.Columns["DataPrevista"]; + this.columnIdxObjMamma = base.Columns["IdxObjMamma"]; + this.columnCodStato = base.Columns["CodStato"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCod = new global::System.Data.DataColumn("Cod", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCod); + this.columnStato = new global::System.Data.DataColumn("Stato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnStato); + this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCliente); + this.columnCliente = new global::System.Data.DataColumn("Cliente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCliente); + this.columnCodCli = new global::System.Data.DataColumn("CodCli", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCli); + this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrizione); + this.columnDDT = new global::System.Data.DataColumn("DDT", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDDT); + this.columnDataDDT = new global::System.Data.DataColumn("DataDDT", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataDDT); + this.columnDataArrivo = new global::System.Data.DataColumn("DataArrivo", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataArrivo); + this.columnPosizione = new global::System.Data.DataColumn("Posizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPosizione); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnPeso = new global::System.Data.DataColumn("Peso", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPeso); + this.columnDataPrevista = new global::System.Data.DataColumn("DataPrevista", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataPrevista); + this.columnIdxObjMamma = new global::System.Data.DataColumn("IdxObjMamma", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxObjMamma); + this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodStato); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCod}, true)); + this.columnCod.AllowDBNull = false; + this.columnCod.Unique = true; + this.columnCod.MaxLength = 50; + this.columnStato.MaxLength = 50; + this.columnCodCliente.ReadOnly = true; + this.columnCodCliente.MaxLength = 50; + this.columnCliente.ReadOnly = true; + this.columnCliente.MaxLength = 50; + this.columnCodCli.ReadOnly = true; + this.columnCodCli.MaxLength = 50; + this.columndescrizione.ReadOnly = true; + this.columndescrizione.MaxLength = 50; + this.columnDDT.MaxLength = 50; + this.columnPosizione.MaxLength = 50; + this.columnQta.ReadOnly = true; + this.columnPeso.ReadOnly = true; + this.columnIdxObjMamma.MaxLength = 50; + this.columnCodStato.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ULPRow Newv_ULPRow() { + return ((v_ULPRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_ULPRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_ULPRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_ULPRowChanged != null)) { + this.v_ULPRowChanged(this, new v_ULPRowChangeEvent(((v_ULPRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_ULPRowChanging != null)) { + this.v_ULPRowChanging(this, new v_ULPRowChangeEvent(((v_ULPRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_ULPRowDeleted != null)) { + this.v_ULPRowDeleted(this, new v_ULPRowChangeEvent(((v_ULPRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_ULPRowDeleting != null)) { + this.v_ULPRowDeleting(this, new v_ULPRowChangeEvent(((v_ULPRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_ULPRow(v_ULPRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + 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 = "v_ULPDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class EventiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodEvento; + + private global::System.Data.DataColumn columnCodTipoEvento; + + private global::System.Data.DataColumn columnDescrEvento; + + private global::System.Data.DataColumn columnAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiDataTable() { + this.TableName = "Eventi"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal EventiDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected EventiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodEventoColumn { + get { + return this.columnCodEvento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodTipoEventoColumn { + get { + return this.columnCodTipoEvento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrEventoColumn { + get { + return this.columnDescrEvento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ActionColumn { + get { + return this.columnAction; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiRow this[int index] { + get { + return ((EventiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event EventiRowChangeEventHandler EventiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event EventiRowChangeEventHandler EventiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event EventiRowChangeEventHandler EventiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event EventiRowChangeEventHandler EventiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddEventiRow(EventiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiRow AddEventiRow(string CodEvento, string CodTipoEvento, string DescrEvento, string Action) { + EventiRow rowEventiRow = ((EventiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodEvento, + CodTipoEvento, + DescrEvento, + Action}; + rowEventiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowEventiRow); + return rowEventiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiRow FindByCodEvento(string CodEvento) { + return ((EventiRow)(this.Rows.Find(new object[] { + CodEvento}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + EventiDataTable cln = ((EventiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new EventiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodEvento = base.Columns["CodEvento"]; + this.columnCodTipoEvento = base.Columns["CodTipoEvento"]; + this.columnDescrEvento = base.Columns["DescrEvento"]; + this.columnAction = base.Columns["Action"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodEvento = new global::System.Data.DataColumn("CodEvento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodEvento); + this.columnCodTipoEvento = new global::System.Data.DataColumn("CodTipoEvento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodTipoEvento); + this.columnDescrEvento = new global::System.Data.DataColumn("DescrEvento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrEvento); + this.columnAction = new global::System.Data.DataColumn("Action", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnAction); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodEvento}, true)); + this.columnCodEvento.AllowDBNull = false; + this.columnCodEvento.Unique = true; + this.columnCodEvento.MaxLength = 50; + this.columnCodTipoEvento.MaxLength = 50; + this.columnDescrEvento.MaxLength = 50; + this.columnAction.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiRow NewEventiRow() { + return ((EventiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new EventiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(EventiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.EventiRowChanged != null)) { + this.EventiRowChanged(this, new EventiRowChangeEvent(((EventiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.EventiRowChanging != null)) { + this.EventiRowChanging(this, new EventiRowChangeEvent(((EventiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.EventiRowDeleted != null)) { + this.EventiRowDeleted(this, new EventiRowChangeEvent(((EventiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.EventiRowDeleting != null)) { + this.EventiRowDeleting(this, new EventiRowChangeEvent(((EventiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveEventiRow(EventiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + 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 = "EventiDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class TraEv2StatiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodMappa; + + private global::System.Data.DataColumn columnCodObj; + + private global::System.Data.DataColumn columnCodStato; + + private global::System.Data.DataColumn columnCodEvento; + + private global::System.Data.DataColumn columnNextCodStato; + + private global::System.Data.DataColumn columnCmdPlugin; + + private global::System.Data.DataColumn columntext2show; + + private global::System.Data.DataColumn columndescrComando; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TraEv2StatiDataTable() { + this.TableName = "TraEv2Stati"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal TraEv2StatiDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected TraEv2StatiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodMappaColumn { + get { + return this.columnCodMappa; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodObjColumn { + get { + return this.columnCodObj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] + public global::System.Data.DataColumn CodEventoColumn { + get { + return this.columnCodEvento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NextCodStatoColumn { + get { + return this.columnNextCodStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CmdPluginColumn { + get { + return this.columnCmdPlugin; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn text2showColumn { + get { + return this.columntext2show; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descrComandoColumn { + get { + return this.columndescrComando; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TraEv2StatiRow this[int index] { + get { + return ((TraEv2StatiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TraEv2StatiRowChangeEventHandler TraEv2StatiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TraEv2StatiRowChangeEventHandler TraEv2StatiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TraEv2StatiRowChangeEventHandler TraEv2StatiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TraEv2StatiRowChangeEventHandler TraEv2StatiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddTraEv2StatiRow(TraEv2StatiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TraEv2StatiRow AddTraEv2StatiRow(string CodMappa, string CodObj, string CodStato, EventiRow parentEventiRowByFK_TransizioneEventiStati_Eventi, string NextCodStato, string CmdPlugin, string text2show, string descrComando) { + TraEv2StatiRow rowTraEv2StatiRow = ((TraEv2StatiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodMappa, + CodObj, + CodStato, + null, + NextCodStato, + CmdPlugin, + text2show, + descrComando}; + if ((parentEventiRowByFK_TransizioneEventiStati_Eventi != null)) { + columnValuesArray[3] = parentEventiRowByFK_TransizioneEventiStati_Eventi[0]; + } + rowTraEv2StatiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowTraEv2StatiRow); + return rowTraEv2StatiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TraEv2StatiRow FindByCodMappaCodObjCodStatoCodEvento(string CodMappa, string CodObj, string CodStato, string CodEvento) { + return ((TraEv2StatiRow)(this.Rows.Find(new object[] { + CodMappa, + CodObj, + CodStato, + CodEvento}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + TraEv2StatiDataTable cln = ((TraEv2StatiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new TraEv2StatiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodMappa = base.Columns["CodMappa"]; + this.columnCodObj = base.Columns["CodObj"]; + this.columnCodStato = base.Columns["CodStato"]; + this.columnCodEvento = base.Columns["CodEvento"]; + this.columnNextCodStato = base.Columns["NextCodStato"]; + this.columnCmdPlugin = base.Columns["CmdPlugin"]; + this.columntext2show = base.Columns["text2show"]; + this.columndescrComando = base.Columns["descrComando"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodMappa = new global::System.Data.DataColumn("CodMappa", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodMappa); + this.columnCodObj = new global::System.Data.DataColumn("CodObj", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodObj); + this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodStato); + this.columnCodEvento = new global::System.Data.DataColumn("CodEvento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodEvento); + this.columnNextCodStato = new global::System.Data.DataColumn("NextCodStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNextCodStato); + this.columnCmdPlugin = new global::System.Data.DataColumn("CmdPlugin", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCmdPlugin); + this.columntext2show = new global::System.Data.DataColumn("text2show", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columntext2show); + this.columndescrComando = new global::System.Data.DataColumn("descrComando", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrComando); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodMappa, + this.columnCodObj, + this.columnCodStato, + this.columnCodEvento}, true)); + this.columnCodMappa.AllowDBNull = false; + this.columnCodMappa.MaxLength = 20; + this.columnCodObj.AllowDBNull = false; + this.columnCodObj.MaxLength = 50; + this.columnCodStato.AllowDBNull = false; + this.columnCodStato.MaxLength = 50; + this.columnCodEvento.AllowDBNull = false; + this.columnCodEvento.MaxLength = 50; + this.columnNextCodStato.MaxLength = 50; + this.columnCmdPlugin.MaxLength = 50; + this.columntext2show.MaxLength = 500; + this.columndescrComando.MaxLength = 250; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TraEv2StatiRow NewTraEv2StatiRow() { + return ((TraEv2StatiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new TraEv2StatiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(TraEv2StatiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.TraEv2StatiRowChanged != null)) { + this.TraEv2StatiRowChanged(this, new TraEv2StatiRowChangeEvent(((TraEv2StatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.TraEv2StatiRowChanging != null)) { + this.TraEv2StatiRowChanging(this, new TraEv2StatiRowChangeEvent(((TraEv2StatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.TraEv2StatiRowDeleted != null)) { + this.TraEv2StatiRowDeleted(this, new TraEv2StatiRowChangeEvent(((TraEv2StatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.TraEv2StatiRowDeleting != null)) { + this.TraEv2StatiRowDeleting(this, new TraEv2StatiRowChangeEvent(((TraEv2StatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveTraEv2StatiRow(TraEv2StatiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + 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 = "TraEv2StatiDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_logStatiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnIdxObj; + + private global::System.Data.DataColumn columnCodCliente; + + private global::System.Data.DataColumn columnNome; + + private global::System.Data.DataColumn columnDataRif; + + private global::System.Data.DataColumn columnNote; + + private global::System.Data.DataColumn columnExtKey; + + private global::System.Data.DataColumn columnDataOra; + + private global::System.Data.DataColumn columnDescrStato; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_logStatiDataTable() { + this.TableName = "v_logStati"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_logStatiDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_logStatiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxObjColumn { + get { + return this.columnIdxObj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodClienteColumn { + get { + return this.columnCodCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NomeColumn { + get { + return this.columnNome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataRifColumn { + get { + return this.columnDataRif; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ExtKeyColumn { + get { + return this.columnExtKey; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataOraColumn { + get { + return this.columnDataOra; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_logStatiRow this[int index] { + get { + return ((v_logStatiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_logStatiRowChangeEventHandler v_logStatiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_logStatiRowChangeEventHandler v_logStatiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_logStatiRowChangeEventHandler v_logStatiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_logStatiRowChangeEventHandler v_logStatiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_logStatiRow(v_logStatiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_logStatiRow Addv_logStatiRow(string IdxObj, string CodCliente, string Nome, System.DateTime DataRif, string Note, string ExtKey, System.DateTime DataOra, string DescrStato) { + v_logStatiRow rowv_logStatiRow = ((v_logStatiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + IdxObj, + CodCliente, + Nome, + DataRif, + Note, + ExtKey, + DataOra, + DescrStato}; + rowv_logStatiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_logStatiRow); + return rowv_logStatiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_logStatiDataTable cln = ((v_logStatiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_logStatiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnIdxObj = base.Columns["IdxObj"]; + this.columnCodCliente = base.Columns["CodCliente"]; + this.columnNome = base.Columns["Nome"]; + this.columnDataRif = base.Columns["DataRif"]; + this.columnNote = base.Columns["Note"]; + this.columnExtKey = base.Columns["ExtKey"]; + this.columnDataOra = base.Columns["DataOra"]; + this.columnDescrStato = base.Columns["DescrStato"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnIdxObj = new global::System.Data.DataColumn("IdxObj", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxObj); + this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCliente); + this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNome); + this.columnDataRif = new global::System.Data.DataColumn("DataRif", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataRif); + this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNote); + this.columnExtKey = new global::System.Data.DataColumn("ExtKey", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnExtKey); + this.columnDataOra = new global::System.Data.DataColumn("DataOra", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataOra); + this.columnDescrStato = new global::System.Data.DataColumn("DescrStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrStato); + this.columnIdxObj.AllowDBNull = false; + this.columnIdxObj.MaxLength = 50; + this.columnCodCliente.MaxLength = 50; + this.columnNome.MaxLength = 50; + this.columnNote.MaxLength = 50; + this.columnExtKey.MaxLength = 50; + this.columnDataOra.AllowDBNull = false; + this.columnDescrStato.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_logStatiRow Newv_logStatiRow() { + return ((v_logStatiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_logStatiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_logStatiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_logStatiRowChanged != null)) { + this.v_logStatiRowChanged(this, new v_logStatiRowChangeEvent(((v_logStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_logStatiRowChanging != null)) { + this.v_logStatiRowChanging(this, new v_logStatiRowChangeEvent(((v_logStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_logStatiRowDeleted != null)) { + this.v_logStatiRowDeleted(this, new v_logStatiRowChangeEvent(((v_logStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_logStatiRowDeleting != null)) { + this.v_logStatiRowDeleting(this, new v_logStatiRowChangeEvent(((v_logStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_logStatiRow(v_logStatiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + 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 = "v_logStatiDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class sp_contaNonSchedDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnquanti; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_contaNonSchedDataTable() { + this.TableName = "sp_contaNonSched"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal sp_contaNonSchedDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected sp_contaNonSchedDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn quantiColumn { + get { + return this.columnquanti; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_contaNonSchedRow this[int index] { + get { + return ((sp_contaNonSchedRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event sp_contaNonSchedRowChangeEventHandler sp_contaNonSchedRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event sp_contaNonSchedRowChangeEventHandler sp_contaNonSchedRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event sp_contaNonSchedRowChangeEventHandler sp_contaNonSchedRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event sp_contaNonSchedRowChangeEventHandler sp_contaNonSchedRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addsp_contaNonSchedRow(sp_contaNonSchedRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_contaNonSchedRow Addsp_contaNonSchedRow(int quanti) { + sp_contaNonSchedRow rowsp_contaNonSchedRow = ((sp_contaNonSchedRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + quanti}; + rowsp_contaNonSchedRow.ItemArray = columnValuesArray; + this.Rows.Add(rowsp_contaNonSchedRow); + return rowsp_contaNonSchedRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + sp_contaNonSchedDataTable cln = ((sp_contaNonSchedDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new sp_contaNonSchedDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnquanti = base.Columns["quanti"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnquanti = new global::System.Data.DataColumn("quanti", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnquanti); + this.columnquanti.ReadOnly = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_contaNonSchedRow Newsp_contaNonSchedRow() { + return ((sp_contaNonSchedRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new sp_contaNonSchedRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(sp_contaNonSchedRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.sp_contaNonSchedRowChanged != null)) { + this.sp_contaNonSchedRowChanged(this, new sp_contaNonSchedRowChangeEvent(((sp_contaNonSchedRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.sp_contaNonSchedRowChanging != null)) { + this.sp_contaNonSchedRowChanging(this, new sp_contaNonSchedRowChangeEvent(((sp_contaNonSchedRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.sp_contaNonSchedRowDeleted != null)) { + this.sp_contaNonSchedRowDeleted(this, new sp_contaNonSchedRowChangeEvent(((sp_contaNonSchedRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.sp_contaNonSchedRowDeleting != null)) { + this.sp_contaNonSchedRowDeleting(this, new sp_contaNonSchedRowChangeEvent(((sp_contaNonSchedRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removesp_contaNonSchedRow(sp_contaNonSchedRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + 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 = "sp_contaNonSchedDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class sp_schedaIdentDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnIdxObj; + + private global::System.Data.DataColumn columnCliente; + + private global::System.Data.DataColumn columnDDT; + + private global::System.Data.DataColumn columnDDT_del; + + private global::System.Data.DataColumn columnDataArrivo; + + private global::System.Data.DataColumn columnCodProdotto; + + private global::System.Data.DataColumn columnConsegnaPrevista; + + private global::System.Data.DataColumn columnPeso; + + private global::System.Data.DataColumn columnFosfManganese; + + private global::System.Data.DataColumn columnBrunitura; + + private global::System.Data.DataColumn columnFosfTeflon; + + private global::System.Data.DataColumn columnSabbiatura; + + private global::System.Data.DataColumn columnF1; + + private global::System.Data.DataColumn columnF2; + + private global::System.Data.DataColumn columnFosfZinco; + + private global::System.Data.DataColumn columnTeflon; + + private global::System.Data.DataColumn columnFosfPreVern; + + private global::System.Data.DataColumn columnPzRoto; + + private global::System.Data.DataColumn columnZinchlorex; + + private global::System.Data.DataColumn columnPeekVicote; + + private global::System.Data.DataColumn columnCodCli; + + private global::System.Data.DataColumn columnCodCliente; + + private global::System.Data.DataColumn columnQta; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_schedaIdentDataTable() { + this.TableName = "sp_schedaIdent"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal sp_schedaIdentDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected sp_schedaIdentDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxObjColumn { + get { + return this.columnIdxObj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ClienteColumn { + get { + return this.columnCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DDTColumn { + get { + return this.columnDDT; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DDT_delColumn { + get { + return this.columnDDT_del; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataArrivoColumn { + get { + return this.columnDataArrivo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodProdottoColumn { + get { + return this.columnCodProdotto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ConsegnaPrevistaColumn { + get { + return this.columnConsegnaPrevista; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PesoColumn { + get { + return this.columnPeso; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FosfManganeseColumn { + get { + return this.columnFosfManganese; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn BrunituraColumn { + get { + return this.columnBrunitura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FosfTeflonColumn { + get { + return this.columnFosfTeflon; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn SabbiaturaColumn { + get { + return this.columnSabbiatura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn F1Column { + get { + return this.columnF1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn F2Column { + get { + return this.columnF2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FosfZincoColumn { + get { + return this.columnFosfZinco; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TeflonColumn { + get { + return this.columnTeflon; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FosfPreVernColumn { + get { + return this.columnFosfPreVern; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PzRotoColumn { + get { + return this.columnPzRoto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ZinchlorexColumn { + get { + return this.columnZinchlorex; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PeekVicoteColumn { + get { + return this.columnPeekVicote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCliColumn { + get { + return this.columnCodCli; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodClienteColumn { + get { + return this.columnCodCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_schedaIdentRow this[int index] { + get { + return ((sp_schedaIdentRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event sp_schedaIdentRowChangeEventHandler sp_schedaIdentRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event sp_schedaIdentRowChangeEventHandler sp_schedaIdentRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event sp_schedaIdentRowChangeEventHandler sp_schedaIdentRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event sp_schedaIdentRowChangeEventHandler sp_schedaIdentRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addsp_schedaIdentRow(sp_schedaIdentRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_schedaIdentRow Addsp_schedaIdentRow( + string IdxObj, + string Cliente, + string DDT, + System.DateTime DDT_del, + System.DateTime DataArrivo, + string CodProdotto, + System.DateTime ConsegnaPrevista, + double Peso, + string FosfManganese, + string Brunitura, + string FosfTeflon, + string Sabbiatura, + string F1, + string F2, + string FosfZinco, + string Teflon, + string FosfPreVern, + string PzRoto, + string Zinchlorex, + string PeekVicote, + string CodCli, + string CodCliente, + int Qta) { + sp_schedaIdentRow rowsp_schedaIdentRow = ((sp_schedaIdentRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + IdxObj, + Cliente, + DDT, + DDT_del, + DataArrivo, + CodProdotto, + ConsegnaPrevista, + Peso, + FosfManganese, + Brunitura, + FosfTeflon, + Sabbiatura, + F1, + F2, + FosfZinco, + Teflon, + FosfPreVern, + PzRoto, + Zinchlorex, + PeekVicote, + CodCli, + CodCliente, + Qta}; + rowsp_schedaIdentRow.ItemArray = columnValuesArray; + this.Rows.Add(rowsp_schedaIdentRow); + return rowsp_schedaIdentRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_schedaIdentRow FindByIdxObj(string IdxObj) { + return ((sp_schedaIdentRow)(this.Rows.Find(new object[] { + IdxObj}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + sp_schedaIdentDataTable cln = ((sp_schedaIdentDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new sp_schedaIdentDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnIdxObj = base.Columns["IdxObj"]; + this.columnCliente = base.Columns["Cliente"]; + this.columnDDT = base.Columns["DDT"]; + this.columnDDT_del = base.Columns["DDT_del"]; + this.columnDataArrivo = base.Columns["DataArrivo"]; + this.columnCodProdotto = base.Columns["CodProdotto"]; + this.columnConsegnaPrevista = base.Columns["ConsegnaPrevista"]; + this.columnPeso = base.Columns["Peso"]; + this.columnFosfManganese = base.Columns["FosfManganese"]; + this.columnBrunitura = base.Columns["Brunitura"]; + this.columnFosfTeflon = base.Columns["FosfTeflon"]; + this.columnSabbiatura = base.Columns["Sabbiatura"]; + this.columnF1 = base.Columns["F1"]; + this.columnF2 = base.Columns["F2"]; + this.columnFosfZinco = base.Columns["FosfZinco"]; + this.columnTeflon = base.Columns["Teflon"]; + this.columnFosfPreVern = base.Columns["FosfPreVern"]; + this.columnPzRoto = base.Columns["PzRoto"]; + this.columnZinchlorex = base.Columns["Zinchlorex"]; + this.columnPeekVicote = base.Columns["PeekVicote"]; + this.columnCodCli = base.Columns["CodCli"]; + this.columnCodCliente = base.Columns["CodCliente"]; + this.columnQta = base.Columns["Qta"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnIdxObj = new global::System.Data.DataColumn("IdxObj", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxObj); + this.columnCliente = new global::System.Data.DataColumn("Cliente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCliente); + this.columnDDT = new global::System.Data.DataColumn("DDT", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDDT); + this.columnDDT_del = new global::System.Data.DataColumn("DDT_del", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDDT_del); + this.columnDataArrivo = new global::System.Data.DataColumn("DataArrivo", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataArrivo); + this.columnCodProdotto = new global::System.Data.DataColumn("CodProdotto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodProdotto); + this.columnConsegnaPrevista = new global::System.Data.DataColumn("ConsegnaPrevista", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnConsegnaPrevista); + this.columnPeso = new global::System.Data.DataColumn("Peso", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPeso); + this.columnFosfManganese = new global::System.Data.DataColumn("FosfManganese", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFosfManganese); + this.columnBrunitura = new global::System.Data.DataColumn("Brunitura", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBrunitura); + this.columnFosfTeflon = new global::System.Data.DataColumn("FosfTeflon", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFosfTeflon); + this.columnSabbiatura = new global::System.Data.DataColumn("Sabbiatura", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSabbiatura); + this.columnF1 = new global::System.Data.DataColumn("F1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnF1); + this.columnF2 = new global::System.Data.DataColumn("F2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnF2); + this.columnFosfZinco = new global::System.Data.DataColumn("FosfZinco", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFosfZinco); + this.columnTeflon = new global::System.Data.DataColumn("Teflon", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTeflon); + this.columnFosfPreVern = new global::System.Data.DataColumn("FosfPreVern", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFosfPreVern); + this.columnPzRoto = new global::System.Data.DataColumn("PzRoto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPzRoto); + this.columnZinchlorex = new global::System.Data.DataColumn("Zinchlorex", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnZinchlorex); + this.columnPeekVicote = new global::System.Data.DataColumn("PeekVicote", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPeekVicote); + this.columnCodCli = new global::System.Data.DataColumn("CodCli", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCli); + this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCliente); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnIdxObj}, true)); + this.columnIdxObj.AllowDBNull = false; + this.columnIdxObj.Unique = true; + this.columnIdxObj.MaxLength = 50; + this.columnCliente.ReadOnly = true; + this.columnCliente.MaxLength = 250; + this.columnDDT.MaxLength = 50; + this.columnCodProdotto.ReadOnly = true; + this.columnCodProdotto.MaxLength = 50; + this.columnPeso.ReadOnly = true; + this.columnFosfManganese.ReadOnly = true; + this.columnFosfManganese.MaxLength = 1; + this.columnBrunitura.ReadOnly = true; + this.columnBrunitura.MaxLength = 1; + this.columnFosfTeflon.ReadOnly = true; + this.columnFosfTeflon.MaxLength = 1; + this.columnSabbiatura.ReadOnly = true; + this.columnSabbiatura.MaxLength = 1; + this.columnF1.ReadOnly = true; + this.columnF1.MaxLength = 1; + this.columnF2.ReadOnly = true; + this.columnF2.MaxLength = 1; + this.columnFosfZinco.ReadOnly = true; + this.columnFosfZinco.MaxLength = 1; + this.columnTeflon.ReadOnly = true; + this.columnTeflon.MaxLength = 1; + this.columnFosfPreVern.ReadOnly = true; + this.columnFosfPreVern.MaxLength = 1; + this.columnPzRoto.ReadOnly = true; + this.columnPzRoto.MaxLength = 1; + this.columnZinchlorex.ReadOnly = true; + this.columnZinchlorex.MaxLength = 1; + this.columnPeekVicote.ReadOnly = true; + this.columnPeekVicote.MaxLength = 1; + this.columnCodCli.ReadOnly = true; + this.columnCodCli.MaxLength = 50; + this.columnCodCliente.ReadOnly = true; + this.columnCodCliente.MaxLength = 50; + this.columnQta.ReadOnly = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_schedaIdentRow Newsp_schedaIdentRow() { + return ((sp_schedaIdentRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new sp_schedaIdentRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(sp_schedaIdentRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.sp_schedaIdentRowChanged != null)) { + this.sp_schedaIdentRowChanged(this, new sp_schedaIdentRowChangeEvent(((sp_schedaIdentRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.sp_schedaIdentRowChanging != null)) { + this.sp_schedaIdentRowChanging(this, new sp_schedaIdentRowChangeEvent(((sp_schedaIdentRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.sp_schedaIdentRowDeleted != null)) { + this.sp_schedaIdentRowDeleted(this, new sp_schedaIdentRowChangeEvent(((sp_schedaIdentRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.sp_schedaIdentRowDeleting != null)) { + this.sp_schedaIdentRowDeleting(this, new sp_schedaIdentRowChangeEvent(((sp_schedaIdentRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removesp_schedaIdentRow(sp_schedaIdentRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + 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 = "sp_schedaIdentDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class sp_ddtDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnIdxObj; + + private global::System.Data.DataColumn columnDataCreaz; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_ddtDataTable() { + this.TableName = "sp_ddt"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal sp_ddtDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected sp_ddtDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxObjColumn { + get { + return this.columnIdxObj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataCreazColumn { + get { + return this.columnDataCreaz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_ddtRow this[int index] { + get { + return ((sp_ddtRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event sp_ddtRowChangeEventHandler sp_ddtRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event sp_ddtRowChangeEventHandler sp_ddtRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event sp_ddtRowChangeEventHandler sp_ddtRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event sp_ddtRowChangeEventHandler sp_ddtRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addsp_ddtRow(sp_ddtRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_ddtRow Addsp_ddtRow(string IdxObj, System.DateTime DataCreaz) { + sp_ddtRow rowsp_ddtRow = ((sp_ddtRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + IdxObj, + DataCreaz}; + rowsp_ddtRow.ItemArray = columnValuesArray; + this.Rows.Add(rowsp_ddtRow); + return rowsp_ddtRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_ddtRow FindByIdxObj(string IdxObj) { + return ((sp_ddtRow)(this.Rows.Find(new object[] { + IdxObj}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + sp_ddtDataTable cln = ((sp_ddtDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new sp_ddtDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnIdxObj = base.Columns["IdxObj"]; + this.columnDataCreaz = base.Columns["DataCreaz"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnIdxObj = new global::System.Data.DataColumn("IdxObj", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxObj); + this.columnDataCreaz = new global::System.Data.DataColumn("DataCreaz", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataCreaz); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnIdxObj}, true)); + this.columnIdxObj.AllowDBNull = false; + this.columnIdxObj.Unique = true; + this.columnIdxObj.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_ddtRow Newsp_ddtRow() { + return ((sp_ddtRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new sp_ddtRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(sp_ddtRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.sp_ddtRowChanged != null)) { + this.sp_ddtRowChanged(this, new sp_ddtRowChangeEvent(((sp_ddtRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.sp_ddtRowChanging != null)) { + this.sp_ddtRowChanging(this, new sp_ddtRowChangeEvent(((sp_ddtRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.sp_ddtRowDeleted != null)) { + this.sp_ddtRowDeleted(this, new sp_ddtRowChangeEvent(((sp_ddtRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.sp_ddtRowDeleting != null)) { + this.sp_ddtRowDeleting(this, new sp_ddtRowChangeEvent(((sp_ddtRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removesp_ddtRow(sp_ddtRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + 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 = "sp_ddtDataTable"; + 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. + /// + public partial class AnagClientiRow : global::System.Data.DataRow { + + private AnagClientiDataTable tableAnagClienti; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagClientiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagClienti = ((AnagClientiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCliente { + get { + return ((string)(this[this.tableAnagClienti.CodClienteColumn])); + } + set { + this[this.tableAnagClienti.CodClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string RagioneSociale { + get { + try { + return ((string)(this[this.tableAnagClienti.RagioneSocialeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'RagioneSociale\' in table \'AnagClienti\' is DBNull.", e); + } + } + set { + this[this.tableAnagClienti.RagioneSocialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string piva { + get { + try { + return ((string)(this[this.tableAnagClienti.pivaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'piva\' in table \'AnagClienti\' is DBNull.", e); + } + } + set { + this[this.tableAnagClienti.pivaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string email { + get { + try { + return ((string)(this[this.tableAnagClienti.emailColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'email\' in table \'AnagClienti\' is DBNull.", e); + } + } + set { + this[this.tableAnagClienti.emailColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string indirizzo { + get { + try { + return ((string)(this[this.tableAnagClienti.indirizzoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'indirizzo\' in table \'AnagClienti\' is DBNull.", e); + } + } + set { + this[this.tableAnagClienti.indirizzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cap { + get { + try { + return ((string)(this[this.tableAnagClienti.capColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cap\' in table \'AnagClienti\' is DBNull.", e); + } + } + set { + this[this.tableAnagClienti.capColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string localita { + get { + try { + return ((string)(this[this.tableAnagClienti.localitaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'localita\' in table \'AnagClienti\' is DBNull.", e); + } + } + set { + this[this.tableAnagClienti.localitaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string provincia { + get { + try { + return ((string)(this[this.tableAnagClienti.provinciaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'provincia\' in table \'AnagClienti\' is DBNull.", e); + } + } + set { + this[this.tableAnagClienti.provinciaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsRagioneSocialeNull() { + return this.IsNull(this.tableAnagClienti.RagioneSocialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetRagioneSocialeNull() { + this[this.tableAnagClienti.RagioneSocialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IspivaNull() { + return this.IsNull(this.tableAnagClienti.pivaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetpivaNull() { + this[this.tableAnagClienti.pivaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsemailNull() { + return this.IsNull(this.tableAnagClienti.emailColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetemailNull() { + this[this.tableAnagClienti.emailColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsindirizzoNull() { + return this.IsNull(this.tableAnagClienti.indirizzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetindirizzoNull() { + this[this.tableAnagClienti.indirizzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscapNull() { + return this.IsNull(this.tableAnagClienti.capColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcapNull() { + this[this.tableAnagClienti.capColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslocalitaNull() { + return this.IsNull(this.tableAnagClienti.localitaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlocalitaNull() { + this[this.tableAnagClienti.localitaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsprovinciaNull() { + return this.IsNull(this.tableAnagClienti.provinciaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetprovinciaNull() { + this[this.tableAnagClienti.provinciaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public IstObjRow[] GetIstObjRows() { + if ((this.Table.ChildRelations["FK_IstObj_AnagClienti"] == null)) { + return new IstObjRow[0]; + } + else { + return ((IstObjRow[])(base.GetChildRows(this.Table.ChildRelations["FK_IstObj_AnagClienti"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagTrattamentiRow : global::System.Data.DataRow { + + private AnagTrattamentiDataTable tableAnagTrattamenti; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagTrattamentiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagTrattamenti = ((AnagTrattamentiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodTrattamento { + get { + return ((string)(this[this.tableAnagTrattamenti.CodTrattamentoColumn])); + } + set { + this[this.tableAnagTrattamenti.CodTrattamentoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescrTrattamento { + get { + try { + return ((string)(this[this.tableAnagTrattamenti.DescrTrattamentoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrTrattamento\' in table \'AnagTrattamenti\' is DBNull.", e); + } + } + set { + this[this.tableAnagTrattamenti.DescrTrattamentoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrTrattamentoNull() { + return this.IsNull(this.tableAnagTrattamenti.DescrTrattamentoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrTrattamentoNull() { + this[this.tableAnagTrattamenti.DescrTrattamentoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Tratt2ObjRow[] GetTratt2ObjRows() { + if ((this.Table.ChildRelations["FK_Tratt2Obj_AnagTrattamenti"] == null)) { + return new Tratt2ObjRow[0]; + } + else { + return ((Tratt2ObjRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Tratt2Obj_AnagTrattamenti"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class Tratt2ObjRow : global::System.Data.DataRow { + + private Tratt2ObjDataTable tableTratt2Obj; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal Tratt2ObjRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableTratt2Obj = ((Tratt2ObjDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string IdxObj { + get { + return ((string)(this[this.tableTratt2Obj.IdxObjColumn])); + } + set { + this[this.tableTratt2Obj.IdxObjColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodTrattamento { + get { + return ((string)(this[this.tableTratt2Obj.CodTrattamentoColumn])); + } + set { + this[this.tableTratt2Obj.CodTrattamentoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Note { + get { + try { + return ((string)(this[this.tableTratt2Obj.NoteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'Tratt2Obj\' is DBNull.", e); + } + } + set { + this[this.tableTratt2Obj.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTrattamentiRow AnagTrattamentiRow { + get { + return ((AnagTrattamentiRow)(this.GetParentRow(this.Table.ParentRelations["FK_Tratt2Obj_AnagTrattamenti"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_Tratt2Obj_AnagTrattamenti"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public IstObjRow IstObjRow { + get { + return ((IstObjRow)(this.GetParentRow(this.Table.ParentRelations["FK_Tratt2Obj_IstObj"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_Tratt2Obj_IstObj"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteNull() { + return this.IsNull(this.tableTratt2Obj.NoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteNull() { + this[this.tableTratt2Obj.NoteColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_commesseRow : global::System.Data.DataRow { + + private v_commesseDataTable tablev_commesse; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_commesseRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_commesse = ((v_commesseDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Cod { + get { + return ((string)(this[this.tablev_commesse.CodColumn])); + } + set { + this[this.tablev_commesse.CodColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Stato { + get { + try { + return ((string)(this[this.tablev_commesse.StatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Stato\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.StatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCliente { + get { + try { + return ((string)(this[this.tablev_commesse.CodClienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.CodClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Cliente { + get { + try { + return ((string)(this[this.tablev_commesse.ClienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Cliente\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.ClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descrizione { + get { + try { + return ((string)(this[this.tablev_commesse.descrizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.descrizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DDT { + get { + try { + return ((string)(this[this.tablev_commesse.DDTColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DDT\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.DDTColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataDDT { + get { + try { + return ((global::System.DateTime)(this[this.tablev_commesse.DataDDTColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataDDT\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.DataDDTColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataArrivo { + get { + try { + return ((global::System.DateTime)(this[this.tablev_commesse.DataArrivoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataArrivo\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.DataArrivoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Posizione { + get { + try { + return ((string)(this[this.tablev_commesse.PosizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Posizione\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.PosizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Qta { + get { + try { + return ((int)(this[this.tablev_commesse.QtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double Peso { + get { + try { + return ((double)(this[this.tablev_commesse.PesoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Peso\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.PesoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Righe { + get { + try { + return ((int)(this[this.tablev_commesse.RigheColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Righe\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.RigheColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Colli { + get { + try { + return ((int)(this[this.tablev_commesse.ColliColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Colli\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.ColliColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataPrevista { + get { + try { + return ((global::System.DateTime)(this[this.tablev_commesse.DataPrevistaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataPrevista\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.DataPrevistaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Ciclo { + get { + try { + return ((string)(this[this.tablev_commesse.CicloColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Ciclo\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.CicloColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodStato { + get { + try { + return ((string)(this[this.tablev_commesse.CodStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodStato\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.CodStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string minStato { + get { + try { + return ((string)(this[this.tablev_commesse.minStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'minStato\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.minStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string maxStato { + get { + try { + return ((string)(this[this.tablev_commesse.maxStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'maxStato\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.maxStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string minCodStato { + get { + try { + return ((string)(this[this.tablev_commesse.minCodStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'minCodStato\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.minCodStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string maxCodStato { + get { + try { + return ((string)(this[this.tablev_commesse.maxCodStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'maxCodStato\' in table \'v_commesse\' is DBNull.", e); + } + } + set { + this[this.tablev_commesse.maxCodStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsStatoNull() { + return this.IsNull(this.tablev_commesse.StatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetStatoNull() { + this[this.tablev_commesse.StatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodClienteNull() { + return this.IsNull(this.tablev_commesse.CodClienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodClienteNull() { + this[this.tablev_commesse.CodClienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsClienteNull() { + return this.IsNull(this.tablev_commesse.ClienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetClienteNull() { + this[this.tablev_commesse.ClienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescrizioneNull() { + return this.IsNull(this.tablev_commesse.descrizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescrizioneNull() { + this[this.tablev_commesse.descrizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDDTNull() { + return this.IsNull(this.tablev_commesse.DDTColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDDTNull() { + this[this.tablev_commesse.DDTColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataDDTNull() { + return this.IsNull(this.tablev_commesse.DataDDTColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataDDTNull() { + this[this.tablev_commesse.DataDDTColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataArrivoNull() { + return this.IsNull(this.tablev_commesse.DataArrivoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataArrivoNull() { + this[this.tablev_commesse.DataArrivoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPosizioneNull() { + return this.IsNull(this.tablev_commesse.PosizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPosizioneNull() { + this[this.tablev_commesse.PosizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsQtaNull() { + return this.IsNull(this.tablev_commesse.QtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetQtaNull() { + this[this.tablev_commesse.QtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPesoNull() { + return this.IsNull(this.tablev_commesse.PesoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPesoNull() { + this[this.tablev_commesse.PesoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsRigheNull() { + return this.IsNull(this.tablev_commesse.RigheColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetRigheNull() { + this[this.tablev_commesse.RigheColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsColliNull() { + return this.IsNull(this.tablev_commesse.ColliColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetColliNull() { + this[this.tablev_commesse.ColliColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataPrevistaNull() { + return this.IsNull(this.tablev_commesse.DataPrevistaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataPrevistaNull() { + this[this.tablev_commesse.DataPrevistaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCicloNull() { + return this.IsNull(this.tablev_commesse.CicloColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCicloNull() { + this[this.tablev_commesse.CicloColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodStatoNull() { + return this.IsNull(this.tablev_commesse.CodStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodStatoNull() { + this[this.tablev_commesse.CodStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsminStatoNull() { + return this.IsNull(this.tablev_commesse.minStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetminStatoNull() { + this[this.tablev_commesse.minStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsmaxStatoNull() { + return this.IsNull(this.tablev_commesse.maxStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetmaxStatoNull() { + this[this.tablev_commesse.maxStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsminCodStatoNull() { + return this.IsNull(this.tablev_commesse.minCodStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetminCodStatoNull() { + this[this.tablev_commesse.minCodStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsmaxCodStatoNull() { + return this.IsNull(this.tablev_commesse.maxCodStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetmaxCodStatoNull() { + this[this.tablev_commesse.maxCodStatoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class IstObjRow : global::System.Data.DataRow { + + private IstObjDataTable tableIstObj; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal IstObjRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableIstObj = ((IstObjDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string IdxObj { + get { + return ((string)(this[this.tableIstObj.IdxObjColumn])); + } + set { + this[this.tableIstObj.IdxObjColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCliente { + get { + try { + return ((string)(this[this.tableIstObj.CodClienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.CodClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodStato { + get { + try { + return ((string)(this[this.tableIstObj.CodStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodStato\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.CodStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Posizione { + get { + try { + return ((string)(this[this.tableIstObj.PosizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Posizione\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.PosizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Livello { + get { + try { + return ((int)(this[this.tableIstObj.LivelloColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Livello\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.LivelloColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Rev { + get { + try { + return ((int)(this[this.tableIstObj.RevColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Rev\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.RevColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodObj { + get { + try { + return ((string)(this[this.tableIstObj.CodObjColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodObj\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.CodObjColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Nome { + get { + try { + return ((string)(this[this.tableIstObj.NomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.NomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataRif { + get { + try { + return ((global::System.DateTime)(this[this.tableIstObj.DataRifColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataRif\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.DataRifColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string IdxObjMamma { + get { + try { + return ((string)(this[this.tableIstObj.IdxObjMammaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IdxObjMamma\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.IdxObjMammaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Note { + get { + try { + return ((string)(this[this.tableIstObj.NoteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ExtKey { + get { + try { + return ((string)(this[this.tableIstObj.ExtKeyColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ExtKey\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.ExtKeyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DueDate { + get { + try { + return ((global::System.DateTime)(this[this.tableIstObj.DueDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DueDate\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.DueDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double LeadTime { + get { + try { + return ((double)(this[this.tableIstObj.LeadTimeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'LeadTime\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.LeadTimeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string LeadTimeUM { + get { + try { + return ((string)(this[this.tableIstObj.LeadTimeUMColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'LeadTimeUM\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.LeadTimeUMColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UserCreaz { + get { + try { + return ((string)(this[this.tableIstObj.UserCreazColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'UserCreaz\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.UserCreazColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataCreaz { + get { + try { + return ((global::System.DateTime)(this[this.tableIstObj.DataCreazColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataCreaz\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.DataCreazColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UserMod { + get { + try { + return ((string)(this[this.tableIstObj.UserModColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'UserMod\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.UserModColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataMod { + get { + try { + return ((global::System.DateTime)(this[this.tableIstObj.DataModColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataMod\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.DataModColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Qta { + get { + try { + return ((int)(this[this.tableIstObj.QtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double Peso { + get { + try { + return ((double)(this[this.tableIstObj.PesoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Peso\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.PesoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool emailReq { + get { + try { + return ((bool)(this[this.tableIstObj.emailReqColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'emailReq\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.emailReqColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime emailSent { + get { + try { + return ((global::System.DateTime)(this[this.tableIstObj.emailSentColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'emailSent\' in table \'IstObj\' is DBNull.", e); + } + } + set { + this[this.tableIstObj.emailSentColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagClientiRow AnagClientiRow { + get { + return ((AnagClientiRow)(this.GetParentRow(this.Table.ParentRelations["FK_IstObj_AnagClienti"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_IstObj_AnagClienti"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodClienteNull() { + return this.IsNull(this.tableIstObj.CodClienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodClienteNull() { + this[this.tableIstObj.CodClienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodStatoNull() { + return this.IsNull(this.tableIstObj.CodStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodStatoNull() { + this[this.tableIstObj.CodStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPosizioneNull() { + return this.IsNull(this.tableIstObj.PosizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPosizioneNull() { + this[this.tableIstObj.PosizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsLivelloNull() { + return this.IsNull(this.tableIstObj.LivelloColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetLivelloNull() { + this[this.tableIstObj.LivelloColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsRevNull() { + return this.IsNull(this.tableIstObj.RevColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetRevNull() { + this[this.tableIstObj.RevColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodObjNull() { + return this.IsNull(this.tableIstObj.CodObjColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodObjNull() { + this[this.tableIstObj.CodObjColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNomeNull() { + return this.IsNull(this.tableIstObj.NomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNomeNull() { + this[this.tableIstObj.NomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataRifNull() { + return this.IsNull(this.tableIstObj.DataRifColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataRifNull() { + this[this.tableIstObj.DataRifColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsIdxObjMammaNull() { + return this.IsNull(this.tableIstObj.IdxObjMammaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetIdxObjMammaNull() { + this[this.tableIstObj.IdxObjMammaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteNull() { + return this.IsNull(this.tableIstObj.NoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteNull() { + this[this.tableIstObj.NoteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsExtKeyNull() { + return this.IsNull(this.tableIstObj.ExtKeyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetExtKeyNull() { + this[this.tableIstObj.ExtKeyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDueDateNull() { + return this.IsNull(this.tableIstObj.DueDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDueDateNull() { + this[this.tableIstObj.DueDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsLeadTimeNull() { + return this.IsNull(this.tableIstObj.LeadTimeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetLeadTimeNull() { + this[this.tableIstObj.LeadTimeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsLeadTimeUMNull() { + return this.IsNull(this.tableIstObj.LeadTimeUMColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetLeadTimeUMNull() { + this[this.tableIstObj.LeadTimeUMColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsUserCreazNull() { + return this.IsNull(this.tableIstObj.UserCreazColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetUserCreazNull() { + this[this.tableIstObj.UserCreazColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataCreazNull() { + return this.IsNull(this.tableIstObj.DataCreazColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataCreazNull() { + this[this.tableIstObj.DataCreazColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsUserModNull() { + return this.IsNull(this.tableIstObj.UserModColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetUserModNull() { + this[this.tableIstObj.UserModColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataModNull() { + return this.IsNull(this.tableIstObj.DataModColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataModNull() { + this[this.tableIstObj.DataModColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsQtaNull() { + return this.IsNull(this.tableIstObj.QtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetQtaNull() { + this[this.tableIstObj.QtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPesoNull() { + return this.IsNull(this.tableIstObj.PesoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPesoNull() { + this[this.tableIstObj.PesoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsemailReqNull() { + return this.IsNull(this.tableIstObj.emailReqColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetemailReqNull() { + this[this.tableIstObj.emailReqColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsemailSentNull() { + return this.IsNull(this.tableIstObj.emailSentColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetemailSentNull() { + this[this.tableIstObj.emailSentColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Tratt2ObjRow[] GetTratt2ObjRows() { + if ((this.Table.ChildRelations["FK_Tratt2Obj_IstObj"] == null)) { + return new Tratt2ObjRow[0]; + } + else { + return ((Tratt2ObjRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Tratt2Obj_IstObj"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_righeRow : global::System.Data.DataRow { + + private v_righeDataTable tablev_righe; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_righeRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_righe = ((v_righeDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Cod { + get { + return ((string)(this[this.tablev_righe.CodColumn])); + } + set { + this[this.tablev_righe.CodColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Stato { + get { + try { + return ((string)(this[this.tablev_righe.StatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Stato\' in table \'v_righe\' is DBNull.", e); + } + } + set { + this[this.tablev_righe.StatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCliente { + get { + try { + return ((string)(this[this.tablev_righe.CodClienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'v_righe\' is DBNull.", e); + } + } + set { + this[this.tablev_righe.CodClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Cliente { + get { + try { + return ((string)(this[this.tablev_righe.ClienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Cliente\' in table \'v_righe\' is DBNull.", e); + } + } + set { + this[this.tablev_righe.ClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCli { + get { + try { + return ((string)(this[this.tablev_righe.CodCliColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCli\' in table \'v_righe\' is DBNull.", e); + } + } + set { + this[this.tablev_righe.CodCliColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descrizione { + get { + try { + return ((string)(this[this.tablev_righe.descrizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'v_righe\' is DBNull.", e); + } + } + set { + this[this.tablev_righe.descrizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DDT { + get { + try { + return ((string)(this[this.tablev_righe.DDTColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DDT\' in table \'v_righe\' is DBNull.", e); + } + } + set { + this[this.tablev_righe.DDTColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataDDT { + get { + try { + return ((global::System.DateTime)(this[this.tablev_righe.DataDDTColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataDDT\' in table \'v_righe\' is DBNull.", e); + } + } + set { + this[this.tablev_righe.DataDDTColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataArrivo { + get { + try { + return ((global::System.DateTime)(this[this.tablev_righe.DataArrivoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataArrivo\' in table \'v_righe\' is DBNull.", e); + } + } + set { + this[this.tablev_righe.DataArrivoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Posizione { + get { + try { + return ((string)(this[this.tablev_righe.PosizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Posizione\' in table \'v_righe\' is DBNull.", e); + } + } + set { + this[this.tablev_righe.PosizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Qta { + get { + try { + return ((int)(this[this.tablev_righe.QtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'v_righe\' is DBNull.", e); + } + } + set { + this[this.tablev_righe.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double Peso { + get { + try { + return ((double)(this[this.tablev_righe.PesoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Peso\' in table \'v_righe\' is DBNull.", e); + } + } + set { + this[this.tablev_righe.PesoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Colli { + get { + try { + return ((int)(this[this.tablev_righe.ColliColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Colli\' in table \'v_righe\' is DBNull.", e); + } + } + set { + this[this.tablev_righe.ColliColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataPrevista { + get { + try { + return ((global::System.DateTime)(this[this.tablev_righe.DataPrevistaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataPrevista\' in table \'v_righe\' is DBNull.", e); + } + } + set { + this[this.tablev_righe.DataPrevistaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string IdxObjMamma { + get { + try { + return ((string)(this[this.tablev_righe.IdxObjMammaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IdxObjMamma\' in table \'v_righe\' is DBNull.", e); + } + } + set { + this[this.tablev_righe.IdxObjMammaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodStato { + get { + try { + return ((string)(this[this.tablev_righe.CodStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodStato\' in table \'v_righe\' is DBNull.", e); + } + } + set { + this[this.tablev_righe.CodStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string minStato { + get { + try { + return ((string)(this[this.tablev_righe.minStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'minStato\' in table \'v_righe\' is DBNull.", e); + } + } + set { + this[this.tablev_righe.minStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string maxStato { + get { + try { + return ((string)(this[this.tablev_righe.maxStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'maxStato\' in table \'v_righe\' is DBNull.", e); + } + } + set { + this[this.tablev_righe.maxStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsStatoNull() { + return this.IsNull(this.tablev_righe.StatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetStatoNull() { + this[this.tablev_righe.StatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodClienteNull() { + return this.IsNull(this.tablev_righe.CodClienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodClienteNull() { + this[this.tablev_righe.CodClienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsClienteNull() { + return this.IsNull(this.tablev_righe.ClienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetClienteNull() { + this[this.tablev_righe.ClienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCliNull() { + return this.IsNull(this.tablev_righe.CodCliColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCliNull() { + this[this.tablev_righe.CodCliColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescrizioneNull() { + return this.IsNull(this.tablev_righe.descrizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescrizioneNull() { + this[this.tablev_righe.descrizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDDTNull() { + return this.IsNull(this.tablev_righe.DDTColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDDTNull() { + this[this.tablev_righe.DDTColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataDDTNull() { + return this.IsNull(this.tablev_righe.DataDDTColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataDDTNull() { + this[this.tablev_righe.DataDDTColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataArrivoNull() { + return this.IsNull(this.tablev_righe.DataArrivoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataArrivoNull() { + this[this.tablev_righe.DataArrivoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPosizioneNull() { + return this.IsNull(this.tablev_righe.PosizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPosizioneNull() { + this[this.tablev_righe.PosizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsQtaNull() { + return this.IsNull(this.tablev_righe.QtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetQtaNull() { + this[this.tablev_righe.QtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPesoNull() { + return this.IsNull(this.tablev_righe.PesoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPesoNull() { + this[this.tablev_righe.PesoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsColliNull() { + return this.IsNull(this.tablev_righe.ColliColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetColliNull() { + this[this.tablev_righe.ColliColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataPrevistaNull() { + return this.IsNull(this.tablev_righe.DataPrevistaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataPrevistaNull() { + this[this.tablev_righe.DataPrevistaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsIdxObjMammaNull() { + return this.IsNull(this.tablev_righe.IdxObjMammaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetIdxObjMammaNull() { + this[this.tablev_righe.IdxObjMammaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodStatoNull() { + return this.IsNull(this.tablev_righe.CodStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodStatoNull() { + this[this.tablev_righe.CodStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsminStatoNull() { + return this.IsNull(this.tablev_righe.minStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetminStatoNull() { + this[this.tablev_righe.minStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsmaxStatoNull() { + return this.IsNull(this.tablev_righe.maxStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetmaxStatoNull() { + this[this.tablev_righe.maxStatoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class sp_rec4DayRow : global::System.Data.DataRow { + + private sp_rec4DayDataTable tablesp_rec4Day; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal sp_rec4DayRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablesp_rec4Day = ((sp_rec4DayDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int rec4Day { + get { + try { + return ((int)(this[this.tablesp_rec4Day.rec4DayColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'rec4Day\' in table \'sp_rec4Day\' is DBNull.", e); + } + } + set { + this[this.tablesp_rec4Day.rec4DayColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Isrec4DayNull() { + return this.IsNull(this.tablesp_rec4Day.rec4DayColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setrec4DayNull() { + this[this.tablesp_rec4Day.rec4DayColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_ULPRow : global::System.Data.DataRow { + + private v_ULPDataTable tablev_ULP; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_ULPRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_ULP = ((v_ULPDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Cod { + get { + return ((string)(this[this.tablev_ULP.CodColumn])); + } + set { + this[this.tablev_ULP.CodColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Stato { + get { + try { + return ((string)(this[this.tablev_ULP.StatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Stato\' in table \'v_ULP\' is DBNull.", e); + } + } + set { + this[this.tablev_ULP.StatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCliente { + get { + try { + return ((string)(this[this.tablev_ULP.CodClienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'v_ULP\' is DBNull.", e); + } + } + set { + this[this.tablev_ULP.CodClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Cliente { + get { + try { + return ((string)(this[this.tablev_ULP.ClienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Cliente\' in table \'v_ULP\' is DBNull.", e); + } + } + set { + this[this.tablev_ULP.ClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCli { + get { + try { + return ((string)(this[this.tablev_ULP.CodCliColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCli\' in table \'v_ULP\' is DBNull.", e); + } + } + set { + this[this.tablev_ULP.CodCliColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descrizione { + get { + try { + return ((string)(this[this.tablev_ULP.descrizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'v_ULP\' is DBNull.", e); + } + } + set { + this[this.tablev_ULP.descrizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DDT { + get { + try { + return ((string)(this[this.tablev_ULP.DDTColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DDT\' in table \'v_ULP\' is DBNull.", e); + } + } + set { + this[this.tablev_ULP.DDTColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataDDT { + get { + try { + return ((global::System.DateTime)(this[this.tablev_ULP.DataDDTColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataDDT\' in table \'v_ULP\' is DBNull.", e); + } + } + set { + this[this.tablev_ULP.DataDDTColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataArrivo { + get { + try { + return ((global::System.DateTime)(this[this.tablev_ULP.DataArrivoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataArrivo\' in table \'v_ULP\' is DBNull.", e); + } + } + set { + this[this.tablev_ULP.DataArrivoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Posizione { + get { + try { + return ((string)(this[this.tablev_ULP.PosizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Posizione\' in table \'v_ULP\' is DBNull.", e); + } + } + set { + this[this.tablev_ULP.PosizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Qta { + get { + try { + return ((int)(this[this.tablev_ULP.QtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'v_ULP\' is DBNull.", e); + } + } + set { + this[this.tablev_ULP.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double Peso { + get { + try { + return ((double)(this[this.tablev_ULP.PesoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Peso\' in table \'v_ULP\' is DBNull.", e); + } + } + set { + this[this.tablev_ULP.PesoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataPrevista { + get { + try { + return ((global::System.DateTime)(this[this.tablev_ULP.DataPrevistaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataPrevista\' in table \'v_ULP\' is DBNull.", e); + } + } + set { + this[this.tablev_ULP.DataPrevistaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string IdxObjMamma { + get { + try { + return ((string)(this[this.tablev_ULP.IdxObjMammaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IdxObjMamma\' in table \'v_ULP\' is DBNull.", e); + } + } + set { + this[this.tablev_ULP.IdxObjMammaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodStato { + get { + try { + return ((string)(this[this.tablev_ULP.CodStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodStato\' in table \'v_ULP\' is DBNull.", e); + } + } + set { + this[this.tablev_ULP.CodStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsStatoNull() { + return this.IsNull(this.tablev_ULP.StatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetStatoNull() { + this[this.tablev_ULP.StatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodClienteNull() { + return this.IsNull(this.tablev_ULP.CodClienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodClienteNull() { + this[this.tablev_ULP.CodClienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsClienteNull() { + return this.IsNull(this.tablev_ULP.ClienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetClienteNull() { + this[this.tablev_ULP.ClienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCliNull() { + return this.IsNull(this.tablev_ULP.CodCliColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCliNull() { + this[this.tablev_ULP.CodCliColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescrizioneNull() { + return this.IsNull(this.tablev_ULP.descrizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescrizioneNull() { + this[this.tablev_ULP.descrizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDDTNull() { + return this.IsNull(this.tablev_ULP.DDTColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDDTNull() { + this[this.tablev_ULP.DDTColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataDDTNull() { + return this.IsNull(this.tablev_ULP.DataDDTColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataDDTNull() { + this[this.tablev_ULP.DataDDTColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataArrivoNull() { + return this.IsNull(this.tablev_ULP.DataArrivoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataArrivoNull() { + this[this.tablev_ULP.DataArrivoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPosizioneNull() { + return this.IsNull(this.tablev_ULP.PosizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPosizioneNull() { + this[this.tablev_ULP.PosizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsQtaNull() { + return this.IsNull(this.tablev_ULP.QtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetQtaNull() { + this[this.tablev_ULP.QtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPesoNull() { + return this.IsNull(this.tablev_ULP.PesoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPesoNull() { + this[this.tablev_ULP.PesoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataPrevistaNull() { + return this.IsNull(this.tablev_ULP.DataPrevistaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataPrevistaNull() { + this[this.tablev_ULP.DataPrevistaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsIdxObjMammaNull() { + return this.IsNull(this.tablev_ULP.IdxObjMammaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetIdxObjMammaNull() { + this[this.tablev_ULP.IdxObjMammaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodStatoNull() { + return this.IsNull(this.tablev_ULP.CodStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodStatoNull() { + this[this.tablev_ULP.CodStatoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class EventiRow : global::System.Data.DataRow { + + private EventiDataTable tableEventi; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal EventiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableEventi = ((EventiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodEvento { + get { + return ((string)(this[this.tableEventi.CodEventoColumn])); + } + set { + this[this.tableEventi.CodEventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodTipoEvento { + get { + try { + return ((string)(this[this.tableEventi.CodTipoEventoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodTipoEvento\' in table \'Eventi\' is DBNull.", e); + } + } + set { + this[this.tableEventi.CodTipoEventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescrEvento { + get { + try { + return ((string)(this[this.tableEventi.DescrEventoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrEvento\' in table \'Eventi\' is DBNull.", e); + } + } + set { + this[this.tableEventi.DescrEventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Action { + get { + try { + return ((string)(this[this.tableEventi.ActionColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Action\' in table \'Eventi\' is DBNull.", e); + } + } + set { + this[this.tableEventi.ActionColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodTipoEventoNull() { + return this.IsNull(this.tableEventi.CodTipoEventoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodTipoEventoNull() { + this[this.tableEventi.CodTipoEventoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrEventoNull() { + return this.IsNull(this.tableEventi.DescrEventoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrEventoNull() { + this[this.tableEventi.DescrEventoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsActionNull() { + return this.IsNull(this.tableEventi.ActionColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetActionNull() { + this[this.tableEventi.ActionColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TraEv2StatiRow[] GetTraEv2StatiRows() { + if ((this.Table.ChildRelations["FK_TransizioneEventiStati_Eventi"] == null)) { + return new TraEv2StatiRow[0]; + } + else { + return ((TraEv2StatiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_TransizioneEventiStati_Eventi"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class TraEv2StatiRow : global::System.Data.DataRow { + + private TraEv2StatiDataTable tableTraEv2Stati; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal TraEv2StatiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableTraEv2Stati = ((TraEv2StatiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodMappa { + get { + return ((string)(this[this.tableTraEv2Stati.CodMappaColumn])); + } + set { + this[this.tableTraEv2Stati.CodMappaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodObj { + get { + return ((string)(this[this.tableTraEv2Stati.CodObjColumn])); + } + set { + this[this.tableTraEv2Stati.CodObjColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodStato { + get { + return ((string)(this[this.tableTraEv2Stati.CodStatoColumn])); + } + set { + this[this.tableTraEv2Stati.CodStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodEvento { + get { + return ((string)(this[this.tableTraEv2Stati.CodEventoColumn])); + } + set { + this[this.tableTraEv2Stati.CodEventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string NextCodStato { + get { + try { + return ((string)(this[this.tableTraEv2Stati.NextCodStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NextCodStato\' in table \'TraEv2Stati\' is DBNull.", e); + } + } + set { + this[this.tableTraEv2Stati.NextCodStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CmdPlugin { + get { + try { + return ((string)(this[this.tableTraEv2Stati.CmdPluginColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CmdPlugin\' in table \'TraEv2Stati\' is DBNull.", e); + } + } + set { + this[this.tableTraEv2Stati.CmdPluginColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string text2show { + get { + try { + return ((string)(this[this.tableTraEv2Stati.text2showColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'text2show\' in table \'TraEv2Stati\' is DBNull.", e); + } + } + set { + this[this.tableTraEv2Stati.text2showColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descrComando { + get { + try { + return ((string)(this[this.tableTraEv2Stati.descrComandoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrComando\' in table \'TraEv2Stati\' is DBNull.", e); + } + } + set { + this[this.tableTraEv2Stati.descrComandoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiRow EventiRow { + get { + return ((EventiRow)(this.GetParentRow(this.Table.ParentRelations["FK_TransizioneEventiStati_Eventi"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_TransizioneEventiStati_Eventi"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNextCodStatoNull() { + return this.IsNull(this.tableTraEv2Stati.NextCodStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNextCodStatoNull() { + this[this.tableTraEv2Stati.NextCodStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCmdPluginNull() { + return this.IsNull(this.tableTraEv2Stati.CmdPluginColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCmdPluginNull() { + this[this.tableTraEv2Stati.CmdPluginColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Istext2showNull() { + return this.IsNull(this.tableTraEv2Stati.text2showColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Settext2showNull() { + this[this.tableTraEv2Stati.text2showColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescrComandoNull() { + return this.IsNull(this.tableTraEv2Stati.descrComandoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescrComandoNull() { + this[this.tableTraEv2Stati.descrComandoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_logStatiRow : global::System.Data.DataRow { + + private v_logStatiDataTable tablev_logStati; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_logStatiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_logStati = ((v_logStatiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string IdxObj { + get { + return ((string)(this[this.tablev_logStati.IdxObjColumn])); + } + set { + this[this.tablev_logStati.IdxObjColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCliente { + get { + try { + return ((string)(this[this.tablev_logStati.CodClienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'v_logStati\' is DBNull.", e); + } + } + set { + this[this.tablev_logStati.CodClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Nome { + get { + try { + return ((string)(this[this.tablev_logStati.NomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'v_logStati\' is DBNull.", e); + } + } + set { + this[this.tablev_logStati.NomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataRif { + get { + try { + return ((global::System.DateTime)(this[this.tablev_logStati.DataRifColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataRif\' in table \'v_logStati\' is DBNull.", e); + } + } + set { + this[this.tablev_logStati.DataRifColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Note { + get { + try { + return ((string)(this[this.tablev_logStati.NoteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'v_logStati\' is DBNull.", e); + } + } + set { + this[this.tablev_logStati.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ExtKey { + get { + try { + return ((string)(this[this.tablev_logStati.ExtKeyColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ExtKey\' in table \'v_logStati\' is DBNull.", e); + } + } + set { + this[this.tablev_logStati.ExtKeyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataOra { + get { + return ((global::System.DateTime)(this[this.tablev_logStati.DataOraColumn])); + } + set { + this[this.tablev_logStati.DataOraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescrStato { + get { + try { + return ((string)(this[this.tablev_logStati.DescrStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrStato\' in table \'v_logStati\' is DBNull.", e); + } + } + set { + this[this.tablev_logStati.DescrStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodClienteNull() { + return this.IsNull(this.tablev_logStati.CodClienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodClienteNull() { + this[this.tablev_logStati.CodClienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNomeNull() { + return this.IsNull(this.tablev_logStati.NomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNomeNull() { + this[this.tablev_logStati.NomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataRifNull() { + return this.IsNull(this.tablev_logStati.DataRifColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataRifNull() { + this[this.tablev_logStati.DataRifColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteNull() { + return this.IsNull(this.tablev_logStati.NoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteNull() { + this[this.tablev_logStati.NoteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsExtKeyNull() { + return this.IsNull(this.tablev_logStati.ExtKeyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetExtKeyNull() { + this[this.tablev_logStati.ExtKeyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrStatoNull() { + return this.IsNull(this.tablev_logStati.DescrStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrStatoNull() { + this[this.tablev_logStati.DescrStatoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class sp_contaNonSchedRow : global::System.Data.DataRow { + + private sp_contaNonSchedDataTable tablesp_contaNonSched; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal sp_contaNonSchedRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablesp_contaNonSched = ((sp_contaNonSchedDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int quanti { + get { + try { + return ((int)(this[this.tablesp_contaNonSched.quantiColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'quanti\' in table \'sp_contaNonSched\' is DBNull.", e); + } + } + set { + this[this.tablesp_contaNonSched.quantiColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsquantiNull() { + return this.IsNull(this.tablesp_contaNonSched.quantiColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetquantiNull() { + this[this.tablesp_contaNonSched.quantiColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class sp_schedaIdentRow : global::System.Data.DataRow { + + private sp_schedaIdentDataTable tablesp_schedaIdent; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal sp_schedaIdentRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablesp_schedaIdent = ((sp_schedaIdentDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string IdxObj { + get { + return ((string)(this[this.tablesp_schedaIdent.IdxObjColumn])); + } + set { + this[this.tablesp_schedaIdent.IdxObjColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Cliente { + get { + if (this.IsClienteNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablesp_schedaIdent.ClienteColumn])); + } + } + set { + this[this.tablesp_schedaIdent.ClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DDT { + get { + if (this.IsDDTNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablesp_schedaIdent.DDTColumn])); + } + } + set { + this[this.tablesp_schedaIdent.DDTColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DDT_del { + get { + try { + return ((global::System.DateTime)(this[this.tablesp_schedaIdent.DDT_delColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DDT_del\' in table \'sp_schedaIdent\' is DBNull.", e); + } + } + set { + this[this.tablesp_schedaIdent.DDT_delColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataArrivo { + get { + try { + return ((global::System.DateTime)(this[this.tablesp_schedaIdent.DataArrivoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataArrivo\' in table \'sp_schedaIdent\' is DBNull.", e); + } + } + set { + this[this.tablesp_schedaIdent.DataArrivoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodProdotto { + get { + if (this.IsCodProdottoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablesp_schedaIdent.CodProdottoColumn])); + } + } + set { + this[this.tablesp_schedaIdent.CodProdottoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime ConsegnaPrevista { + get { + try { + return ((global::System.DateTime)(this[this.tablesp_schedaIdent.ConsegnaPrevistaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ConsegnaPrevista\' in table \'sp_schedaIdent\' is DBNull.", e); + } + } + set { + this[this.tablesp_schedaIdent.ConsegnaPrevistaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double Peso { + get { + try { + return ((double)(this[this.tablesp_schedaIdent.PesoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Peso\' in table \'sp_schedaIdent\' is DBNull.", e); + } + } + set { + this[this.tablesp_schedaIdent.PesoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string FosfManganese { + get { + if (this.IsFosfManganeseNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablesp_schedaIdent.FosfManganeseColumn])); + } + } + set { + this[this.tablesp_schedaIdent.FosfManganeseColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Brunitura { + get { + if (this.IsBrunituraNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablesp_schedaIdent.BrunituraColumn])); + } + } + set { + this[this.tablesp_schedaIdent.BrunituraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string FosfTeflon { + get { + if (this.IsFosfTeflonNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablesp_schedaIdent.FosfTeflonColumn])); + } + } + set { + this[this.tablesp_schedaIdent.FosfTeflonColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Sabbiatura { + get { + if (this.IsSabbiaturaNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablesp_schedaIdent.SabbiaturaColumn])); + } + } + set { + this[this.tablesp_schedaIdent.SabbiaturaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string F1 { + get { + if (this.IsF1Null()) { + return string.Empty; + } + else { + return ((string)(this[this.tablesp_schedaIdent.F1Column])); + } + } + set { + this[this.tablesp_schedaIdent.F1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string F2 { + get { + if (this.IsF2Null()) { + return string.Empty; + } + else { + return ((string)(this[this.tablesp_schedaIdent.F2Column])); + } + } + set { + this[this.tablesp_schedaIdent.F2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string FosfZinco { + get { + if (this.IsFosfZincoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablesp_schedaIdent.FosfZincoColumn])); + } + } + set { + this[this.tablesp_schedaIdent.FosfZincoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Teflon { + get { + if (this.IsTeflonNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablesp_schedaIdent.TeflonColumn])); + } + } + set { + this[this.tablesp_schedaIdent.TeflonColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string FosfPreVern { + get { + if (this.IsFosfPreVernNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablesp_schedaIdent.FosfPreVernColumn])); + } + } + set { + this[this.tablesp_schedaIdent.FosfPreVernColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string PzRoto { + get { + if (this.IsPzRotoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablesp_schedaIdent.PzRotoColumn])); + } + } + set { + this[this.tablesp_schedaIdent.PzRotoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Zinchlorex { + get { + if (this.IsZinchlorexNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablesp_schedaIdent.ZinchlorexColumn])); + } + } + set { + this[this.tablesp_schedaIdent.ZinchlorexColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string PeekVicote { + get { + if (this.IsPeekVicoteNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablesp_schedaIdent.PeekVicoteColumn])); + } + } + set { + this[this.tablesp_schedaIdent.PeekVicoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCli { + get { + if (this.IsCodCliNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablesp_schedaIdent.CodCliColumn])); + } + } + set { + this[this.tablesp_schedaIdent.CodCliColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCliente { + get { + try { + return ((string)(this[this.tablesp_schedaIdent.CodClienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'sp_schedaIdent\' is DBNull.", e); + } + } + set { + this[this.tablesp_schedaIdent.CodClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Qta { + get { + try { + return ((int)(this[this.tablesp_schedaIdent.QtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'sp_schedaIdent\' is DBNull.", e); + } + } + set { + this[this.tablesp_schedaIdent.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsClienteNull() { + return this.IsNull(this.tablesp_schedaIdent.ClienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetClienteNull() { + this[this.tablesp_schedaIdent.ClienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDDTNull() { + return this.IsNull(this.tablesp_schedaIdent.DDTColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDDTNull() { + this[this.tablesp_schedaIdent.DDTColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDDT_delNull() { + return this.IsNull(this.tablesp_schedaIdent.DDT_delColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDDT_delNull() { + this[this.tablesp_schedaIdent.DDT_delColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataArrivoNull() { + return this.IsNull(this.tablesp_schedaIdent.DataArrivoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataArrivoNull() { + this[this.tablesp_schedaIdent.DataArrivoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodProdottoNull() { + return this.IsNull(this.tablesp_schedaIdent.CodProdottoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodProdottoNull() { + this[this.tablesp_schedaIdent.CodProdottoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsConsegnaPrevistaNull() { + return this.IsNull(this.tablesp_schedaIdent.ConsegnaPrevistaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetConsegnaPrevistaNull() { + this[this.tablesp_schedaIdent.ConsegnaPrevistaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPesoNull() { + return this.IsNull(this.tablesp_schedaIdent.PesoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPesoNull() { + this[this.tablesp_schedaIdent.PesoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFosfManganeseNull() { + return this.IsNull(this.tablesp_schedaIdent.FosfManganeseColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFosfManganeseNull() { + this[this.tablesp_schedaIdent.FosfManganeseColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsBrunituraNull() { + return this.IsNull(this.tablesp_schedaIdent.BrunituraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetBrunituraNull() { + this[this.tablesp_schedaIdent.BrunituraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFosfTeflonNull() { + return this.IsNull(this.tablesp_schedaIdent.FosfTeflonColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFosfTeflonNull() { + this[this.tablesp_schedaIdent.FosfTeflonColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsSabbiaturaNull() { + return this.IsNull(this.tablesp_schedaIdent.SabbiaturaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetSabbiaturaNull() { + this[this.tablesp_schedaIdent.SabbiaturaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsF1Null() { + return this.IsNull(this.tablesp_schedaIdent.F1Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetF1Null() { + this[this.tablesp_schedaIdent.F1Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsF2Null() { + return this.IsNull(this.tablesp_schedaIdent.F2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetF2Null() { + this[this.tablesp_schedaIdent.F2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFosfZincoNull() { + return this.IsNull(this.tablesp_schedaIdent.FosfZincoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFosfZincoNull() { + this[this.tablesp_schedaIdent.FosfZincoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsTeflonNull() { + return this.IsNull(this.tablesp_schedaIdent.TeflonColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetTeflonNull() { + this[this.tablesp_schedaIdent.TeflonColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFosfPreVernNull() { + return this.IsNull(this.tablesp_schedaIdent.FosfPreVernColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFosfPreVernNull() { + this[this.tablesp_schedaIdent.FosfPreVernColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPzRotoNull() { + return this.IsNull(this.tablesp_schedaIdent.PzRotoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPzRotoNull() { + this[this.tablesp_schedaIdent.PzRotoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsZinchlorexNull() { + return this.IsNull(this.tablesp_schedaIdent.ZinchlorexColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetZinchlorexNull() { + this[this.tablesp_schedaIdent.ZinchlorexColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPeekVicoteNull() { + return this.IsNull(this.tablesp_schedaIdent.PeekVicoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPeekVicoteNull() { + this[this.tablesp_schedaIdent.PeekVicoteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCliNull() { + return this.IsNull(this.tablesp_schedaIdent.CodCliColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCliNull() { + this[this.tablesp_schedaIdent.CodCliColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodClienteNull() { + return this.IsNull(this.tablesp_schedaIdent.CodClienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodClienteNull() { + this[this.tablesp_schedaIdent.CodClienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsQtaNull() { + return this.IsNull(this.tablesp_schedaIdent.QtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetQtaNull() { + this[this.tablesp_schedaIdent.QtaColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class sp_ddtRow : global::System.Data.DataRow { + + private sp_ddtDataTable tablesp_ddt; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal sp_ddtRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablesp_ddt = ((sp_ddtDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string IdxObj { + get { + return ((string)(this[this.tablesp_ddt.IdxObjColumn])); + } + set { + this[this.tablesp_ddt.IdxObjColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataCreaz { + get { + try { + return ((global::System.DateTime)(this[this.tablesp_ddt.DataCreazColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataCreaz\' in table \'sp_ddt\' is DBNull.", e); + } + } + set { + this[this.tablesp_ddt.DataCreazColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataCreazNull() { + return this.IsNull(this.tablesp_ddt.DataCreazColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataCreazNull() { + this[this.tablesp_ddt.DataCreazColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagClientiRowChangeEvent : global::System.EventArgs { + + private AnagClientiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagClientiRowChangeEvent(AnagClientiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagClientiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagTrattamentiRowChangeEvent : global::System.EventArgs { + + private AnagTrattamentiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTrattamentiRowChangeEvent(AnagTrattamentiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTrattamentiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class Tratt2ObjRowChangeEvent : global::System.EventArgs { + + private Tratt2ObjRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Tratt2ObjRowChangeEvent(Tratt2ObjRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Tratt2ObjRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_commesseRowChangeEvent : global::System.EventArgs { + + private v_commesseRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_commesseRowChangeEvent(v_commesseRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_commesseRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class IstObjRowChangeEvent : global::System.EventArgs { + + private IstObjRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public IstObjRowChangeEvent(IstObjRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public IstObjRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_righeRowChangeEvent : global::System.EventArgs { + + private v_righeRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_righeRowChangeEvent(v_righeRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_righeRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class sp_rec4DayRowChangeEvent : global::System.EventArgs { + + private sp_rec4DayRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_rec4DayRowChangeEvent(sp_rec4DayRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_rec4DayRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_ULPRowChangeEvent : global::System.EventArgs { + + private v_ULPRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ULPRowChangeEvent(v_ULPRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ULPRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class EventiRowChangeEvent : global::System.EventArgs { + + private EventiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiRowChangeEvent(EventiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class TraEv2StatiRowChangeEvent : global::System.EventArgs { + + private TraEv2StatiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TraEv2StatiRowChangeEvent(TraEv2StatiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TraEv2StatiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_logStatiRowChangeEvent : global::System.EventArgs { + + private v_logStatiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_logStatiRowChangeEvent(v_logStatiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_logStatiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class sp_contaNonSchedRowChangeEvent : global::System.EventArgs { + + private sp_contaNonSchedRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_contaNonSchedRowChangeEvent(sp_contaNonSchedRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_contaNonSchedRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class sp_schedaIdentRowChangeEvent : global::System.EventArgs { + + private sp_schedaIdentRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_schedaIdentRowChangeEvent(sp_schedaIdentRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_schedaIdentRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class sp_ddtRowChangeEvent : global::System.EventArgs { + + private sp_ddtRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_ddtRowChangeEvent(sp_ddtRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_ddtRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace XPS_data.DS_applicazioneTableAdapters { + + + /// + ///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 AnagClientiTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagClientiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "AnagClienti"; + tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); + tableMapping.ColumnMappings.Add("RagioneSociale", "RagioneSociale"); + tableMapping.ColumnMappings.Add("piva", "piva"); + tableMapping.ColumnMappings.Add("email", "email"); + tableMapping.ColumnMappings.Add("indirizzo", "indirizzo"); + tableMapping.ColumnMappings.Add("cap", "cap"); + tableMapping.ColumnMappings.Add("localita", "localita"); + tableMapping.ColumnMappings.Add("provincia", "provincia"); + 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].[AnagClienti] WHERE (([CodCliente] = @Original_CodCliente) AND ((@IsNull_RagioneSociale = 1 AND [RagioneSociale] IS NULL) OR ([RagioneSociale] = @Original_RagioneSociale)) AND ((@IsNull_piva = 1 AND [piva] IS NULL) OR ([piva] = @Original_piva)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_indirizzo = 1 AND [indirizzo] IS NULL) OR ([indirizzo] = @Original_indirizzo)) AND ((@IsNull_cap = 1 AND [cap] IS NULL) OR ([cap] = @Original_cap)) AND ((@IsNull_localita = 1 AND [localita] IS NULL) OR ([localita] = @Original_localita)) AND ((@IsNull_provincia = 1 AND [provincia] IS NULL) OR ([provincia] = @Original_provincia)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RagioneSociale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagioneSociale", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagioneSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagioneSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_piva", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "piva", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_piva", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "piva", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_email", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_indirizzo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cap", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cap", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cap", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_localita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "localita", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "localita", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_provincia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provincia", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_provincia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provincia", 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].[AnagClienti] ([CodCliente], [RagioneSociale], [piva], [email], [indirizzo], [cap], [localita], [provincia]) VALUES (@CodCliente, @RagioneSociale, @piva, @email, @indirizzo, @cap, @localita, @provincia); +SELECT CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provincia FROM AnagClienti WHERE (CodCliente = @CodCliente)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagioneSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagioneSociale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@piva", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "piva", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cap", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "localita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@provincia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provincia", 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].[AnagClienti] SET [CodCliente] = @CodCliente, [RagioneSociale] = @RagioneSociale, [piva] = @piva, [email] = @email, [indirizzo] = @indirizzo, [cap] = @cap, [localita] = @localita, [provincia] = @provincia WHERE (([CodCliente] = @Original_CodCliente) AND ((@IsNull_RagioneSociale = 1 AND [RagioneSociale] IS NULL) OR ([RagioneSociale] = @Original_RagioneSociale)) AND ((@IsNull_piva = 1 AND [piva] IS NULL) OR ([piva] = @Original_piva)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_indirizzo = 1 AND [indirizzo] IS NULL) OR ([indirizzo] = @Original_indirizzo)) AND ((@IsNull_cap = 1 AND [cap] IS NULL) OR ([cap] = @Original_cap)) AND ((@IsNull_localita = 1 AND [localita] IS NULL) OR ([localita] = @Original_localita)) AND ((@IsNull_provincia = 1 AND [provincia] IS NULL) OR ([provincia] = @Original_provincia))); +SELECT CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provincia FROM AnagClienti WHERE (CodCliente = @CodCliente)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagioneSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagioneSociale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@piva", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "piva", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cap", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "localita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@provincia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provincia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RagioneSociale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagioneSociale", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagioneSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagioneSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_piva", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "piva", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_piva", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "piva", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_email", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_indirizzo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cap", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cap", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cap", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_localita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "localita", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "localita", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_provincia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provincia", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_provincia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provincia", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT * FROM dbo.AnagClienti"; + 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_AnagCliGetByKey"; + 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("@CodCliente", 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_AnagCliUpdate"; + 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_CodCliente", 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("@RagioneSociale", 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("@piva", global::System.Data.SqlDbType.NVarChar, 20, 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("@email", global::System.Data.SqlDbType.NVarChar, 500, 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("@indirizzo", 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("@cap", global::System.Data.SqlDbType.NVarChar, 5, 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("@localita", 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("@provincia", global::System.Data.SqlDbType.NVarChar, 5, 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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.AnagClientiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.AnagClientiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.AnagClientiDataTable dataTable = new DS_applicazione.AnagClientiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.AnagClientiDataTable getByKey(string CodCliente) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodCliente == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCliente)); + } + DS_applicazione.AnagClientiDataTable dataTable = new DS_applicazione.AnagClientiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.AnagClientiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagClienti"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodCliente, string Original_RagioneSociale, string Original_piva, string Original_email, string Original_indirizzo, string Original_cap, string Original_localita, string Original_provincia) { + if ((Original_CodCliente == null)) { + throw new global::System.ArgumentNullException("Original_CodCliente"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodCliente)); + } + if ((Original_RagioneSociale == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_RagioneSociale)); + } + if ((Original_piva == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_piva)); + } + if ((Original_email == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_email)); + } + if ((Original_indirizzo == null)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_indirizzo)); + } + if ((Original_cap == null)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_cap)); + } + if ((Original_localita == null)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_localita)); + } + if ((Original_provincia == null)) { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_provincia)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodCliente, string RagioneSociale, string piva, string email, string indirizzo, string cap, string localita, string provincia) { + if ((CodCliente == null)) { + throw new global::System.ArgumentNullException("CodCliente"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodCliente)); + } + if ((RagioneSociale == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(RagioneSociale)); + } + if ((piva == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(piva)); + } + if ((email == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(email)); + } + if ((indirizzo == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(indirizzo)); + } + if ((cap == null)) { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(cap)); + } + if ((localita == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(localita)); + } + if ((provincia == null)) { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(provincia)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodCliente, + string RagioneSociale, + string piva, + string email, + string indirizzo, + string cap, + string localita, + string provincia, + string Original_CodCliente, + string Original_RagioneSociale, + string Original_piva, + string Original_email, + string Original_indirizzo, + string Original_cap, + string Original_localita, + string Original_provincia) { + if ((CodCliente == null)) { + throw new global::System.ArgumentNullException("CodCliente"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodCliente)); + } + if ((RagioneSociale == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(RagioneSociale)); + } + if ((piva == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(piva)); + } + if ((email == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(email)); + } + if ((indirizzo == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(indirizzo)); + } + if ((cap == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(cap)); + } + if ((localita == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(localita)); + } + if ((provincia == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(provincia)); + } + if ((Original_CodCliente == null)) { + throw new global::System.ArgumentNullException("Original_CodCliente"); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodCliente)); + } + if ((Original_RagioneSociale == null)) { + this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_RagioneSociale)); + } + if ((Original_piva == null)) { + this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_piva)); + } + if ((Original_email == null)) { + this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_email)); + } + if ((Original_indirizzo == null)) { + this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_indirizzo)); + } + if ((Original_cap == null)) { + this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_cap)); + } + if ((Original_localita == null)) { + this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_localita)); + } + if ((Original_provincia == null)) { + this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_provincia)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string RagioneSociale, string piva, string email, string indirizzo, string cap, string localita, string provincia, string Original_CodCliente, string Original_RagioneSociale, string Original_piva, string Original_email, string Original_indirizzo, string Original_cap, string Original_localita, string Original_provincia) { + return this.Update(Original_CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provincia, Original_CodCliente, Original_RagioneSociale, Original_piva, Original_email, Original_indirizzo, Original_cap, Original_localita, Original_provincia); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int updateQuery(string Original_CodCliente, string RagioneSociale, string piva, string email, string indirizzo, string cap, string localita, string provincia) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + if ((Original_CodCliente == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(Original_CodCliente)); + } + if ((RagioneSociale == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(RagioneSociale)); + } + if ((piva == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(piva)); + } + if ((email == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(email)); + } + if ((indirizzo == null)) { + command.Parameters[5].Value = global::System.DBNull.Value; + } + else { + command.Parameters[5].Value = ((string)(indirizzo)); + } + if ((cap == null)) { + command.Parameters[6].Value = global::System.DBNull.Value; + } + else { + command.Parameters[6].Value = ((string)(cap)); + } + if ((localita == null)) { + command.Parameters[7].Value = global::System.DBNull.Value; + } + else { + command.Parameters[7].Value = ((string)(localita)); + } + if ((provincia == null)) { + command.Parameters[8].Value = global::System.DBNull.Value; + } + else { + command.Parameters[8].Value = ((string)(provincia)); + } + 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 AnagTrattamentiTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTrattamentiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "AnagTrattamenti"; + tableMapping.ColumnMappings.Add("CodTrattamento", "CodTrattamento"); + tableMapping.ColumnMappings.Add("DescrTrattamento", "DescrTrattamento"); + 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].[AnagTrattamenti] WHERE (([CodTrattamento] = @Original_CodTratt" + + "amento) AND ((@IsNull_DescrTrattamento = 1 AND [DescrTrattamento] IS NULL) OR ([" + + "DescrTrattamento] = @Original_DescrTrattamento)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTrattamento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrTrattamento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTrattamento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTrattamento", 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].[AnagTrattamenti] ([CodTrattamento], [DescrTrattamento]) VALUES" + + " (@CodTrattamento, @DescrTrattamento);\r\nSELECT CodTrattamento, DescrTrattamento " + + "FROM AnagTrattamenti WHERE (CodTrattamento = @CodTrattamento)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTrattamento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTrattamento", 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].[AnagTrattamenti] SET [CodTrattamento] = @CodTrattamento, [DescrTrattamento] = @DescrTrattamento WHERE (([CodTrattamento] = @Original_CodTrattamento) AND ((@IsNull_DescrTrattamento = 1 AND [DescrTrattamento] IS NULL) OR ([DescrTrattamento] = @Original_DescrTrattamento))); +SELECT CodTrattamento, DescrTrattamento FROM AnagTrattamenti WHERE (CodTrattamento = @CodTrattamento)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTrattamento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTrattamento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTrattamento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrTrattamento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTrattamento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTrattamento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodTrattamento, DescrTrattamento FROM dbo.AnagTrattamenti"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.AnagTrattamentiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.AnagTrattamentiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.AnagTrattamentiDataTable dataTable = new DS_applicazione.AnagTrattamentiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.AnagTrattamentiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagTrattamenti"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodTrattamento, string Original_DescrTrattamento) { + if ((Original_CodTrattamento == null)) { + throw new global::System.ArgumentNullException("Original_CodTrattamento"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodTrattamento)); + } + if ((Original_DescrTrattamento == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrTrattamento)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodTrattamento, string DescrTrattamento) { + if ((CodTrattamento == null)) { + throw new global::System.ArgumentNullException("CodTrattamento"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodTrattamento)); + } + if ((DescrTrattamento == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrTrattamento)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodTrattamento, string DescrTrattamento, string Original_CodTrattamento, string Original_DescrTrattamento) { + if ((CodTrattamento == null)) { + throw new global::System.ArgumentNullException("CodTrattamento"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodTrattamento)); + } + if ((DescrTrattamento == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrTrattamento)); + } + if ((Original_CodTrattamento == null)) { + throw new global::System.ArgumentNullException("Original_CodTrattamento"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_CodTrattamento)); + } + if ((Original_DescrTrattamento == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_DescrTrattamento)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescrTrattamento, string Original_CodTrattamento, string Original_DescrTrattamento) { + return this.Update(Original_CodTrattamento, DescrTrattamento, Original_CodTrattamento, Original_DescrTrattamento); + } + } + + /// + ///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 Tratt2ObjTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Tratt2ObjTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "Tratt2Obj"; + tableMapping.ColumnMappings.Add("IdxObj", "IdxObj"); + tableMapping.ColumnMappings.Add("CodTrattamento", "CodTrattamento"); + tableMapping.ColumnMappings.Add("Note", "Note"); + 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].[Tratt2Obj] WHERE (([IdxObj] = @Original_IdxObj) AND ([CodTratt" + + "amento] = @Original_CodTrattamento) AND ((@IsNull_Note = 1 AND [Note] IS NULL) O" + + "R ([Note] = @Original_Note)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTrattamento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[Tratt2Obj] ([IdxObj], [CodTrattamento], [Note]) VALUES (@IdxOb" + + "j, @CodTrattamento, @Note);\r\nSELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj " + + "WHERE (CodTrattamento = @CodTrattamento) AND (IdxObj = @IdxObj)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTrattamento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Tratt2Obj] SET [IdxObj] = @IdxObj, [CodTrattamento] = @CodTrattamento, [Note] = @Note WHERE (([IdxObj] = @Original_IdxObj) AND ([CodTrattamento] = @Original_CodTrattamento) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note))); +SELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj WHERE (CodTrattamento = @CodTrattamento) AND (IdxObj = @IdxObj)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTrattamento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTrattamento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTrattamento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT IdxObj, CodTrattamento, Note FROM dbo.Tratt2Obj"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.Tratt2ObjDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.Tratt2ObjDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.Tratt2ObjDataTable dataTable = new DS_applicazione.Tratt2ObjDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.Tratt2ObjDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "Tratt2Obj"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_IdxObj, string Original_CodTrattamento, string Original_Note) { + if ((Original_IdxObj == null)) { + throw new global::System.ArgumentNullException("Original_IdxObj"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_IdxObj)); + } + if ((Original_CodTrattamento == null)) { + throw new global::System.ArgumentNullException("Original_CodTrattamento"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodTrattamento)); + } + if ((Original_Note == 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_Note)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string IdxObj, string CodTrattamento, string Note) { + if ((IdxObj == null)) { + throw new global::System.ArgumentNullException("IdxObj"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(IdxObj)); + } + if ((CodTrattamento == null)) { + throw new global::System.ArgumentNullException("CodTrattamento"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodTrattamento)); + } + if ((Note == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Note)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string IdxObj, string CodTrattamento, string Note, string Original_IdxObj, string Original_CodTrattamento, string Original_Note) { + if ((IdxObj == null)) { + throw new global::System.ArgumentNullException("IdxObj"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(IdxObj)); + } + if ((CodTrattamento == null)) { + throw new global::System.ArgumentNullException("CodTrattamento"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodTrattamento)); + } + if ((Note == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Note)); + } + if ((Original_IdxObj == null)) { + throw new global::System.ArgumentNullException("Original_IdxObj"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_IdxObj)); + } + if ((Original_CodTrattamento == null)) { + throw new global::System.ArgumentNullException("Original_CodTrattamento"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodTrattamento)); + } + if ((Original_Note == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_Note)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string Note, string Original_IdxObj, string Original_CodTrattamento, string Original_Note) { + return this.Update(Original_IdxObj, Original_CodTrattamento, Note, Original_IdxObj, Original_CodTrattamento, Original_Note); + } + } + + /// + ///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 v_commesseTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_commesseTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "v_commesse"; + tableMapping.ColumnMappings.Add("Cod", "Cod"); + tableMapping.ColumnMappings.Add("Stato", "Stato"); + tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); + tableMapping.ColumnMappings.Add("Cliente", "Cliente"); + tableMapping.ColumnMappings.Add("descrizione", "descrizione"); + tableMapping.ColumnMappings.Add("DDT", "DDT"); + tableMapping.ColumnMappings.Add("DataDDT", "DataDDT"); + tableMapping.ColumnMappings.Add("DataArrivo", "DataArrivo"); + tableMapping.ColumnMappings.Add("Posizione", "Posizione"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("Peso", "Peso"); + tableMapping.ColumnMappings.Add("Righe", "Righe"); + tableMapping.ColumnMappings.Add("Colli", "Colli"); + tableMapping.ColumnMappings.Add("DataPrevista", "DataPrevista"); + tableMapping.ColumnMappings.Add("Ciclo", "Ciclo"); + tableMapping.ColumnMappings.Add("CodStato", "CodStato"); + tableMapping.ColumnMappings.Add("minStato", "minStato"); + tableMapping.ColumnMappings.Add("maxStato", "maxStato"); + tableMapping.ColumnMappings.Add("minCodStato", "minCodStato"); + tableMapping.ColumnMappings.Add("maxCodStato", "maxCodStato"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT * FROM v_commesse ORDER BY DataArrivo DESC"; + 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_vElComm_getByCod"; + 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("@Cod", 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_vElComm_getByCodFiltro"; + 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("@CodFiltro", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.sp_creaSetObj"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSet", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumDDT", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataDDT", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserName", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@note", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@emailReq", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.sp_delObj"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cod", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = "dbo.stp_IstObjUpdateMag"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ciclo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataDDT", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DDT", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", 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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.v_commesseDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.v_commesseDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.v_commesseDataTable dataTable = new DS_applicazione.v_commesseDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.v_commesseDataTable getByCod(string Cod) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((Cod == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Cod)); + } + DS_applicazione.v_commesseDataTable dataTable = new DS_applicazione.v_commesseDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.v_commesseDataTable getByCodFiltro(string CodFiltro) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodFiltro == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodFiltro)); + } + DS_applicazione.v_commesseDataTable dataTable = new DS_applicazione.v_commesseDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int sp_creaSetObj(string IdxObj, string CodSet, string CodCliente, string NumDDT, global::System.Nullable dataDDT, string Nome, string UserName, string note, global::System.Nullable emailReq) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; + if ((IdxObj == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(IdxObj)); + } + if ((CodSet == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodSet)); + } + if ((CodCliente == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(CodCliente)); + } + if ((NumDDT == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(NumDDT)); + } + if ((dataDDT.HasValue == true)) { + command.Parameters[5].Value = ((System.DateTime)(dataDDT.Value)); + } + else { + command.Parameters[5].Value = global::System.DBNull.Value; + } + if ((Nome == null)) { + command.Parameters[6].Value = global::System.DBNull.Value; + } + else { + command.Parameters[6].Value = ((string)(Nome)); + } + if ((UserName == null)) { + command.Parameters[7].Value = global::System.DBNull.Value; + } + else { + command.Parameters[7].Value = ((string)(UserName)); + } + if ((note == null)) { + command.Parameters[8].Value = global::System.DBNull.Value; + } + else { + command.Parameters[8].Value = ((string)(note)); + } + if ((emailReq.HasValue == true)) { + command.Parameters[9].Value = ((bool)(emailReq.Value)); + } + else { + command.Parameters[9].Value = global::System.DBNull.Value; + } + 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; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int sp_delObj(string Original_Cod) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; + if ((Original_Cod == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(Original_Cod)); + } + 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; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int updateMag(string Original_Cod, string CodCliente, string Ciclo, global::System.Nullable DataDDT, string DDT, string UserName, string Descrizione) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; + if ((Original_Cod == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(Original_Cod)); + } + if ((CodCliente == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodCliente)); + } + if ((Ciclo == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(Ciclo)); + } + if ((DataDDT.HasValue == true)) { + command.Parameters[4].Value = ((System.DateTime)(DataDDT.Value)); + } + else { + command.Parameters[4].Value = global::System.DBNull.Value; + } + if ((DDT == null)) { + command.Parameters[5].Value = global::System.DBNull.Value; + } + else { + command.Parameters[5].Value = ((string)(DDT)); + } + if ((UserName == null)) { + command.Parameters[6].Value = global::System.DBNull.Value; + } + else { + command.Parameters[6].Value = ((string)(UserName)); + } + if ((Descrizione == null)) { + command.Parameters[7].Value = global::System.DBNull.Value; + } + else { + command.Parameters[7].Value = ((string)(Descrizione)); + } + 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 IstObjTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public IstObjTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "IstObj"; + tableMapping.ColumnMappings.Add("IdxObj", "IdxObj"); + tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); + tableMapping.ColumnMappings.Add("CodStato", "CodStato"); + tableMapping.ColumnMappings.Add("Posizione", "Posizione"); + tableMapping.ColumnMappings.Add("Livello", "Livello"); + tableMapping.ColumnMappings.Add("Rev", "Rev"); + tableMapping.ColumnMappings.Add("CodObj", "CodObj"); + tableMapping.ColumnMappings.Add("Nome", "Nome"); + tableMapping.ColumnMappings.Add("DataRif", "DataRif"); + tableMapping.ColumnMappings.Add("IdxObjMamma", "IdxObjMamma"); + tableMapping.ColumnMappings.Add("Note", "Note"); + tableMapping.ColumnMappings.Add("ExtKey", "ExtKey"); + tableMapping.ColumnMappings.Add("DueDate", "DueDate"); + tableMapping.ColumnMappings.Add("LeadTime", "LeadTime"); + tableMapping.ColumnMappings.Add("LeadTimeUM", "LeadTimeUM"); + tableMapping.ColumnMappings.Add("UserCreaz", "UserCreaz"); + tableMapping.ColumnMappings.Add("DataCreaz", "DataCreaz"); + tableMapping.ColumnMappings.Add("UserMod", "UserMod"); + tableMapping.ColumnMappings.Add("DataMod", "DataMod"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("Peso", "Peso"); + tableMapping.ColumnMappings.Add("emailReq", "emailReq"); + tableMapping.ColumnMappings.Add("emailSent", "emailSent"); + 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 [IstObj] WHERE (([IdxObj] = @Original_IdxObj) AND ((@IsNull_CodClient" + + "e = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodCliente)) AND ((" + + "@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato" + + ")) AND ((@IsNull_Posizione = 1 AND [Posizione] IS NULL) OR ([Posizione] = @Origi" + + "nal_Posizione)) AND ((@IsNull_Livello = 1 AND [Livello] IS NULL) OR ([Livello] =" + + " @Original_Livello)) AND ((@IsNull_Rev = 1 AND [Rev] IS NULL) OR ([Rev] = @Origi" + + "nal_Rev)) AND ((@IsNull_CodObj = 1 AND [CodObj] IS NULL) OR ([CodObj] = @Origina" + + "l_CodObj)) AND ((@IsNull_Nome = 1 AND [Nome] IS NULL) OR ([Nome] = @Original_Nom" + + "e)) AND ((@IsNull_DataRif = 1 AND [DataRif] IS NULL) OR ([DataRif] = @Original_D" + + "ataRif)) AND ((@IsNull_IdxObjMamma = 1 AND [IdxObjMamma] IS NULL) OR ([IdxObjMam" + + "ma] = @Original_IdxObjMamma)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([No" + + "te] = @Original_Note)) AND ((@IsNull_ExtKey = 1 AND [ExtKey] IS NULL) OR ([ExtKe" + + "y] = @Original_ExtKey)) AND ((@IsNull_DueDate = 1 AND [DueDate] IS NULL) OR ([Du" + + "eDate] = @Original_DueDate)) AND ((@IsNull_LeadTime = 1 AND [LeadTime] IS NULL) " + + "OR ([LeadTime] = @Original_LeadTime)) AND ((@IsNull_LeadTimeUM = 1 AND [LeadTime" + + "UM] IS NULL) OR ([LeadTimeUM] = @Original_LeadTimeUM)) AND ((@IsNull_UserCreaz =" + + " 1 AND [UserCreaz] IS NULL) OR ([UserCreaz] = @Original_UserCreaz)) AND ((@IsNul" + + "l_DataCreaz = 1 AND [DataCreaz] IS NULL) OR ([DataCreaz] = @Original_DataCreaz))" + + " AND ((@IsNull_UserMod = 1 AND [UserMod] IS NULL) OR ([UserMod] = @Original_User" + + "Mod)) AND ((@IsNull_DataMod = 1 AND [DataMod] IS NULL) OR ([DataMod] = @Original" + + "_DataMod)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) " + + "AND ((@IsNull_Peso = 1 AND [Peso] IS NULL) OR ([Peso] = @Original_Peso)) AND ((@" + + "IsNull_emailReq = 1 AND [emailReq] IS NULL) OR ([emailReq] = @Original_emailReq)" + + ") AND ((@IsNull_emailSent = 1 AND [emailSent] IS NULL) OR ([emailSent] = @Origin" + + "al_emailSent)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCliente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + 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("@IsNull_Posizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Posizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Livello", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Livello", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Livello", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Livello", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Rev", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Rev", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodObj", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Nome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxObjMamma", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObjMamma", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObjMamma", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObjMamma", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtKey", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtKey", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtKey", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtKey", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DueDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DueDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_LeadTime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTime", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LeadTime", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTime", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_LeadTimeUM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTimeUM", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LeadTimeUM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTimeUM", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserCreaz", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserCreaz", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserCreaz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataCreaz", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserMod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataMod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Peso", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Peso", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_emailReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailReq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_emailReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailReq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_emailSent", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailSent", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_emailSent", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailSent", 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 [IstObj] ([IdxObj], [CodCliente], [CodStato], [Posizione], [Livello], [Rev], [CodObj], [Nome], [DataRif], [IdxObjMamma], [Note], [ExtKey], [DueDate], [LeadTime], [LeadTimeUM], [UserCreaz], [DataCreaz], [UserMod], [DataMod], [Qta], [Peso], [emailReq], [emailSent]) VALUES (@IdxObj, @CodCliente, @CodStato, @Posizione, @Livello, @Rev, @CodObj, @Nome, @DataRif, @IdxObjMamma, @Note, @ExtKey, @DueDate, @LeadTime, @LeadTimeUM, @UserCreaz, @DataCreaz, @UserMod, @DataMod, @Qta, @Peso, @emailReq, @emailSent); +SELECT IdxObj, CodCliente, CodStato, Posizione, Livello, Rev, CodObj, Nome, DataRif, IdxObjMamma, Note, ExtKey, DueDate, LeadTime, LeadTimeUM, UserCreaz, DataCreaz, UserMod, DataMod, Qta, Peso, emailReq, emailSent FROM IstObj WHERE (IdxObj = @IdxObj)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + 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("@Posizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Livello", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Livello", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Rev", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObjMamma", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObjMamma", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtKey", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtKey", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LeadTime", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTime", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LeadTimeUM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTimeUM", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserCreaz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Peso", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@emailReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailReq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@emailSent", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailSent", 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 [IstObj] SET [IdxObj] = @IdxObj, [CodCliente] = @CodCliente, [CodStato] = " + + "@CodStato, [Posizione] = @Posizione, [Livello] = @Livello, [Rev] = @Rev, [CodObj" + + "] = @CodObj, [Nome] = @Nome, [DataRif] = @DataRif, [IdxObjMamma] = @IdxObjMamma," + + " [Note] = @Note, [ExtKey] = @ExtKey, [DueDate] = @DueDate, [LeadTime] = @LeadTim" + + "e, [LeadTimeUM] = @LeadTimeUM, [UserCreaz] = @UserCreaz, [DataCreaz] = @DataCrea" + + "z, [UserMod] = @UserMod, [DataMod] = @DataMod, [Qta] = @Qta, [Peso] = @Peso, [em" + + "ailReq] = @emailReq, [emailSent] = @emailSent WHERE (([IdxObj] = @Original_IdxOb" + + "j) AND ((@IsNull_CodCliente = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Or" + + "iginal_CodCliente)) AND ((@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodS" + + "tato] = @Original_CodStato)) AND ((@IsNull_Posizione = 1 AND [Posizione] IS NULL" + + ") OR ([Posizione] = @Original_Posizione)) AND ((@IsNull_Livello = 1 AND [Livello" + + "] IS NULL) OR ([Livello] = @Original_Livello)) AND ((@IsNull_Rev = 1 AND [Rev] I" + + "S NULL) OR ([Rev] = @Original_Rev)) AND ((@IsNull_CodObj = 1 AND [CodObj] IS NUL" + + "L) OR ([CodObj] = @Original_CodObj)) AND ((@IsNull_Nome = 1 AND [Nome] IS NULL) " + + "OR ([Nome] = @Original_Nome)) AND ((@IsNull_DataRif = 1 AND [DataRif] IS NULL) O" + + "R ([DataRif] = @Original_DataRif)) AND ((@IsNull_IdxObjMamma = 1 AND [IdxObjMamm" + + "a] IS NULL) OR ([IdxObjMamma] = @Original_IdxObjMamma)) AND ((@IsNull_Note = 1 A" + + "ND [Note] IS NULL) OR ([Note] = @Original_Note)) AND ((@IsNull_ExtKey = 1 AND [E" + + "xtKey] IS NULL) OR ([ExtKey] = @Original_ExtKey)) AND ((@IsNull_DueDate = 1 AND " + + "[DueDate] IS NULL) OR ([DueDate] = @Original_DueDate)) AND ((@IsNull_LeadTime = " + + "1 AND [LeadTime] IS NULL) OR ([LeadTime] = @Original_LeadTime)) AND ((@IsNull_Le" + + "adTimeUM = 1 AND [LeadTimeUM] IS NULL) OR ([LeadTimeUM] = @Original_LeadTimeUM))" + + " AND ((@IsNull_UserCreaz = 1 AND [UserCreaz] IS NULL) OR ([UserCreaz] = @Origina" + + "l_UserCreaz)) AND ((@IsNull_DataCreaz = 1 AND [DataCreaz] IS NULL) OR ([DataCrea" + + "z] = @Original_DataCreaz)) AND ((@IsNull_UserMod = 1 AND [UserMod] IS NULL) OR (" + + "[UserMod] = @Original_UserMod)) AND ((@IsNull_DataMod = 1 AND [DataMod] IS NULL)" + + " OR ([DataMod] = @Original_DataMod)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR" + + " ([Qta] = @Original_Qta)) AND ((@IsNull_Peso = 1 AND [Peso] IS NULL) OR ([Peso] " + + "= @Original_Peso)) AND ((@IsNull_emailReq = 1 AND [emailReq] IS NULL) OR ([email" + + "Req] = @Original_emailReq)) AND ((@IsNull_emailSent = 1 AND [emailSent] IS NULL)" + + " OR ([emailSent] = @Original_emailSent)));\r\nSELECT IdxObj, CodCliente, CodStato," + + " Posizione, Livello, Rev, CodObj, Nome, DataRif, IdxObjMamma, Note, ExtKey, DueD" + + "ate, LeadTime, LeadTimeUM, UserCreaz, DataCreaz, UserMod, DataMod, Qta, Peso, em" + + "ailReq, emailSent FROM IstObj WHERE (IdxObj = @IdxObj)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + 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("@Posizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Livello", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Livello", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Rev", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObjMamma", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObjMamma", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtKey", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtKey", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LeadTime", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTime", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LeadTimeUM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTimeUM", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserCreaz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Peso", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@emailReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailReq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@emailSent", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailSent", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCliente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, true, 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("@IsNull_Posizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Posizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Posizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Livello", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Livello", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Livello", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Livello", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Rev", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Rev", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodObj", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Nome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxObjMamma", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObjMamma", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxObjMamma", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObjMamma", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtKey", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtKey", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtKey", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtKey", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DueDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DueDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_LeadTime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTime", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LeadTime", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTime", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_LeadTimeUM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTimeUM", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LeadTimeUM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LeadTimeUM", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserCreaz", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserCreaz", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserCreaz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataCreaz", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserMod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataMod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Peso", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Peso", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_emailReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailReq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_emailReq", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailReq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_emailSent", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailSent", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_emailSent", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emailSent", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[8]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = @"SELECT IdxObj, CodCliente, CodStato, Posizione, Livello, Rev, CodObj, Nome, DataRif, IdxObjMamma, Note, ExtKey, DueDate, LeadTime, LeadTimeUM, UserCreaz, + DataCreaz, UserMod, DataMod, Qta, Peso, emailReq, emailSent +FROM IstObj"; + 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_IstObj_countSisters"; + 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("@IdxObjMamma", 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_IstObj_getByIdx"; + 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("@IdxObj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_IstObj_lastSister"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObjMamma", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_IstObj_updateDueDateULP"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMod", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObjCommon", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = "dbo.stp_IstObj_updateEmailSent"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "dbo.stp_IstObj_updateStato"; + this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[6].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[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMod", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[7].Connection = this.Connection; + this._commandCollection[7].CommandText = "dbo.stp_IstObj_updateStatoTree"; + this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[7].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[7].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[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMod", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObjCommon", 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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.IstObjDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.IstObjDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.IstObjDataTable dataTable = new DS_applicazione.IstObjDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.IstObjDataTable getByIdxObj(string IdxObj) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((IdxObj == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxObj)); + } + DS_applicazione.IstObjDataTable dataTable = new DS_applicazione.IstObjDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.IstObjDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "IstObj"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete( + string Original_IdxObj, + string Original_CodCliente, + string Original_CodStato, + string Original_Posizione, + global::System.Nullable Original_Livello, + global::System.Nullable Original_Rev, + string Original_CodObj, + string Original_Nome, + global::System.Nullable Original_DataRif, + string Original_IdxObjMamma, + string Original_Note, + string Original_ExtKey, + global::System.Nullable Original_DueDate, + global::System.Nullable Original_LeadTime, + string Original_LeadTimeUM, + string Original_UserCreaz, + global::System.Nullable Original_DataCreaz, + string Original_UserMod, + global::System.Nullable Original_DataMod, + global::System.Nullable Original_Qta, + global::System.Nullable Original_Peso, + global::System.Nullable Original_emailReq, + global::System.Nullable Original_emailSent) { + if ((Original_IdxObj == null)) { + throw new global::System.ArgumentNullException("Original_IdxObj"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_IdxObj)); + } + if ((Original_CodCliente == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodCliente)); + } + if ((Original_CodStato == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodStato)); + } + if ((Original_Posizione == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Posizione)); + } + if ((Original_Livello.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((int)(Original_Livello.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((Original_Rev.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((int)(Original_Rev.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + if ((Original_CodObj == null)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_CodObj)); + } + if ((Original_Nome == null)) { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_Nome)); + } + if ((Original_DataRif.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[16].Value = ((System.DateTime)(Original_DataRif.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((Original_IdxObjMamma == null)) { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_IdxObjMamma)); + } + if ((Original_Note == null)) { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_Note)); + } + if ((Original_ExtKey == null)) { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_ExtKey)); + } + if ((Original_DueDate.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[24].Value = ((System.DateTime)(Original_DueDate.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value; + } + if ((Original_LeadTime.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[26].Value = ((double)(Original_LeadTime.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value; + } + if ((Original_LeadTimeUM == null)) { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_LeadTimeUM)); + } + if ((Original_UserCreaz == null)) { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_UserCreaz)); + } + if ((Original_DataCreaz.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[32].Value = ((System.DateTime)(Original_DataCreaz.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value; + } + if ((Original_UserMod == null)) { + this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_UserMod)); + } + if ((Original_DataMod.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[36].Value = ((System.DateTime)(Original_DataMod.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value; + } + if ((Original_Qta.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[38].Value = ((int)(Original_Qta.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value; + } + if ((Original_Peso.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[40].Value = ((double)(Original_Peso.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value; + } + if ((Original_emailReq.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[42].Value = ((bool)(Original_emailReq.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[42].Value = global::System.DBNull.Value; + } + if ((Original_emailSent.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[44].Value = ((System.DateTime)(Original_emailSent.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[44].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert( + string IdxObj, + string CodCliente, + string CodStato, + string Posizione, + global::System.Nullable Livello, + global::System.Nullable Rev, + string CodObj, + string Nome, + global::System.Nullable DataRif, + string IdxObjMamma, + string Note, + string ExtKey, + global::System.Nullable DueDate, + global::System.Nullable LeadTime, + string LeadTimeUM, + string UserCreaz, + global::System.Nullable DataCreaz, + string UserMod, + global::System.Nullable DataMod, + global::System.Nullable Qta, + global::System.Nullable Peso, + global::System.Nullable emailReq, + global::System.Nullable emailSent) { + if ((IdxObj == null)) { + throw new global::System.ArgumentNullException("IdxObj"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(IdxObj)); + } + if ((CodCliente == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodCliente)); + } + if ((CodStato == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodStato)); + } + if ((Posizione == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Posizione)); + } + if ((Livello.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[4].Value = ((int)(Livello.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Rev.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[5].Value = ((int)(Rev.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((CodObj == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(CodObj)); + } + if ((Nome == null)) { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Nome)); + } + if ((DataRif.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(DataRif.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((IdxObjMamma == null)) { + this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = ((string)(IdxObjMamma)); + } + if ((Note == null)) { + this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[10].Value = ((string)(Note)); + } + if ((ExtKey == null)) { + this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[11].Value = ((string)(ExtKey)); + } + if ((DueDate.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[12].Value = ((System.DateTime)(DueDate.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((LeadTime.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[13].Value = ((double)(LeadTime.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((LeadTimeUM == null)) { + this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[14].Value = ((string)(LeadTimeUM)); + } + if ((UserCreaz == null)) { + this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[15].Value = ((string)(UserCreaz)); + } + if ((DataCreaz.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[16].Value = ((System.DateTime)(DataCreaz.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((UserMod == null)) { + this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[17].Value = ((string)(UserMod)); + } + if ((DataMod.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[18].Value = ((System.DateTime)(DataMod.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; + } + if ((Qta.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[19].Value = ((int)(Qta.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((Peso.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[20].Value = ((double)(Peso.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; + } + if ((emailReq.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[21].Value = ((bool)(emailReq.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value; + } + if ((emailSent.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[22].Value = ((System.DateTime)(emailSent.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[22].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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string IdxObj, + string CodCliente, + string CodStato, + string Posizione, + global::System.Nullable Livello, + global::System.Nullable Rev, + string CodObj, + string Nome, + global::System.Nullable DataRif, + string IdxObjMamma, + string Note, + string ExtKey, + global::System.Nullable DueDate, + global::System.Nullable LeadTime, + string LeadTimeUM, + string UserCreaz, + global::System.Nullable DataCreaz, + string UserMod, + global::System.Nullable DataMod, + global::System.Nullable Qta, + global::System.Nullable Peso, + global::System.Nullable emailReq, + global::System.Nullable emailSent, + string Original_IdxObj, + string Original_CodCliente, + string Original_CodStato, + string Original_Posizione, + global::System.Nullable Original_Livello, + global::System.Nullable Original_Rev, + string Original_CodObj, + string Original_Nome, + global::System.Nullable Original_DataRif, + string Original_IdxObjMamma, + string Original_Note, + string Original_ExtKey, + global::System.Nullable Original_DueDate, + global::System.Nullable Original_LeadTime, + string Original_LeadTimeUM, + string Original_UserCreaz, + global::System.Nullable Original_DataCreaz, + string Original_UserMod, + global::System.Nullable Original_DataMod, + global::System.Nullable Original_Qta, + global::System.Nullable Original_Peso, + global::System.Nullable Original_emailReq, + global::System.Nullable Original_emailSent) { + if ((IdxObj == null)) { + throw new global::System.ArgumentNullException("IdxObj"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(IdxObj)); + } + if ((CodCliente == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodCliente)); + } + if ((CodStato == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodStato)); + } + if ((Posizione == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Posizione)); + } + if ((Livello.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(Livello.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Rev.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Rev.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((CodObj == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(CodObj)); + } + if ((Nome == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Nome)); + } + if ((DataRif.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(DataRif.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((IdxObjMamma == null)) { + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(IdxObjMamma)); + } + if ((Note == null)) { + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Note)); + } + if ((ExtKey == null)) { + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(ExtKey)); + } + if ((DueDate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(DueDate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((LeadTime.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[13].Value = ((double)(LeadTime.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((LeadTimeUM == null)) { + this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(LeadTimeUM)); + } + if ((UserCreaz == null)) { + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(UserCreaz)); + } + if ((DataCreaz.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[16].Value = ((System.DateTime)(DataCreaz.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((UserMod == null)) { + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(UserMod)); + } + if ((DataMod.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((System.DateTime)(DataMod.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; + } + if ((Qta.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(Qta.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((Peso.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[20].Value = ((double)(Peso.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; + } + if ((emailReq.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[21].Value = ((bool)(emailReq.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + if ((emailSent.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[22].Value = ((System.DateTime)(emailSent.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; + } + if ((Original_IdxObj == null)) { + throw new global::System.ArgumentNullException("Original_IdxObj"); + } + else { + this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_IdxObj)); + } + if ((Original_CodCliente == null)) { + this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_CodCliente)); + } + if ((Original_CodStato == null)) { + this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_CodStato)); + } + if ((Original_Posizione == null)) { + this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_Posizione)); + } + if ((Original_Livello.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_Livello.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value; + } + if ((Original_Rev.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(Original_Rev.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value; + } + if ((Original_CodObj == null)) { + this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_CodObj)); + } + if ((Original_Nome == null)) { + this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_Nome)); + } + if ((Original_DataRif.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[39].Value = ((System.DateTime)(Original_DataRif.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value; + } + if ((Original_IdxObjMamma == null)) { + this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_IdxObjMamma)); + } + if ((Original_Note == null)) { + this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_Note)); + } + if ((Original_ExtKey == null)) { + this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_ExtKey)); + } + if ((Original_DueDate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[47].Value = ((System.DateTime)(Original_DueDate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value; + } + if ((Original_LeadTime.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[49].Value = ((double)(Original_LeadTime.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value; + } + if ((Original_LeadTimeUM == null)) { + this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Original_LeadTimeUM)); + } + if ((Original_UserCreaz == null)) { + this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[53].Value = ((string)(Original_UserCreaz)); + } + if ((Original_DataCreaz.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[55].Value = ((System.DateTime)(Original_DataCreaz.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value; + } + if ((Original_UserMod == null)) { + this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[57].Value = ((string)(Original_UserMod)); + } + if ((Original_DataMod.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[59].Value = ((System.DateTime)(Original_DataMod.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value; + } + if ((Original_Qta.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[61].Value = ((int)(Original_Qta.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value; + } + if ((Original_Peso.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[63].Value = ((double)(Original_Peso.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value; + } + if ((Original_emailReq.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[65].Value = ((bool)(Original_emailReq.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value; + } + if ((Original_emailSent.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[67].Value = ((System.DateTime)(Original_emailSent.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodCliente, + string CodStato, + string Posizione, + global::System.Nullable Livello, + global::System.Nullable Rev, + string CodObj, + string Nome, + global::System.Nullable DataRif, + string IdxObjMamma, + string Note, + string ExtKey, + global::System.Nullable DueDate, + global::System.Nullable LeadTime, + string LeadTimeUM, + string UserCreaz, + global::System.Nullable DataCreaz, + string UserMod, + global::System.Nullable DataMod, + global::System.Nullable Qta, + global::System.Nullable Peso, + global::System.Nullable emailReq, + global::System.Nullable emailSent, + string Original_IdxObj, + string Original_CodCliente, + string Original_CodStato, + string Original_Posizione, + global::System.Nullable Original_Livello, + global::System.Nullable Original_Rev, + string Original_CodObj, + string Original_Nome, + global::System.Nullable Original_DataRif, + string Original_IdxObjMamma, + string Original_Note, + string Original_ExtKey, + global::System.Nullable Original_DueDate, + global::System.Nullable Original_LeadTime, + string Original_LeadTimeUM, + string Original_UserCreaz, + global::System.Nullable Original_DataCreaz, + string Original_UserMod, + global::System.Nullable Original_DataMod, + global::System.Nullable Original_Qta, + global::System.Nullable Original_Peso, + global::System.Nullable Original_emailReq, + global::System.Nullable Original_emailSent) { + return this.Update(Original_IdxObj, CodCliente, CodStato, Posizione, Livello, Rev, CodObj, Nome, DataRif, IdxObjMamma, Note, ExtKey, DueDate, LeadTime, LeadTimeUM, UserCreaz, DataCreaz, UserMod, DataMod, Qta, Peso, emailReq, emailSent, Original_IdxObj, Original_CodCliente, Original_CodStato, Original_Posizione, Original_Livello, Original_Rev, Original_CodObj, Original_Nome, Original_DataRif, Original_IdxObjMamma, Original_Note, Original_ExtKey, Original_DueDate, Original_LeadTime, Original_LeadTimeUM, Original_UserCreaz, Original_DataCreaz, Original_UserMod, Original_DataMod, Original_Qta, Original_Peso, Original_emailReq, Original_emailSent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual object countSisters(string IdxObjMamma) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((IdxObjMamma == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(IdxObjMamma)); + } + 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(); + } + object returnValue; + try { + returnValue = command.ExecuteScalar(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + if (((returnValue == null) + || (returnValue.GetType() == typeof(global::System.DBNull)))) { + return null; + } + else { + return ((object)(returnValue)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual object lastSister(string IdxObjMamma) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; + if ((IdxObjMamma == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(IdxObjMamma)); + } + 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(); + } + object returnValue; + try { + returnValue = command.ExecuteScalar(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + if (((returnValue == null) + || (returnValue.GetType() == typeof(global::System.DBNull)))) { + return null; + } + else { + return ((object)(returnValue)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int updateDueDateULP(global::System.Nullable DueDate, string UserMod, global::System.Nullable DataMod, string IdxObjCommon) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; + if ((DueDate.HasValue == true)) { + command.Parameters[1].Value = ((System.DateTime)(DueDate.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((UserMod == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(UserMod)); + } + if ((DataMod.HasValue == true)) { + command.Parameters[3].Value = ((System.DateTime)(DataMod.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + if ((IdxObjCommon == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(IdxObjCommon)); + } + 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; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int updateEmailSent(string IdxObj) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; + if ((IdxObj == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(IdxObj)); + } + 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; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int updateStato(string CodStato, string UserMod, global::System.Nullable DataMod, string IdxObj) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; + if ((CodStato == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodStato)); + } + if ((UserMod == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(UserMod)); + } + if ((DataMod.HasValue == true)) { + command.Parameters[3].Value = ((System.DateTime)(DataMod.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + if ((IdxObj == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(IdxObj)); + } + 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; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int updateStatoTree(string CodStato, string UserMod, global::System.Nullable DataMod, string IdxObjCommon) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7]; + if ((CodStato == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodStato)); + } + if ((UserMod == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(UserMod)); + } + if ((DataMod.HasValue == true)) { + command.Parameters[3].Value = ((System.DateTime)(DataMod.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + if ((IdxObjCommon == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(IdxObjCommon)); + } + 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 v_righeTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_righeTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "v_righe"; + tableMapping.ColumnMappings.Add("Cod", "Cod"); + tableMapping.ColumnMappings.Add("Stato", "Stato"); + tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); + tableMapping.ColumnMappings.Add("Cliente", "Cliente"); + tableMapping.ColumnMappings.Add("CodCli", "CodCli"); + tableMapping.ColumnMappings.Add("descrizione", "descrizione"); + tableMapping.ColumnMappings.Add("DDT", "DDT"); + tableMapping.ColumnMappings.Add("DataDDT", "DataDDT"); + tableMapping.ColumnMappings.Add("DataArrivo", "DataArrivo"); + tableMapping.ColumnMappings.Add("Posizione", "Posizione"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("Peso", "Peso"); + tableMapping.ColumnMappings.Add("Colli", "Colli"); + tableMapping.ColumnMappings.Add("DataPrevista", "DataPrevista"); + tableMapping.ColumnMappings.Add("IdxObjMamma", "IdxObjMamma"); + tableMapping.ColumnMappings.Add("CodStato", "CodStato"); + tableMapping.ColumnMappings.Add("minStato", "minStato"); + tableMapping.ColumnMappings.Add("maxStato", "maxStato"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT Cod, Stato, CodCliente, Cliente, CodCli, descrizione, DDT, DataDDT, DataAr" + + "rivo, Posizione, Qta, Peso, Colli, DataPrevista, IdxObjMamma, CodStato, minStato" + + ", maxStato FROM dbo.v_righe"; + 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 = "SELECT Cliente, Cod, CodCli, CodCliente, CodStato, Colli, DDT, DataArrivo, DataDD" + + "T, DataPrevista, IdxObjMamma, Peso, Posizione, Qta, Stato, descrizione, maxStato" + + ", minStato FROM v_righe WHERE (IdxObjMamma = @CodMamma)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMamma", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObjMamma", 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.sp_clonaRowObj"; + 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("@IdxObj_orig", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.sp_delRow"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cod", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "UPDATE IstObj\r\nSET Note = @descrizione\r\nWHERE (IdxObj = @Origi" + + "nal_Cod)"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.v_righeDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.v_righeDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.v_righeDataTable dataTable = new DS_applicazione.v_righeDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.v_righeDataTable getByCodMamma(string CodMamma) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodMamma == null)) { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodMamma)); + } + DS_applicazione.v_righeDataTable dataTable = new DS_applicazione.v_righeDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int sp_clonaRowObj(string IdxObj_orig) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + if ((IdxObj_orig == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(IdxObj_orig)); + } + 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; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int sp_delRow(string Original_Cod) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; + if ((Original_Cod == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(Original_Cod)); + } + 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; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] + public virtual int UpdateQuery(string descrizione, string Original_Cod) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; + if ((descrizione == null)) { + command.Parameters[0].Value = global::System.DBNull.Value; + } + else { + command.Parameters[0].Value = ((string)(descrizione)); + } + if ((Original_Cod == null)) { + throw new global::System.ArgumentNullException("Original_Cod"); + } + else { + command.Parameters[1].Value = ((string)(Original_Cod)); + } + 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 sp_rec4DayTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_rec4DayTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "sp_rec4Day"; + tableMapping.ColumnMappings.Add("rec4Day", "rec4Day"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.sp_rec4Day"; + 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("@dayCod", global::System.Data.SqlDbType.VarChar, 6, 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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.sp_rec4DayDataTable dataTable, string dayCod) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((dayCod == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(dayCod)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.sp_rec4DayDataTable GetData(string dayCod) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((dayCod == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(dayCod)); + } + DS_applicazione.sp_rec4DayDataTable dataTable = new DS_applicazione.sp_rec4DayDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 v_ULPTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ULPTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "v_ULP"; + tableMapping.ColumnMappings.Add("Cod", "Cod"); + tableMapping.ColumnMappings.Add("Stato", "Stato"); + tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); + tableMapping.ColumnMappings.Add("Cliente", "Cliente"); + tableMapping.ColumnMappings.Add("CodCli", "CodCli"); + tableMapping.ColumnMappings.Add("descrizione", "descrizione"); + tableMapping.ColumnMappings.Add("DDT", "DDT"); + tableMapping.ColumnMappings.Add("DataDDT", "DataDDT"); + tableMapping.ColumnMappings.Add("DataArrivo", "DataArrivo"); + tableMapping.ColumnMappings.Add("Posizione", "Posizione"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("Peso", "Peso"); + tableMapping.ColumnMappings.Add("DataPrevista", "DataPrevista"); + tableMapping.ColumnMappings.Add("IdxObjMamma", "IdxObjMamma"); + tableMapping.ColumnMappings.Add("CodStato", "CodStato"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[8]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT Cod, Stato, CodCliente, Cliente, CodCli, descrizione, DDT, DataDDT, DataAr" + + "rivo, Posizione, Qta, Peso, DataPrevista, IdxObjMamma, CodStato FROM dbo.v_ULP"; + 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 = "SELECT * FROM v_ULP WHERE (IdxObjMamma = @CodMamma)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMamma", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObjMamma", 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 = "SELECT Cod, Stato, CodCliente, Cliente, CodCli, descrizione, DDT, DataDDT, Da" + + "taArrivo, Posizione, Qta, Peso, DataPrevista, IdxObjMamma, CodStato\r\nFROM " + + " v_ULP\r\nWHERE (CodStato = @CodStato)"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; + 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, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = @"SELECT Cod, Stato, CodCliente, Cliente, CodCli, descrizione, DDT, DataDDT, DataArrivo, Posizione, Qta, Peso, DataPrevista, IdxObjMamma, CodStato +FROM v_ULP +WHERE (DataPrevista BETWEEN @DataRif AND DATEADD(dd, 1, @DataRif)) AND (CodStato < @MaxStato)"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "DataPrevista", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MaxStato", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "SELECT * FROM v_ULP\r\nWHERE ((DataPrevista < @DataPrevista) OR (DataPrevista " + + "IS NULL)) AND (CodStato< @MaxStato)\r\nORDER BY DataArrivo\t"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataPrevista", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "DataPrevista", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MaxStato", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = "dbo.sp_clonaObj"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj_orig", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "dbo.sp_delRow"; + this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cod", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[7].Connection = this.Connection; + this._commandCollection[7].CommandText = "UPDATE IstObj\r\nSET Note = @descrizione, Qta = @Qta, Peso = @Peso," + + " DueDate = @DataPrevista\r\nWHERE (IdxObj = @Original_Cod)"; + this._commandCollection[7].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Peso", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataPrevista", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.v_ULPDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.v_ULPDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.v_ULPDataTable dataTable = new DS_applicazione.v_ULPDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.v_ULPDataTable getByCodMamma(string CodMamma) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodMamma == null)) { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodMamma)); + } + DS_applicazione.v_ULPDataTable dataTable = new DS_applicazione.v_ULPDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.v_ULPDataTable getByCodStato(string CodStato) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodStato == null)) { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodStato)); + } + DS_applicazione.v_ULPDataTable dataTable = new DS_applicazione.v_ULPDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.v_ULPDataTable getOnlyOnDate(global::System.Nullable DataRif, string MaxStato) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((DataRif.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[0].Value = ((System.DateTime)(DataRif.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + if ((MaxStato == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(MaxStato)); + } + DS_applicazione.v_ULPDataTable dataTable = new DS_applicazione.v_ULPDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.v_ULPDataTable getPreDueDate(global::System.Nullable DataPrevista, string MaxStato) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + if ((DataPrevista.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[0].Value = ((System.DateTime)(DataPrevista.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + if ((MaxStato == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(MaxStato)); + } + DS_applicazione.v_ULPDataTable dataTable = new DS_applicazione.v_ULPDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int sp_clonaObj(string IdxObj_orig) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; + if ((IdxObj_orig == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(IdxObj_orig)); + } + 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; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int sp_delRow(string Original_Cod) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; + if ((Original_Cod == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(Original_Cod)); + } + 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; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] + public virtual int UpdateQuery(string descrizione, global::System.Nullable Qta, global::System.Nullable Peso, global::System.Nullable DataPrevista, string Original_Cod) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7]; + if ((descrizione == null)) { + command.Parameters[0].Value = global::System.DBNull.Value; + } + else { + command.Parameters[0].Value = ((string)(descrizione)); + } + if ((Qta.HasValue == true)) { + command.Parameters[1].Value = ((int)(Qta.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((Peso.HasValue == true)) { + command.Parameters[2].Value = ((double)(Peso.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + if ((DataPrevista.HasValue == true)) { + command.Parameters[3].Value = ((System.DateTime)(DataPrevista.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Original_Cod == null)) { + throw new global::System.ArgumentNullException("Original_Cod"); + } + else { + command.Parameters[4].Value = ((string)(Original_Cod)); + } + 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 EventiTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public EventiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "Eventi"; + tableMapping.ColumnMappings.Add("CodEvento", "CodEvento"); + tableMapping.ColumnMappings.Add("CodTipoEvento", "CodTipoEvento"); + tableMapping.ColumnMappings.Add("DescrEvento", "DescrEvento"); + tableMapping.ColumnMappings.Add("Action", "Action"); + 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].[Eventi] WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_CodTipoEvento = 1 AND [CodTipoEvento] IS NULL) OR ([CodTipoEvento] = @Original_CodTipoEvento)) AND ((@IsNull_DescrEvento = 1 AND [DescrEvento] IS NULL) OR ([DescrEvento] = @Original_DescrEvento)) AND ((@IsNull_Action = 1 AND [Action] IS NULL) OR ([Action] = @Original_Action)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodTipoEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Action", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Action", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", 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].[Eventi] ([CodEvento], [CodTipoEvento], [DescrEvento], [Action]" + + ") VALUES (@CodEvento, @CodTipoEvento, @DescrEvento, @Action);\r\nSELECT CodEvento," + + " CodTipoEvento, DescrEvento, Action FROM Eventi WHERE (CodEvento = @CodEvento)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Action", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", 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].[Eventi] SET [CodEvento] = @CodEvento, [CodTipoEvento] = @CodTipoEvento, [DescrEvento] = @DescrEvento, [Action] = @Action WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_CodTipoEvento = 1 AND [CodTipoEvento] IS NULL) OR ([CodTipoEvento] = @Original_CodTipoEvento)) AND ((@IsNull_DescrEvento = 1 AND [DescrEvento] IS NULL) OR ([DescrEvento] = @Original_DescrEvento)) AND ((@IsNull_Action = 1 AND [Action] IS NULL) OR ([Action] = @Original_Action))); +SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM Eventi WHERE (CodEvento = @CodEvento)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Action", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodTipoEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Action", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Action", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Action", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM dbo.Eventi"; + 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 = "SELECT DISTINCT Eventi.CodEvento, Eventi.CodTipoEvento, Eventi.DescrEvento, Event" + + "i.Action\r\nFROM Eventi INNER JOIN\r\n TraEv2Stati ON E" + + "venti.CodEvento = TraEv2Stati.CodEvento\r\nWHERE (TraEv2Stati.CodEvento = @Cod" + + "Evento)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.EventiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.EventiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.EventiDataTable dataTable = new DS_applicazione.EventiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.EventiDataTable getByCodEvento(string CodEvento) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodEvento == null)) { + throw new global::System.ArgumentNullException("CodEvento"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodEvento)); + } + DS_applicazione.EventiDataTable dataTable = new DS_applicazione.EventiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.EventiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "Eventi"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodEvento, string Original_CodTipoEvento, string Original_DescrEvento, string Original_Action) { + if ((Original_CodEvento == null)) { + throw new global::System.ArgumentNullException("Original_CodEvento"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodEvento)); + } + if ((Original_CodTipoEvento == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodTipoEvento)); + } + if ((Original_DescrEvento == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_DescrEvento)); + } + if ((Original_Action == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Action)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodEvento, string CodTipoEvento, string DescrEvento, string Action) { + if ((CodEvento == null)) { + throw new global::System.ArgumentNullException("CodEvento"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodEvento)); + } + if ((CodTipoEvento == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodTipoEvento)); + } + if ((DescrEvento == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(DescrEvento)); + } + if ((Action == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Action)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodEvento, string CodTipoEvento, string DescrEvento, string Action, string Original_CodEvento, string Original_CodTipoEvento, string Original_DescrEvento, string Original_Action) { + if ((CodEvento == null)) { + throw new global::System.ArgumentNullException("CodEvento"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodEvento)); + } + if ((CodTipoEvento == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodTipoEvento)); + } + if ((DescrEvento == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(DescrEvento)); + } + if ((Action == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Action)); + } + if ((Original_CodEvento == null)) { + throw new global::System.ArgumentNullException("Original_CodEvento"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodEvento)); + } + if ((Original_CodTipoEvento == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_CodTipoEvento)); + } + if ((Original_DescrEvento == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_DescrEvento)); + } + if ((Original_Action == null)) { + this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_Action)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodTipoEvento, string DescrEvento, string Action, string Original_CodEvento, string Original_CodTipoEvento, string Original_DescrEvento, string Original_Action) { + return this.Update(Original_CodEvento, CodTipoEvento, DescrEvento, Action, Original_CodEvento, Original_CodTipoEvento, Original_DescrEvento, Original_Action); + } + } + + /// + ///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 TraEv2StatiTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TraEv2StatiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "TraEv2Stati"; + tableMapping.ColumnMappings.Add("CodMappa", "CodMappa"); + tableMapping.ColumnMappings.Add("CodObj", "CodObj"); + tableMapping.ColumnMappings.Add("CodStato", "CodStato"); + tableMapping.ColumnMappings.Add("CodEvento", "CodEvento"); + tableMapping.ColumnMappings.Add("NextCodStato", "NextCodStato"); + tableMapping.ColumnMappings.Add("CmdPlugin", "CmdPlugin"); + tableMapping.ColumnMappings.Add("text2show", "text2show"); + tableMapping.ColumnMappings.Add("descrComando", "descrComando"); + 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].[TraEv2Stati] WHERE (([CodMappa] = @Original_CodMappa) AND ([CodObj] = @Original_CodObj) AND ([CodStato] = @Original_CodStato) AND ([CodEvento] = @Original_CodEvento) AND ((@IsNull_NextCodStato = 1 AND [NextCodStato] IS NULL) OR ([NextCodStato] = @Original_NextCodStato)) AND ((@IsNull_CmdPlugin = 1 AND [CmdPlugin] IS NULL) OR ([CmdPlugin] = @Original_CmdPlugin)) AND ((@IsNull_text2show = 1 AND [text2show] IS NULL) OR ([text2show] = @Original_text2show)) AND ((@IsNull_descrComando = 1 AND [descrComando] IS NULL) OR ([descrComando] = @Original_descrComando)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + 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_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NextCodStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NextCodStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NextCodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NextCodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CmdPlugin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CmdPlugin", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CmdPlugin", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CmdPlugin", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_text2show", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "text2show", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_text2show", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "text2show", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_descrComando", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrComando", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_descrComando", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrComando", 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].[TraEv2Stati] ([CodMappa], [CodObj], [CodStato], [CodEvento], [NextCodStato], [CmdPlugin], [text2show], [descrComando]) VALUES (@CodMappa, @CodObj, @CodStato, @CodEvento, @NextCodStato, @CmdPlugin, @text2show, @descrComando); +SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show, descrComando FROM TraEv2Stati WHERE (CodEvento = @CodEvento) AND (CodMappa = @CodMappa) AND (CodObj = @CodObj) AND (CodStato = @CodStato)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + 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("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NextCodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NextCodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CmdPlugin", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CmdPlugin", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@text2show", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "text2show", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrComando", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrComando", 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].[TraEv2Stati] SET [CodMappa] = @CodMappa, [CodObj] = @CodObj, [CodStato] = @CodStato, [CodEvento] = @CodEvento, [NextCodStato] = @NextCodStato, [CmdPlugin] = @CmdPlugin, [text2show] = @text2show, [descrComando] = @descrComando WHERE (([CodMappa] = @Original_CodMappa) AND ([CodObj] = @Original_CodObj) AND ([CodStato] = @Original_CodStato) AND ([CodEvento] = @Original_CodEvento) AND ((@IsNull_NextCodStato = 1 AND [NextCodStato] IS NULL) OR ([NextCodStato] = @Original_NextCodStato)) AND ((@IsNull_CmdPlugin = 1 AND [CmdPlugin] IS NULL) OR ([CmdPlugin] = @Original_CmdPlugin)) AND ((@IsNull_text2show = 1 AND [text2show] IS NULL) OR ([text2show] = @Original_text2show)) AND ((@IsNull_descrComando = 1 AND [descrComando] IS NULL) OR ([descrComando] = @Original_descrComando))); +SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show, descrComando FROM TraEv2Stati WHERE (CodEvento = @CodEvento) AND (CodMappa = @CodMappa) AND (CodObj = @CodObj) AND (CodStato = @CodStato)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + 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("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NextCodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NextCodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CmdPlugin", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CmdPlugin", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@text2show", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "text2show", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrComando", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrComando", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMappa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodObj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", global::System.Data.DataRowVersion.Original, 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_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NextCodStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NextCodStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NextCodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NextCodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CmdPlugin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CmdPlugin", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CmdPlugin", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CmdPlugin", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_text2show", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "text2show", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_text2show", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "text2show", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_descrComando", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrComando", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_descrComando", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrComando", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show," + + " descrComando FROM dbo.TraEv2Stati"; + 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 = "SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show," + + " descrComando FROM dbo.TraEv2Stati\r\nwhere CodMappa=@CodMappa"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", 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 = "SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2s" + + "how, descrComando\r\nFROM TraEv2Stati\r\nWHERE (CodMappa = @CodMappa) AN" + + "D (CodObj = @CodObj) AND (CodStato = @CodStato) AND (CodEvento = @CodEvento)"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMappa", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "CodMappa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodObj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodObj", 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, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.TraEv2StatiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.TraEv2StatiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.TraEv2StatiDataTable dataTable = new DS_applicazione.TraEv2StatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.TraEv2StatiDataTable getByCodMappa(string CodMappa) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodMappa == null)) { + throw new global::System.ArgumentNullException("CodMappa"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodMappa)); + } + DS_applicazione.TraEv2StatiDataTable dataTable = new DS_applicazione.TraEv2StatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.TraEv2StatiDataTable getByKey(string CodMappa, string CodObj, string CodStato, string CodEvento) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodMappa == null)) { + throw new global::System.ArgumentNullException("CodMappa"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodMappa)); + } + if ((CodObj == null)) { + throw new global::System.ArgumentNullException("CodObj"); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodObj)); + } + if ((CodStato == null)) { + throw new global::System.ArgumentNullException("CodStato"); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodStato)); + } + if ((CodEvento == null)) { + throw new global::System.ArgumentNullException("CodEvento"); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodEvento)); + } + DS_applicazione.TraEv2StatiDataTable dataTable = new DS_applicazione.TraEv2StatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.TraEv2StatiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "TraEv2Stati"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodMappa, string Original_CodObj, string Original_CodStato, string Original_CodEvento, string Original_NextCodStato, string Original_CmdPlugin, string Original_text2show, string Original_descrComando) { + if ((Original_CodMappa == null)) { + throw new global::System.ArgumentNullException("Original_CodMappa"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodMappa)); + } + if ((Original_CodObj == null)) { + throw new global::System.ArgumentNullException("Original_CodObj"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodObj)); + } + if ((Original_CodStato == null)) { + throw new global::System.ArgumentNullException("Original_CodStato"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodStato)); + } + if ((Original_CodEvento == null)) { + throw new global::System.ArgumentNullException("Original_CodEvento"); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CodEvento)); + } + if ((Original_NextCodStato == null)) { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_NextCodStato)); + } + if ((Original_CmdPlugin == null)) { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_CmdPlugin)); + } + if ((Original_text2show == null)) { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_text2show)); + } + if ((Original_descrComando == null)) { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_descrComando)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodMappa, string CodObj, string CodStato, string CodEvento, string NextCodStato, string CmdPlugin, string text2show, string descrComando) { + if ((CodMappa == null)) { + throw new global::System.ArgumentNullException("CodMappa"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodMappa)); + } + if ((CodObj == null)) { + throw new global::System.ArgumentNullException("CodObj"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodObj)); + } + if ((CodStato == null)) { + throw new global::System.ArgumentNullException("CodStato"); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodStato)); + } + if ((CodEvento == null)) { + throw new global::System.ArgumentNullException("CodEvento"); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodEvento)); + } + if ((NextCodStato == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(NextCodStato)); + } + if ((CmdPlugin == null)) { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CmdPlugin)); + } + if ((text2show == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(text2show)); + } + if ((descrComando == null)) { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(descrComando)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodMappa, + string CodObj, + string CodStato, + string CodEvento, + string NextCodStato, + string CmdPlugin, + string text2show, + string descrComando, + string Original_CodMappa, + string Original_CodObj, + string Original_CodStato, + string Original_CodEvento, + string Original_NextCodStato, + string Original_CmdPlugin, + string Original_text2show, + string Original_descrComando) { + if ((CodMappa == null)) { + throw new global::System.ArgumentNullException("CodMappa"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodMappa)); + } + if ((CodObj == null)) { + throw new global::System.ArgumentNullException("CodObj"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodObj)); + } + if ((CodStato == null)) { + throw new global::System.ArgumentNullException("CodStato"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodStato)); + } + if ((CodEvento == null)) { + throw new global::System.ArgumentNullException("CodEvento"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodEvento)); + } + if ((NextCodStato == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(NextCodStato)); + } + if ((CmdPlugin == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CmdPlugin)); + } + if ((text2show == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(text2show)); + } + if ((descrComando == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(descrComando)); + } + if ((Original_CodMappa == null)) { + throw new global::System.ArgumentNullException("Original_CodMappa"); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodMappa)); + } + if ((Original_CodObj == null)) { + throw new global::System.ArgumentNullException("Original_CodObj"); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_CodObj)); + } + if ((Original_CodStato == null)) { + throw new global::System.ArgumentNullException("Original_CodStato"); + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_CodStato)); + } + if ((Original_CodEvento == null)) { + throw new global::System.ArgumentNullException("Original_CodEvento"); + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_CodEvento)); + } + if ((Original_NextCodStato == null)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_NextCodStato)); + } + if ((Original_CmdPlugin == null)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_CmdPlugin)); + } + if ((Original_text2show == null)) { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_text2show)); + } + if ((Original_descrComando == null)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_descrComando)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string NextCodStato, string CmdPlugin, string text2show, string descrComando, string Original_CodMappa, string Original_CodObj, string Original_CodStato, string Original_CodEvento, string Original_NextCodStato, string Original_CmdPlugin, string Original_text2show, string Original_descrComando) { + return this.Update(Original_CodMappa, Original_CodObj, Original_CodStato, Original_CodEvento, NextCodStato, CmdPlugin, text2show, descrComando, Original_CodMappa, Original_CodObj, Original_CodStato, Original_CodEvento, Original_NextCodStato, Original_CmdPlugin, Original_text2show, Original_descrComando); + } + } + + /// + ///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 v_logStatiTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_logStatiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "v_logStati"; + tableMapping.ColumnMappings.Add("IdxObj", "IdxObj"); + tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); + tableMapping.ColumnMappings.Add("Nome", "Nome"); + tableMapping.ColumnMappings.Add("DataRif", "DataRif"); + tableMapping.ColumnMappings.Add("Note", "Note"); + tableMapping.ColumnMappings.Add("ExtKey", "ExtKey"); + tableMapping.ColumnMappings.Add("DataOra", "DataOra"); + tableMapping.ColumnMappings.Add("DescrStato", "DescrStato"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT IdxObj, CodCliente, Nome, DataRif, Note, ExtKey, DataOra, DescrStato FROM " + + "dbo.v_logStati"; + 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 = "SELECT IdxObj, CodCliente, Nome, DataRif, Note, ExtKey, DataOra, DescrStat" + + "o\r\nFROM v_logStati\r\nWHERE (IdxObj = @IdxObj)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "IdxObj", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.v_logStatiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.v_logStatiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.v_logStatiDataTable dataTable = new DS_applicazione.v_logStatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.v_logStatiDataTable getByIdxObj(string IdxObj) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((IdxObj == null)) { + throw new global::System.ArgumentNullException("IdxObj"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(IdxObj)); + } + DS_applicazione.v_logStatiDataTable dataTable = new DS_applicazione.v_logStatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 sp_contaNonSchedTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_contaNonSchedTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "sp_contaNonSched"; + tableMapping.ColumnMappings.Add("quanti", "quanti"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.sp_contaNonSched"; + 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("@codComune", global::System.Data.SqlDbType.VarChar, 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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.sp_contaNonSchedDataTable dataTable, string codComune) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((codComune == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(codComune)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.sp_contaNonSchedDataTable GetData(string codComune) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((codComune == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(codComune)); + } + DS_applicazione.sp_contaNonSchedDataTable dataTable = new DS_applicazione.sp_contaNonSchedDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 sp_schedaIdentTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_schedaIdentTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "sp_schedaIdent"; + tableMapping.ColumnMappings.Add("IdxObj", "IdxObj"); + tableMapping.ColumnMappings.Add("Cliente", "Cliente"); + tableMapping.ColumnMappings.Add("DDT", "DDT"); + tableMapping.ColumnMappings.Add("DDT_del", "DDT_del"); + tableMapping.ColumnMappings.Add("DataArrivo", "DataArrivo"); + tableMapping.ColumnMappings.Add("CodProdotto", "CodProdotto"); + tableMapping.ColumnMappings.Add("ConsegnaPrevista", "ConsegnaPrevista"); + tableMapping.ColumnMappings.Add("Peso", "Peso"); + tableMapping.ColumnMappings.Add("FosfManganese", "FosfManganese"); + tableMapping.ColumnMappings.Add("Brunitura", "Brunitura"); + tableMapping.ColumnMappings.Add("FosfTeflon", "FosfTeflon"); + tableMapping.ColumnMappings.Add("Sabbiatura", "Sabbiatura"); + tableMapping.ColumnMappings.Add("F1", "F1"); + tableMapping.ColumnMappings.Add("F2", "F2"); + tableMapping.ColumnMappings.Add("FosfZinco", "FosfZinco"); + tableMapping.ColumnMappings.Add("Teflon", "Teflon"); + tableMapping.ColumnMappings.Add("FosfPreVern", "FosfPreVern"); + tableMapping.ColumnMappings.Add("PzRoto", "PzRoto"); + tableMapping.ColumnMappings.Add("Zinchlorex", "Zinchlorex"); + tableMapping.ColumnMappings.Add("PeekVicote", "PeekVicote"); + tableMapping.ColumnMappings.Add("CodCli", "CodCli"); + tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.sp_schedaIdent"; + 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("@IdxObj", global::System.Data.SqlDbType.VarChar, 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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.sp_schedaIdentDataTable dataTable, string IdxObj) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((IdxObj == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxObj)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.sp_schedaIdentDataTable GetData(string IdxObj) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((IdxObj == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxObj)); + } + DS_applicazione.sp_schedaIdentDataTable dataTable = new DS_applicazione.sp_schedaIdentDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 sp_ddtTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public sp_ddtTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "sp_ddt"; + tableMapping.ColumnMappings.Add("IdxObj", "IdxObj"); + tableMapping.ColumnMappings.Add("DataCreaz", "DataCreaz"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.sp_ddt"; + 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("@IdxObj", global::System.Data.SqlDbType.VarChar, 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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.sp_ddtDataTable dataTable, string IdxObj) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((IdxObj == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxObj)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.sp_ddtDataTable GetData(string IdxObj) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((IdxObj == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxObj)); + } + DS_applicazione.sp_ddtDataTable dataTable = new DS_applicazione.sp_ddtDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 SP : global::System.ComponentModel.Component { + + private global::System.Data.IDbCommand[] _commandCollection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.IDbCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.IDbCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Connection = new global::System.Data.SqlClient.SqlConnection(global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandText = "dbo.sp_updateAncestorState"; + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandType = global::System.Data.CommandType.StoredProcedure; + ((global::System.Data.SqlClient.SqlCommand)(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, "", "", "")); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxObjCommon", global::System.Data.SqlDbType.VarChar, 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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int sp_updateAncestorState(string idxObjCommon) { + global::System.Data.SqlClient.SqlCommand command = ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[0])); + if ((idxObjCommon == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(idxObjCommon)); + } + 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; + } + } + + /// + ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + + "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] + public partial class TableAdapterManager : global::System.ComponentModel.Component { + + private UpdateOrderOption _updateOrder; + + private AnagClientiTableAdapter _anagClientiTableAdapter; + + private AnagTrattamentiTableAdapter _anagTrattamentiTableAdapter; + + private Tratt2ObjTableAdapter _tratt2ObjTableAdapter; + + private IstObjTableAdapter _istObjTableAdapter; + + private EventiTableAdapter _eventiTableAdapter; + + private TraEv2StatiTableAdapter _traEv2StatiTableAdapter; + + private bool _backupDataSetBeforeUpdate; + + private global::System.Data.IDbConnection _connection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UpdateOrderOption UpdateOrder { + get { + return this._updateOrder; + } + set { + this._updateOrder = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagClientiTableAdapter AnagClientiTableAdapter { + get { + return this._anagClientiTableAdapter; + } + set { + this._anagClientiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagTrattamentiTableAdapter AnagTrattamentiTableAdapter { + get { + return this._anagTrattamentiTableAdapter; + } + set { + this._anagTrattamentiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public Tratt2ObjTableAdapter Tratt2ObjTableAdapter { + get { + return this._tratt2ObjTableAdapter; + } + set { + this._tratt2ObjTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public IstObjTableAdapter IstObjTableAdapter { + get { + return this._istObjTableAdapter; + } + set { + this._istObjTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public EventiTableAdapter EventiTableAdapter { + get { + return this._eventiTableAdapter; + } + set { + this._eventiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public TraEv2StatiTableAdapter TraEv2StatiTableAdapter { + get { + return this._traEv2StatiTableAdapter; + } + set { + this._traEv2StatiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool BackupDataSetBeforeUpdate { + get { + return this._backupDataSetBeforeUpdate; + } + set { + this._backupDataSetBeforeUpdate = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public global::System.Data.IDbConnection Connection { + get { + if ((this._connection != null)) { + return this._connection; + } + if (((this._anagClientiTableAdapter != null) + && (this._anagClientiTableAdapter.Connection != null))) { + return this._anagClientiTableAdapter.Connection; + } + if (((this._anagTrattamentiTableAdapter != null) + && (this._anagTrattamentiTableAdapter.Connection != null))) { + return this._anagTrattamentiTableAdapter.Connection; + } + if (((this._tratt2ObjTableAdapter != null) + && (this._tratt2ObjTableAdapter.Connection != null))) { + return this._tratt2ObjTableAdapter.Connection; + } + if (((this._istObjTableAdapter != null) + && (this._istObjTableAdapter.Connection != null))) { + return this._istObjTableAdapter.Connection; + } + if (((this._eventiTableAdapter != null) + && (this._eventiTableAdapter.Connection != null))) { + return this._eventiTableAdapter.Connection; + } + if (((this._traEv2StatiTableAdapter != null) + && (this._traEv2StatiTableAdapter.Connection != null))) { + return this._traEv2StatiTableAdapter.Connection; + } + return null; + } + set { + this._connection = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int TableAdapterInstanceCount { + get { + int count = 0; + if ((this._anagClientiTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagTrattamentiTableAdapter != null)) { + count = (count + 1); + } + if ((this._tratt2ObjTableAdapter != null)) { + count = (count + 1); + } + if ((this._istObjTableAdapter != null)) { + count = (count + 1); + } + if ((this._eventiTableAdapter != null)) { + count = (count + 1); + } + if ((this._traEv2StatiTableAdapter != null)) { + count = (count + 1); + } + return count; + } + } + + /// + ///Update rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateUpdatedRows(DS_applicazione dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._anagClientiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagClientiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagTrattamentiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagTrattamenti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagTrattamentiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._istObjTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.IstObj.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._istObjTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._eventiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.Eventi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._eventiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._tratt2ObjTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.Tratt2Obj.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._tratt2ObjTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._traEv2StatiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.TraEv2Stati.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._traEv2StatiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + return result; + } + + /// + ///Insert rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateInsertedRows(DS_applicazione dataSet, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._anagClientiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagClientiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagTrattamentiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagTrattamenti.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagTrattamentiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._istObjTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.IstObj.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._istObjTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._eventiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.Eventi.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._eventiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._tratt2ObjTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.Tratt2Obj.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._tratt2ObjTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._traEv2StatiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.TraEv2Stati.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._traEv2StatiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + return result; + } + + /// + ///Delete rows in bottom-up order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateDeletedRows(DS_applicazione dataSet, global::System.Collections.Generic.List allChangedRows) { + int result = 0; + if ((this._traEv2StatiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.TraEv2Stati.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._traEv2StatiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._tratt2ObjTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Tratt2Obj.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._tratt2ObjTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._eventiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Eventi.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._eventiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._istObjTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.IstObj.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._istObjTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagTrattamentiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagTrattamenti.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagTrattamentiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagClientiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagClientiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + return result; + } + + /// + ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { + if (((updatedRows == null) + || (updatedRows.Length < 1))) { + return updatedRows; + } + if (((allAddedRows == null) + || (allAddedRows.Count < 1))) { + return updatedRows; + } + global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); + for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { + global::System.Data.DataRow row = updatedRows[i]; + if ((allAddedRows.Contains(row) == false)) { + realUpdatedRows.Add(row); + } + } + return realUpdatedRows.ToArray(); + } + + /// + ///Update all changes to the dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public virtual int UpdateAll(DS_applicazione dataSet) { + if ((dataSet == null)) { + throw new global::System.ArgumentNullException("dataSet"); + } + if ((dataSet.HasChanges() == false)) { + return 0; + } + if (((this._anagClientiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagClientiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagTrattamentiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagTrattamentiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._tratt2ObjTableAdapter != null) + && (this.MatchTableAdapterConnection(this._tratt2ObjTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._istObjTableAdapter != null) + && (this.MatchTableAdapterConnection(this._istObjTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._eventiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._eventiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._traEv2StatiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._traEv2StatiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + global::System.Data.IDbConnection workConnection = this.Connection; + if ((workConnection == null)) { + throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + + "ger TableAdapter property to a valid TableAdapter instance."); + } + bool workConnOpened = false; + if (((workConnection.State & global::System.Data.ConnectionState.Broken) + == global::System.Data.ConnectionState.Broken)) { + workConnection.Close(); + } + if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { + workConnection.Open(); + workConnOpened = true; + } + global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); + if ((workTransaction == null)) { + throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + + "ctions or the current state is not allowing the transaction to begin."); + } + global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); + int result = 0; + global::System.Data.DataSet backupDataSet = null; + if (this.BackupDataSetBeforeUpdate) { + backupDataSet = new global::System.Data.DataSet(); + backupDataSet.Merge(dataSet); + } + try { + // ---- Prepare for update ----------- + // + if ((this._anagClientiTableAdapter != null)) { + revertConnections.Add(this._anagClientiTableAdapter, this._anagClientiTableAdapter.Connection); + this._anagClientiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagClientiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagClientiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagClientiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagClientiTableAdapter.Adapter); + } + } + if ((this._anagTrattamentiTableAdapter != null)) { + revertConnections.Add(this._anagTrattamentiTableAdapter, this._anagTrattamentiTableAdapter.Connection); + this._anagTrattamentiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagTrattamentiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagTrattamentiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagTrattamentiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagTrattamentiTableAdapter.Adapter); + } + } + if ((this._tratt2ObjTableAdapter != null)) { + revertConnections.Add(this._tratt2ObjTableAdapter, this._tratt2ObjTableAdapter.Connection); + this._tratt2ObjTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._tratt2ObjTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._tratt2ObjTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._tratt2ObjTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._tratt2ObjTableAdapter.Adapter); + } + } + if ((this._istObjTableAdapter != null)) { + revertConnections.Add(this._istObjTableAdapter, this._istObjTableAdapter.Connection); + this._istObjTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._istObjTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._istObjTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._istObjTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._istObjTableAdapter.Adapter); + } + } + if ((this._eventiTableAdapter != null)) { + revertConnections.Add(this._eventiTableAdapter, this._eventiTableAdapter.Connection); + this._eventiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._eventiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._eventiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._eventiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._eventiTableAdapter.Adapter); + } + } + if ((this._traEv2StatiTableAdapter != null)) { + revertConnections.Add(this._traEv2StatiTableAdapter, this._traEv2StatiTableAdapter.Connection); + this._traEv2StatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._traEv2StatiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._traEv2StatiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._traEv2StatiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._traEv2StatiTableAdapter.Adapter); + } + } + // + //---- Perform updates ----------- + // + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + } + else { + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + } + result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); + // + //---- Commit updates ----------- + // + workTransaction.Commit(); + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + if ((0 < allChangedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; + allChangedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + } + catch (global::System.Exception ex) { + workTransaction.Rollback(); + // ---- Restore the dataset ----------- + if (this.BackupDataSetBeforeUpdate) { + global::System.Diagnostics.Debug.Assert((backupDataSet != null)); + dataSet.Clear(); + dataSet.Merge(backupDataSet); + } + else { + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + row.SetAdded(); + } + } + } + throw ex; + } + finally { + if (workConnOpened) { + workConnection.Close(); + } + if ((this._anagClientiTableAdapter != null)) { + this._anagClientiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagClientiTableAdapter])); + this._anagClientiTableAdapter.Transaction = null; + } + if ((this._anagTrattamentiTableAdapter != null)) { + this._anagTrattamentiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagTrattamentiTableAdapter])); + this._anagTrattamentiTableAdapter.Transaction = null; + } + if ((this._tratt2ObjTableAdapter != null)) { + this._tratt2ObjTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tratt2ObjTableAdapter])); + this._tratt2ObjTableAdapter.Transaction = null; + } + if ((this._istObjTableAdapter != null)) { + this._istObjTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._istObjTableAdapter])); + this._istObjTableAdapter.Transaction = null; + } + if ((this._eventiTableAdapter != null)) { + this._eventiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eventiTableAdapter])); + this._eventiTableAdapter.Transaction = null; + } + if ((this._traEv2StatiTableAdapter != null)) { + this._traEv2StatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._traEv2StatiTableAdapter])); + this._traEv2StatiTableAdapter.Transaction = null; + } + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; + adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); + for (int i = 0; (i < adapters.Length); i = (i + 1)) { + global::System.Data.Common.DataAdapter adapter = adapters[i]; + adapter.AcceptChangesDuringUpdate = true; + } + } + } + return result; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { + if ((this._connection != null)) { + return true; + } + if (((this.Connection == null) + || (inputConnection == null))) { + return true; + } + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + return true; + } + return false; + } + + /// + ///Update Order Option + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public enum UpdateOrderOption { + + InsertUpdateDelete = 0, + + UpdateInsertDelete = 1, + } + + /// + ///Used to sort self-referenced table's rows + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { + + private global::System.Data.DataRelation _relation; + + private int _childFirst; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + this._relation = relation; + if (childFirst) { + this._childFirst = -1; + } + else { + this._childFirst = 1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { + global::System.Diagnostics.Debug.Assert((row != null)); + global::System.Data.DataRow root = row; + distance = 0; + + global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); + traversedRows[row] = row; + + global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + } + + if ((distance == 0)) { + traversedRows.Clear(); + traversedRows[row] = row; + parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + } + } + + return root; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { + if (object.ReferenceEquals(row1, row2)) { + return 0; + } + if ((row1 == null)) { + return -1; + } + if ((row2 == null)) { + return 1; + } + + int distance1 = 0; + global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); + + int distance2 = 0; + global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); + + if (object.ReferenceEquals(root1, root2)) { + return (this._childFirst * distance1.CompareTo(distance2)); + } + else { + global::System.Diagnostics.Debug.Assert(((root1.Table != null) + && (root2.Table != null))); + if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { + return -1; + } + else { + return 1; + } + } + } + } + } +} + #pragma warning restore 1591 \ No newline at end of file diff --git a/project/XPS_data/DS_applicazione.xsc b/XPS_data/DS_applicazione.xsc similarity index 97% rename from project/XPS_data/DS_applicazione.xsc rename to XPS_data/DS_applicazione.xsc index 551fc56..05b0199 100644 --- a/project/XPS_data/DS_applicazione.xsc +++ b/XPS_data/DS_applicazione.xsc @@ -1,9 +1,9 @@ - - - - + + + + \ No newline at end of file diff --git a/project/XPS_data/DS_applicazione.xsd b/XPS_data/DS_applicazione.xsd similarity index 99% rename from project/XPS_data/DS_applicazione.xsd rename to XPS_data/DS_applicazione.xsd index adbd8cd..0720fe7 100644 --- a/project/XPS_data/DS_applicazione.xsd +++ b/XPS_data/DS_applicazione.xsd @@ -1,2031 +1,2031 @@ - - - - - - - - - - - - - - - DELETE FROM [dbo].[AnagClienti] WHERE (([CodCliente] = @Original_CodCliente) AND ((@IsNull_RagioneSociale = 1 AND [RagioneSociale] IS NULL) OR ([RagioneSociale] = @Original_RagioneSociale)) AND ((@IsNull_piva = 1 AND [piva] IS NULL) OR ([piva] = @Original_piva)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_indirizzo = 1 AND [indirizzo] IS NULL) OR ([indirizzo] = @Original_indirizzo)) AND ((@IsNull_cap = 1 AND [cap] IS NULL) OR ([cap] = @Original_cap)) AND ((@IsNull_localita = 1 AND [localita] IS NULL) OR ([localita] = @Original_localita)) AND ((@IsNull_provincia = 1 AND [provincia] IS NULL) OR ([provincia] = @Original_provincia))) - - - - - - - - - - - - - - - - - - - - - - INSERT INTO [dbo].[AnagClienti] ([CodCliente], [RagioneSociale], [piva], [email], [indirizzo], [cap], [localita], [provincia]) VALUES (@CodCliente, @RagioneSociale, @piva, @email, @indirizzo, @cap, @localita, @provincia); -SELECT CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provincia FROM AnagClienti WHERE (CodCliente = @CodCliente) - - - - - - - - - - - - - - - SELECT * FROM dbo.AnagClienti - - - - - - UPDATE [dbo].[AnagClienti] SET [CodCliente] = @CodCliente, [RagioneSociale] = @RagioneSociale, [piva] = @piva, [email] = @email, [indirizzo] = @indirizzo, [cap] = @cap, [localita] = @localita, [provincia] = @provincia WHERE (([CodCliente] = @Original_CodCliente) AND ((@IsNull_RagioneSociale = 1 AND [RagioneSociale] IS NULL) OR ([RagioneSociale] = @Original_RagioneSociale)) AND ((@IsNull_piva = 1 AND [piva] IS NULL) OR ([piva] = @Original_piva)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_indirizzo = 1 AND [indirizzo] IS NULL) OR ([indirizzo] = @Original_indirizzo)) AND ((@IsNull_cap = 1 AND [cap] IS NULL) OR ([cap] = @Original_cap)) AND ((@IsNull_localita = 1 AND [localita] IS NULL) OR ([localita] = @Original_localita)) AND ((@IsNull_provincia = 1 AND [provincia] IS NULL) OR ([provincia] = @Original_provincia))); -SELECT CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provincia FROM AnagClienti WHERE (CodCliente = @CodCliente) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dbo.stp_AnagCliGetByKey - - - - - - - - - - - dbo.stp_AnagCliUpdate - - - - - - - - - - - - - - - - - - - - - - DELETE FROM [dbo].[AnagTrattamenti] WHERE (([CodTrattamento] = @Original_CodTrattamento) AND ((@IsNull_DescrTrattamento = 1 AND [DescrTrattamento] IS NULL) OR ([DescrTrattamento] = @Original_DescrTrattamento))) - - - - - - - - - - INSERT INTO [dbo].[AnagTrattamenti] ([CodTrattamento], [DescrTrattamento]) VALUES (@CodTrattamento, @DescrTrattamento); -SELECT CodTrattamento, DescrTrattamento FROM AnagTrattamenti WHERE (CodTrattamento = @CodTrattamento) - - - - - - - - - SELECT CodTrattamento, DescrTrattamento FROM dbo.AnagTrattamenti - - - - - - UPDATE [dbo].[AnagTrattamenti] SET [CodTrattamento] = @CodTrattamento, [DescrTrattamento] = @DescrTrattamento WHERE (([CodTrattamento] = @Original_CodTrattamento) AND ((@IsNull_DescrTrattamento = 1 AND [DescrTrattamento] IS NULL) OR ([DescrTrattamento] = @Original_DescrTrattamento))); -SELECT CodTrattamento, DescrTrattamento FROM AnagTrattamenti WHERE (CodTrattamento = @CodTrattamento) - - - - - - - - - - - - - - - - - - - - - - - DELETE FROM [dbo].[Tratt2Obj] WHERE (([IdxObj] = @Original_IdxObj) AND ([CodTrattamento] = @Original_CodTrattamento) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note))) - - - - - - - - - - - INSERT INTO [dbo].[Tratt2Obj] ([IdxObj], [CodTrattamento], [Note]) VALUES (@IdxObj, @CodTrattamento, @Note); -SELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj WHERE (CodTrattamento = @CodTrattamento) AND (IdxObj = @IdxObj) - - - - - - - - - - SELECT IdxObj, CodTrattamento, Note FROM dbo.Tratt2Obj - - - - - - UPDATE [dbo].[Tratt2Obj] SET [IdxObj] = @IdxObj, [CodTrattamento] = @CodTrattamento, [Note] = @Note WHERE (([IdxObj] = @Original_IdxObj) AND ([CodTrattamento] = @Original_CodTrattamento) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note))); -SELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj WHERE (CodTrattamento = @CodTrattamento) AND (IdxObj = @IdxObj) - - - - - - - - - - - - - - - - - - - - - - - - - - SELECT * FROM v_commesse ORDER BY DataArrivo DESC - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dbo.stp_vElComm_getByCod - - - - - - - - - - - dbo.stp_vElComm_getByCodFiltro - - - - - - - - - - - dbo.sp_creaSetObj - - - - - - - - - - - - - - - - - - - dbo.sp_delObj - - - - - - - - - - - dbo.stp_IstObjUpdateMag - - - - - - - - - - - - - - - - - - - - - DELETE FROM [IstObj] WHERE (([IdxObj] = @Original_IdxObj) AND ((@IsNull_CodCliente = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodCliente)) AND ((@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsNull_Posizione = 1 AND [Posizione] IS NULL) OR ([Posizione] = @Original_Posizione)) AND ((@IsNull_Livello = 1 AND [Livello] IS NULL) OR ([Livello] = @Original_Livello)) AND ((@IsNull_Rev = 1 AND [Rev] IS NULL) OR ([Rev] = @Original_Rev)) AND ((@IsNull_CodObj = 1 AND [CodObj] IS NULL) OR ([CodObj] = @Original_CodObj)) AND ((@IsNull_Nome = 1 AND [Nome] IS NULL) OR ([Nome] = @Original_Nome)) AND ((@IsNull_DataRif = 1 AND [DataRif] IS NULL) OR ([DataRif] = @Original_DataRif)) AND ((@IsNull_IdxObjMamma = 1 AND [IdxObjMamma] IS NULL) OR ([IdxObjMamma] = @Original_IdxObjMamma)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note)) AND ((@IsNull_ExtKey = 1 AND [ExtKey] IS NULL) OR ([ExtKey] = @Original_ExtKey)) AND ((@IsNull_DueDate = 1 AND [DueDate] IS NULL) OR ([DueDate] = @Original_DueDate)) AND ((@IsNull_LeadTime = 1 AND [LeadTime] IS NULL) OR ([LeadTime] = @Original_LeadTime)) AND ((@IsNull_LeadTimeUM = 1 AND [LeadTimeUM] IS NULL) OR ([LeadTimeUM] = @Original_LeadTimeUM)) AND ((@IsNull_UserCreaz = 1 AND [UserCreaz] IS NULL) OR ([UserCreaz] = @Original_UserCreaz)) AND ((@IsNull_DataCreaz = 1 AND [DataCreaz] IS NULL) OR ([DataCreaz] = @Original_DataCreaz)) AND ((@IsNull_UserMod = 1 AND [UserMod] IS NULL) OR ([UserMod] = @Original_UserMod)) AND ((@IsNull_DataMod = 1 AND [DataMod] IS NULL) OR ([DataMod] = @Original_DataMod)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_Peso = 1 AND [Peso] IS NULL) OR ([Peso] = @Original_Peso)) AND ((@IsNull_emailReq = 1 AND [emailReq] IS NULL) OR ([emailReq] = @Original_emailReq)) AND ((@IsNull_emailSent = 1 AND [emailSent] IS NULL) OR ([emailSent] = @Original_emailSent))) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - INSERT INTO [IstObj] ([IdxObj], [CodCliente], [CodStato], [Posizione], [Livello], [Rev], [CodObj], [Nome], [DataRif], [IdxObjMamma], [Note], [ExtKey], [DueDate], [LeadTime], [LeadTimeUM], [UserCreaz], [DataCreaz], [UserMod], [DataMod], [Qta], [Peso], [emailReq], [emailSent]) VALUES (@IdxObj, @CodCliente, @CodStato, @Posizione, @Livello, @Rev, @CodObj, @Nome, @DataRif, @IdxObjMamma, @Note, @ExtKey, @DueDate, @LeadTime, @LeadTimeUM, @UserCreaz, @DataCreaz, @UserMod, @DataMod, @Qta, @Peso, @emailReq, @emailSent); -SELECT IdxObj, CodCliente, CodStato, Posizione, Livello, Rev, CodObj, Nome, DataRif, IdxObjMamma, Note, ExtKey, DueDate, LeadTime, LeadTimeUM, UserCreaz, DataCreaz, UserMod, DataMod, Qta, Peso, emailReq, emailSent FROM IstObj WHERE (IdxObj = @IdxObj) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SELECT IdxObj, CodCliente, CodStato, Posizione, Livello, Rev, CodObj, Nome, DataRif, IdxObjMamma, Note, ExtKey, DueDate, LeadTime, LeadTimeUM, UserCreaz, - DataCreaz, UserMod, DataMod, Qta, Peso, emailReq, emailSent -FROM IstObj - - - - - - UPDATE [IstObj] SET [IdxObj] = @IdxObj, [CodCliente] = @CodCliente, [CodStato] = @CodStato, [Posizione] = @Posizione, [Livello] = @Livello, [Rev] = @Rev, [CodObj] = @CodObj, [Nome] = @Nome, [DataRif] = @DataRif, [IdxObjMamma] = @IdxObjMamma, [Note] = @Note, [ExtKey] = @ExtKey, [DueDate] = @DueDate, [LeadTime] = @LeadTime, [LeadTimeUM] = @LeadTimeUM, [UserCreaz] = @UserCreaz, [DataCreaz] = @DataCreaz, [UserMod] = @UserMod, [DataMod] = @DataMod, [Qta] = @Qta, [Peso] = @Peso, [emailReq] = @emailReq, [emailSent] = @emailSent WHERE (([IdxObj] = @Original_IdxObj) AND ((@IsNull_CodCliente = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodCliente)) AND ((@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsNull_Posizione = 1 AND [Posizione] IS NULL) OR ([Posizione] = @Original_Posizione)) AND ((@IsNull_Livello = 1 AND [Livello] IS NULL) OR ([Livello] = @Original_Livello)) AND ((@IsNull_Rev = 1 AND [Rev] IS NULL) OR ([Rev] = @Original_Rev)) AND ((@IsNull_CodObj = 1 AND [CodObj] IS NULL) OR ([CodObj] = @Original_CodObj)) AND ((@IsNull_Nome = 1 AND [Nome] IS NULL) OR ([Nome] = @Original_Nome)) AND ((@IsNull_DataRif = 1 AND [DataRif] IS NULL) OR ([DataRif] = @Original_DataRif)) AND ((@IsNull_IdxObjMamma = 1 AND [IdxObjMamma] IS NULL) OR ([IdxObjMamma] = @Original_IdxObjMamma)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note)) AND ((@IsNull_ExtKey = 1 AND [ExtKey] IS NULL) OR ([ExtKey] = @Original_ExtKey)) AND ((@IsNull_DueDate = 1 AND [DueDate] IS NULL) OR ([DueDate] = @Original_DueDate)) AND ((@IsNull_LeadTime = 1 AND [LeadTime] IS NULL) OR ([LeadTime] = @Original_LeadTime)) AND ((@IsNull_LeadTimeUM = 1 AND [LeadTimeUM] IS NULL) OR ([LeadTimeUM] = @Original_LeadTimeUM)) AND ((@IsNull_UserCreaz = 1 AND [UserCreaz] IS NULL) OR ([UserCreaz] = @Original_UserCreaz)) AND ((@IsNull_DataCreaz = 1 AND [DataCreaz] IS NULL) OR ([DataCreaz] = @Original_DataCreaz)) AND ((@IsNull_UserMod = 1 AND [UserMod] IS NULL) OR ([UserMod] = @Original_UserMod)) AND ((@IsNull_DataMod = 1 AND [DataMod] IS NULL) OR ([DataMod] = @Original_DataMod)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_Peso = 1 AND [Peso] IS NULL) OR ([Peso] = @Original_Peso)) AND ((@IsNull_emailReq = 1 AND [emailReq] IS NULL) OR ([emailReq] = @Original_emailReq)) AND ((@IsNull_emailSent = 1 AND [emailSent] IS NULL) OR ([emailSent] = @Original_emailSent))); -SELECT IdxObj, CodCliente, CodStato, Posizione, Livello, Rev, CodObj, Nome, DataRif, IdxObjMamma, Note, ExtKey, DueDate, LeadTime, LeadTimeUM, UserCreaz, DataCreaz, UserMod, DataMod, Qta, Peso, emailReq, emailSent FROM IstObj WHERE (IdxObj = @IdxObj) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dbo.stp_IstObj_countSisters - - - - - - - - - - - dbo.stp_IstObj_getByIdx - - - - - - - - - - - dbo.stp_IstObj_lastSister - - - - - - - - - - - dbo.stp_IstObj_updateDueDateULP - - - - - - - - - - - - - - dbo.stp_IstObj_updateEmailSent - - - - - - - - - - - dbo.stp_IstObj_updateStato - - - - - - - - - - - - - - dbo.stp_IstObj_updateStatoTree - - - - - - - - - - - - - - - - - - SELECT Cod, Stato, CodCliente, Cliente, CodCli, descrizione, DDT, DataDDT, DataArrivo, Posizione, Qta, Peso, Colli, DataPrevista, IdxObjMamma, CodStato, minStato, maxStato FROM dbo.v_righe - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SELECT Cliente, Cod, CodCli, CodCliente, CodStato, Colli, DDT, DataArrivo, DataDDT, DataPrevista, IdxObjMamma, Peso, Posizione, Qta, Stato, descrizione, maxStato, minStato FROM v_righe WHERE (IdxObjMamma = @CodMamma) - - - - - - - - - - dbo.sp_clonaRowObj - - - - - - - - - - - dbo.sp_delRow - - - - - - - - - - - UPDATE IstObj -SET Note = @descrizione -WHERE (IdxObj = @Original_Cod) - - - - - - - - - - - - - - - dbo.sp_rec4Day - - - - - - - - - - - - - - - - - - - SELECT Cod, Stato, CodCliente, Cliente, CodCli, descrizione, DDT, DataDDT, DataArrivo, Posizione, Qta, Peso, DataPrevista, IdxObjMamma, CodStato FROM dbo.v_ULP - - - - - - - - - - - - - - - - - - - - - - - - - - - SELECT * FROM v_ULP WHERE (IdxObjMamma = @CodMamma) - - - - - - - - - - SELECT Cod, Stato, CodCliente, Cliente, CodCli, descrizione, DDT, DataDDT, DataArrivo, Posizione, Qta, Peso, DataPrevista, IdxObjMamma, CodStato -FROM v_ULP -WHERE (CodStato = @CodStato) - - - - - - - - - - SELECT Cod, Stato, CodCliente, Cliente, CodCli, descrizione, DDT, DataDDT, DataArrivo, Posizione, Qta, Peso, DataPrevista, IdxObjMamma, CodStato -FROM v_ULP -WHERE (DataPrevista BETWEEN @DataRif AND DATEADD(dd, 1, @DataRif)) AND (CodStato < @MaxStato) - - - - - - - - - - - SELECT * FROM v_ULP -WHERE ((DataPrevista < @DataPrevista) OR (DataPrevista IS NULL)) AND (CodStato< @MaxStato) -ORDER BY DataArrivo - - - - - - - - - - - dbo.sp_clonaObj - - - - - - - - - - - dbo.sp_delRow - - - - - - - - - - - UPDATE IstObj -SET Note = @descrizione, Qta = @Qta, Peso = @Peso, DueDate = @DataPrevista -WHERE (IdxObj = @Original_Cod) - - - - - - - - - - - - - - - - - - DELETE FROM [dbo].[Eventi] WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_CodTipoEvento = 1 AND [CodTipoEvento] IS NULL) OR ([CodTipoEvento] = @Original_CodTipoEvento)) AND ((@IsNull_DescrEvento = 1 AND [DescrEvento] IS NULL) OR ([DescrEvento] = @Original_DescrEvento)) AND ((@IsNull_Action = 1 AND [Action] IS NULL) OR ([Action] = @Original_Action))) - - - - - - - - - - - - - - INSERT INTO [dbo].[Eventi] ([CodEvento], [CodTipoEvento], [DescrEvento], [Action]) VALUES (@CodEvento, @CodTipoEvento, @DescrEvento, @Action); -SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM Eventi WHERE (CodEvento = @CodEvento) - - - - - - - - - - - SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM dbo.Eventi - - - - - - UPDATE [dbo].[Eventi] SET [CodEvento] = @CodEvento, [CodTipoEvento] = @CodTipoEvento, [DescrEvento] = @DescrEvento, [Action] = @Action WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_CodTipoEvento = 1 AND [CodTipoEvento] IS NULL) OR ([CodTipoEvento] = @Original_CodTipoEvento)) AND ((@IsNull_DescrEvento = 1 AND [DescrEvento] IS NULL) OR ([DescrEvento] = @Original_DescrEvento)) AND ((@IsNull_Action = 1 AND [Action] IS NULL) OR ([Action] = @Original_Action))); -SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM Eventi WHERE (CodEvento = @CodEvento) - - - - - - - - - - - - - - - - - - - - - - - - - - - - SELECT DISTINCT Eventi.CodEvento, Eventi.CodTipoEvento, Eventi.DescrEvento, Eventi.Action -FROM Eventi INNER JOIN - TraEv2Stati ON Eventi.CodEvento = TraEv2Stati.CodEvento -WHERE (TraEv2Stati.CodEvento = @CodEvento) - - - - - - - - - - - - - - DELETE FROM [dbo].[TraEv2Stati] WHERE (([CodMappa] = @Original_CodMappa) AND ([CodObj] = @Original_CodObj) AND ([CodStato] = @Original_CodStato) AND ([CodEvento] = @Original_CodEvento) AND ((@IsNull_NextCodStato = 1 AND [NextCodStato] IS NULL) OR ([NextCodStato] = @Original_NextCodStato)) AND ((@IsNull_CmdPlugin = 1 AND [CmdPlugin] IS NULL) OR ([CmdPlugin] = @Original_CmdPlugin)) AND ((@IsNull_text2show = 1 AND [text2show] IS NULL) OR ([text2show] = @Original_text2show)) AND ((@IsNull_descrComando = 1 AND [descrComando] IS NULL) OR ([descrComando] = @Original_descrComando))) - - - - - - - - - - - - - - - - - - - INSERT INTO [dbo].[TraEv2Stati] ([CodMappa], [CodObj], [CodStato], [CodEvento], [NextCodStato], [CmdPlugin], [text2show], [descrComando]) VALUES (@CodMappa, @CodObj, @CodStato, @CodEvento, @NextCodStato, @CmdPlugin, @text2show, @descrComando); -SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show, descrComando FROM TraEv2Stati WHERE (CodEvento = @CodEvento) AND (CodMappa = @CodMappa) AND (CodObj = @CodObj) AND (CodStato = @CodStato) - - - - - - - - - - - - - - - SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show, descrComando FROM dbo.TraEv2Stati - - - - - - UPDATE [dbo].[TraEv2Stati] SET [CodMappa] = @CodMappa, [CodObj] = @CodObj, [CodStato] = @CodStato, [CodEvento] = @CodEvento, [NextCodStato] = @NextCodStato, [CmdPlugin] = @CmdPlugin, [text2show] = @text2show, [descrComando] = @descrComando WHERE (([CodMappa] = @Original_CodMappa) AND ([CodObj] = @Original_CodObj) AND ([CodStato] = @Original_CodStato) AND ([CodEvento] = @Original_CodEvento) AND ((@IsNull_NextCodStato = 1 AND [NextCodStato] IS NULL) OR ([NextCodStato] = @Original_NextCodStato)) AND ((@IsNull_CmdPlugin = 1 AND [CmdPlugin] IS NULL) OR ([CmdPlugin] = @Original_CmdPlugin)) AND ((@IsNull_text2show = 1 AND [text2show] IS NULL) OR ([text2show] = @Original_text2show)) AND ((@IsNull_descrComando = 1 AND [descrComando] IS NULL) OR ([descrComando] = @Original_descrComando))); -SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show, descrComando FROM TraEv2Stati WHERE (CodEvento = @CodEvento) AND (CodMappa = @CodMappa) AND (CodObj = @CodObj) AND (CodStato = @CodStato) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show, descrComando FROM dbo.TraEv2Stati -where CodMappa=@CodMappa - - - - - - - - - - SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show, descrComando -FROM TraEv2Stati -WHERE (CodMappa = @CodMappa) AND (CodObj = @CodObj) AND (CodStato = @CodStato) AND (CodEvento = @CodEvento) - - - - - - - - - - - - - - - - - SELECT IdxObj, CodCliente, Nome, DataRif, Note, ExtKey, DataOra, DescrStato FROM dbo.v_logStati - - - - - - - - - - - - - - - - - - - - SELECT IdxObj, CodCliente, Nome, DataRif, Note, ExtKey, DataOra, DescrStato -FROM v_logStati -WHERE (IdxObj = @IdxObj) - - - - - - - - - - - - - - dbo.sp_contaNonSched - - - - - - - - - - - - - - - - - - - dbo.sp_schedaIdent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dbo.sp_ddt - - - - - - - - - - - - - - - - - - - - dbo.sp_updateAncestorState - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagClienti] WHERE (([CodCliente] = @Original_CodCliente) AND ((@IsNull_RagioneSociale = 1 AND [RagioneSociale] IS NULL) OR ([RagioneSociale] = @Original_RagioneSociale)) AND ((@IsNull_piva = 1 AND [piva] IS NULL) OR ([piva] = @Original_piva)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_indirizzo = 1 AND [indirizzo] IS NULL) OR ([indirizzo] = @Original_indirizzo)) AND ((@IsNull_cap = 1 AND [cap] IS NULL) OR ([cap] = @Original_cap)) AND ((@IsNull_localita = 1 AND [localita] IS NULL) OR ([localita] = @Original_localita)) AND ((@IsNull_provincia = 1 AND [provincia] IS NULL) OR ([provincia] = @Original_provincia))) + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [dbo].[AnagClienti] ([CodCliente], [RagioneSociale], [piva], [email], [indirizzo], [cap], [localita], [provincia]) VALUES (@CodCliente, @RagioneSociale, @piva, @email, @indirizzo, @cap, @localita, @provincia); +SELECT CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provincia FROM AnagClienti WHERE (CodCliente = @CodCliente) + + + + + + + + + + + + + + + SELECT * FROM dbo.AnagClienti + + + + + + UPDATE [dbo].[AnagClienti] SET [CodCliente] = @CodCliente, [RagioneSociale] = @RagioneSociale, [piva] = @piva, [email] = @email, [indirizzo] = @indirizzo, [cap] = @cap, [localita] = @localita, [provincia] = @provincia WHERE (([CodCliente] = @Original_CodCliente) AND ((@IsNull_RagioneSociale = 1 AND [RagioneSociale] IS NULL) OR ([RagioneSociale] = @Original_RagioneSociale)) AND ((@IsNull_piva = 1 AND [piva] IS NULL) OR ([piva] = @Original_piva)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_indirizzo = 1 AND [indirizzo] IS NULL) OR ([indirizzo] = @Original_indirizzo)) AND ((@IsNull_cap = 1 AND [cap] IS NULL) OR ([cap] = @Original_cap)) AND ((@IsNull_localita = 1 AND [localita] IS NULL) OR ([localita] = @Original_localita)) AND ((@IsNull_provincia = 1 AND [provincia] IS NULL) OR ([provincia] = @Original_provincia))); +SELECT CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provincia FROM AnagClienti WHERE (CodCliente = @CodCliente) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_AnagCliGetByKey + + + + + + + + + + + dbo.stp_AnagCliUpdate + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagTrattamenti] WHERE (([CodTrattamento] = @Original_CodTrattamento) AND ((@IsNull_DescrTrattamento = 1 AND [DescrTrattamento] IS NULL) OR ([DescrTrattamento] = @Original_DescrTrattamento))) + + + + + + + + + + INSERT INTO [dbo].[AnagTrattamenti] ([CodTrattamento], [DescrTrattamento]) VALUES (@CodTrattamento, @DescrTrattamento); +SELECT CodTrattamento, DescrTrattamento FROM AnagTrattamenti WHERE (CodTrattamento = @CodTrattamento) + + + + + + + + + SELECT CodTrattamento, DescrTrattamento FROM dbo.AnagTrattamenti + + + + + + UPDATE [dbo].[AnagTrattamenti] SET [CodTrattamento] = @CodTrattamento, [DescrTrattamento] = @DescrTrattamento WHERE (([CodTrattamento] = @Original_CodTrattamento) AND ((@IsNull_DescrTrattamento = 1 AND [DescrTrattamento] IS NULL) OR ([DescrTrattamento] = @Original_DescrTrattamento))); +SELECT CodTrattamento, DescrTrattamento FROM AnagTrattamenti WHERE (CodTrattamento = @CodTrattamento) + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[Tratt2Obj] WHERE (([IdxObj] = @Original_IdxObj) AND ([CodTrattamento] = @Original_CodTrattamento) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note))) + + + + + + + + + + + INSERT INTO [dbo].[Tratt2Obj] ([IdxObj], [CodTrattamento], [Note]) VALUES (@IdxObj, @CodTrattamento, @Note); +SELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj WHERE (CodTrattamento = @CodTrattamento) AND (IdxObj = @IdxObj) + + + + + + + + + + SELECT IdxObj, CodTrattamento, Note FROM dbo.Tratt2Obj + + + + + + UPDATE [dbo].[Tratt2Obj] SET [IdxObj] = @IdxObj, [CodTrattamento] = @CodTrattamento, [Note] = @Note WHERE (([IdxObj] = @Original_IdxObj) AND ([CodTrattamento] = @Original_CodTrattamento) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note))); +SELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj WHERE (CodTrattamento = @CodTrattamento) AND (IdxObj = @IdxObj) + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT * FROM v_commesse ORDER BY DataArrivo DESC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_vElComm_getByCod + + + + + + + + + + + dbo.stp_vElComm_getByCodFiltro + + + + + + + + + + + dbo.sp_creaSetObj + + + + + + + + + + + + + + + + + + + dbo.sp_delObj + + + + + + + + + + + dbo.stp_IstObjUpdateMag + + + + + + + + + + + + + + + + + + + + + DELETE FROM [IstObj] WHERE (([IdxObj] = @Original_IdxObj) AND ((@IsNull_CodCliente = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodCliente)) AND ((@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsNull_Posizione = 1 AND [Posizione] IS NULL) OR ([Posizione] = @Original_Posizione)) AND ((@IsNull_Livello = 1 AND [Livello] IS NULL) OR ([Livello] = @Original_Livello)) AND ((@IsNull_Rev = 1 AND [Rev] IS NULL) OR ([Rev] = @Original_Rev)) AND ((@IsNull_CodObj = 1 AND [CodObj] IS NULL) OR ([CodObj] = @Original_CodObj)) AND ((@IsNull_Nome = 1 AND [Nome] IS NULL) OR ([Nome] = @Original_Nome)) AND ((@IsNull_DataRif = 1 AND [DataRif] IS NULL) OR ([DataRif] = @Original_DataRif)) AND ((@IsNull_IdxObjMamma = 1 AND [IdxObjMamma] IS NULL) OR ([IdxObjMamma] = @Original_IdxObjMamma)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note)) AND ((@IsNull_ExtKey = 1 AND [ExtKey] IS NULL) OR ([ExtKey] = @Original_ExtKey)) AND ((@IsNull_DueDate = 1 AND [DueDate] IS NULL) OR ([DueDate] = @Original_DueDate)) AND ((@IsNull_LeadTime = 1 AND [LeadTime] IS NULL) OR ([LeadTime] = @Original_LeadTime)) AND ((@IsNull_LeadTimeUM = 1 AND [LeadTimeUM] IS NULL) OR ([LeadTimeUM] = @Original_LeadTimeUM)) AND ((@IsNull_UserCreaz = 1 AND [UserCreaz] IS NULL) OR ([UserCreaz] = @Original_UserCreaz)) AND ((@IsNull_DataCreaz = 1 AND [DataCreaz] IS NULL) OR ([DataCreaz] = @Original_DataCreaz)) AND ((@IsNull_UserMod = 1 AND [UserMod] IS NULL) OR ([UserMod] = @Original_UserMod)) AND ((@IsNull_DataMod = 1 AND [DataMod] IS NULL) OR ([DataMod] = @Original_DataMod)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_Peso = 1 AND [Peso] IS NULL) OR ([Peso] = @Original_Peso)) AND ((@IsNull_emailReq = 1 AND [emailReq] IS NULL) OR ([emailReq] = @Original_emailReq)) AND ((@IsNull_emailSent = 1 AND [emailSent] IS NULL) OR ([emailSent] = @Original_emailSent))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [IstObj] ([IdxObj], [CodCliente], [CodStato], [Posizione], [Livello], [Rev], [CodObj], [Nome], [DataRif], [IdxObjMamma], [Note], [ExtKey], [DueDate], [LeadTime], [LeadTimeUM], [UserCreaz], [DataCreaz], [UserMod], [DataMod], [Qta], [Peso], [emailReq], [emailSent]) VALUES (@IdxObj, @CodCliente, @CodStato, @Posizione, @Livello, @Rev, @CodObj, @Nome, @DataRif, @IdxObjMamma, @Note, @ExtKey, @DueDate, @LeadTime, @LeadTimeUM, @UserCreaz, @DataCreaz, @UserMod, @DataMod, @Qta, @Peso, @emailReq, @emailSent); +SELECT IdxObj, CodCliente, CodStato, Posizione, Livello, Rev, CodObj, Nome, DataRif, IdxObjMamma, Note, ExtKey, DueDate, LeadTime, LeadTimeUM, UserCreaz, DataCreaz, UserMod, DataMod, Qta, Peso, emailReq, emailSent FROM IstObj WHERE (IdxObj = @IdxObj) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT IdxObj, CodCliente, CodStato, Posizione, Livello, Rev, CodObj, Nome, DataRif, IdxObjMamma, Note, ExtKey, DueDate, LeadTime, LeadTimeUM, UserCreaz, + DataCreaz, UserMod, DataMod, Qta, Peso, emailReq, emailSent +FROM IstObj + + + + + + UPDATE [IstObj] SET [IdxObj] = @IdxObj, [CodCliente] = @CodCliente, [CodStato] = @CodStato, [Posizione] = @Posizione, [Livello] = @Livello, [Rev] = @Rev, [CodObj] = @CodObj, [Nome] = @Nome, [DataRif] = @DataRif, [IdxObjMamma] = @IdxObjMamma, [Note] = @Note, [ExtKey] = @ExtKey, [DueDate] = @DueDate, [LeadTime] = @LeadTime, [LeadTimeUM] = @LeadTimeUM, [UserCreaz] = @UserCreaz, [DataCreaz] = @DataCreaz, [UserMod] = @UserMod, [DataMod] = @DataMod, [Qta] = @Qta, [Peso] = @Peso, [emailReq] = @emailReq, [emailSent] = @emailSent WHERE (([IdxObj] = @Original_IdxObj) AND ((@IsNull_CodCliente = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodCliente)) AND ((@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsNull_Posizione = 1 AND [Posizione] IS NULL) OR ([Posizione] = @Original_Posizione)) AND ((@IsNull_Livello = 1 AND [Livello] IS NULL) OR ([Livello] = @Original_Livello)) AND ((@IsNull_Rev = 1 AND [Rev] IS NULL) OR ([Rev] = @Original_Rev)) AND ((@IsNull_CodObj = 1 AND [CodObj] IS NULL) OR ([CodObj] = @Original_CodObj)) AND ((@IsNull_Nome = 1 AND [Nome] IS NULL) OR ([Nome] = @Original_Nome)) AND ((@IsNull_DataRif = 1 AND [DataRif] IS NULL) OR ([DataRif] = @Original_DataRif)) AND ((@IsNull_IdxObjMamma = 1 AND [IdxObjMamma] IS NULL) OR ([IdxObjMamma] = @Original_IdxObjMamma)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note)) AND ((@IsNull_ExtKey = 1 AND [ExtKey] IS NULL) OR ([ExtKey] = @Original_ExtKey)) AND ((@IsNull_DueDate = 1 AND [DueDate] IS NULL) OR ([DueDate] = @Original_DueDate)) AND ((@IsNull_LeadTime = 1 AND [LeadTime] IS NULL) OR ([LeadTime] = @Original_LeadTime)) AND ((@IsNull_LeadTimeUM = 1 AND [LeadTimeUM] IS NULL) OR ([LeadTimeUM] = @Original_LeadTimeUM)) AND ((@IsNull_UserCreaz = 1 AND [UserCreaz] IS NULL) OR ([UserCreaz] = @Original_UserCreaz)) AND ((@IsNull_DataCreaz = 1 AND [DataCreaz] IS NULL) OR ([DataCreaz] = @Original_DataCreaz)) AND ((@IsNull_UserMod = 1 AND [UserMod] IS NULL) OR ([UserMod] = @Original_UserMod)) AND ((@IsNull_DataMod = 1 AND [DataMod] IS NULL) OR ([DataMod] = @Original_DataMod)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_Peso = 1 AND [Peso] IS NULL) OR ([Peso] = @Original_Peso)) AND ((@IsNull_emailReq = 1 AND [emailReq] IS NULL) OR ([emailReq] = @Original_emailReq)) AND ((@IsNull_emailSent = 1 AND [emailSent] IS NULL) OR ([emailSent] = @Original_emailSent))); +SELECT IdxObj, CodCliente, CodStato, Posizione, Livello, Rev, CodObj, Nome, DataRif, IdxObjMamma, Note, ExtKey, DueDate, LeadTime, LeadTimeUM, UserCreaz, DataCreaz, UserMod, DataMod, Qta, Peso, emailReq, emailSent FROM IstObj WHERE (IdxObj = @IdxObj) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_IstObj_countSisters + + + + + + + + + + + dbo.stp_IstObj_getByIdx + + + + + + + + + + + dbo.stp_IstObj_lastSister + + + + + + + + + + + dbo.stp_IstObj_updateDueDateULP + + + + + + + + + + + + + + dbo.stp_IstObj_updateEmailSent + + + + + + + + + + + dbo.stp_IstObj_updateStato + + + + + + + + + + + + + + dbo.stp_IstObj_updateStatoTree + + + + + + + + + + + + + + + + + + SELECT Cod, Stato, CodCliente, Cliente, CodCli, descrizione, DDT, DataDDT, DataArrivo, Posizione, Qta, Peso, Colli, DataPrevista, IdxObjMamma, CodStato, minStato, maxStato FROM dbo.v_righe + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT Cliente, Cod, CodCli, CodCliente, CodStato, Colli, DDT, DataArrivo, DataDDT, DataPrevista, IdxObjMamma, Peso, Posizione, Qta, Stato, descrizione, maxStato, minStato FROM v_righe WHERE (IdxObjMamma = @CodMamma) + + + + + + + + + + dbo.sp_clonaRowObj + + + + + + + + + + + dbo.sp_delRow + + + + + + + + + + + UPDATE IstObj +SET Note = @descrizione +WHERE (IdxObj = @Original_Cod) + + + + + + + + + + + + + + + dbo.sp_rec4Day + + + + + + + + + + + + + + + + + + + SELECT Cod, Stato, CodCliente, Cliente, CodCli, descrizione, DDT, DataDDT, DataArrivo, Posizione, Qta, Peso, DataPrevista, IdxObjMamma, CodStato FROM dbo.v_ULP + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT * FROM v_ULP WHERE (IdxObjMamma = @CodMamma) + + + + + + + + + + SELECT Cod, Stato, CodCliente, Cliente, CodCli, descrizione, DDT, DataDDT, DataArrivo, Posizione, Qta, Peso, DataPrevista, IdxObjMamma, CodStato +FROM v_ULP +WHERE (CodStato = @CodStato) + + + + + + + + + + SELECT Cod, Stato, CodCliente, Cliente, CodCli, descrizione, DDT, DataDDT, DataArrivo, Posizione, Qta, Peso, DataPrevista, IdxObjMamma, CodStato +FROM v_ULP +WHERE (DataPrevista BETWEEN @DataRif AND DATEADD(dd, 1, @DataRif)) AND (CodStato < @MaxStato) + + + + + + + + + + + SELECT * FROM v_ULP +WHERE ((DataPrevista < @DataPrevista) OR (DataPrevista IS NULL)) AND (CodStato< @MaxStato) +ORDER BY DataArrivo + + + + + + + + + + + dbo.sp_clonaObj + + + + + + + + + + + dbo.sp_delRow + + + + + + + + + + + UPDATE IstObj +SET Note = @descrizione, Qta = @Qta, Peso = @Peso, DueDate = @DataPrevista +WHERE (IdxObj = @Original_Cod) + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[Eventi] WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_CodTipoEvento = 1 AND [CodTipoEvento] IS NULL) OR ([CodTipoEvento] = @Original_CodTipoEvento)) AND ((@IsNull_DescrEvento = 1 AND [DescrEvento] IS NULL) OR ([DescrEvento] = @Original_DescrEvento)) AND ((@IsNull_Action = 1 AND [Action] IS NULL) OR ([Action] = @Original_Action))) + + + + + + + + + + + + + + INSERT INTO [dbo].[Eventi] ([CodEvento], [CodTipoEvento], [DescrEvento], [Action]) VALUES (@CodEvento, @CodTipoEvento, @DescrEvento, @Action); +SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM Eventi WHERE (CodEvento = @CodEvento) + + + + + + + + + + + SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM dbo.Eventi + + + + + + UPDATE [dbo].[Eventi] SET [CodEvento] = @CodEvento, [CodTipoEvento] = @CodTipoEvento, [DescrEvento] = @DescrEvento, [Action] = @Action WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_CodTipoEvento = 1 AND [CodTipoEvento] IS NULL) OR ([CodTipoEvento] = @Original_CodTipoEvento)) AND ((@IsNull_DescrEvento = 1 AND [DescrEvento] IS NULL) OR ([DescrEvento] = @Original_DescrEvento)) AND ((@IsNull_Action = 1 AND [Action] IS NULL) OR ([Action] = @Original_Action))); +SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM Eventi WHERE (CodEvento = @CodEvento) + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT DISTINCT Eventi.CodEvento, Eventi.CodTipoEvento, Eventi.DescrEvento, Eventi.Action +FROM Eventi INNER JOIN + TraEv2Stati ON Eventi.CodEvento = TraEv2Stati.CodEvento +WHERE (TraEv2Stati.CodEvento = @CodEvento) + + + + + + + + + + + + + + DELETE FROM [dbo].[TraEv2Stati] WHERE (([CodMappa] = @Original_CodMappa) AND ([CodObj] = @Original_CodObj) AND ([CodStato] = @Original_CodStato) AND ([CodEvento] = @Original_CodEvento) AND ((@IsNull_NextCodStato = 1 AND [NextCodStato] IS NULL) OR ([NextCodStato] = @Original_NextCodStato)) AND ((@IsNull_CmdPlugin = 1 AND [CmdPlugin] IS NULL) OR ([CmdPlugin] = @Original_CmdPlugin)) AND ((@IsNull_text2show = 1 AND [text2show] IS NULL) OR ([text2show] = @Original_text2show)) AND ((@IsNull_descrComando = 1 AND [descrComando] IS NULL) OR ([descrComando] = @Original_descrComando))) + + + + + + + + + + + + + + + + + + + INSERT INTO [dbo].[TraEv2Stati] ([CodMappa], [CodObj], [CodStato], [CodEvento], [NextCodStato], [CmdPlugin], [text2show], [descrComando]) VALUES (@CodMappa, @CodObj, @CodStato, @CodEvento, @NextCodStato, @CmdPlugin, @text2show, @descrComando); +SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show, descrComando FROM TraEv2Stati WHERE (CodEvento = @CodEvento) AND (CodMappa = @CodMappa) AND (CodObj = @CodObj) AND (CodStato = @CodStato) + + + + + + + + + + + + + + + SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show, descrComando FROM dbo.TraEv2Stati + + + + + + UPDATE [dbo].[TraEv2Stati] SET [CodMappa] = @CodMappa, [CodObj] = @CodObj, [CodStato] = @CodStato, [CodEvento] = @CodEvento, [NextCodStato] = @NextCodStato, [CmdPlugin] = @CmdPlugin, [text2show] = @text2show, [descrComando] = @descrComando WHERE (([CodMappa] = @Original_CodMappa) AND ([CodObj] = @Original_CodObj) AND ([CodStato] = @Original_CodStato) AND ([CodEvento] = @Original_CodEvento) AND ((@IsNull_NextCodStato = 1 AND [NextCodStato] IS NULL) OR ([NextCodStato] = @Original_NextCodStato)) AND ((@IsNull_CmdPlugin = 1 AND [CmdPlugin] IS NULL) OR ([CmdPlugin] = @Original_CmdPlugin)) AND ((@IsNull_text2show = 1 AND [text2show] IS NULL) OR ([text2show] = @Original_text2show)) AND ((@IsNull_descrComando = 1 AND [descrComando] IS NULL) OR ([descrComando] = @Original_descrComando))); +SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show, descrComando FROM TraEv2Stati WHERE (CodEvento = @CodEvento) AND (CodMappa = @CodMappa) AND (CodObj = @CodObj) AND (CodStato = @CodStato) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show, descrComando FROM dbo.TraEv2Stati +where CodMappa=@CodMappa + + + + + + + + + + SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show, descrComando +FROM TraEv2Stati +WHERE (CodMappa = @CodMappa) AND (CodObj = @CodObj) AND (CodStato = @CodStato) AND (CodEvento = @CodEvento) + + + + + + + + + + + + + + + + + SELECT IdxObj, CodCliente, Nome, DataRif, Note, ExtKey, DataOra, DescrStato FROM dbo.v_logStati + + + + + + + + + + + + + + + + + + + + SELECT IdxObj, CodCliente, Nome, DataRif, Note, ExtKey, DataOra, DescrStato +FROM v_logStati +WHERE (IdxObj = @IdxObj) + + + + + + + + + + + + + + dbo.sp_contaNonSched + + + + + + + + + + + + + + + + + + + dbo.sp_schedaIdent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.sp_ddt + + + + + + + + + + + + + + + + + + + + dbo.sp_updateAncestorState + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/project/XPS_data/DS_applicazione.xss b/XPS_data/DS_applicazione.xss similarity index 98% rename from project/XPS_data/DS_applicazione.xss rename to XPS_data/DS_applicazione.xss index 95ecc76..5fbfe2b 100644 --- a/project/XPS_data/DS_applicazione.xss +++ b/XPS_data/DS_applicazione.xss @@ -1,79 +1,79 @@ - - - - - - - - - - - - - - - - - - - - - - - - - 1023 - 158 - - - 1023 - 215 - - - 1013 - 215 - - - - - - - 769 - 265 - - - 813 - 265 - - - - - - - 432 - 89 - - - 496 - 89 - - - - - - - 181 - 355 - - - 282 - 355 - - - - + + + + + + + + + + + + + + + + + + + + + + + + + 1023 + 158 + + + 1023 + 215 + + + 1013 + 215 + + + + + + + 769 + 265 + + + 813 + 265 + + + + + + + 432 + 89 + + + 496 + 89 + + + + + + + 181 + 355 + + + 282 + 355 + + + + \ No newline at end of file diff --git a/project/XPS_data/DS_import.Designer.cs b/XPS_data/DS_import.Designer.cs similarity index 98% rename from project/XPS_data/DS_import.Designer.cs rename to XPS_data/DS_import.Designer.cs index 7308887..5d2388b 100644 --- a/project/XPS_data/DS_import.Designer.cs +++ b/XPS_data/DS_import.Designer.cs @@ -1,8343 +1,8343 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.18046 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -#pragma warning disable 1591 - -namespace XPS_data { - - - /// - ///Represents a strongly typed in-memory cache of data. - /// - [global::System.Serializable()] - [global::System.ComponentModel.DesignerCategoryAttribute("code")] - [global::System.ComponentModel.ToolboxItem(true)] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] - [global::System.Xml.Serialization.XmlRootAttribute("DS_import")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] - public partial class DS_import : global::System.Data.DataSet { - - private aclDataTable tableacl; - - private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public DS_import() { - this.BeginInit(); - this.InitClass(); - global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); - base.Tables.CollectionChanged += schemaChangedHandler; - base.Relations.CollectionChanged += schemaChangedHandler; - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected DS_import(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context, false) { - if ((this.IsBinarySerialized(info, context) == true)) { - this.InitVars(false); - global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); - this.Tables.CollectionChanged += schemaChangedHandler1; - this.Relations.CollectionChanged += schemaChangedHandler1; - return; - } - string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); - if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { - global::System.Data.DataSet ds = new global::System.Data.DataSet(); - ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); - if ((ds.Tables["acl"] != null)) { - base.Tables.Add(new aclDataTable(ds.Tables["acl"])); - } - this.DataSetName = ds.DataSetName; - this.Prefix = ds.Prefix; - this.Namespace = ds.Namespace; - this.Locale = ds.Locale; - this.CaseSensitive = ds.CaseSensitive; - this.EnforceConstraints = ds.EnforceConstraints; - this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); - this.InitVars(); - } - else { - this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); - } - this.GetSerializationData(info, context); - global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); - base.Tables.CollectionChanged += schemaChangedHandler; - this.Relations.CollectionChanged += schemaChangedHandler; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public aclDataTable acl { - get { - return this.tableacl; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.BrowsableAttribute(true)] - [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] - public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { - get { - return this._schemaSerializationMode; - } - set { - this._schemaSerializationMode = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public new global::System.Data.DataTableCollection Tables { - get { - return base.Tables; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public new global::System.Data.DataRelationCollection Relations { - get { - return base.Relations; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void InitializeDerivedDataSet() { - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataSet Clone() { - DS_import cln = ((DS_import)(base.Clone())); - cln.InitVars(); - cln.SchemaSerializationMode = this.SchemaSerializationMode; - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override bool ShouldSerializeTables() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override bool ShouldSerializeRelations() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { - if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { - this.Reset(); - global::System.Data.DataSet ds = new global::System.Data.DataSet(); - ds.ReadXml(reader); - if ((ds.Tables["acl"] != null)) { - base.Tables.Add(new aclDataTable(ds.Tables["acl"])); - } - this.DataSetName = ds.DataSetName; - this.Prefix = ds.Prefix; - this.Namespace = ds.Namespace; - this.Locale = ds.Locale; - this.CaseSensitive = ds.CaseSensitive; - this.EnforceConstraints = ds.EnforceConstraints; - this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); - this.InitVars(); - } - else { - this.ReadXml(reader); - this.InitVars(); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { - global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); - this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); - stream.Position = 0; - return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.InitVars(true); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars(bool initTable) { - this.tableacl = ((aclDataTable)(base.Tables["acl"])); - if ((initTable == true)) { - if ((this.tableacl != null)) { - this.tableacl.InitVars(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.DataSetName = "DS_import"; - this.Prefix = ""; - this.Namespace = "http://tempuri.org/DS_import.xsd"; - this.EnforceConstraints = true; - this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; - this.tableacl = new aclDataTable(); - base.Tables.Add(this.tableacl); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeacl() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { - if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { - this.InitVars(); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - DS_import ds = new DS_import(); - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); - any.Namespace = ds.Namespace; - sequence.Items.Add(any); - 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; - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void aclRowChangeEventHandler(object sender, aclRowChangeEvent e); - - /// - ///Represents the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class aclDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnclcodcn; - - private global::System.Data.DataColumn columnclragd; - - private global::System.Data.DataColumn columncl_flcanc; - - private global::System.Data.DataColumn columnclcod; - - private global::System.Data.DataColumn columnclcdpiva; - - private global::System.Data.DataColumn columnclindi; - - private global::System.Data.DataColumn columnclloca; - - private global::System.Data.DataColumn columnclcapo; - - private global::System.Data.DataColumn columnclprov; - - private global::System.Data.DataColumn columncldist; - - private global::System.Data.DataColumn columnclstat; - - private global::System.Data.DataColumn columnclstatiso; - - private global::System.Data.DataColumn columnclcdfi; - - private global::System.Data.DataColumn columncltele; - - private global::System.Data.DataColumn columnclnfax; - - private global::System.Data.DataColumn columnclindidomfisc; - - private global::System.Data.DataColumn columncllocadomfisc; - - private global::System.Data.DataColumn columnclcapodomfisc; - - private global::System.Data.DataColumn columnclprovdomfisc; - - private global::System.Data.DataColumn columncldistdomfisc; - - private global::System.Data.DataColumn columnclstatdomfisc; - - private global::System.Data.DataColumn columnclstatisodomfisc; - - private global::System.Data.DataColumn columnclteledomfisc; - - private global::System.Data.DataColumn columnclnfaxdomfisc; - - private global::System.Data.DataColumn columnclalle; - - private global::System.Data.DataColumn columnclfldi; - - private global::System.Data.DataColumn columnclcognom; - - private global::System.Data.DataColumn columnclnome; - - private global::System.Data.DataColumn columncldtna; - - private global::System.Data.DataColumn columnclcona; - - private global::System.Data.DataColumn columnclprna; - - private global::System.Data.DataColumn columncluscn; - - private global::System.Data.DataColumn columnclstna; - - private global::System.Data.DataColumn columnclsess; - - private global::System.Data.DataColumn columnclrita; - - private global::System.Data.DataColumn columnclannot1; - - private global::System.Data.DataColumn columnclannot2; - - private global::System.Data.DataColumn columncl_zona; - - private global::System.Data.DataColumn columnclcategoria; - - private global::System.Data.DataColumn columnclcategoria2; - - private global::System.Data.DataColumn columncl_sett_att1; - - private global::System.Data.DataColumn columncl_sett_att2; - - private global::System.Data.DataColumn columnclnote; - - private global::System.Data.DataColumn columncl_categco; - - private global::System.Data.DataColumn columncl_ling; - - private global::System.Data.DataColumn columncl_filiale; - - private global::System.Data.DataColumn columncl_cod_old; - - private global::System.Data.DataColumn columncl_cod_gruppo; - - private global::System.Data.DataColumn columncl_vt1; - - private global::System.Data.DataColumn columncl_vt2; - - private global::System.Data.DataColumn columncl_vt3; - - private global::System.Data.DataColumn columncl_vt4; - - private global::System.Data.DataColumn columnabc_pa_sol_csolv_ID; - - private global::System.Data.DataColumn columncl_solv_dtupd; - - private global::System.Data.DataColumn columncldtfineutil; - - private global::System.Data.DataColumn columncl_fl_decod_anag; - - private global::System.Data.DataColumn columnclindirec; - - private global::System.Data.DataColumn columncllocarec; - - private global::System.Data.DataColumn columnclcaporec; - - private global::System.Data.DataColumn columnclprovrec; - - private global::System.Data.DataColumn columnclnfaxrec; - - private global::System.Data.DataColumn columncltelerec; - - private global::System.Data.DataColumn columnclprcinps; - - private global::System.Data.DataColumn columnclsuffreplica; - - private global::System.Data.DataColumn columncldtins; - - private global::System.Data.DataColumn columncldtvalidini; - - private global::System.Data.DataColumn columnclcdaccisa; - - private global::System.Data.DataColumn columnclnicciaa; - - private global::System.Data.DataColumn columnclnregimp; - - private global::System.Data.DataColumn columnclcod_estero; - - private global::System.Data.DataColumn columnclemail; - - private global::System.Data.DataColumn columnclwww; - - private global::System.Data.DataColumn columnclctrib; - - private global::System.Data.DataColumn columnclCodCausRit; - - private global::System.Data.DataColumn columnclQuadro; - - private global::System.Data.DataColumn columncl_destStampe; - - private global::System.Data.DataColumn columnclragd_n; - - private global::System.Data.DataColumn columnclindi_n; - - private global::System.Data.DataColumn columnclloca_n; - - private global::System.Data.DataColumn columnclindidomfisc_n; - - private global::System.Data.DataColumn columncllocadomfisc_n; - - private global::System.Data.DataColumn columnclindirec_n; - - private global::System.Data.DataColumn columncllocarec_n; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public aclDataTable() { - this.TableName = "acl"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal aclDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected aclDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clcodcnColumn { - get { - return this.columnclcodcn; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clragdColumn { - get { - return this.columnclragd; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cl_flcancColumn { - get { - return this.columncl_flcanc; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clcodColumn { - get { - return this.columnclcod; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clcdpivaColumn { - get { - return this.columnclcdpiva; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clindiColumn { - get { - return this.columnclindi; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cllocaColumn { - get { - return this.columnclloca; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clcapoColumn { - get { - return this.columnclcapo; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clprovColumn { - get { - return this.columnclprov; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cldistColumn { - get { - return this.columncldist; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clstatColumn { - get { - return this.columnclstat; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clstatisoColumn { - get { - return this.columnclstatiso; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clcdfiColumn { - get { - return this.columnclcdfi; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clteleColumn { - get { - return this.columncltele; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clnfaxColumn { - get { - return this.columnclnfax; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clindidomfiscColumn { - get { - return this.columnclindidomfisc; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cllocadomfiscColumn { - get { - return this.columncllocadomfisc; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clcapodomfiscColumn { - get { - return this.columnclcapodomfisc; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clprovdomfiscColumn { - get { - return this.columnclprovdomfisc; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cldistdomfiscColumn { - get { - return this.columncldistdomfisc; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clstatdomfiscColumn { - get { - return this.columnclstatdomfisc; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clstatisodomfiscColumn { - get { - return this.columnclstatisodomfisc; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clteledomfiscColumn { - get { - return this.columnclteledomfisc; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clnfaxdomfiscColumn { - get { - return this.columnclnfaxdomfisc; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clalleColumn { - get { - return this.columnclalle; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clfldiColumn { - get { - return this.columnclfldi; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clcognomColumn { - get { - return this.columnclcognom; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clnomeColumn { - get { - return this.columnclnome; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cldtnaColumn { - get { - return this.columncldtna; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clconaColumn { - get { - return this.columnclcona; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clprnaColumn { - get { - return this.columnclprna; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cluscnColumn { - get { - return this.columncluscn; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clstnaColumn { - get { - return this.columnclstna; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clsessColumn { - get { - return this.columnclsess; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clritaColumn { - get { - return this.columnclrita; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clannot1Column { - get { - return this.columnclannot1; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clannot2Column { - get { - return this.columnclannot2; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cl_zonaColumn { - get { - return this.columncl_zona; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clcategoriaColumn { - get { - return this.columnclcategoria; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clcategoria2Column { - get { - return this.columnclcategoria2; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cl_sett_att1Column { - get { - return this.columncl_sett_att1; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cl_sett_att2Column { - get { - return this.columncl_sett_att2; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clnoteColumn { - get { - return this.columnclnote; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cl_categcoColumn { - get { - return this.columncl_categco; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cl_lingColumn { - get { - return this.columncl_ling; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cl_filialeColumn { - get { - return this.columncl_filiale; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cl_cod_oldColumn { - get { - return this.columncl_cod_old; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cl_cod_gruppoColumn { - get { - return this.columncl_cod_gruppo; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cl_vt1Column { - get { - return this.columncl_vt1; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cl_vt2Column { - get { - return this.columncl_vt2; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cl_vt3Column { - get { - return this.columncl_vt3; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cl_vt4Column { - get { - return this.columncl_vt4; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn abc_pa_sol_csolv_IDColumn { - get { - return this.columnabc_pa_sol_csolv_ID; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cl_solv_dtupdColumn { - get { - return this.columncl_solv_dtupd; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cldtfineutilColumn { - get { - return this.columncldtfineutil; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cl_fl_decod_anagColumn { - get { - return this.columncl_fl_decod_anag; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clindirecColumn { - get { - return this.columnclindirec; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cllocarecColumn { - get { - return this.columncllocarec; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clcaporecColumn { - get { - return this.columnclcaporec; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clprovrecColumn { - get { - return this.columnclprovrec; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clnfaxrecColumn { - get { - return this.columnclnfaxrec; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cltelerecColumn { - get { - return this.columncltelerec; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clprcinpsColumn { - get { - return this.columnclprcinps; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clsuffreplicaColumn { - get { - return this.columnclsuffreplica; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cldtinsColumn { - get { - return this.columncldtins; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cldtvalidiniColumn { - get { - return this.columncldtvalidini; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clcdaccisaColumn { - get { - return this.columnclcdaccisa; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clnicciaaColumn { - get { - return this.columnclnicciaa; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clnregimpColumn { - get { - return this.columnclnregimp; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clcod_esteroColumn { - get { - return this.columnclcod_estero; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clemailColumn { - get { - return this.columnclemail; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clwwwColumn { - get { - return this.columnclwww; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clctribColumn { - get { - return this.columnclctrib; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clCodCausRitColumn { - get { - return this.columnclCodCausRit; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clQuadroColumn { - get { - return this.columnclQuadro; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cl_destStampeColumn { - get { - return this.columncl_destStampe; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clragd_nColumn { - get { - return this.columnclragd_n; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clindi_nColumn { - get { - return this.columnclindi_n; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clloca_nColumn { - get { - return this.columnclloca_n; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clindidomfisc_nColumn { - get { - return this.columnclindidomfisc_n; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cllocadomfisc_nColumn { - get { - return this.columncllocadomfisc_n; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn clindirec_nColumn { - get { - return this.columnclindirec_n; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cllocarec_nColumn { - get { - return this.columncllocarec_n; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public aclRow this[int index] { - get { - return ((aclRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event aclRowChangeEventHandler aclRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event aclRowChangeEventHandler aclRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event aclRowChangeEventHandler aclRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event aclRowChangeEventHandler aclRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddaclRow(aclRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public aclRow AddaclRow( - string clcodcn, - string clragd, - string cl_flcanc, - string clcod, - string clcdpiva, - string clindi, - string clloca, - string clcapo, - string clprov, - string cldist, - string clstat, - string clstatiso, - string clcdfi, - string cltele, - string clnfax, - string clindidomfisc, - string cllocadomfisc, - string clcapodomfisc, - string clprovdomfisc, - string cldistdomfisc, - string clstatdomfisc, - string clstatisodomfisc, - string clteledomfisc, - string clnfaxdomfisc, - string clalle, - string clfldi, - string clcognom, - string clnome, - System.DateTime cldtna, - string clcona, - string clprna, - string cluscn, - string clstna, - string clsess, - float clrita, - string clannot1, - string clannot2, - string cl_zona, - string clcategoria, - string clcategoria2, - string cl_sett_att1, - string cl_sett_att2, - string clnote, - string cl_categco, - string cl_ling, - string cl_filiale, - string cl_cod_old, - string cl_cod_gruppo, - string cl_vt1, - string cl_vt2, - string cl_vt3, - string cl_vt4, - string abc_pa_sol_csolv_ID, - System.DateTime cl_solv_dtupd, - System.DateTime cldtfineutil, - string cl_fl_decod_anag, - string clindirec, - string cllocarec, - string clcaporec, - string clprovrec, - string clnfaxrec, - string cltelerec, - float clprcinps, - string clsuffreplica, - System.DateTime cldtins, - System.DateTime cldtvalidini, - string clcdaccisa, - string clnicciaa, - string clnregimp, - string clcod_estero, - string clemail, - string clwww, - string clctrib, - string clCodCausRit, - string clQuadro, - string cl_destStampe, - string clragd_n, - string clindi_n, - string clloca_n, - string clindidomfisc_n, - string cllocadomfisc_n, - string clindirec_n, - string cllocarec_n) { - aclRow rowaclRow = ((aclRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - clcodcn, - clragd, - cl_flcanc, - clcod, - clcdpiva, - clindi, - clloca, - clcapo, - clprov, - cldist, - clstat, - clstatiso, - clcdfi, - cltele, - clnfax, - clindidomfisc, - cllocadomfisc, - clcapodomfisc, - clprovdomfisc, - cldistdomfisc, - clstatdomfisc, - clstatisodomfisc, - clteledomfisc, - clnfaxdomfisc, - clalle, - clfldi, - clcognom, - clnome, - cldtna, - clcona, - clprna, - cluscn, - clstna, - clsess, - clrita, - clannot1, - clannot2, - cl_zona, - clcategoria, - clcategoria2, - cl_sett_att1, - cl_sett_att2, - clnote, - cl_categco, - cl_ling, - cl_filiale, - cl_cod_old, - cl_cod_gruppo, - cl_vt1, - cl_vt2, - cl_vt3, - cl_vt4, - abc_pa_sol_csolv_ID, - cl_solv_dtupd, - cldtfineutil, - cl_fl_decod_anag, - clindirec, - cllocarec, - clcaporec, - clprovrec, - clnfaxrec, - cltelerec, - clprcinps, - clsuffreplica, - cldtins, - cldtvalidini, - clcdaccisa, - clnicciaa, - clnregimp, - clcod_estero, - clemail, - clwww, - clctrib, - clCodCausRit, - clQuadro, - cl_destStampe, - clragd_n, - clindi_n, - clloca_n, - clindidomfisc_n, - cllocadomfisc_n, - clindirec_n, - cllocarec_n}; - rowaclRow.ItemArray = columnValuesArray; - this.Rows.Add(rowaclRow); - return rowaclRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public aclRow FindByclcodcn(string clcodcn) { - return ((aclRow)(this.Rows.Find(new object[] { - clcodcn}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - aclDataTable cln = ((aclDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new aclDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnclcodcn = base.Columns["clcodcn"]; - this.columnclragd = base.Columns["clragd"]; - this.columncl_flcanc = base.Columns["cl_flcanc"]; - this.columnclcod = base.Columns["clcod"]; - this.columnclcdpiva = base.Columns["clcdpiva"]; - this.columnclindi = base.Columns["clindi"]; - this.columnclloca = base.Columns["clloca"]; - this.columnclcapo = base.Columns["clcapo"]; - this.columnclprov = base.Columns["clprov"]; - this.columncldist = base.Columns["cldist"]; - this.columnclstat = base.Columns["clstat"]; - this.columnclstatiso = base.Columns["clstatiso"]; - this.columnclcdfi = base.Columns["clcdfi"]; - this.columncltele = base.Columns["cltele"]; - this.columnclnfax = base.Columns["clnfax"]; - this.columnclindidomfisc = base.Columns["clindidomfisc"]; - this.columncllocadomfisc = base.Columns["cllocadomfisc"]; - this.columnclcapodomfisc = base.Columns["clcapodomfisc"]; - this.columnclprovdomfisc = base.Columns["clprovdomfisc"]; - this.columncldistdomfisc = base.Columns["cldistdomfisc"]; - this.columnclstatdomfisc = base.Columns["clstatdomfisc"]; - this.columnclstatisodomfisc = base.Columns["clstatisodomfisc"]; - this.columnclteledomfisc = base.Columns["clteledomfisc"]; - this.columnclnfaxdomfisc = base.Columns["clnfaxdomfisc"]; - this.columnclalle = base.Columns["clalle"]; - this.columnclfldi = base.Columns["clfldi"]; - this.columnclcognom = base.Columns["clcognom"]; - this.columnclnome = base.Columns["clnome"]; - this.columncldtna = base.Columns["cldtna"]; - this.columnclcona = base.Columns["clcona"]; - this.columnclprna = base.Columns["clprna"]; - this.columncluscn = base.Columns["cluscn"]; - this.columnclstna = base.Columns["clstna"]; - this.columnclsess = base.Columns["clsess"]; - this.columnclrita = base.Columns["clrita"]; - this.columnclannot1 = base.Columns["clannot1"]; - this.columnclannot2 = base.Columns["clannot2"]; - this.columncl_zona = base.Columns["cl_zona"]; - this.columnclcategoria = base.Columns["clcategoria"]; - this.columnclcategoria2 = base.Columns["clcategoria2"]; - this.columncl_sett_att1 = base.Columns["cl_sett_att1"]; - this.columncl_sett_att2 = base.Columns["cl_sett_att2"]; - this.columnclnote = base.Columns["clnote"]; - this.columncl_categco = base.Columns["cl_categco"]; - this.columncl_ling = base.Columns["cl_ling"]; - this.columncl_filiale = base.Columns["cl_filiale"]; - this.columncl_cod_old = base.Columns["cl_cod_old"]; - this.columncl_cod_gruppo = base.Columns["cl_cod_gruppo"]; - this.columncl_vt1 = base.Columns["cl_vt1"]; - this.columncl_vt2 = base.Columns["cl_vt2"]; - this.columncl_vt3 = base.Columns["cl_vt3"]; - this.columncl_vt4 = base.Columns["cl_vt4"]; - this.columnabc_pa_sol_csolv_ID = base.Columns["abc_pa_sol_csolv_ID"]; - this.columncl_solv_dtupd = base.Columns["cl_solv_dtupd"]; - this.columncldtfineutil = base.Columns["cldtfineutil"]; - this.columncl_fl_decod_anag = base.Columns["cl_fl_decod_anag"]; - this.columnclindirec = base.Columns["clindirec"]; - this.columncllocarec = base.Columns["cllocarec"]; - this.columnclcaporec = base.Columns["clcaporec"]; - this.columnclprovrec = base.Columns["clprovrec"]; - this.columnclnfaxrec = base.Columns["clnfaxrec"]; - this.columncltelerec = base.Columns["cltelerec"]; - this.columnclprcinps = base.Columns["clprcinps"]; - this.columnclsuffreplica = base.Columns["clsuffreplica"]; - this.columncldtins = base.Columns["cldtins"]; - this.columncldtvalidini = base.Columns["cldtvalidini"]; - this.columnclcdaccisa = base.Columns["clcdaccisa"]; - this.columnclnicciaa = base.Columns["clnicciaa"]; - this.columnclnregimp = base.Columns["clnregimp"]; - this.columnclcod_estero = base.Columns["clcod_estero"]; - this.columnclemail = base.Columns["clemail"]; - this.columnclwww = base.Columns["clwww"]; - this.columnclctrib = base.Columns["clctrib"]; - this.columnclCodCausRit = base.Columns["clCodCausRit"]; - this.columnclQuadro = base.Columns["clQuadro"]; - this.columncl_destStampe = base.Columns["cl_destStampe"]; - this.columnclragd_n = base.Columns["clragd_n"]; - this.columnclindi_n = base.Columns["clindi_n"]; - this.columnclloca_n = base.Columns["clloca_n"]; - this.columnclindidomfisc_n = base.Columns["clindidomfisc_n"]; - this.columncllocadomfisc_n = base.Columns["cllocadomfisc_n"]; - this.columnclindirec_n = base.Columns["clindirec_n"]; - this.columncllocarec_n = base.Columns["cllocarec_n"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnclcodcn = new global::System.Data.DataColumn("clcodcn", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclcodcn); - this.columnclragd = new global::System.Data.DataColumn("clragd", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclragd); - this.columncl_flcanc = new global::System.Data.DataColumn("cl_flcanc", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncl_flcanc); - this.columnclcod = new global::System.Data.DataColumn("clcod", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclcod); - this.columnclcdpiva = new global::System.Data.DataColumn("clcdpiva", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclcdpiva); - this.columnclindi = new global::System.Data.DataColumn("clindi", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclindi); - this.columnclloca = new global::System.Data.DataColumn("clloca", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclloca); - this.columnclcapo = new global::System.Data.DataColumn("clcapo", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclcapo); - this.columnclprov = new global::System.Data.DataColumn("clprov", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclprov); - this.columncldist = new global::System.Data.DataColumn("cldist", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncldist); - this.columnclstat = new global::System.Data.DataColumn("clstat", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclstat); - this.columnclstatiso = new global::System.Data.DataColumn("clstatiso", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclstatiso); - this.columnclcdfi = new global::System.Data.DataColumn("clcdfi", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclcdfi); - this.columncltele = new global::System.Data.DataColumn("cltele", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncltele); - this.columnclnfax = new global::System.Data.DataColumn("clnfax", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclnfax); - this.columnclindidomfisc = new global::System.Data.DataColumn("clindidomfisc", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclindidomfisc); - this.columncllocadomfisc = new global::System.Data.DataColumn("cllocadomfisc", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncllocadomfisc); - this.columnclcapodomfisc = new global::System.Data.DataColumn("clcapodomfisc", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclcapodomfisc); - this.columnclprovdomfisc = new global::System.Data.DataColumn("clprovdomfisc", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclprovdomfisc); - this.columncldistdomfisc = new global::System.Data.DataColumn("cldistdomfisc", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncldistdomfisc); - this.columnclstatdomfisc = new global::System.Data.DataColumn("clstatdomfisc", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclstatdomfisc); - this.columnclstatisodomfisc = new global::System.Data.DataColumn("clstatisodomfisc", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclstatisodomfisc); - this.columnclteledomfisc = new global::System.Data.DataColumn("clteledomfisc", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclteledomfisc); - this.columnclnfaxdomfisc = new global::System.Data.DataColumn("clnfaxdomfisc", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclnfaxdomfisc); - this.columnclalle = new global::System.Data.DataColumn("clalle", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclalle); - this.columnclfldi = new global::System.Data.DataColumn("clfldi", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclfldi); - this.columnclcognom = new global::System.Data.DataColumn("clcognom", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclcognom); - this.columnclnome = new global::System.Data.DataColumn("clnome", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclnome); - this.columncldtna = new global::System.Data.DataColumn("cldtna", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncldtna); - this.columnclcona = new global::System.Data.DataColumn("clcona", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclcona); - this.columnclprna = new global::System.Data.DataColumn("clprna", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclprna); - this.columncluscn = new global::System.Data.DataColumn("cluscn", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncluscn); - this.columnclstna = new global::System.Data.DataColumn("clstna", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclstna); - this.columnclsess = new global::System.Data.DataColumn("clsess", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclsess); - this.columnclrita = new global::System.Data.DataColumn("clrita", typeof(float), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclrita); - this.columnclannot1 = new global::System.Data.DataColumn("clannot1", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclannot1); - this.columnclannot2 = new global::System.Data.DataColumn("clannot2", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclannot2); - this.columncl_zona = new global::System.Data.DataColumn("cl_zona", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncl_zona); - this.columnclcategoria = new global::System.Data.DataColumn("clcategoria", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclcategoria); - this.columnclcategoria2 = new global::System.Data.DataColumn("clcategoria2", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclcategoria2); - this.columncl_sett_att1 = new global::System.Data.DataColumn("cl_sett_att1", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncl_sett_att1); - this.columncl_sett_att2 = new global::System.Data.DataColumn("cl_sett_att2", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncl_sett_att2); - this.columnclnote = new global::System.Data.DataColumn("clnote", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclnote); - this.columncl_categco = new global::System.Data.DataColumn("cl_categco", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncl_categco); - this.columncl_ling = new global::System.Data.DataColumn("cl_ling", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncl_ling); - this.columncl_filiale = new global::System.Data.DataColumn("cl_filiale", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncl_filiale); - this.columncl_cod_old = new global::System.Data.DataColumn("cl_cod_old", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncl_cod_old); - this.columncl_cod_gruppo = new global::System.Data.DataColumn("cl_cod_gruppo", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncl_cod_gruppo); - this.columncl_vt1 = new global::System.Data.DataColumn("cl_vt1", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncl_vt1); - this.columncl_vt2 = new global::System.Data.DataColumn("cl_vt2", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncl_vt2); - this.columncl_vt3 = new global::System.Data.DataColumn("cl_vt3", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncl_vt3); - this.columncl_vt4 = new global::System.Data.DataColumn("cl_vt4", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncl_vt4); - this.columnabc_pa_sol_csolv_ID = new global::System.Data.DataColumn("abc_pa_sol_csolv_ID", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnabc_pa_sol_csolv_ID); - this.columncl_solv_dtupd = new global::System.Data.DataColumn("cl_solv_dtupd", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncl_solv_dtupd); - this.columncldtfineutil = new global::System.Data.DataColumn("cldtfineutil", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncldtfineutil); - this.columncl_fl_decod_anag = new global::System.Data.DataColumn("cl_fl_decod_anag", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncl_fl_decod_anag); - this.columnclindirec = new global::System.Data.DataColumn("clindirec", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclindirec); - this.columncllocarec = new global::System.Data.DataColumn("cllocarec", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncllocarec); - this.columnclcaporec = new global::System.Data.DataColumn("clcaporec", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclcaporec); - this.columnclprovrec = new global::System.Data.DataColumn("clprovrec", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclprovrec); - this.columnclnfaxrec = new global::System.Data.DataColumn("clnfaxrec", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclnfaxrec); - this.columncltelerec = new global::System.Data.DataColumn("cltelerec", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncltelerec); - this.columnclprcinps = new global::System.Data.DataColumn("clprcinps", typeof(float), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclprcinps); - this.columnclsuffreplica = new global::System.Data.DataColumn("clsuffreplica", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclsuffreplica); - this.columncldtins = new global::System.Data.DataColumn("cldtins", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncldtins); - this.columncldtvalidini = new global::System.Data.DataColumn("cldtvalidini", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncldtvalidini); - this.columnclcdaccisa = new global::System.Data.DataColumn("clcdaccisa", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclcdaccisa); - this.columnclnicciaa = new global::System.Data.DataColumn("clnicciaa", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclnicciaa); - this.columnclnregimp = new global::System.Data.DataColumn("clnregimp", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclnregimp); - this.columnclcod_estero = new global::System.Data.DataColumn("clcod_estero", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclcod_estero); - this.columnclemail = new global::System.Data.DataColumn("clemail", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclemail); - this.columnclwww = new global::System.Data.DataColumn("clwww", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclwww); - this.columnclctrib = new global::System.Data.DataColumn("clctrib", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclctrib); - this.columnclCodCausRit = new global::System.Data.DataColumn("clCodCausRit", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclCodCausRit); - this.columnclQuadro = new global::System.Data.DataColumn("clQuadro", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclQuadro); - this.columncl_destStampe = new global::System.Data.DataColumn("cl_destStampe", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncl_destStampe); - this.columnclragd_n = new global::System.Data.DataColumn("clragd_n", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclragd_n); - this.columnclindi_n = new global::System.Data.DataColumn("clindi_n", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclindi_n); - this.columnclloca_n = new global::System.Data.DataColumn("clloca_n", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclloca_n); - this.columnclindidomfisc_n = new global::System.Data.DataColumn("clindidomfisc_n", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclindidomfisc_n); - this.columncllocadomfisc_n = new global::System.Data.DataColumn("cllocadomfisc_n", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncllocadomfisc_n); - this.columnclindirec_n = new global::System.Data.DataColumn("clindirec_n", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnclindirec_n); - this.columncllocarec_n = new global::System.Data.DataColumn("cllocarec_n", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncllocarec_n); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnclcodcn}, true)); - this.columnclcodcn.AllowDBNull = false; - this.columnclcodcn.Unique = true; - this.columnclcodcn.MaxLength = 10; - this.columnclragd.MaxLength = 50; - this.columncl_flcanc.MaxLength = 1; - this.columnclcod.MaxLength = 20; - this.columnclcdpiva.MaxLength = 12; - this.columnclindi.MaxLength = 30; - this.columnclloca.MaxLength = 30; - this.columnclcapo.MaxLength = 10; - this.columnclprov.MaxLength = 2; - this.columncldist.MaxLength = 30; - this.columnclstat.MaxLength = 6; - this.columnclstatiso.MaxLength = 6; - this.columnclcdfi.MaxLength = 16; - this.columncltele.MaxLength = 536870910; - this.columnclnfax.MaxLength = 536870910; - this.columnclindidomfisc.MaxLength = 30; - this.columncllocadomfisc.MaxLength = 30; - this.columnclcapodomfisc.MaxLength = 10; - this.columnclprovdomfisc.MaxLength = 2; - this.columncldistdomfisc.MaxLength = 30; - this.columnclstatdomfisc.MaxLength = 6; - this.columnclstatisodomfisc.MaxLength = 6; - this.columnclteledomfisc.MaxLength = 536870910; - this.columnclnfaxdomfisc.MaxLength = 536870910; - this.columnclalle.MaxLength = 1; - this.columnclfldi.MaxLength = 10; - this.columnclcognom.MaxLength = 18; - this.columnclnome.MaxLength = 16; - this.columnclcona.MaxLength = 30; - this.columnclprna.MaxLength = 2; - this.columncluscn.MaxLength = 6; - this.columnclstna.MaxLength = 10; - this.columnclsess.MaxLength = 1; - this.columnclannot1.MaxLength = 536870910; - this.columnclannot2.MaxLength = 536870910; - this.columncl_zona.MaxLength = 10; - this.columnclcategoria.MaxLength = 10; - this.columnclcategoria2.MaxLength = 10; - this.columncl_sett_att1.MaxLength = 10; - this.columncl_sett_att2.MaxLength = 10; - this.columnclnote.MaxLength = 536870910; - this.columncl_categco.MaxLength = 10; - this.columncl_ling.MaxLength = 10; - this.columncl_filiale.MaxLength = 10; - this.columncl_cod_old.MaxLength = 20; - this.columncl_cod_gruppo.MaxLength = 10; - this.columncl_vt1.MaxLength = 10; - this.columncl_vt2.MaxLength = 10; - this.columncl_vt3.MaxLength = 10; - this.columncl_vt4.MaxLength = 10; - this.columnabc_pa_sol_csolv_ID.MaxLength = 10; - this.columncl_fl_decod_anag.MaxLength = 1; - this.columnclindirec.MaxLength = 30; - this.columncllocarec.MaxLength = 30; - this.columnclcaporec.MaxLength = 10; - this.columnclprovrec.MaxLength = 2; - this.columnclnfaxrec.MaxLength = 20; - this.columncltelerec.MaxLength = 20; - this.columnclsuffreplica.MaxLength = 2; - this.columnclcdaccisa.MaxLength = 20; - this.columnclnicciaa.MaxLength = 30; - this.columnclnregimp.MaxLength = 30; - this.columnclcod_estero.MaxLength = 25; - this.columnclemail.MaxLength = 255; - this.columnclwww.MaxLength = 255; - this.columnclctrib.MaxLength = 10; - this.columnclCodCausRit.MaxLength = 10; - this.columnclQuadro.MaxLength = 3; - this.columncl_destStampe.MaxLength = 2; - this.columnclragd_n.MaxLength = 100; - this.columnclindi_n.MaxLength = 100; - this.columnclloca_n.MaxLength = 100; - this.columnclindidomfisc_n.MaxLength = 100; - this.columncllocadomfisc_n.MaxLength = 100; - this.columnclindirec_n.MaxLength = 100; - this.columncllocarec_n.MaxLength = 100; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public aclRow NewaclRow() { - return ((aclRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new aclRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(aclRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.aclRowChanged != null)) { - this.aclRowChanged(this, new aclRowChangeEvent(((aclRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.aclRowChanging != null)) { - this.aclRowChanging(this, new aclRowChangeEvent(((aclRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.aclRowDeleted != null)) { - this.aclRowDeleted(this, new aclRowChangeEvent(((aclRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.aclRowDeleting != null)) { - this.aclRowDeleting(this, new aclRowChangeEvent(((aclRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveaclRow(aclRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_import ds = new DS_import(); - 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 = "aclDataTable"; - 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. - /// - public partial class aclRow : global::System.Data.DataRow { - - private aclDataTable tableacl; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal aclRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableacl = ((aclDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clcodcn { - get { - return ((string)(this[this.tableacl.clcodcnColumn])); - } - set { - this[this.tableacl.clcodcnColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clragd { - get { - try { - return ((string)(this[this.tableacl.clragdColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clragd\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clragdColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cl_flcanc { - get { - try { - return ((string)(this[this.tableacl.cl_flcancColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cl_flcanc\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cl_flcancColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clcod { - get { - try { - return ((string)(this[this.tableacl.clcodColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clcod\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clcodColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clcdpiva { - get { - try { - return ((string)(this[this.tableacl.clcdpivaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clcdpiva\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clcdpivaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clindi { - get { - try { - return ((string)(this[this.tableacl.clindiColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clindi\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clindiColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clloca { - get { - try { - return ((string)(this[this.tableacl.cllocaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clloca\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cllocaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clcapo { - get { - try { - return ((string)(this[this.tableacl.clcapoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clcapo\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clcapoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clprov { - get { - try { - return ((string)(this[this.tableacl.clprovColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clprov\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clprovColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cldist { - get { - try { - return ((string)(this[this.tableacl.cldistColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cldist\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cldistColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clstat { - get { - try { - return ((string)(this[this.tableacl.clstatColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clstat\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clstatColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clstatiso { - get { - try { - return ((string)(this[this.tableacl.clstatisoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clstatiso\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clstatisoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clcdfi { - get { - try { - return ((string)(this[this.tableacl.clcdfiColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clcdfi\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clcdfiColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cltele { - get { - try { - return ((string)(this[this.tableacl.clteleColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cltele\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clteleColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clnfax { - get { - try { - return ((string)(this[this.tableacl.clnfaxColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clnfax\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clnfaxColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clindidomfisc { - get { - try { - return ((string)(this[this.tableacl.clindidomfiscColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clindidomfisc\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clindidomfiscColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cllocadomfisc { - get { - try { - return ((string)(this[this.tableacl.cllocadomfiscColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cllocadomfisc\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cllocadomfiscColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clcapodomfisc { - get { - try { - return ((string)(this[this.tableacl.clcapodomfiscColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clcapodomfisc\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clcapodomfiscColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clprovdomfisc { - get { - try { - return ((string)(this[this.tableacl.clprovdomfiscColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clprovdomfisc\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clprovdomfiscColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cldistdomfisc { - get { - try { - return ((string)(this[this.tableacl.cldistdomfiscColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cldistdomfisc\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cldistdomfiscColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clstatdomfisc { - get { - try { - return ((string)(this[this.tableacl.clstatdomfiscColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clstatdomfisc\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clstatdomfiscColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clstatisodomfisc { - get { - try { - return ((string)(this[this.tableacl.clstatisodomfiscColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clstatisodomfisc\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clstatisodomfiscColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clteledomfisc { - get { - try { - return ((string)(this[this.tableacl.clteledomfiscColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clteledomfisc\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clteledomfiscColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clnfaxdomfisc { - get { - try { - return ((string)(this[this.tableacl.clnfaxdomfiscColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clnfaxdomfisc\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clnfaxdomfiscColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clalle { - get { - try { - return ((string)(this[this.tableacl.clalleColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clalle\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clalleColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clfldi { - get { - try { - return ((string)(this[this.tableacl.clfldiColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clfldi\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clfldiColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clcognom { - get { - try { - return ((string)(this[this.tableacl.clcognomColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clcognom\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clcognomColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clnome { - get { - try { - return ((string)(this[this.tableacl.clnomeColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clnome\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clnomeColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime cldtna { - get { - try { - return ((global::System.DateTime)(this[this.tableacl.cldtnaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cldtna\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cldtnaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clcona { - get { - try { - return ((string)(this[this.tableacl.clconaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clcona\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clconaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clprna { - get { - try { - return ((string)(this[this.tableacl.clprnaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clprna\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clprnaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cluscn { - get { - try { - return ((string)(this[this.tableacl.cluscnColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cluscn\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cluscnColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clstna { - get { - try { - return ((string)(this[this.tableacl.clstnaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clstna\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clstnaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clsess { - get { - try { - return ((string)(this[this.tableacl.clsessColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clsess\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clsessColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public float clrita { - get { - try { - return ((float)(this[this.tableacl.clritaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clrita\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clritaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clannot1 { - get { - try { - return ((string)(this[this.tableacl.clannot1Column])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clannot1\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clannot1Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clannot2 { - get { - try { - return ((string)(this[this.tableacl.clannot2Column])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clannot2\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clannot2Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cl_zona { - get { - try { - return ((string)(this[this.tableacl.cl_zonaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cl_zona\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cl_zonaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clcategoria { - get { - try { - return ((string)(this[this.tableacl.clcategoriaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clcategoria\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clcategoriaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clcategoria2 { - get { - try { - return ((string)(this[this.tableacl.clcategoria2Column])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clcategoria2\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clcategoria2Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cl_sett_att1 { - get { - try { - return ((string)(this[this.tableacl.cl_sett_att1Column])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cl_sett_att1\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cl_sett_att1Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cl_sett_att2 { - get { - try { - return ((string)(this[this.tableacl.cl_sett_att2Column])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cl_sett_att2\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cl_sett_att2Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clnote { - get { - try { - return ((string)(this[this.tableacl.clnoteColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clnote\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clnoteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cl_categco { - get { - try { - return ((string)(this[this.tableacl.cl_categcoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cl_categco\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cl_categcoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cl_ling { - get { - try { - return ((string)(this[this.tableacl.cl_lingColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cl_ling\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cl_lingColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cl_filiale { - get { - try { - return ((string)(this[this.tableacl.cl_filialeColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cl_filiale\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cl_filialeColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cl_cod_old { - get { - try { - return ((string)(this[this.tableacl.cl_cod_oldColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cl_cod_old\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cl_cod_oldColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cl_cod_gruppo { - get { - try { - return ((string)(this[this.tableacl.cl_cod_gruppoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cl_cod_gruppo\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cl_cod_gruppoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cl_vt1 { - get { - try { - return ((string)(this[this.tableacl.cl_vt1Column])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cl_vt1\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cl_vt1Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cl_vt2 { - get { - try { - return ((string)(this[this.tableacl.cl_vt2Column])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cl_vt2\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cl_vt2Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cl_vt3 { - get { - try { - return ((string)(this[this.tableacl.cl_vt3Column])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cl_vt3\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cl_vt3Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cl_vt4 { - get { - try { - return ((string)(this[this.tableacl.cl_vt4Column])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cl_vt4\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cl_vt4Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string abc_pa_sol_csolv_ID { - get { - try { - return ((string)(this[this.tableacl.abc_pa_sol_csolv_IDColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'abc_pa_sol_csolv_ID\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.abc_pa_sol_csolv_IDColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime cl_solv_dtupd { - get { - try { - return ((global::System.DateTime)(this[this.tableacl.cl_solv_dtupdColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cl_solv_dtupd\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cl_solv_dtupdColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime cldtfineutil { - get { - try { - return ((global::System.DateTime)(this[this.tableacl.cldtfineutilColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cldtfineutil\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cldtfineutilColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cl_fl_decod_anag { - get { - try { - return ((string)(this[this.tableacl.cl_fl_decod_anagColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cl_fl_decod_anag\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cl_fl_decod_anagColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clindirec { - get { - try { - return ((string)(this[this.tableacl.clindirecColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clindirec\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clindirecColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cllocarec { - get { - try { - return ((string)(this[this.tableacl.cllocarecColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cllocarec\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cllocarecColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clcaporec { - get { - try { - return ((string)(this[this.tableacl.clcaporecColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clcaporec\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clcaporecColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clprovrec { - get { - try { - return ((string)(this[this.tableacl.clprovrecColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clprovrec\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clprovrecColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clnfaxrec { - get { - try { - return ((string)(this[this.tableacl.clnfaxrecColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clnfaxrec\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clnfaxrecColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cltelerec { - get { - try { - return ((string)(this[this.tableacl.cltelerecColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cltelerec\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cltelerecColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public float clprcinps { - get { - try { - return ((float)(this[this.tableacl.clprcinpsColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clprcinps\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clprcinpsColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clsuffreplica { - get { - try { - return ((string)(this[this.tableacl.clsuffreplicaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clsuffreplica\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clsuffreplicaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime cldtins { - get { - try { - return ((global::System.DateTime)(this[this.tableacl.cldtinsColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cldtins\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cldtinsColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime cldtvalidini { - get { - try { - return ((global::System.DateTime)(this[this.tableacl.cldtvalidiniColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cldtvalidini\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cldtvalidiniColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clcdaccisa { - get { - try { - return ((string)(this[this.tableacl.clcdaccisaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clcdaccisa\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clcdaccisaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clnicciaa { - get { - try { - return ((string)(this[this.tableacl.clnicciaaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clnicciaa\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clnicciaaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clnregimp { - get { - try { - return ((string)(this[this.tableacl.clnregimpColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clnregimp\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clnregimpColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clcod_estero { - get { - try { - return ((string)(this[this.tableacl.clcod_esteroColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clcod_estero\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clcod_esteroColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clemail { - get { - try { - return ((string)(this[this.tableacl.clemailColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clemail\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clemailColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clwww { - get { - try { - return ((string)(this[this.tableacl.clwwwColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clwww\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clwwwColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clctrib { - get { - try { - return ((string)(this[this.tableacl.clctribColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clctrib\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clctribColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clCodCausRit { - get { - try { - return ((string)(this[this.tableacl.clCodCausRitColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clCodCausRit\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clCodCausRitColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clQuadro { - get { - try { - return ((string)(this[this.tableacl.clQuadroColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clQuadro\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clQuadroColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cl_destStampe { - get { - try { - return ((string)(this[this.tableacl.cl_destStampeColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cl_destStampe\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cl_destStampeColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clragd_n { - get { - try { - return ((string)(this[this.tableacl.clragd_nColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clragd_n\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clragd_nColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clindi_n { - get { - try { - return ((string)(this[this.tableacl.clindi_nColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clindi_n\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clindi_nColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clloca_n { - get { - try { - return ((string)(this[this.tableacl.clloca_nColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clloca_n\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clloca_nColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clindidomfisc_n { - get { - try { - return ((string)(this[this.tableacl.clindidomfisc_nColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clindidomfisc_n\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clindidomfisc_nColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cllocadomfisc_n { - get { - try { - return ((string)(this[this.tableacl.cllocadomfisc_nColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cllocadomfisc_n\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cllocadomfisc_nColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string clindirec_n { - get { - try { - return ((string)(this[this.tableacl.clindirec_nColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'clindirec_n\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.clindirec_nColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cllocarec_n { - get { - try { - return ((string)(this[this.tableacl.cllocarec_nColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cllocarec_n\' in table \'acl\' is DBNull.", e); - } - } - set { - this[this.tableacl.cllocarec_nColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclragdNull() { - return this.IsNull(this.tableacl.clragdColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclragdNull() { - this[this.tableacl.clragdColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscl_flcancNull() { - return this.IsNull(this.tableacl.cl_flcancColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcl_flcancNull() { - this[this.tableacl.cl_flcancColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclcodNull() { - return this.IsNull(this.tableacl.clcodColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclcodNull() { - this[this.tableacl.clcodColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclcdpivaNull() { - return this.IsNull(this.tableacl.clcdpivaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclcdpivaNull() { - this[this.tableacl.clcdpivaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclindiNull() { - return this.IsNull(this.tableacl.clindiColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclindiNull() { - this[this.tableacl.clindiColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscllocaNull() { - return this.IsNull(this.tableacl.cllocaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcllocaNull() { - this[this.tableacl.cllocaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclcapoNull() { - return this.IsNull(this.tableacl.clcapoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclcapoNull() { - this[this.tableacl.clcapoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclprovNull() { - return this.IsNull(this.tableacl.clprovColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclprovNull() { - this[this.tableacl.clprovColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscldistNull() { - return this.IsNull(this.tableacl.cldistColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcldistNull() { - this[this.tableacl.cldistColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclstatNull() { - return this.IsNull(this.tableacl.clstatColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclstatNull() { - this[this.tableacl.clstatColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclstatisoNull() { - return this.IsNull(this.tableacl.clstatisoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclstatisoNull() { - this[this.tableacl.clstatisoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclcdfiNull() { - return this.IsNull(this.tableacl.clcdfiColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclcdfiNull() { - this[this.tableacl.clcdfiColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclteleNull() { - return this.IsNull(this.tableacl.clteleColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclteleNull() { - this[this.tableacl.clteleColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclnfaxNull() { - return this.IsNull(this.tableacl.clnfaxColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclnfaxNull() { - this[this.tableacl.clnfaxColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclindidomfiscNull() { - return this.IsNull(this.tableacl.clindidomfiscColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclindidomfiscNull() { - this[this.tableacl.clindidomfiscColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscllocadomfiscNull() { - return this.IsNull(this.tableacl.cllocadomfiscColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcllocadomfiscNull() { - this[this.tableacl.cllocadomfiscColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclcapodomfiscNull() { - return this.IsNull(this.tableacl.clcapodomfiscColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclcapodomfiscNull() { - this[this.tableacl.clcapodomfiscColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclprovdomfiscNull() { - return this.IsNull(this.tableacl.clprovdomfiscColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclprovdomfiscNull() { - this[this.tableacl.clprovdomfiscColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscldistdomfiscNull() { - return this.IsNull(this.tableacl.cldistdomfiscColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcldistdomfiscNull() { - this[this.tableacl.cldistdomfiscColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclstatdomfiscNull() { - return this.IsNull(this.tableacl.clstatdomfiscColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclstatdomfiscNull() { - this[this.tableacl.clstatdomfiscColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclstatisodomfiscNull() { - return this.IsNull(this.tableacl.clstatisodomfiscColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclstatisodomfiscNull() { - this[this.tableacl.clstatisodomfiscColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclteledomfiscNull() { - return this.IsNull(this.tableacl.clteledomfiscColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclteledomfiscNull() { - this[this.tableacl.clteledomfiscColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclnfaxdomfiscNull() { - return this.IsNull(this.tableacl.clnfaxdomfiscColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclnfaxdomfiscNull() { - this[this.tableacl.clnfaxdomfiscColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclalleNull() { - return this.IsNull(this.tableacl.clalleColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclalleNull() { - this[this.tableacl.clalleColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclfldiNull() { - return this.IsNull(this.tableacl.clfldiColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclfldiNull() { - this[this.tableacl.clfldiColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclcognomNull() { - return this.IsNull(this.tableacl.clcognomColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclcognomNull() { - this[this.tableacl.clcognomColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclnomeNull() { - return this.IsNull(this.tableacl.clnomeColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclnomeNull() { - this[this.tableacl.clnomeColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscldtnaNull() { - return this.IsNull(this.tableacl.cldtnaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcldtnaNull() { - this[this.tableacl.cldtnaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclconaNull() { - return this.IsNull(this.tableacl.clconaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclconaNull() { - this[this.tableacl.clconaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclprnaNull() { - return this.IsNull(this.tableacl.clprnaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclprnaNull() { - this[this.tableacl.clprnaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscluscnNull() { - return this.IsNull(this.tableacl.cluscnColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcluscnNull() { - this[this.tableacl.cluscnColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclstnaNull() { - return this.IsNull(this.tableacl.clstnaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclstnaNull() { - this[this.tableacl.clstnaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclsessNull() { - return this.IsNull(this.tableacl.clsessColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclsessNull() { - this[this.tableacl.clsessColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclritaNull() { - return this.IsNull(this.tableacl.clritaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclritaNull() { - this[this.tableacl.clritaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Isclannot1Null() { - return this.IsNull(this.tableacl.clannot1Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setclannot1Null() { - this[this.tableacl.clannot1Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Isclannot2Null() { - return this.IsNull(this.tableacl.clannot2Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setclannot2Null() { - this[this.tableacl.clannot2Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscl_zonaNull() { - return this.IsNull(this.tableacl.cl_zonaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcl_zonaNull() { - this[this.tableacl.cl_zonaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclcategoriaNull() { - return this.IsNull(this.tableacl.clcategoriaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclcategoriaNull() { - this[this.tableacl.clcategoriaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Isclcategoria2Null() { - return this.IsNull(this.tableacl.clcategoria2Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setclcategoria2Null() { - this[this.tableacl.clcategoria2Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscl_sett_att1Null() { - return this.IsNull(this.tableacl.cl_sett_att1Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcl_sett_att1Null() { - this[this.tableacl.cl_sett_att1Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscl_sett_att2Null() { - return this.IsNull(this.tableacl.cl_sett_att2Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcl_sett_att2Null() { - this[this.tableacl.cl_sett_att2Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclnoteNull() { - return this.IsNull(this.tableacl.clnoteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclnoteNull() { - this[this.tableacl.clnoteColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscl_categcoNull() { - return this.IsNull(this.tableacl.cl_categcoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcl_categcoNull() { - this[this.tableacl.cl_categcoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscl_lingNull() { - return this.IsNull(this.tableacl.cl_lingColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcl_lingNull() { - this[this.tableacl.cl_lingColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscl_filialeNull() { - return this.IsNull(this.tableacl.cl_filialeColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcl_filialeNull() { - this[this.tableacl.cl_filialeColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscl_cod_oldNull() { - return this.IsNull(this.tableacl.cl_cod_oldColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcl_cod_oldNull() { - this[this.tableacl.cl_cod_oldColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscl_cod_gruppoNull() { - return this.IsNull(this.tableacl.cl_cod_gruppoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcl_cod_gruppoNull() { - this[this.tableacl.cl_cod_gruppoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscl_vt1Null() { - return this.IsNull(this.tableacl.cl_vt1Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcl_vt1Null() { - this[this.tableacl.cl_vt1Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscl_vt2Null() { - return this.IsNull(this.tableacl.cl_vt2Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcl_vt2Null() { - this[this.tableacl.cl_vt2Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscl_vt3Null() { - return this.IsNull(this.tableacl.cl_vt3Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcl_vt3Null() { - this[this.tableacl.cl_vt3Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscl_vt4Null() { - return this.IsNull(this.tableacl.cl_vt4Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcl_vt4Null() { - this[this.tableacl.cl_vt4Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Isabc_pa_sol_csolv_IDNull() { - return this.IsNull(this.tableacl.abc_pa_sol_csolv_IDColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setabc_pa_sol_csolv_IDNull() { - this[this.tableacl.abc_pa_sol_csolv_IDColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscl_solv_dtupdNull() { - return this.IsNull(this.tableacl.cl_solv_dtupdColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcl_solv_dtupdNull() { - this[this.tableacl.cl_solv_dtupdColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscldtfineutilNull() { - return this.IsNull(this.tableacl.cldtfineutilColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcldtfineutilNull() { - this[this.tableacl.cldtfineutilColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscl_fl_decod_anagNull() { - return this.IsNull(this.tableacl.cl_fl_decod_anagColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcl_fl_decod_anagNull() { - this[this.tableacl.cl_fl_decod_anagColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclindirecNull() { - return this.IsNull(this.tableacl.clindirecColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclindirecNull() { - this[this.tableacl.clindirecColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscllocarecNull() { - return this.IsNull(this.tableacl.cllocarecColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcllocarecNull() { - this[this.tableacl.cllocarecColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclcaporecNull() { - return this.IsNull(this.tableacl.clcaporecColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclcaporecNull() { - this[this.tableacl.clcaporecColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclprovrecNull() { - return this.IsNull(this.tableacl.clprovrecColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclprovrecNull() { - this[this.tableacl.clprovrecColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclnfaxrecNull() { - return this.IsNull(this.tableacl.clnfaxrecColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclnfaxrecNull() { - this[this.tableacl.clnfaxrecColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscltelerecNull() { - return this.IsNull(this.tableacl.cltelerecColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcltelerecNull() { - this[this.tableacl.cltelerecColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclprcinpsNull() { - return this.IsNull(this.tableacl.clprcinpsColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclprcinpsNull() { - this[this.tableacl.clprcinpsColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclsuffreplicaNull() { - return this.IsNull(this.tableacl.clsuffreplicaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclsuffreplicaNull() { - this[this.tableacl.clsuffreplicaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscldtinsNull() { - return this.IsNull(this.tableacl.cldtinsColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcldtinsNull() { - this[this.tableacl.cldtinsColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscldtvalidiniNull() { - return this.IsNull(this.tableacl.cldtvalidiniColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcldtvalidiniNull() { - this[this.tableacl.cldtvalidiniColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclcdaccisaNull() { - return this.IsNull(this.tableacl.clcdaccisaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclcdaccisaNull() { - this[this.tableacl.clcdaccisaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclnicciaaNull() { - return this.IsNull(this.tableacl.clnicciaaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclnicciaaNull() { - this[this.tableacl.clnicciaaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclnregimpNull() { - return this.IsNull(this.tableacl.clnregimpColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclnregimpNull() { - this[this.tableacl.clnregimpColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Isclcod_esteroNull() { - return this.IsNull(this.tableacl.clcod_esteroColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setclcod_esteroNull() { - this[this.tableacl.clcod_esteroColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclemailNull() { - return this.IsNull(this.tableacl.clemailColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclemailNull() { - this[this.tableacl.clemailColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclwwwNull() { - return this.IsNull(this.tableacl.clwwwColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclwwwNull() { - this[this.tableacl.clwwwColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclctribNull() { - return this.IsNull(this.tableacl.clctribColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclctribNull() { - this[this.tableacl.clctribColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclCodCausRitNull() { - return this.IsNull(this.tableacl.clCodCausRitColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclCodCausRitNull() { - this[this.tableacl.clCodCausRitColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsclQuadroNull() { - return this.IsNull(this.tableacl.clQuadroColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetclQuadroNull() { - this[this.tableacl.clQuadroColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscl_destStampeNull() { - return this.IsNull(this.tableacl.cl_destStampeColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcl_destStampeNull() { - this[this.tableacl.cl_destStampeColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Isclragd_nNull() { - return this.IsNull(this.tableacl.clragd_nColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setclragd_nNull() { - this[this.tableacl.clragd_nColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Isclindi_nNull() { - return this.IsNull(this.tableacl.clindi_nColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setclindi_nNull() { - this[this.tableacl.clindi_nColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Isclloca_nNull() { - return this.IsNull(this.tableacl.clloca_nColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setclloca_nNull() { - this[this.tableacl.clloca_nColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Isclindidomfisc_nNull() { - return this.IsNull(this.tableacl.clindidomfisc_nColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setclindidomfisc_nNull() { - this[this.tableacl.clindidomfisc_nColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscllocadomfisc_nNull() { - return this.IsNull(this.tableacl.cllocadomfisc_nColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcllocadomfisc_nNull() { - this[this.tableacl.cllocadomfisc_nColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Isclindirec_nNull() { - return this.IsNull(this.tableacl.clindirec_nColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setclindirec_nNull() { - this[this.tableacl.clindirec_nColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool Iscllocarec_nNull() { - return this.IsNull(this.tableacl.cllocarec_nColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Setcllocarec_nNull() { - this[this.tableacl.cllocarec_nColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class aclRowChangeEvent : global::System.EventArgs { - - private aclRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public aclRowChangeEvent(aclRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public aclRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - } -} -namespace XPS_data.DS_importTableAdapters { - - - /// - ///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 aclTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.OleDb.OleDbDataAdapter _adapter; - - private global::System.Data.OleDb.OleDbConnection _connection; - - private global::System.Data.OleDb.OleDbTransaction _transaction; - - private global::System.Data.OleDb.OleDbCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public aclTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.OleDb.OleDbDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.OleDb.OleDbConnection 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.OleDb.OleDbCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.OleDb.OleDbTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.OleDb.OleDbCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.OleDb.OleDbDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "acl"; - tableMapping.ColumnMappings.Add("clcodcn", "clcodcn"); - tableMapping.ColumnMappings.Add("clragd", "clragd"); - tableMapping.ColumnMappings.Add("cl_flcanc", "cl_flcanc"); - tableMapping.ColumnMappings.Add("clcod", "clcod"); - tableMapping.ColumnMappings.Add("clcdpiva", "clcdpiva"); - tableMapping.ColumnMappings.Add("clindi", "clindi"); - tableMapping.ColumnMappings.Add("clloca", "clloca"); - tableMapping.ColumnMappings.Add("clcapo", "clcapo"); - tableMapping.ColumnMappings.Add("clprov", "clprov"); - tableMapping.ColumnMappings.Add("cldist", "cldist"); - tableMapping.ColumnMappings.Add("clstat", "clstat"); - tableMapping.ColumnMappings.Add("clstatiso", "clstatiso"); - tableMapping.ColumnMappings.Add("clcdfi", "clcdfi"); - tableMapping.ColumnMappings.Add("cltele", "cltele"); - tableMapping.ColumnMappings.Add("clnfax", "clnfax"); - tableMapping.ColumnMappings.Add("clindidomfisc", "clindidomfisc"); - tableMapping.ColumnMappings.Add("cllocadomfisc", "cllocadomfisc"); - tableMapping.ColumnMappings.Add("clcapodomfisc", "clcapodomfisc"); - tableMapping.ColumnMappings.Add("clprovdomfisc", "clprovdomfisc"); - tableMapping.ColumnMappings.Add("cldistdomfisc", "cldistdomfisc"); - tableMapping.ColumnMappings.Add("clstatdomfisc", "clstatdomfisc"); - tableMapping.ColumnMappings.Add("clstatisodomfisc", "clstatisodomfisc"); - tableMapping.ColumnMappings.Add("clteledomfisc", "clteledomfisc"); - tableMapping.ColumnMappings.Add("clnfaxdomfisc", "clnfaxdomfisc"); - tableMapping.ColumnMappings.Add("clalle", "clalle"); - tableMapping.ColumnMappings.Add("clfldi", "clfldi"); - tableMapping.ColumnMappings.Add("clcognom", "clcognom"); - tableMapping.ColumnMappings.Add("clnome", "clnome"); - tableMapping.ColumnMappings.Add("cldtna", "cldtna"); - tableMapping.ColumnMappings.Add("clcona", "clcona"); - tableMapping.ColumnMappings.Add("clprna", "clprna"); - tableMapping.ColumnMappings.Add("cluscn", "cluscn"); - tableMapping.ColumnMappings.Add("clstna", "clstna"); - tableMapping.ColumnMappings.Add("clsess", "clsess"); - tableMapping.ColumnMappings.Add("clrita", "clrita"); - tableMapping.ColumnMappings.Add("clannot1", "clannot1"); - tableMapping.ColumnMappings.Add("clannot2", "clannot2"); - tableMapping.ColumnMappings.Add("cl_zona", "cl_zona"); - tableMapping.ColumnMappings.Add("clcategoria", "clcategoria"); - tableMapping.ColumnMappings.Add("clcategoria2", "clcategoria2"); - tableMapping.ColumnMappings.Add("cl_sett_att1", "cl_sett_att1"); - tableMapping.ColumnMappings.Add("cl_sett_att2", "cl_sett_att2"); - tableMapping.ColumnMappings.Add("clnote", "clnote"); - tableMapping.ColumnMappings.Add("cl_categco", "cl_categco"); - tableMapping.ColumnMappings.Add("cl_ling", "cl_ling"); - tableMapping.ColumnMappings.Add("cl_filiale", "cl_filiale"); - tableMapping.ColumnMappings.Add("cl_cod_old", "cl_cod_old"); - tableMapping.ColumnMappings.Add("cl_cod_gruppo", "cl_cod_gruppo"); - tableMapping.ColumnMappings.Add("cl_vt1", "cl_vt1"); - tableMapping.ColumnMappings.Add("cl_vt2", "cl_vt2"); - tableMapping.ColumnMappings.Add("cl_vt3", "cl_vt3"); - tableMapping.ColumnMappings.Add("cl_vt4", "cl_vt4"); - tableMapping.ColumnMappings.Add("abc_pa_sol_csolv_ID", "abc_pa_sol_csolv_ID"); - tableMapping.ColumnMappings.Add("cl_solv_dtupd", "cl_solv_dtupd"); - tableMapping.ColumnMappings.Add("cldtfineutil", "cldtfineutil"); - tableMapping.ColumnMappings.Add("cl_fl_decod_anag", "cl_fl_decod_anag"); - tableMapping.ColumnMappings.Add("clindirec", "clindirec"); - tableMapping.ColumnMappings.Add("cllocarec", "cllocarec"); - tableMapping.ColumnMappings.Add("clcaporec", "clcaporec"); - tableMapping.ColumnMappings.Add("clprovrec", "clprovrec"); - tableMapping.ColumnMappings.Add("clnfaxrec", "clnfaxrec"); - tableMapping.ColumnMappings.Add("cltelerec", "cltelerec"); - tableMapping.ColumnMappings.Add("clprcinps", "clprcinps"); - tableMapping.ColumnMappings.Add("clsuffreplica", "clsuffreplica"); - tableMapping.ColumnMappings.Add("cldtins", "cldtins"); - tableMapping.ColumnMappings.Add("cldtvalidini", "cldtvalidini"); - tableMapping.ColumnMappings.Add("clcdaccisa", "clcdaccisa"); - tableMapping.ColumnMappings.Add("clnicciaa", "clnicciaa"); - tableMapping.ColumnMappings.Add("clnregimp", "clnregimp"); - tableMapping.ColumnMappings.Add("clcod_estero", "clcod_estero"); - tableMapping.ColumnMappings.Add("clemail", "clemail"); - tableMapping.ColumnMappings.Add("clwww", "clwww"); - tableMapping.ColumnMappings.Add("clctrib", "clctrib"); - tableMapping.ColumnMappings.Add("clCodCausRit", "clCodCausRit"); - tableMapping.ColumnMappings.Add("clQuadro", "clQuadro"); - tableMapping.ColumnMappings.Add("cl_destStampe", "cl_destStampe"); - tableMapping.ColumnMappings.Add("clragd_n", "clragd_n"); - tableMapping.ColumnMappings.Add("clindi_n", "clindi_n"); - tableMapping.ColumnMappings.Add("clloca_n", "clloca_n"); - tableMapping.ColumnMappings.Add("clindidomfisc_n", "clindidomfisc_n"); - tableMapping.ColumnMappings.Add("cllocadomfisc_n", "cllocadomfisc_n"); - tableMapping.ColumnMappings.Add("clindirec_n", "clindirec_n"); - tableMapping.ColumnMappings.Add("cllocarec_n", "cllocarec_n"); - this._adapter.TableMappings.Add(tableMapping); - this._adapter.DeleteCommand = new global::System.Data.OleDb.OleDbCommand(); - this._adapter.DeleteCommand.Connection = this.Connection; - this._adapter.DeleteCommand.CommandText = "DELETE FROM `acl` WHERE ((`clcodcn` = ?) AND ((? = 1 AND `clragd` IS NULL) OR (`c" + - "lragd` = ?)) AND ((? = 1 AND `cl_flcanc` IS NULL) OR (`cl_flcanc` = ?)) AND ((? " + - "= 1 AND `clcod` IS NULL) OR (`clcod` = ?)) AND ((? = 1 AND `clcdpiva` IS NULL) O" + - "R (`clcdpiva` = ?)) AND ((? = 1 AND `clindi` IS NULL) OR (`clindi` = ?)) AND ((?" + - " = 1 AND `clloca` IS NULL) OR (`clloca` = ?)) AND ((? = 1 AND `clcapo` IS NULL) " + - "OR (`clcapo` = ?)) AND ((? = 1 AND `clprov` IS NULL) OR (`clprov` = ?)) AND ((? " + - "= 1 AND `cldist` IS NULL) OR (`cldist` = ?)) AND ((? = 1 AND `clstat` IS NULL) O" + - "R (`clstat` = ?)) AND ((? = 1 AND `clstatiso` IS NULL) OR (`clstatiso` = ?)) AND" + - " ((? = 1 AND `clcdfi` IS NULL) OR (`clcdfi` = ?)) AND ((? = 1 AND `clindidomfisc" + - "` IS NULL) OR (`clindidomfisc` = ?)) AND ((? = 1 AND `cllocadomfisc` IS NULL) OR" + - " (`cllocadomfisc` = ?)) AND ((? = 1 AND `clcapodomfisc` IS NULL) OR (`clcapodomf" + - "isc` = ?)) AND ((? = 1 AND `clprovdomfisc` IS NULL) OR (`clprovdomfisc` = ?)) AN" + - "D ((? = 1 AND `cldistdomfisc` IS NULL) OR (`cldistdomfisc` = ?)) AND ((? = 1 AND" + - " `clstatdomfisc` IS NULL) OR (`clstatdomfisc` = ?)) AND ((? = 1 AND `clstatisodo" + - "mfisc` IS NULL) OR (`clstatisodomfisc` = ?)) AND ((? = 1 AND `clalle` IS NULL) O" + - "R (`clalle` = ?)) AND ((? = 1 AND `clfldi` IS NULL) OR (`clfldi` = ?)) AND ((? =" + - " 1 AND `clcognom` IS NULL) OR (`clcognom` = ?)) AND ((? = 1 AND `clnome` IS NULL" + - ") OR (`clnome` = ?)) AND ((? = 1 AND `cldtna` IS NULL) OR (`cldtna` = ?)) AND ((" + - "? = 1 AND `clcona` IS NULL) OR (`clcona` = ?)) AND ((? = 1 AND `clprna` IS NULL)" + - " OR (`clprna` = ?)) AND ((? = 1 AND `cluscn` IS NULL) OR (`cluscn` = ?)) AND ((?" + - " = 1 AND `clstna` IS NULL) OR (`clstna` = ?)) AND ((? = 1 AND `clsess` IS NULL) " + - "OR (`clsess` = ?)) AND ((? = 1 AND `clrita` IS NULL) OR (`clrita` = ?)) AND ((? " + - "= 1 AND `cl_zona` IS NULL) OR (`cl_zona` = ?)) AND ((? = 1 AND `clcategoria` IS " + - "NULL) OR (`clcategoria` = ?)) AND ((? = 1 AND `clcategoria2` IS NULL) OR (`clcat" + - "egoria2` = ?)) AND ((? = 1 AND `cl_sett_att1` IS NULL) OR (`cl_sett_att1` = ?)) " + - "AND ((? = 1 AND `cl_sett_att2` IS NULL) OR (`cl_sett_att2` = ?)) AND ((? = 1 AND" + - " `cl_categco` IS NULL) OR (`cl_categco` = ?)) AND ((? = 1 AND `cl_ling` IS NULL)" + - " OR (`cl_ling` = ?)) AND ((? = 1 AND `cl_filiale` IS NULL) OR (`cl_filiale` = ?)" + - ") AND ((? = 1 AND `cl_cod_old` IS NULL) OR (`cl_cod_old` = ?)) AND ((? = 1 AND `" + - "cl_cod_gruppo` IS NULL) OR (`cl_cod_gruppo` = ?)) AND ((? = 1 AND `cl_vt1` IS NU" + - "LL) OR (`cl_vt1` = ?)) AND ((? = 1 AND `cl_vt2` IS NULL) OR (`cl_vt2` = ?)) AND " + - "((? = 1 AND `cl_vt3` IS NULL) OR (`cl_vt3` = ?)) AND ((? = 1 AND `cl_vt4` IS NUL" + - "L) OR (`cl_vt4` = ?)) AND ((? = 1 AND `abc_pa_sol_csolv_ID` IS NULL) OR (`abc_pa" + - "_sol_csolv_ID` = ?)) AND ((? = 1 AND `cl_solv_dtupd` IS NULL) OR (`cl_solv_dtupd" + - "` = ?)) AND ((? = 1 AND `cldtfineutil` IS NULL) OR (`cldtfineutil` = ?)) AND ((?" + - " = 1 AND `cl_fl_decod_anag` IS NULL) OR (`cl_fl_decod_anag` = ?)) AND ((? = 1 AN" + - "D `clindirec` IS NULL) OR (`clindirec` = ?)) AND ((? = 1 AND `cllocarec` IS NULL" + - ") OR (`cllocarec` = ?)) AND ((? = 1 AND `clcaporec` IS NULL) OR (`clcaporec` = ?" + - ")) AND ((? = 1 AND `clprovrec` IS NULL) OR (`clprovrec` = ?)) AND ((? = 1 AND `c" + - "lnfaxrec` IS NULL) OR (`clnfaxrec` = ?)) AND ((? = 1 AND `cltelerec` IS NULL) OR" + - " (`cltelerec` = ?)) AND ((? = 1 AND `clprcinps` IS NULL) OR (`clprcinps` = ?)) A" + - "ND ((? = 1 AND `clsuffreplica` IS NULL) OR (`clsuffreplica` = ?)) AND ((? = 1 AN" + - "D `cldtins` IS NULL) OR (`cldtins` = ?)) AND ((? = 1 AND `cldtvalidini` IS NULL)" + - " OR (`cldtvalidini` = ?)) AND ((? = 1 AND `clcdaccisa` IS NULL) OR (`clcdaccisa`" + - " = ?)) AND ((? = 1 AND `clnicciaa` IS NULL) OR (`clnicciaa` = ?)) AND ((? = 1 AN" + - "D `clnregimp` IS NULL) OR (`clnregimp` = ?)) AND ((? = 1 AND `clcod_estero` IS N" + - "ULL) OR (`clcod_estero` = ?)) AND ((? = 1 AND `clemail` IS NULL) OR (`clemail` =" + - " ?)) AND ((? = 1 AND `clwww` IS NULL) OR (`clwww` = ?)) AND ((? = 1 AND `clctrib" + - "` IS NULL) OR (`clctrib` = ?)) AND ((? = 1 AND `clCodCausRit` IS NULL) OR (`clCo" + - "dCausRit` = ?)) AND ((? = 1 AND `clQuadro` IS NULL) OR (`clQuadro` = ?)) AND ((?" + - " = 1 AND `cl_destStampe` IS NULL) OR (`cl_destStampe` = ?)) AND ((? = 1 AND `clr" + - "agd_n` IS NULL) OR (`clragd_n` = ?)) AND ((? = 1 AND `clindi_n` IS NULL) OR (`cl" + - "indi_n` = ?)) AND ((? = 1 AND `clloca_n` IS NULL) OR (`clloca_n` = ?)) AND ((? =" + - " 1 AND `clindidomfisc_n` IS NULL) OR (`clindidomfisc_n` = ?)) AND ((? = 1 AND `c" + - "llocadomfisc_n` IS NULL) OR (`cllocadomfisc_n` = ?)) AND ((? = 1 AND `clindirec_" + - "n` IS NULL) OR (`clindirec_n` = ?)) AND ((? = 1 AND `cllocarec_n` IS NULL) OR (`" + - "cllocarec_n` = ?)))"; - this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcodcn", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcodcn", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clragd", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clragd", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_flcanc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_flcanc", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_flcanc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_flcanc", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcod", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcod", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcdpiva", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdpiva", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcdpiva", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdpiva", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindi", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clloca", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clloca", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcapo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapo", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcapo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapo", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprov", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprov", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprov", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprov", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldist", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldist", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldist", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldist", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstat", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstat", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstat", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstat", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstatiso", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatiso", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstatiso", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatiso", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcdfi", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdfi", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcdfi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdfi", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindidomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindidomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cllocadomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cllocadomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcapodomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapodomfisc", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcapodomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapodomfisc", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprovdomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovdomfisc", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprovdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovdomfisc", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldistdomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldistdomfisc", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldistdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldistdomfisc", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstatdomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatdomfisc", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstatdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatdomfisc", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstatisodomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatisodomfisc", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstatisodomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatisodomfisc", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clalle", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clalle", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clalle", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clalle", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clfldi", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clfldi", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clfldi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clfldi", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcognom", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcognom", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcognom", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcognom", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clnome", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnome", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clnome", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnome", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldtna", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtna", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldtna", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtna", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcona", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcona", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcona", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcona", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprna", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprna", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprna", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprna", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cluscn", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cluscn", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cluscn", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cluscn", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstna", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstna", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstna", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstna", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clsess", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsess", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clsess", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsess", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clrita", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clrita", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clrita", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clrita", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_zona", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_zona", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_zona", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_zona", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcategoria", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcategoria", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcategoria2", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria2", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcategoria2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria2", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_sett_att1", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att1", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_sett_att1", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att1", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_sett_att2", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att2", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_sett_att2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att2", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_categco", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_categco", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_categco", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_categco", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_ling", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_ling", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_ling", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_ling", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_filiale", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_filiale", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_filiale", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_filiale", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_cod_old", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_old", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_cod_old", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_old", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_cod_gruppo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_gruppo", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_cod_gruppo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_gruppo", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_vt1", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt1", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_vt1", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt1", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_vt2", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt2", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_vt2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt2", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_vt3", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt3", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_vt3", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt3", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_vt4", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt4", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_vt4", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt4", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_abc_pa_sol_csolv_ID", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "abc_pa_sol_csolv_ID", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_abc_pa_sol_csolv_ID", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "abc_pa_sol_csolv_ID", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_solv_dtupd", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_solv_dtupd", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_solv_dtupd", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_solv_dtupd", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldtfineutil", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtfineutil", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldtfineutil", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtfineutil", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_fl_decod_anag", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_fl_decod_anag", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_fl_decod_anag", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_fl_decod_anag", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindirec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindirec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cllocarec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cllocarec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcaporec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcaporec", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcaporec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcaporec", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprovrec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovrec", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprovrec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovrec", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clnfaxrec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfaxrec", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clnfaxrec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfaxrec", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cltelerec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cltelerec", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cltelerec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cltelerec", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprcinps", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprcinps", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprcinps", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprcinps", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clsuffreplica", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsuffreplica", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clsuffreplica", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsuffreplica", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldtins", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtins", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldtins", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtins", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldtvalidini", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtvalidini", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldtvalidini", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtvalidini", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcdaccisa", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdaccisa", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcdaccisa", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdaccisa", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clnicciaa", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnicciaa", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clnicciaa", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnicciaa", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clnregimp", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnregimp", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clnregimp", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnregimp", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcod_estero", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod_estero", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcod_estero", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod_estero", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clemail", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clemail", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clemail", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clemail", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clwww", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clwww", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clwww", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clwww", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clctrib", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clctrib", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clctrib", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clctrib", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clCodCausRit", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clCodCausRit", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clCodCausRit", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clCodCausRit", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clQuadro", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clQuadro", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clQuadro", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clQuadro", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_destStampe", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_destStampe", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_destStampe", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_destStampe", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clragd_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd_n", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clragd_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd_n", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindi_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi_n", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindi_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi_n", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clloca_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca_n", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clloca_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca_n", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindidomfisc_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc_n", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindidomfisc_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc_n", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cllocadomfisc_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc_n", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cllocadomfisc_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc_n", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindirec_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec_n", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindirec_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec_n", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cllocarec_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec_n", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cllocarec_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec_n", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.InsertCommand = new global::System.Data.OleDb.OleDbCommand(); - this._adapter.InsertCommand.Connection = this.Connection; - this._adapter.InsertCommand.CommandText = @"INSERT INTO `acl` (`clcodcn`, `clragd`, `cl_flcanc`, `clcod`, `clcdpiva`, `clindi`, `clloca`, `clcapo`, `clprov`, `cldist`, `clstat`, `clstatiso`, `clcdfi`, `cltele`, `clnfax`, `clindidomfisc`, `cllocadomfisc`, `clcapodomfisc`, `clprovdomfisc`, `cldistdomfisc`, `clstatdomfisc`, `clstatisodomfisc`, `clteledomfisc`, `clnfaxdomfisc`, `clalle`, `clfldi`, `clcognom`, `clnome`, `cldtna`, `clcona`, `clprna`, `cluscn`, `clstna`, `clsess`, `clrita`, `clannot1`, `clannot2`, `cl_zona`, `clcategoria`, `clcategoria2`, `cl_sett_att1`, `cl_sett_att2`, `clnote`, `cl_categco`, `cl_ling`, `cl_filiale`, `cl_cod_old`, `cl_cod_gruppo`, `cl_vt1`, `cl_vt2`, `cl_vt3`, `cl_vt4`, `abc_pa_sol_csolv_ID`, `cl_solv_dtupd`, `cldtfineutil`, `cl_fl_decod_anag`, `clindirec`, `cllocarec`, `clcaporec`, `clprovrec`, `clnfaxrec`, `cltelerec`, `clprcinps`, `clsuffreplica`, `cldtins`, `cldtvalidini`, `clcdaccisa`, `clnicciaa`, `clnregimp`, `clcod_estero`, `clemail`, `clwww`, `clctrib`, `clCodCausRit`, `clQuadro`, `cl_destStampe`, `clragd_n`, `clindi_n`, `clloca_n`, `clindidomfisc_n`, `cllocadomfisc_n`, `clindirec_n`, `cllocarec_n`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcodcn", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcodcn", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clragd", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_flcanc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_flcanc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcod", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcdpiva", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdpiva", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clloca", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcapo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapo", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprov", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprov", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldist", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldist", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstat", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstat", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstatiso", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatiso", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcdfi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdfi", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cltele", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cltele", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnfax", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfax", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindidomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cllocadomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcapodomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapodomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprovdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovdomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldistdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldistdomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstatdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatdomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstatisodomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatisodomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clteledomfisc", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clteledomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnfaxdomfisc", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfaxdomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clalle", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clalle", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clfldi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clfldi", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcognom", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcognom", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnome", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnome", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldtna", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtna", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcona", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcona", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprna", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprna", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cluscn", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cluscn", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstna", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstna", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clsess", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsess", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clrita", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clrita", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clannot1", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clannot1", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clannot2", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clannot2", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_zona", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_zona", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcategoria", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcategoria2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria2", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_sett_att1", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att1", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_sett_att2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att2", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnote", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnote", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_categco", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_categco", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_ling", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_ling", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_filiale", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_filiale", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_cod_old", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_old", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_cod_gruppo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_gruppo", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_vt1", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt1", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_vt2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt2", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_vt3", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt3", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_vt4", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt4", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("abc_pa_sol_csolv_ID", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "abc_pa_sol_csolv_ID", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_solv_dtupd", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_solv_dtupd", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldtfineutil", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtfineutil", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_fl_decod_anag", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_fl_decod_anag", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindirec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cllocarec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcaporec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcaporec", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprovrec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovrec", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnfaxrec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfaxrec", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cltelerec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cltelerec", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprcinps", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprcinps", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clsuffreplica", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsuffreplica", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldtins", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtins", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldtvalidini", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtvalidini", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcdaccisa", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdaccisa", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnicciaa", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnicciaa", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnregimp", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnregimp", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcod_estero", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod_estero", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clemail", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clemail", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clwww", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clwww", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clctrib", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clctrib", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clCodCausRit", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clCodCausRit", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clQuadro", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clQuadro", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_destStampe", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_destStampe", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clragd_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd_n", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindi_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi_n", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clloca_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca_n", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindidomfisc_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc_n", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cllocadomfisc_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc_n", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindirec_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec_n", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cllocarec_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec_n", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand = new global::System.Data.OleDb.OleDbCommand(); - this._adapter.UpdateCommand.Connection = this.Connection; - this._adapter.UpdateCommand.CommandText = "UPDATE `acl` SET `clcodcn` = ?, `clragd` = ?, `cl_flcanc` = ?, `clcod` = ?, `clcd" + - "piva` = ?, `clindi` = ?, `clloca` = ?, `clcapo` = ?, `clprov` = ?, `cldist` = ?," + - " `clstat` = ?, `clstatiso` = ?, `clcdfi` = ?, `cltele` = ?, `clnfax` = ?, `clind" + - "idomfisc` = ?, `cllocadomfisc` = ?, `clcapodomfisc` = ?, `clprovdomfisc` = ?, `c" + - "ldistdomfisc` = ?, `clstatdomfisc` = ?, `clstatisodomfisc` = ?, `clteledomfisc` " + - "= ?, `clnfaxdomfisc` = ?, `clalle` = ?, `clfldi` = ?, `clcognom` = ?, `clnome` =" + - " ?, `cldtna` = ?, `clcona` = ?, `clprna` = ?, `cluscn` = ?, `clstna` = ?, `clses" + - "s` = ?, `clrita` = ?, `clannot1` = ?, `clannot2` = ?, `cl_zona` = ?, `clcategori" + - "a` = ?, `clcategoria2` = ?, `cl_sett_att1` = ?, `cl_sett_att2` = ?, `clnote` = ?" + - ", `cl_categco` = ?, `cl_ling` = ?, `cl_filiale` = ?, `cl_cod_old` = ?, `cl_cod_g" + - "ruppo` = ?, `cl_vt1` = ?, `cl_vt2` = ?, `cl_vt3` = ?, `cl_vt4` = ?, `abc_pa_sol_" + - "csolv_ID` = ?, `cl_solv_dtupd` = ?, `cldtfineutil` = ?, `cl_fl_decod_anag` = ?, " + - "`clindirec` = ?, `cllocarec` = ?, `clcaporec` = ?, `clprovrec` = ?, `clnfaxrec` " + - "= ?, `cltelerec` = ?, `clprcinps` = ?, `clsuffreplica` = ?, `cldtins` = ?, `cldt" + - "validini` = ?, `clcdaccisa` = ?, `clnicciaa` = ?, `clnregimp` = ?, `clcod_estero" + - "` = ?, `clemail` = ?, `clwww` = ?, `clctrib` = ?, `clCodCausRit` = ?, `clQuadro`" + - " = ?, `cl_destStampe` = ?, `clragd_n` = ?, `clindi_n` = ?, `clloca_n` = ?, `clin" + - "didomfisc_n` = ?, `cllocadomfisc_n` = ?, `clindirec_n` = ?, `cllocarec_n` = ? WH" + - "ERE ((`clcodcn` = ?) AND ((? = 1 AND `clragd` IS NULL) OR (`clragd` = ?)) AND ((" + - "? = 1 AND `cl_flcanc` IS NULL) OR (`cl_flcanc` = ?)) AND ((? = 1 AND `clcod` IS " + - "NULL) OR (`clcod` = ?)) AND ((? = 1 AND `clcdpiva` IS NULL) OR (`clcdpiva` = ?))" + - " AND ((? = 1 AND `clindi` IS NULL) OR (`clindi` = ?)) AND ((? = 1 AND `clloca` I" + - "S NULL) OR (`clloca` = ?)) AND ((? = 1 AND `clcapo` IS NULL) OR (`clcapo` = ?)) " + - "AND ((? = 1 AND `clprov` IS NULL) OR (`clprov` = ?)) AND ((? = 1 AND `cldist` IS" + - " NULL) OR (`cldist` = ?)) AND ((? = 1 AND `clstat` IS NULL) OR (`clstat` = ?)) A" + - "ND ((? = 1 AND `clstatiso` IS NULL) OR (`clstatiso` = ?)) AND ((? = 1 AND `clcdf" + - "i` IS NULL) OR (`clcdfi` = ?)) AND ((? = 1 AND `clindidomfisc` IS NULL) OR (`cli" + - "ndidomfisc` = ?)) AND ((? = 1 AND `cllocadomfisc` IS NULL) OR (`cllocadomfisc` =" + - " ?)) AND ((? = 1 AND `clcapodomfisc` IS NULL) OR (`clcapodomfisc` = ?)) AND ((? " + - "= 1 AND `clprovdomfisc` IS NULL) OR (`clprovdomfisc` = ?)) AND ((? = 1 AND `cldi" + - "stdomfisc` IS NULL) OR (`cldistdomfisc` = ?)) AND ((? = 1 AND `clstatdomfisc` IS" + - " NULL) OR (`clstatdomfisc` = ?)) AND ((? = 1 AND `clstatisodomfisc` IS NULL) OR " + - "(`clstatisodomfisc` = ?)) AND ((? = 1 AND `clalle` IS NULL) OR (`clalle` = ?)) A" + - "ND ((? = 1 AND `clfldi` IS NULL) OR (`clfldi` = ?)) AND ((? = 1 AND `clcognom` I" + - "S NULL) OR (`clcognom` = ?)) AND ((? = 1 AND `clnome` IS NULL) OR (`clnome` = ?)" + - ") AND ((? = 1 AND `cldtna` IS NULL) OR (`cldtna` = ?)) AND ((? = 1 AND `clcona` " + - "IS NULL) OR (`clcona` = ?)) AND ((? = 1 AND `clprna` IS NULL) OR (`clprna` = ?))" + - " AND ((? = 1 AND `cluscn` IS NULL) OR (`cluscn` = ?)) AND ((? = 1 AND `clstna` I" + - "S NULL) OR (`clstna` = ?)) AND ((? = 1 AND `clsess` IS NULL) OR (`clsess` = ?)) " + - "AND ((? = 1 AND `clrita` IS NULL) OR (`clrita` = ?)) AND ((? = 1 AND `cl_zona` I" + - "S NULL) OR (`cl_zona` = ?)) AND ((? = 1 AND `clcategoria` IS NULL) OR (`clcatego" + - "ria` = ?)) AND ((? = 1 AND `clcategoria2` IS NULL) OR (`clcategoria2` = ?)) AND " + - "((? = 1 AND `cl_sett_att1` IS NULL) OR (`cl_sett_att1` = ?)) AND ((? = 1 AND `cl" + - "_sett_att2` IS NULL) OR (`cl_sett_att2` = ?)) AND ((? = 1 AND `cl_categco` IS NU" + - "LL) OR (`cl_categco` = ?)) AND ((? = 1 AND `cl_ling` IS NULL) OR (`cl_ling` = ?)" + - ") AND ((? = 1 AND `cl_filiale` IS NULL) OR (`cl_filiale` = ?)) AND ((? = 1 AND `" + - "cl_cod_old` IS NULL) OR (`cl_cod_old` = ?)) AND ((? = 1 AND `cl_cod_gruppo` IS N" + - "ULL) OR (`cl_cod_gruppo` = ?)) AND ((? = 1 AND `cl_vt1` IS NULL) OR (`cl_vt1` = " + - "?)) AND ((? = 1 AND `cl_vt2` IS NULL) OR (`cl_vt2` = ?)) AND ((? = 1 AND `cl_vt3" + - "` IS NULL) OR (`cl_vt3` = ?)) AND ((? = 1 AND `cl_vt4` IS NULL) OR (`cl_vt4` = ?" + - ")) AND ((? = 1 AND `abc_pa_sol_csolv_ID` IS NULL) OR (`abc_pa_sol_csolv_ID` = ?)" + - ") AND ((? = 1 AND `cl_solv_dtupd` IS NULL) OR (`cl_solv_dtupd` = ?)) AND ((? = 1" + - " AND `cldtfineutil` IS NULL) OR (`cldtfineutil` = ?)) AND ((? = 1 AND `cl_fl_dec" + - "od_anag` IS NULL) OR (`cl_fl_decod_anag` = ?)) AND ((? = 1 AND `clindirec` IS NU" + - "LL) OR (`clindirec` = ?)) AND ((? = 1 AND `cllocarec` IS NULL) OR (`cllocarec` =" + - " ?)) AND ((? = 1 AND `clcaporec` IS NULL) OR (`clcaporec` = ?)) AND ((? = 1 AND " + - "`clprovrec` IS NULL) OR (`clprovrec` = ?)) AND ((? = 1 AND `clnfaxrec` IS NULL) " + - "OR (`clnfaxrec` = ?)) AND ((? = 1 AND `cltelerec` IS NULL) OR (`cltelerec` = ?))" + - " AND ((? = 1 AND `clprcinps` IS NULL) OR (`clprcinps` = ?)) AND ((? = 1 AND `cls" + - "uffreplica` IS NULL) OR (`clsuffreplica` = ?)) AND ((? = 1 AND `cldtins` IS NULL" + - ") OR (`cldtins` = ?)) AND ((? = 1 AND `cldtvalidini` IS NULL) OR (`cldtvalidini`" + - " = ?)) AND ((? = 1 AND `clcdaccisa` IS NULL) OR (`clcdaccisa` = ?)) AND ((? = 1 " + - "AND `clnicciaa` IS NULL) OR (`clnicciaa` = ?)) AND ((? = 1 AND `clnregimp` IS NU" + - "LL) OR (`clnregimp` = ?)) AND ((? = 1 AND `clcod_estero` IS NULL) OR (`clcod_est" + - "ero` = ?)) AND ((? = 1 AND `clemail` IS NULL) OR (`clemail` = ?)) AND ((? = 1 AN" + - "D `clwww` IS NULL) OR (`clwww` = ?)) AND ((? = 1 AND `clctrib` IS NULL) OR (`clc" + - "trib` = ?)) AND ((? = 1 AND `clCodCausRit` IS NULL) OR (`clCodCausRit` = ?)) AND" + - " ((? = 1 AND `clQuadro` IS NULL) OR (`clQuadro` = ?)) AND ((? = 1 AND `cl_destSt" + - "ampe` IS NULL) OR (`cl_destStampe` = ?)) AND ((? = 1 AND `clragd_n` IS NULL) OR " + - "(`clragd_n` = ?)) AND ((? = 1 AND `clindi_n` IS NULL) OR (`clindi_n` = ?)) AND (" + - "(? = 1 AND `clloca_n` IS NULL) OR (`clloca_n` = ?)) AND ((? = 1 AND `clindidomfi" + - "sc_n` IS NULL) OR (`clindidomfisc_n` = ?)) AND ((? = 1 AND `cllocadomfisc_n` IS " + - "NULL) OR (`cllocadomfisc_n` = ?)) AND ((? = 1 AND `clindirec_n` IS NULL) OR (`cl" + - "indirec_n` = ?)) AND ((? = 1 AND `cllocarec_n` IS NULL) OR (`cllocarec_n` = ?)))" + - ""; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcodcn", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcodcn", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clragd", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_flcanc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_flcanc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcod", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcdpiva", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdpiva", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clloca", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcapo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapo", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprov", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprov", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldist", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldist", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstat", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstat", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstatiso", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatiso", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcdfi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdfi", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cltele", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cltele", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnfax", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfax", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindidomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cllocadomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcapodomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapodomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprovdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovdomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldistdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldistdomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstatdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatdomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstatisodomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatisodomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clteledomfisc", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clteledomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnfaxdomfisc", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfaxdomfisc", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clalle", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clalle", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clfldi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clfldi", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcognom", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcognom", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnome", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnome", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldtna", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtna", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcona", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcona", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprna", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprna", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cluscn", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cluscn", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstna", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstna", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clsess", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsess", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clrita", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clrita", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clannot1", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clannot1", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clannot2", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clannot2", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_zona", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_zona", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcategoria", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcategoria2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria2", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_sett_att1", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att1", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_sett_att2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att2", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnote", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnote", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_categco", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_categco", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_ling", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_ling", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_filiale", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_filiale", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_cod_old", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_old", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_cod_gruppo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_gruppo", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_vt1", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt1", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_vt2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt2", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_vt3", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt3", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_vt4", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt4", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("abc_pa_sol_csolv_ID", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "abc_pa_sol_csolv_ID", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_solv_dtupd", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_solv_dtupd", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldtfineutil", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtfineutil", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_fl_decod_anag", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_fl_decod_anag", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindirec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cllocarec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcaporec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcaporec", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprovrec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovrec", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnfaxrec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfaxrec", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cltelerec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cltelerec", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprcinps", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprcinps", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clsuffreplica", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsuffreplica", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldtins", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtins", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldtvalidini", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtvalidini", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcdaccisa", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdaccisa", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnicciaa", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnicciaa", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnregimp", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnregimp", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcod_estero", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod_estero", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clemail", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clemail", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clwww", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clwww", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clctrib", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clctrib", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clCodCausRit", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clCodCausRit", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clQuadro", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clQuadro", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_destStampe", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_destStampe", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clragd_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd_n", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindi_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi_n", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clloca_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca_n", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindidomfisc_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc_n", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cllocadomfisc_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc_n", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindirec_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec_n", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cllocarec_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec_n", global::System.Data.DataRowVersion.Current, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcodcn", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcodcn", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clragd", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clragd", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_flcanc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_flcanc", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_flcanc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_flcanc", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcod", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcod", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcdpiva", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdpiva", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcdpiva", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdpiva", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindi", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clloca", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clloca", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcapo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapo", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcapo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapo", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprov", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprov", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprov", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprov", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldist", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldist", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldist", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldist", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstat", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstat", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstat", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstat", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstatiso", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatiso", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstatiso", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatiso", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcdfi", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdfi", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcdfi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdfi", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindidomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindidomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cllocadomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cllocadomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcapodomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapodomfisc", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcapodomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapodomfisc", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprovdomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovdomfisc", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprovdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovdomfisc", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldistdomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldistdomfisc", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldistdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldistdomfisc", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstatdomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatdomfisc", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstatdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatdomfisc", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstatisodomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatisodomfisc", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstatisodomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatisodomfisc", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clalle", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clalle", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clalle", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clalle", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clfldi", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clfldi", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clfldi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clfldi", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcognom", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcognom", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcognom", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcognom", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clnome", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnome", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clnome", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnome", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldtna", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtna", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldtna", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtna", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcona", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcona", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcona", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcona", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprna", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprna", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprna", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprna", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cluscn", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cluscn", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cluscn", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cluscn", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstna", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstna", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstna", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstna", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clsess", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsess", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clsess", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsess", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clrita", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clrita", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clrita", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clrita", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_zona", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_zona", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_zona", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_zona", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcategoria", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcategoria", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcategoria2", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria2", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcategoria2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria2", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_sett_att1", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att1", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_sett_att1", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att1", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_sett_att2", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att2", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_sett_att2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att2", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_categco", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_categco", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_categco", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_categco", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_ling", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_ling", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_ling", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_ling", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_filiale", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_filiale", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_filiale", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_filiale", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_cod_old", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_old", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_cod_old", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_old", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_cod_gruppo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_gruppo", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_cod_gruppo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_gruppo", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_vt1", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt1", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_vt1", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt1", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_vt2", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt2", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_vt2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt2", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_vt3", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt3", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_vt3", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt3", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_vt4", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt4", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_vt4", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt4", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_abc_pa_sol_csolv_ID", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "abc_pa_sol_csolv_ID", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_abc_pa_sol_csolv_ID", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "abc_pa_sol_csolv_ID", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_solv_dtupd", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_solv_dtupd", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_solv_dtupd", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_solv_dtupd", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldtfineutil", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtfineutil", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldtfineutil", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtfineutil", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_fl_decod_anag", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_fl_decod_anag", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_fl_decod_anag", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_fl_decod_anag", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindirec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindirec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cllocarec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cllocarec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcaporec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcaporec", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcaporec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcaporec", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprovrec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovrec", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprovrec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovrec", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clnfaxrec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfaxrec", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clnfaxrec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfaxrec", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cltelerec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cltelerec", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cltelerec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cltelerec", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprcinps", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprcinps", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprcinps", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprcinps", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clsuffreplica", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsuffreplica", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clsuffreplica", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsuffreplica", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldtins", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtins", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldtins", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtins", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldtvalidini", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtvalidini", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldtvalidini", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtvalidini", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcdaccisa", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdaccisa", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcdaccisa", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdaccisa", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clnicciaa", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnicciaa", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clnicciaa", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnicciaa", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clnregimp", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnregimp", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clnregimp", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnregimp", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcod_estero", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod_estero", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcod_estero", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod_estero", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clemail", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clemail", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clemail", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clemail", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clwww", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clwww", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clwww", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clwww", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clctrib", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clctrib", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clctrib", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clctrib", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clCodCausRit", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clCodCausRit", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clCodCausRit", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clCodCausRit", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clQuadro", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clQuadro", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clQuadro", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clQuadro", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_destStampe", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_destStampe", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_destStampe", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_destStampe", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clragd_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd_n", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clragd_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd_n", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindi_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi_n", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindi_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi_n", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clloca_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca_n", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clloca_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca_n", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindidomfisc_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc_n", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindidomfisc_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc_n", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cllocadomfisc_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc_n", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cllocadomfisc_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc_n", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindirec_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec_n", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindirec_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec_n", global::System.Data.DataRowVersion.Original, false, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cllocarec_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec_n", global::System.Data.DataRowVersion.Original, true, null)); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cllocarec_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec_n", global::System.Data.DataRowVersion.Original, false, null)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.OleDb.OleDbConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.si_dt30ConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.OleDb.OleDbCommand[1]; - this._commandCollection[0] = new global::System.Data.OleDb.OleDbCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = @"SELECT clcodcn, clragd, cl_flcanc, clcod, clcdpiva, clindi, clloca, clcapo, clprov, cldist, clstat, clstatiso, clcdfi, cltele, clnfax, clindidomfisc, cllocadomfisc, clcapodomfisc, clprovdomfisc, cldistdomfisc, clstatdomfisc, clstatisodomfisc, clteledomfisc, clnfaxdomfisc, clalle, clfldi, clcognom, clnome, cldtna, clcona, clprna, cluscn, clstna, clsess, clrita, clannot1, clannot2, cl_zona, clcategoria, clcategoria2, cl_sett_att1, cl_sett_att2, clnote, cl_categco, cl_ling, cl_filiale, cl_cod_old, cl_cod_gruppo, cl_vt1, cl_vt2, cl_vt3, cl_vt4, abc_pa_sol_csolv_ID, cl_solv_dtupd, cldtfineutil, cl_fl_decod_anag, clindirec, cllocarec, clcaporec, clprovrec, clnfaxrec, cltelerec, clprcinps, clsuffreplica, cldtins, cldtvalidini, clcdaccisa, clnicciaa, clnregimp, clcod_estero, clemail, clwww, clctrib, clCodCausRit, clQuadro, cl_destStampe, clragd_n, clindi_n, clloca_n, clindidomfisc_n, cllocadomfisc_n, clindirec_n, cllocarec_n FROM acl"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_import.aclDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_import.aclDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_import.aclDataTable dataTable = new DS_import.aclDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_import.aclDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_import dataSet) { - return this.Adapter.Update(dataSet, "acl"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete( - string Original_clcodcn, - string Original_clragd, - string Original_cl_flcanc, - string Original_clcod, - string Original_clcdpiva, - string Original_clindi, - string Original_clloca, - string Original_clcapo, - string Original_clprov, - string Original_cldist, - string Original_clstat, - string Original_clstatiso, - string Original_clcdfi, - string Original_clindidomfisc, - string Original_cllocadomfisc, - string Original_clcapodomfisc, - string Original_clprovdomfisc, - string Original_cldistdomfisc, - string Original_clstatdomfisc, - string Original_clstatisodomfisc, - string Original_clalle, - string Original_clfldi, - string Original_clcognom, - string Original_clnome, - global::System.Nullable Original_cldtna, - string Original_clcona, - string Original_clprna, - string Original_cluscn, - string Original_clstna, - string Original_clsess, - global::System.Nullable Original_clrita, - string Original_cl_zona, - string Original_clcategoria, - string Original_clcategoria2, - string Original_cl_sett_att1, - string Original_cl_sett_att2, - string Original_cl_categco, - string Original_cl_ling, - string Original_cl_filiale, - string Original_cl_cod_old, - string Original_cl_cod_gruppo, - string Original_cl_vt1, - string Original_cl_vt2, - string Original_cl_vt3, - string Original_cl_vt4, - string Original_abc_pa_sol_csolv_ID, - global::System.Nullable Original_cl_solv_dtupd, - global::System.Nullable Original_cldtfineutil, - string Original_cl_fl_decod_anag, - string Original_clindirec, - string Original_cllocarec, - string Original_clcaporec, - string Original_clprovrec, - string Original_clnfaxrec, - string Original_cltelerec, - global::System.Nullable Original_clprcinps, - string Original_clsuffreplica, - global::System.Nullable Original_cldtins, - global::System.Nullable Original_cldtvalidini, - string Original_clcdaccisa, - string Original_clnicciaa, - string Original_clnregimp, - string Original_clcod_estero, - string Original_clemail, - string Original_clwww, - string Original_clctrib, - string Original_clCodCausRit, - string Original_clQuadro, - string Original_cl_destStampe, - string Original_clragd_n, - string Original_clindi_n, - string Original_clloca_n, - string Original_clindidomfisc_n, - string Original_cllocadomfisc_n, - string Original_clindirec_n, - string Original_cllocarec_n) { - if ((Original_clcodcn == null)) { - this.Adapter.DeleteCommand.Parameters[0].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_clcodcn)); - } - if ((Original_clragd == null)) { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_clragd)); - } - if ((Original_cl_flcanc == null)) { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_cl_flcanc)); - } - if ((Original_clcod == null)) { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_clcod)); - } - if ((Original_clcdpiva == null)) { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_clcdpiva)); - } - if ((Original_clindi == null)) { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_clindi)); - } - if ((Original_clloca == null)) { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_clloca)); - } - if ((Original_clcapo == null)) { - this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_clcapo)); - } - if ((Original_clprov == null)) { - this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_clprov)); - } - if ((Original_cldist == null)) { - this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_cldist)); - } - if ((Original_clstat == null)) { - this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_clstat)); - } - if ((Original_clstatiso == null)) { - this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_clstatiso)); - } - if ((Original_clcdfi == null)) { - this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[24].Value = ((string)(Original_clcdfi)); - } - if ((Original_clindidomfisc == null)) { - this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[26].Value = ((string)(Original_clindidomfisc)); - } - if ((Original_cllocadomfisc == null)) { - this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_cllocadomfisc)); - } - if ((Original_clcapodomfisc == null)) { - this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_clcapodomfisc)); - } - if ((Original_clprovdomfisc == null)) { - this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[32].Value = ((string)(Original_clprovdomfisc)); - } - if ((Original_cldistdomfisc == null)) { - this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_cldistdomfisc)); - } - if ((Original_clstatdomfisc == null)) { - this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[36].Value = ((string)(Original_clstatdomfisc)); - } - if ((Original_clstatisodomfisc == null)) { - this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[38].Value = ((string)(Original_clstatisodomfisc)); - } - if ((Original_clalle == null)) { - this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[40].Value = ((string)(Original_clalle)); - } - if ((Original_clfldi == null)) { - this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[42].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[42].Value = ((string)(Original_clfldi)); - } - if ((Original_clcognom == null)) { - this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[44].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[44].Value = ((string)(Original_clcognom)); - } - if ((Original_clnome == null)) { - this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[46].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[46].Value = ((string)(Original_clnome)); - } - if ((Original_cldtna.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[48].Value = ((System.DateTime)(Original_cldtna.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[48].Value = global::System.DBNull.Value; - } - if ((Original_clcona == null)) { - this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[50].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[50].Value = ((string)(Original_clcona)); - } - if ((Original_clprna == null)) { - this.Adapter.DeleteCommand.Parameters[51].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[52].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[51].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[52].Value = ((string)(Original_clprna)); - } - if ((Original_cluscn == null)) { - this.Adapter.DeleteCommand.Parameters[53].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[54].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[53].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[54].Value = ((string)(Original_cluscn)); - } - if ((Original_clstna == null)) { - this.Adapter.DeleteCommand.Parameters[55].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[56].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[55].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[56].Value = ((string)(Original_clstna)); - } - if ((Original_clsess == null)) { - this.Adapter.DeleteCommand.Parameters[57].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[58].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[57].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[58].Value = ((string)(Original_clsess)); - } - if ((Original_clrita.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[59].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[60].Value = ((float)(Original_clrita.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[59].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[60].Value = global::System.DBNull.Value; - } - if ((Original_cl_zona == null)) { - this.Adapter.DeleteCommand.Parameters[61].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[62].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[61].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[62].Value = ((string)(Original_cl_zona)); - } - if ((Original_clcategoria == null)) { - this.Adapter.DeleteCommand.Parameters[63].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[64].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[63].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[64].Value = ((string)(Original_clcategoria)); - } - if ((Original_clcategoria2 == null)) { - this.Adapter.DeleteCommand.Parameters[65].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[66].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[65].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[66].Value = ((string)(Original_clcategoria2)); - } - if ((Original_cl_sett_att1 == null)) { - this.Adapter.DeleteCommand.Parameters[67].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[68].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[67].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[68].Value = ((string)(Original_cl_sett_att1)); - } - if ((Original_cl_sett_att2 == null)) { - this.Adapter.DeleteCommand.Parameters[69].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[70].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[69].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[70].Value = ((string)(Original_cl_sett_att2)); - } - if ((Original_cl_categco == null)) { - this.Adapter.DeleteCommand.Parameters[71].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[72].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[71].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[72].Value = ((string)(Original_cl_categco)); - } - if ((Original_cl_ling == null)) { - this.Adapter.DeleteCommand.Parameters[73].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[74].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[73].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[74].Value = ((string)(Original_cl_ling)); - } - if ((Original_cl_filiale == null)) { - this.Adapter.DeleteCommand.Parameters[75].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[76].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[75].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[76].Value = ((string)(Original_cl_filiale)); - } - if ((Original_cl_cod_old == null)) { - this.Adapter.DeleteCommand.Parameters[77].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[78].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[77].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[78].Value = ((string)(Original_cl_cod_old)); - } - if ((Original_cl_cod_gruppo == null)) { - this.Adapter.DeleteCommand.Parameters[79].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[80].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[79].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[80].Value = ((string)(Original_cl_cod_gruppo)); - } - if ((Original_cl_vt1 == null)) { - this.Adapter.DeleteCommand.Parameters[81].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[82].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[81].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[82].Value = ((string)(Original_cl_vt1)); - } - if ((Original_cl_vt2 == null)) { - this.Adapter.DeleteCommand.Parameters[83].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[84].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[83].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[84].Value = ((string)(Original_cl_vt2)); - } - if ((Original_cl_vt3 == null)) { - this.Adapter.DeleteCommand.Parameters[85].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[86].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[85].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[86].Value = ((string)(Original_cl_vt3)); - } - if ((Original_cl_vt4 == null)) { - this.Adapter.DeleteCommand.Parameters[87].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[88].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[87].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[88].Value = ((string)(Original_cl_vt4)); - } - if ((Original_abc_pa_sol_csolv_ID == null)) { - this.Adapter.DeleteCommand.Parameters[89].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[90].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[89].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[90].Value = ((string)(Original_abc_pa_sol_csolv_ID)); - } - if ((Original_cl_solv_dtupd.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[91].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[92].Value = ((System.DateTime)(Original_cl_solv_dtupd.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[91].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[92].Value = global::System.DBNull.Value; - } - if ((Original_cldtfineutil.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[93].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[94].Value = ((System.DateTime)(Original_cldtfineutil.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[93].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[94].Value = global::System.DBNull.Value; - } - if ((Original_cl_fl_decod_anag == null)) { - this.Adapter.DeleteCommand.Parameters[95].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[96].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[95].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[96].Value = ((string)(Original_cl_fl_decod_anag)); - } - if ((Original_clindirec == null)) { - this.Adapter.DeleteCommand.Parameters[97].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[98].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[97].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[98].Value = ((string)(Original_clindirec)); - } - if ((Original_cllocarec == null)) { - this.Adapter.DeleteCommand.Parameters[99].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[100].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[99].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[100].Value = ((string)(Original_cllocarec)); - } - if ((Original_clcaporec == null)) { - this.Adapter.DeleteCommand.Parameters[101].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[102].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[101].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[102].Value = ((string)(Original_clcaporec)); - } - if ((Original_clprovrec == null)) { - this.Adapter.DeleteCommand.Parameters[103].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[104].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[103].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[104].Value = ((string)(Original_clprovrec)); - } - if ((Original_clnfaxrec == null)) { - this.Adapter.DeleteCommand.Parameters[105].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[106].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[105].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[106].Value = ((string)(Original_clnfaxrec)); - } - if ((Original_cltelerec == null)) { - this.Adapter.DeleteCommand.Parameters[107].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[108].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[107].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[108].Value = ((string)(Original_cltelerec)); - } - if ((Original_clprcinps.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[109].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[110].Value = ((float)(Original_clprcinps.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[109].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[110].Value = global::System.DBNull.Value; - } - if ((Original_clsuffreplica == null)) { - this.Adapter.DeleteCommand.Parameters[111].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[112].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[111].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[112].Value = ((string)(Original_clsuffreplica)); - } - if ((Original_cldtins.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[113].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[114].Value = ((System.DateTime)(Original_cldtins.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[113].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[114].Value = global::System.DBNull.Value; - } - if ((Original_cldtvalidini.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[115].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[116].Value = ((System.DateTime)(Original_cldtvalidini.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[115].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[116].Value = global::System.DBNull.Value; - } - if ((Original_clcdaccisa == null)) { - this.Adapter.DeleteCommand.Parameters[117].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[118].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[117].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[118].Value = ((string)(Original_clcdaccisa)); - } - if ((Original_clnicciaa == null)) { - this.Adapter.DeleteCommand.Parameters[119].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[120].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[119].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[120].Value = ((string)(Original_clnicciaa)); - } - if ((Original_clnregimp == null)) { - this.Adapter.DeleteCommand.Parameters[121].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[122].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[121].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[122].Value = ((string)(Original_clnregimp)); - } - if ((Original_clcod_estero == null)) { - this.Adapter.DeleteCommand.Parameters[123].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[124].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[123].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[124].Value = ((string)(Original_clcod_estero)); - } - if ((Original_clemail == null)) { - this.Adapter.DeleteCommand.Parameters[125].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[126].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[125].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[126].Value = ((string)(Original_clemail)); - } - if ((Original_clwww == null)) { - this.Adapter.DeleteCommand.Parameters[127].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[128].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[127].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[128].Value = ((string)(Original_clwww)); - } - if ((Original_clctrib == null)) { - this.Adapter.DeleteCommand.Parameters[129].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[130].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[129].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[130].Value = ((string)(Original_clctrib)); - } - if ((Original_clCodCausRit == null)) { - this.Adapter.DeleteCommand.Parameters[131].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[132].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[131].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[132].Value = ((string)(Original_clCodCausRit)); - } - if ((Original_clQuadro == null)) { - this.Adapter.DeleteCommand.Parameters[133].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[134].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[133].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[134].Value = ((string)(Original_clQuadro)); - } - if ((Original_cl_destStampe == null)) { - this.Adapter.DeleteCommand.Parameters[135].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[136].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[135].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[136].Value = ((string)(Original_cl_destStampe)); - } - if ((Original_clragd_n == null)) { - this.Adapter.DeleteCommand.Parameters[137].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[138].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[137].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[138].Value = ((string)(Original_clragd_n)); - } - if ((Original_clindi_n == null)) { - this.Adapter.DeleteCommand.Parameters[139].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[140].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[139].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[140].Value = ((string)(Original_clindi_n)); - } - if ((Original_clloca_n == null)) { - this.Adapter.DeleteCommand.Parameters[141].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[142].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[141].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[142].Value = ((string)(Original_clloca_n)); - } - if ((Original_clindidomfisc_n == null)) { - this.Adapter.DeleteCommand.Parameters[143].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[144].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[143].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[144].Value = ((string)(Original_clindidomfisc_n)); - } - if ((Original_cllocadomfisc_n == null)) { - this.Adapter.DeleteCommand.Parameters[145].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[146].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[145].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[146].Value = ((string)(Original_cllocadomfisc_n)); - } - if ((Original_clindirec_n == null)) { - this.Adapter.DeleteCommand.Parameters[147].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[148].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[147].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[148].Value = ((string)(Original_clindirec_n)); - } - if ((Original_cllocarec_n == null)) { - this.Adapter.DeleteCommand.Parameters[149].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[150].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[149].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[150].Value = ((string)(Original_cllocarec_n)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert( - string clcodcn, - string clragd, - string cl_flcanc, - string clcod, - string clcdpiva, - string clindi, - string clloca, - string clcapo, - string clprov, - string cldist, - string clstat, - string clstatiso, - string clcdfi, - string cltele, - string clnfax, - string clindidomfisc, - string cllocadomfisc, - string clcapodomfisc, - string clprovdomfisc, - string cldistdomfisc, - string clstatdomfisc, - string clstatisodomfisc, - string clteledomfisc, - string clnfaxdomfisc, - string clalle, - string clfldi, - string clcognom, - string clnome, - global::System.Nullable cldtna, - string clcona, - string clprna, - string cluscn, - string clstna, - string clsess, - global::System.Nullable clrita, - string clannot1, - string clannot2, - string cl_zona, - string clcategoria, - string clcategoria2, - string cl_sett_att1, - string cl_sett_att2, - string clnote, - string cl_categco, - string cl_ling, - string cl_filiale, - string cl_cod_old, - string cl_cod_gruppo, - string cl_vt1, - string cl_vt2, - string cl_vt3, - string cl_vt4, - string abc_pa_sol_csolv_ID, - global::System.Nullable cl_solv_dtupd, - global::System.Nullable cldtfineutil, - string cl_fl_decod_anag, - string clindirec, - string cllocarec, - string clcaporec, - string clprovrec, - string clnfaxrec, - string cltelerec, - global::System.Nullable clprcinps, - string clsuffreplica, - global::System.Nullable cldtins, - global::System.Nullable cldtvalidini, - string clcdaccisa, - string clnicciaa, - string clnregimp, - string clcod_estero, - string clemail, - string clwww, - string clctrib, - string clCodCausRit, - string clQuadro, - string cl_destStampe, - string clragd_n, - string clindi_n, - string clloca_n, - string clindidomfisc_n, - string cllocadomfisc_n, - string clindirec_n, - string cllocarec_n) { - if ((clcodcn == null)) { - this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = ((string)(clcodcn)); - } - if ((clragd == null)) { - this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(clragd)); - } - if ((cl_flcanc == null)) { - this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[2].Value = ((string)(cl_flcanc)); - } - if ((clcod == null)) { - this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[3].Value = ((string)(clcod)); - } - if ((clcdpiva == null)) { - this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[4].Value = ((string)(clcdpiva)); - } - if ((clindi == null)) { - this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[5].Value = ((string)(clindi)); - } - if ((clloca == null)) { - this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[6].Value = ((string)(clloca)); - } - if ((clcapo == null)) { - this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[7].Value = ((string)(clcapo)); - } - if ((clprov == null)) { - this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[8].Value = ((string)(clprov)); - } - if ((cldist == null)) { - this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[9].Value = ((string)(cldist)); - } - if ((clstat == null)) { - this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[10].Value = ((string)(clstat)); - } - if ((clstatiso == null)) { - this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[11].Value = ((string)(clstatiso)); - } - if ((clcdfi == null)) { - this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[12].Value = ((string)(clcdfi)); - } - if ((cltele == null)) { - this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[13].Value = ((string)(cltele)); - } - if ((clnfax == null)) { - this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[14].Value = ((string)(clnfax)); - } - if ((clindidomfisc == null)) { - this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[15].Value = ((string)(clindidomfisc)); - } - if ((cllocadomfisc == null)) { - this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[16].Value = ((string)(cllocadomfisc)); - } - if ((clcapodomfisc == null)) { - this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[17].Value = ((string)(clcapodomfisc)); - } - if ((clprovdomfisc == null)) { - this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[18].Value = ((string)(clprovdomfisc)); - } - if ((cldistdomfisc == null)) { - this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[19].Value = ((string)(cldistdomfisc)); - } - if ((clstatdomfisc == null)) { - this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[20].Value = ((string)(clstatdomfisc)); - } - if ((clstatisodomfisc == null)) { - this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[21].Value = ((string)(clstatisodomfisc)); - } - if ((clteledomfisc == null)) { - this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[22].Value = ((string)(clteledomfisc)); - } - if ((clnfaxdomfisc == null)) { - this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[23].Value = ((string)(clnfaxdomfisc)); - } - if ((clalle == null)) { - this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[24].Value = ((string)(clalle)); - } - if ((clfldi == null)) { - this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[25].Value = ((string)(clfldi)); - } - if ((clcognom == null)) { - this.Adapter.InsertCommand.Parameters[26].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[26].Value = ((string)(clcognom)); - } - if ((clnome == null)) { - this.Adapter.InsertCommand.Parameters[27].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[27].Value = ((string)(clnome)); - } - if ((cldtna.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[28].Value = ((System.DateTime)(cldtna.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[28].Value = global::System.DBNull.Value; - } - if ((clcona == null)) { - this.Adapter.InsertCommand.Parameters[29].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[29].Value = ((string)(clcona)); - } - if ((clprna == null)) { - this.Adapter.InsertCommand.Parameters[30].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[30].Value = ((string)(clprna)); - } - if ((cluscn == null)) { - this.Adapter.InsertCommand.Parameters[31].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[31].Value = ((string)(cluscn)); - } - if ((clstna == null)) { - this.Adapter.InsertCommand.Parameters[32].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[32].Value = ((string)(clstna)); - } - if ((clsess == null)) { - this.Adapter.InsertCommand.Parameters[33].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[33].Value = ((string)(clsess)); - } - if ((clrita.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[34].Value = ((float)(clrita.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[34].Value = global::System.DBNull.Value; - } - if ((clannot1 == null)) { - this.Adapter.InsertCommand.Parameters[35].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[35].Value = ((string)(clannot1)); - } - if ((clannot2 == null)) { - this.Adapter.InsertCommand.Parameters[36].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[36].Value = ((string)(clannot2)); - } - if ((cl_zona == null)) { - this.Adapter.InsertCommand.Parameters[37].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[37].Value = ((string)(cl_zona)); - } - if ((clcategoria == null)) { - this.Adapter.InsertCommand.Parameters[38].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[38].Value = ((string)(clcategoria)); - } - if ((clcategoria2 == null)) { - this.Adapter.InsertCommand.Parameters[39].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[39].Value = ((string)(clcategoria2)); - } - if ((cl_sett_att1 == null)) { - this.Adapter.InsertCommand.Parameters[40].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[40].Value = ((string)(cl_sett_att1)); - } - if ((cl_sett_att2 == null)) { - this.Adapter.InsertCommand.Parameters[41].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[41].Value = ((string)(cl_sett_att2)); - } - if ((clnote == null)) { - this.Adapter.InsertCommand.Parameters[42].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[42].Value = ((string)(clnote)); - } - if ((cl_categco == null)) { - this.Adapter.InsertCommand.Parameters[43].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[43].Value = ((string)(cl_categco)); - } - if ((cl_ling == null)) { - this.Adapter.InsertCommand.Parameters[44].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[44].Value = ((string)(cl_ling)); - } - if ((cl_filiale == null)) { - this.Adapter.InsertCommand.Parameters[45].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[45].Value = ((string)(cl_filiale)); - } - if ((cl_cod_old == null)) { - this.Adapter.InsertCommand.Parameters[46].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[46].Value = ((string)(cl_cod_old)); - } - if ((cl_cod_gruppo == null)) { - this.Adapter.InsertCommand.Parameters[47].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[47].Value = ((string)(cl_cod_gruppo)); - } - if ((cl_vt1 == null)) { - this.Adapter.InsertCommand.Parameters[48].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[48].Value = ((string)(cl_vt1)); - } - if ((cl_vt2 == null)) { - this.Adapter.InsertCommand.Parameters[49].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[49].Value = ((string)(cl_vt2)); - } - if ((cl_vt3 == null)) { - this.Adapter.InsertCommand.Parameters[50].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[50].Value = ((string)(cl_vt3)); - } - if ((cl_vt4 == null)) { - this.Adapter.InsertCommand.Parameters[51].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[51].Value = ((string)(cl_vt4)); - } - if ((abc_pa_sol_csolv_ID == null)) { - this.Adapter.InsertCommand.Parameters[52].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[52].Value = ((string)(abc_pa_sol_csolv_ID)); - } - if ((cl_solv_dtupd.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[53].Value = ((System.DateTime)(cl_solv_dtupd.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[53].Value = global::System.DBNull.Value; - } - if ((cldtfineutil.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[54].Value = ((System.DateTime)(cldtfineutil.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[54].Value = global::System.DBNull.Value; - } - if ((cl_fl_decod_anag == null)) { - this.Adapter.InsertCommand.Parameters[55].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[55].Value = ((string)(cl_fl_decod_anag)); - } - if ((clindirec == null)) { - this.Adapter.InsertCommand.Parameters[56].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[56].Value = ((string)(clindirec)); - } - if ((cllocarec == null)) { - this.Adapter.InsertCommand.Parameters[57].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[57].Value = ((string)(cllocarec)); - } - if ((clcaporec == null)) { - this.Adapter.InsertCommand.Parameters[58].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[58].Value = ((string)(clcaporec)); - } - if ((clprovrec == null)) { - this.Adapter.InsertCommand.Parameters[59].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[59].Value = ((string)(clprovrec)); - } - if ((clnfaxrec == null)) { - this.Adapter.InsertCommand.Parameters[60].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[60].Value = ((string)(clnfaxrec)); - } - if ((cltelerec == null)) { - this.Adapter.InsertCommand.Parameters[61].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[61].Value = ((string)(cltelerec)); - } - if ((clprcinps.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[62].Value = ((float)(clprcinps.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[62].Value = global::System.DBNull.Value; - } - if ((clsuffreplica == null)) { - this.Adapter.InsertCommand.Parameters[63].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[63].Value = ((string)(clsuffreplica)); - } - if ((cldtins.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[64].Value = ((System.DateTime)(cldtins.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[64].Value = global::System.DBNull.Value; - } - if ((cldtvalidini.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[65].Value = ((System.DateTime)(cldtvalidini.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[65].Value = global::System.DBNull.Value; - } - if ((clcdaccisa == null)) { - this.Adapter.InsertCommand.Parameters[66].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[66].Value = ((string)(clcdaccisa)); - } - if ((clnicciaa == null)) { - this.Adapter.InsertCommand.Parameters[67].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[67].Value = ((string)(clnicciaa)); - } - if ((clnregimp == null)) { - this.Adapter.InsertCommand.Parameters[68].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[68].Value = ((string)(clnregimp)); - } - if ((clcod_estero == null)) { - this.Adapter.InsertCommand.Parameters[69].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[69].Value = ((string)(clcod_estero)); - } - if ((clemail == null)) { - this.Adapter.InsertCommand.Parameters[70].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[70].Value = ((string)(clemail)); - } - if ((clwww == null)) { - this.Adapter.InsertCommand.Parameters[71].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[71].Value = ((string)(clwww)); - } - if ((clctrib == null)) { - this.Adapter.InsertCommand.Parameters[72].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[72].Value = ((string)(clctrib)); - } - if ((clCodCausRit == null)) { - this.Adapter.InsertCommand.Parameters[73].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[73].Value = ((string)(clCodCausRit)); - } - if ((clQuadro == null)) { - this.Adapter.InsertCommand.Parameters[74].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[74].Value = ((string)(clQuadro)); - } - if ((cl_destStampe == null)) { - this.Adapter.InsertCommand.Parameters[75].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[75].Value = ((string)(cl_destStampe)); - } - if ((clragd_n == null)) { - this.Adapter.InsertCommand.Parameters[76].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[76].Value = ((string)(clragd_n)); - } - if ((clindi_n == null)) { - this.Adapter.InsertCommand.Parameters[77].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[77].Value = ((string)(clindi_n)); - } - if ((clloca_n == null)) { - this.Adapter.InsertCommand.Parameters[78].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[78].Value = ((string)(clloca_n)); - } - if ((clindidomfisc_n == null)) { - this.Adapter.InsertCommand.Parameters[79].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[79].Value = ((string)(clindidomfisc_n)); - } - if ((cllocadomfisc_n == null)) { - this.Adapter.InsertCommand.Parameters[80].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[80].Value = ((string)(cllocadomfisc_n)); - } - if ((clindirec_n == null)) { - this.Adapter.InsertCommand.Parameters[81].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[81].Value = ((string)(clindirec_n)); - } - if ((cllocarec_n == null)) { - this.Adapter.InsertCommand.Parameters[82].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[82].Value = ((string)(cllocarec_n)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.InsertCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.InsertCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update( - string clcodcn, - string clragd, - string cl_flcanc, - string clcod, - string clcdpiva, - string clindi, - string clloca, - string clcapo, - string clprov, - string cldist, - string clstat, - string clstatiso, - string clcdfi, - string cltele, - string clnfax, - string clindidomfisc, - string cllocadomfisc, - string clcapodomfisc, - string clprovdomfisc, - string cldistdomfisc, - string clstatdomfisc, - string clstatisodomfisc, - string clteledomfisc, - string clnfaxdomfisc, - string clalle, - string clfldi, - string clcognom, - string clnome, - global::System.Nullable cldtna, - string clcona, - string clprna, - string cluscn, - string clstna, - string clsess, - global::System.Nullable clrita, - string clannot1, - string clannot2, - string cl_zona, - string clcategoria, - string clcategoria2, - string cl_sett_att1, - string cl_sett_att2, - string clnote, - string cl_categco, - string cl_ling, - string cl_filiale, - string cl_cod_old, - string cl_cod_gruppo, - string cl_vt1, - string cl_vt2, - string cl_vt3, - string cl_vt4, - string abc_pa_sol_csolv_ID, - global::System.Nullable cl_solv_dtupd, - global::System.Nullable cldtfineutil, - string cl_fl_decod_anag, - string clindirec, - string cllocarec, - string clcaporec, - string clprovrec, - string clnfaxrec, - string cltelerec, - global::System.Nullable clprcinps, - string clsuffreplica, - global::System.Nullable cldtins, - global::System.Nullable cldtvalidini, - string clcdaccisa, - string clnicciaa, - string clnregimp, - string clcod_estero, - string clemail, - string clwww, - string clctrib, - string clCodCausRit, - string clQuadro, - string cl_destStampe, - string clragd_n, - string clindi_n, - string clloca_n, - string clindidomfisc_n, - string cllocadomfisc_n, - string clindirec_n, - string cllocarec_n, - string Original_clcodcn, - string Original_clragd, - string Original_cl_flcanc, - string Original_clcod, - string Original_clcdpiva, - string Original_clindi, - string Original_clloca, - string Original_clcapo, - string Original_clprov, - string Original_cldist, - string Original_clstat, - string Original_clstatiso, - string Original_clcdfi, - string Original_clindidomfisc, - string Original_cllocadomfisc, - string Original_clcapodomfisc, - string Original_clprovdomfisc, - string Original_cldistdomfisc, - string Original_clstatdomfisc, - string Original_clstatisodomfisc, - string Original_clalle, - string Original_clfldi, - string Original_clcognom, - string Original_clnome, - global::System.Nullable Original_cldtna, - string Original_clcona, - string Original_clprna, - string Original_cluscn, - string Original_clstna, - string Original_clsess, - global::System.Nullable Original_clrita, - string Original_cl_zona, - string Original_clcategoria, - string Original_clcategoria2, - string Original_cl_sett_att1, - string Original_cl_sett_att2, - string Original_cl_categco, - string Original_cl_ling, - string Original_cl_filiale, - string Original_cl_cod_old, - string Original_cl_cod_gruppo, - string Original_cl_vt1, - string Original_cl_vt2, - string Original_cl_vt3, - string Original_cl_vt4, - string Original_abc_pa_sol_csolv_ID, - global::System.Nullable Original_cl_solv_dtupd, - global::System.Nullable Original_cldtfineutil, - string Original_cl_fl_decod_anag, - string Original_clindirec, - string Original_cllocarec, - string Original_clcaporec, - string Original_clprovrec, - string Original_clnfaxrec, - string Original_cltelerec, - global::System.Nullable Original_clprcinps, - string Original_clsuffreplica, - global::System.Nullable Original_cldtins, - global::System.Nullable Original_cldtvalidini, - string Original_clcdaccisa, - string Original_clnicciaa, - string Original_clnregimp, - string Original_clcod_estero, - string Original_clemail, - string Original_clwww, - string Original_clctrib, - string Original_clCodCausRit, - string Original_clQuadro, - string Original_cl_destStampe, - string Original_clragd_n, - string Original_clindi_n, - string Original_clloca_n, - string Original_clindidomfisc_n, - string Original_cllocadomfisc_n, - string Original_clindirec_n, - string Original_cllocarec_n) { - if ((clcodcn == null)) { - this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(clcodcn)); - } - if ((clragd == null)) { - this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(clragd)); - } - if ((cl_flcanc == null)) { - this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(cl_flcanc)); - } - if ((clcod == null)) { - this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(clcod)); - } - if ((clcdpiva == null)) { - this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(clcdpiva)); - } - if ((clindi == null)) { - this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(clindi)); - } - if ((clloca == null)) { - this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(clloca)); - } - if ((clcapo == null)) { - this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(clcapo)); - } - if ((clprov == null)) { - this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(clprov)); - } - if ((cldist == null)) { - this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(cldist)); - } - if ((clstat == null)) { - this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(clstat)); - } - if ((clstatiso == null)) { - this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(clstatiso)); - } - if ((clcdfi == null)) { - this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(clcdfi)); - } - if ((cltele == null)) { - this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(cltele)); - } - if ((clnfax == null)) { - this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(clnfax)); - } - if ((clindidomfisc == null)) { - this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(clindidomfisc)); - } - if ((cllocadomfisc == null)) { - this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(cllocadomfisc)); - } - if ((clcapodomfisc == null)) { - this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(clcapodomfisc)); - } - if ((clprovdomfisc == null)) { - this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(clprovdomfisc)); - } - if ((cldistdomfisc == null)) { - this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(cldistdomfisc)); - } - if ((clstatdomfisc == null)) { - this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(clstatdomfisc)); - } - if ((clstatisodomfisc == null)) { - this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(clstatisodomfisc)); - } - if ((clteledomfisc == null)) { - this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(clteledomfisc)); - } - if ((clnfaxdomfisc == null)) { - this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(clnfaxdomfisc)); - } - if ((clalle == null)) { - this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(clalle)); - } - if ((clfldi == null)) { - this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(clfldi)); - } - if ((clcognom == null)) { - this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(clcognom)); - } - if ((clnome == null)) { - this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(clnome)); - } - if ((cldtna.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[28].Value = ((System.DateTime)(cldtna.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; - } - if ((clcona == null)) { - this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(clcona)); - } - if ((clprna == null)) { - this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(clprna)); - } - if ((cluscn == null)) { - this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(cluscn)); - } - if ((clstna == null)) { - this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(clstna)); - } - if ((clsess == null)) { - this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(clsess)); - } - if ((clrita.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[34].Value = ((float)(clrita.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value; - } - if ((clannot1 == null)) { - this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(clannot1)); - } - if ((clannot2 == null)) { - this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(clannot2)); - } - if ((cl_zona == null)) { - this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(cl_zona)); - } - if ((clcategoria == null)) { - this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(clcategoria)); - } - if ((clcategoria2 == null)) { - this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(clcategoria2)); - } - if ((cl_sett_att1 == null)) { - this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(cl_sett_att1)); - } - if ((cl_sett_att2 == null)) { - this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(cl_sett_att2)); - } - if ((clnote == null)) { - this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(clnote)); - } - if ((cl_categco == null)) { - this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(cl_categco)); - } - if ((cl_ling == null)) { - this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(cl_ling)); - } - if ((cl_filiale == null)) { - this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(cl_filiale)); - } - if ((cl_cod_old == null)) { - this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(cl_cod_old)); - } - if ((cl_cod_gruppo == null)) { - this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(cl_cod_gruppo)); - } - if ((cl_vt1 == null)) { - this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(cl_vt1)); - } - if ((cl_vt2 == null)) { - this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(cl_vt2)); - } - if ((cl_vt3 == null)) { - this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(cl_vt3)); - } - if ((cl_vt4 == null)) { - this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(cl_vt4)); - } - if ((abc_pa_sol_csolv_ID == null)) { - this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(abc_pa_sol_csolv_ID)); - } - if ((cl_solv_dtupd.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[53].Value = ((System.DateTime)(cl_solv_dtupd.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value; - } - if ((cldtfineutil.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[54].Value = ((System.DateTime)(cldtfineutil.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value; - } - if ((cl_fl_decod_anag == null)) { - this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[55].Value = ((string)(cl_fl_decod_anag)); - } - if ((clindirec == null)) { - this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(clindirec)); - } - if ((cllocarec == null)) { - this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[57].Value = ((string)(cllocarec)); - } - if ((clcaporec == null)) { - this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[58].Value = ((string)(clcaporec)); - } - if ((clprovrec == null)) { - this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[59].Value = ((string)(clprovrec)); - } - if ((clnfaxrec == null)) { - this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[60].Value = ((string)(clnfaxrec)); - } - if ((cltelerec == null)) { - this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[61].Value = ((string)(cltelerec)); - } - if ((clprcinps.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[62].Value = ((float)(clprcinps.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value; - } - if ((clsuffreplica == null)) { - this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[63].Value = ((string)(clsuffreplica)); - } - if ((cldtins.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[64].Value = ((System.DateTime)(cldtins.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value; - } - if ((cldtvalidini.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[65].Value = ((System.DateTime)(cldtvalidini.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value; - } - if ((clcdaccisa == null)) { - this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[66].Value = ((string)(clcdaccisa)); - } - if ((clnicciaa == null)) { - this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[67].Value = ((string)(clnicciaa)); - } - if ((clnregimp == null)) { - this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[68].Value = ((string)(clnregimp)); - } - if ((clcod_estero == null)) { - this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[69].Value = ((string)(clcod_estero)); - } - if ((clemail == null)) { - this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[70].Value = ((string)(clemail)); - } - if ((clwww == null)) { - this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[71].Value = ((string)(clwww)); - } - if ((clctrib == null)) { - this.Adapter.UpdateCommand.Parameters[72].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[72].Value = ((string)(clctrib)); - } - if ((clCodCausRit == null)) { - this.Adapter.UpdateCommand.Parameters[73].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[73].Value = ((string)(clCodCausRit)); - } - if ((clQuadro == null)) { - this.Adapter.UpdateCommand.Parameters[74].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[74].Value = ((string)(clQuadro)); - } - if ((cl_destStampe == null)) { - this.Adapter.UpdateCommand.Parameters[75].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[75].Value = ((string)(cl_destStampe)); - } - if ((clragd_n == null)) { - this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[76].Value = ((string)(clragd_n)); - } - if ((clindi_n == null)) { - this.Adapter.UpdateCommand.Parameters[77].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[77].Value = ((string)(clindi_n)); - } - if ((clloca_n == null)) { - this.Adapter.UpdateCommand.Parameters[78].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[78].Value = ((string)(clloca_n)); - } - if ((clindidomfisc_n == null)) { - this.Adapter.UpdateCommand.Parameters[79].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[79].Value = ((string)(clindidomfisc_n)); - } - if ((cllocadomfisc_n == null)) { - this.Adapter.UpdateCommand.Parameters[80].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[80].Value = ((string)(cllocadomfisc_n)); - } - if ((clindirec_n == null)) { - this.Adapter.UpdateCommand.Parameters[81].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[81].Value = ((string)(clindirec_n)); - } - if ((cllocarec_n == null)) { - this.Adapter.UpdateCommand.Parameters[82].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[82].Value = ((string)(cllocarec_n)); - } - if ((Original_clcodcn == null)) { - this.Adapter.UpdateCommand.Parameters[83].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[83].Value = ((string)(Original_clcodcn)); - } - if ((Original_clragd == null)) { - this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[85].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[85].Value = ((string)(Original_clragd)); - } - if ((Original_cl_flcanc == null)) { - this.Adapter.UpdateCommand.Parameters[86].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[87].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[86].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[87].Value = ((string)(Original_cl_flcanc)); - } - if ((Original_clcod == null)) { - this.Adapter.UpdateCommand.Parameters[88].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[89].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[88].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[89].Value = ((string)(Original_clcod)); - } - if ((Original_clcdpiva == null)) { - this.Adapter.UpdateCommand.Parameters[90].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[91].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[90].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[91].Value = ((string)(Original_clcdpiva)); - } - if ((Original_clindi == null)) { - this.Adapter.UpdateCommand.Parameters[92].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[93].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[92].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[93].Value = ((string)(Original_clindi)); - } - if ((Original_clloca == null)) { - this.Adapter.UpdateCommand.Parameters[94].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[95].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[94].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[95].Value = ((string)(Original_clloca)); - } - if ((Original_clcapo == null)) { - this.Adapter.UpdateCommand.Parameters[96].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[97].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[96].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[97].Value = ((string)(Original_clcapo)); - } - if ((Original_clprov == null)) { - this.Adapter.UpdateCommand.Parameters[98].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[99].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[98].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[99].Value = ((string)(Original_clprov)); - } - if ((Original_cldist == null)) { - this.Adapter.UpdateCommand.Parameters[100].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[101].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[100].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[101].Value = ((string)(Original_cldist)); - } - if ((Original_clstat == null)) { - this.Adapter.UpdateCommand.Parameters[102].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[103].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[102].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[103].Value = ((string)(Original_clstat)); - } - if ((Original_clstatiso == null)) { - this.Adapter.UpdateCommand.Parameters[104].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[105].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[104].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[105].Value = ((string)(Original_clstatiso)); - } - if ((Original_clcdfi == null)) { - this.Adapter.UpdateCommand.Parameters[106].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[107].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[106].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[107].Value = ((string)(Original_clcdfi)); - } - if ((Original_clindidomfisc == null)) { - this.Adapter.UpdateCommand.Parameters[108].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[109].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[108].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[109].Value = ((string)(Original_clindidomfisc)); - } - if ((Original_cllocadomfisc == null)) { - this.Adapter.UpdateCommand.Parameters[110].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[111].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[110].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[111].Value = ((string)(Original_cllocadomfisc)); - } - if ((Original_clcapodomfisc == null)) { - this.Adapter.UpdateCommand.Parameters[112].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[113].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[112].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[113].Value = ((string)(Original_clcapodomfisc)); - } - if ((Original_clprovdomfisc == null)) { - this.Adapter.UpdateCommand.Parameters[114].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[115].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[114].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[115].Value = ((string)(Original_clprovdomfisc)); - } - if ((Original_cldistdomfisc == null)) { - this.Adapter.UpdateCommand.Parameters[116].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[117].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[116].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[117].Value = ((string)(Original_cldistdomfisc)); - } - if ((Original_clstatdomfisc == null)) { - this.Adapter.UpdateCommand.Parameters[118].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[119].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[118].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[119].Value = ((string)(Original_clstatdomfisc)); - } - if ((Original_clstatisodomfisc == null)) { - this.Adapter.UpdateCommand.Parameters[120].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[121].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[120].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[121].Value = ((string)(Original_clstatisodomfisc)); - } - if ((Original_clalle == null)) { - this.Adapter.UpdateCommand.Parameters[122].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[123].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[122].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[123].Value = ((string)(Original_clalle)); - } - if ((Original_clfldi == null)) { - this.Adapter.UpdateCommand.Parameters[124].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[125].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[124].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[125].Value = ((string)(Original_clfldi)); - } - if ((Original_clcognom == null)) { - this.Adapter.UpdateCommand.Parameters[126].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[127].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[126].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[127].Value = ((string)(Original_clcognom)); - } - if ((Original_clnome == null)) { - this.Adapter.UpdateCommand.Parameters[128].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[129].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[128].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[129].Value = ((string)(Original_clnome)); - } - if ((Original_cldtna.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[130].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[131].Value = ((System.DateTime)(Original_cldtna.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[130].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[131].Value = global::System.DBNull.Value; - } - if ((Original_clcona == null)) { - this.Adapter.UpdateCommand.Parameters[132].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[133].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[132].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[133].Value = ((string)(Original_clcona)); - } - if ((Original_clprna == null)) { - this.Adapter.UpdateCommand.Parameters[134].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[135].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[134].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[135].Value = ((string)(Original_clprna)); - } - if ((Original_cluscn == null)) { - this.Adapter.UpdateCommand.Parameters[136].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[137].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[136].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[137].Value = ((string)(Original_cluscn)); - } - if ((Original_clstna == null)) { - this.Adapter.UpdateCommand.Parameters[138].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[139].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[138].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[139].Value = ((string)(Original_clstna)); - } - if ((Original_clsess == null)) { - this.Adapter.UpdateCommand.Parameters[140].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[141].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[140].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[141].Value = ((string)(Original_clsess)); - } - if ((Original_clrita.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[142].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[143].Value = ((float)(Original_clrita.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[142].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[143].Value = global::System.DBNull.Value; - } - if ((Original_cl_zona == null)) { - this.Adapter.UpdateCommand.Parameters[144].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[145].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[144].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[145].Value = ((string)(Original_cl_zona)); - } - if ((Original_clcategoria == null)) { - this.Adapter.UpdateCommand.Parameters[146].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[147].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[146].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[147].Value = ((string)(Original_clcategoria)); - } - if ((Original_clcategoria2 == null)) { - this.Adapter.UpdateCommand.Parameters[148].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[149].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[148].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[149].Value = ((string)(Original_clcategoria2)); - } - if ((Original_cl_sett_att1 == null)) { - this.Adapter.UpdateCommand.Parameters[150].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[151].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[150].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[151].Value = ((string)(Original_cl_sett_att1)); - } - if ((Original_cl_sett_att2 == null)) { - this.Adapter.UpdateCommand.Parameters[152].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[153].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[152].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[153].Value = ((string)(Original_cl_sett_att2)); - } - if ((Original_cl_categco == null)) { - this.Adapter.UpdateCommand.Parameters[154].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[155].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[154].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[155].Value = ((string)(Original_cl_categco)); - } - if ((Original_cl_ling == null)) { - this.Adapter.UpdateCommand.Parameters[156].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[157].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[156].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[157].Value = ((string)(Original_cl_ling)); - } - if ((Original_cl_filiale == null)) { - this.Adapter.UpdateCommand.Parameters[158].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[159].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[158].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[159].Value = ((string)(Original_cl_filiale)); - } - if ((Original_cl_cod_old == null)) { - this.Adapter.UpdateCommand.Parameters[160].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[161].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[160].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[161].Value = ((string)(Original_cl_cod_old)); - } - if ((Original_cl_cod_gruppo == null)) { - this.Adapter.UpdateCommand.Parameters[162].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[163].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[162].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[163].Value = ((string)(Original_cl_cod_gruppo)); - } - if ((Original_cl_vt1 == null)) { - this.Adapter.UpdateCommand.Parameters[164].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[165].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[164].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[165].Value = ((string)(Original_cl_vt1)); - } - if ((Original_cl_vt2 == null)) { - this.Adapter.UpdateCommand.Parameters[166].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[167].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[166].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[167].Value = ((string)(Original_cl_vt2)); - } - if ((Original_cl_vt3 == null)) { - this.Adapter.UpdateCommand.Parameters[168].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[169].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[168].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[169].Value = ((string)(Original_cl_vt3)); - } - if ((Original_cl_vt4 == null)) { - this.Adapter.UpdateCommand.Parameters[170].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[171].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[170].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[171].Value = ((string)(Original_cl_vt4)); - } - if ((Original_abc_pa_sol_csolv_ID == null)) { - this.Adapter.UpdateCommand.Parameters[172].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[173].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[172].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[173].Value = ((string)(Original_abc_pa_sol_csolv_ID)); - } - if ((Original_cl_solv_dtupd.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[174].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[175].Value = ((System.DateTime)(Original_cl_solv_dtupd.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[174].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[175].Value = global::System.DBNull.Value; - } - if ((Original_cldtfineutil.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[176].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[177].Value = ((System.DateTime)(Original_cldtfineutil.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[176].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[177].Value = global::System.DBNull.Value; - } - if ((Original_cl_fl_decod_anag == null)) { - this.Adapter.UpdateCommand.Parameters[178].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[179].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[178].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[179].Value = ((string)(Original_cl_fl_decod_anag)); - } - if ((Original_clindirec == null)) { - this.Adapter.UpdateCommand.Parameters[180].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[181].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[180].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[181].Value = ((string)(Original_clindirec)); - } - if ((Original_cllocarec == null)) { - this.Adapter.UpdateCommand.Parameters[182].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[183].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[182].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[183].Value = ((string)(Original_cllocarec)); - } - if ((Original_clcaporec == null)) { - this.Adapter.UpdateCommand.Parameters[184].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[185].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[184].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[185].Value = ((string)(Original_clcaporec)); - } - if ((Original_clprovrec == null)) { - this.Adapter.UpdateCommand.Parameters[186].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[187].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[186].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[187].Value = ((string)(Original_clprovrec)); - } - if ((Original_clnfaxrec == null)) { - this.Adapter.UpdateCommand.Parameters[188].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[189].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[188].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[189].Value = ((string)(Original_clnfaxrec)); - } - if ((Original_cltelerec == null)) { - this.Adapter.UpdateCommand.Parameters[190].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[191].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[190].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[191].Value = ((string)(Original_cltelerec)); - } - if ((Original_clprcinps.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[192].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[193].Value = ((float)(Original_clprcinps.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[192].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[193].Value = global::System.DBNull.Value; - } - if ((Original_clsuffreplica == null)) { - this.Adapter.UpdateCommand.Parameters[194].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[195].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[194].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[195].Value = ((string)(Original_clsuffreplica)); - } - if ((Original_cldtins.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[196].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[197].Value = ((System.DateTime)(Original_cldtins.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[196].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[197].Value = global::System.DBNull.Value; - } - if ((Original_cldtvalidini.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[198].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[199].Value = ((System.DateTime)(Original_cldtvalidini.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[198].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[199].Value = global::System.DBNull.Value; - } - if ((Original_clcdaccisa == null)) { - this.Adapter.UpdateCommand.Parameters[200].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[201].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[200].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[201].Value = ((string)(Original_clcdaccisa)); - } - if ((Original_clnicciaa == null)) { - this.Adapter.UpdateCommand.Parameters[202].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[203].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[202].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[203].Value = ((string)(Original_clnicciaa)); - } - if ((Original_clnregimp == null)) { - this.Adapter.UpdateCommand.Parameters[204].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[205].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[204].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[205].Value = ((string)(Original_clnregimp)); - } - if ((Original_clcod_estero == null)) { - this.Adapter.UpdateCommand.Parameters[206].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[207].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[206].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[207].Value = ((string)(Original_clcod_estero)); - } - if ((Original_clemail == null)) { - this.Adapter.UpdateCommand.Parameters[208].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[209].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[208].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[209].Value = ((string)(Original_clemail)); - } - if ((Original_clwww == null)) { - this.Adapter.UpdateCommand.Parameters[210].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[211].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[210].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[211].Value = ((string)(Original_clwww)); - } - if ((Original_clctrib == null)) { - this.Adapter.UpdateCommand.Parameters[212].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[213].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[212].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[213].Value = ((string)(Original_clctrib)); - } - if ((Original_clCodCausRit == null)) { - this.Adapter.UpdateCommand.Parameters[214].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[215].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[214].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[215].Value = ((string)(Original_clCodCausRit)); - } - if ((Original_clQuadro == null)) { - this.Adapter.UpdateCommand.Parameters[216].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[217].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[216].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[217].Value = ((string)(Original_clQuadro)); - } - if ((Original_cl_destStampe == null)) { - this.Adapter.UpdateCommand.Parameters[218].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[219].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[218].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[219].Value = ((string)(Original_cl_destStampe)); - } - if ((Original_clragd_n == null)) { - this.Adapter.UpdateCommand.Parameters[220].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[221].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[220].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[221].Value = ((string)(Original_clragd_n)); - } - if ((Original_clindi_n == null)) { - this.Adapter.UpdateCommand.Parameters[222].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[223].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[222].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[223].Value = ((string)(Original_clindi_n)); - } - if ((Original_clloca_n == null)) { - this.Adapter.UpdateCommand.Parameters[224].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[225].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[224].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[225].Value = ((string)(Original_clloca_n)); - } - if ((Original_clindidomfisc_n == null)) { - this.Adapter.UpdateCommand.Parameters[226].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[227].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[226].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[227].Value = ((string)(Original_clindidomfisc_n)); - } - if ((Original_cllocadomfisc_n == null)) { - this.Adapter.UpdateCommand.Parameters[228].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[229].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[228].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[229].Value = ((string)(Original_cllocadomfisc_n)); - } - if ((Original_clindirec_n == null)) { - this.Adapter.UpdateCommand.Parameters[230].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[231].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[230].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[231].Value = ((string)(Original_clindirec_n)); - } - if ((Original_cllocarec_n == null)) { - this.Adapter.UpdateCommand.Parameters[232].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[233].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[232].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[233].Value = ((string)(Original_cllocarec_n)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update( - string clragd, - string cl_flcanc, - string clcod, - string clcdpiva, - string clindi, - string clloca, - string clcapo, - string clprov, - string cldist, - string clstat, - string clstatiso, - string clcdfi, - string cltele, - string clnfax, - string clindidomfisc, - string cllocadomfisc, - string clcapodomfisc, - string clprovdomfisc, - string cldistdomfisc, - string clstatdomfisc, - string clstatisodomfisc, - string clteledomfisc, - string clnfaxdomfisc, - string clalle, - string clfldi, - string clcognom, - string clnome, - global::System.Nullable cldtna, - string clcona, - string clprna, - string cluscn, - string clstna, - string clsess, - global::System.Nullable clrita, - string clannot1, - string clannot2, - string cl_zona, - string clcategoria, - string clcategoria2, - string cl_sett_att1, - string cl_sett_att2, - string clnote, - string cl_categco, - string cl_ling, - string cl_filiale, - string cl_cod_old, - string cl_cod_gruppo, - string cl_vt1, - string cl_vt2, - string cl_vt3, - string cl_vt4, - string abc_pa_sol_csolv_ID, - global::System.Nullable cl_solv_dtupd, - global::System.Nullable cldtfineutil, - string cl_fl_decod_anag, - string clindirec, - string cllocarec, - string clcaporec, - string clprovrec, - string clnfaxrec, - string cltelerec, - global::System.Nullable clprcinps, - string clsuffreplica, - global::System.Nullable cldtins, - global::System.Nullable cldtvalidini, - string clcdaccisa, - string clnicciaa, - string clnregimp, - string clcod_estero, - string clemail, - string clwww, - string clctrib, - string clCodCausRit, - string clQuadro, - string cl_destStampe, - string clragd_n, - string clindi_n, - string clloca_n, - string clindidomfisc_n, - string cllocadomfisc_n, - string clindirec_n, - string cllocarec_n, - string Original_clcodcn, - string Original_clragd, - string Original_cl_flcanc, - string Original_clcod, - string Original_clcdpiva, - string Original_clindi, - string Original_clloca, - string Original_clcapo, - string Original_clprov, - string Original_cldist, - string Original_clstat, - string Original_clstatiso, - string Original_clcdfi, - string Original_clindidomfisc, - string Original_cllocadomfisc, - string Original_clcapodomfisc, - string Original_clprovdomfisc, - string Original_cldistdomfisc, - string Original_clstatdomfisc, - string Original_clstatisodomfisc, - string Original_clalle, - string Original_clfldi, - string Original_clcognom, - string Original_clnome, - global::System.Nullable Original_cldtna, - string Original_clcona, - string Original_clprna, - string Original_cluscn, - string Original_clstna, - string Original_clsess, - global::System.Nullable Original_clrita, - string Original_cl_zona, - string Original_clcategoria, - string Original_clcategoria2, - string Original_cl_sett_att1, - string Original_cl_sett_att2, - string Original_cl_categco, - string Original_cl_ling, - string Original_cl_filiale, - string Original_cl_cod_old, - string Original_cl_cod_gruppo, - string Original_cl_vt1, - string Original_cl_vt2, - string Original_cl_vt3, - string Original_cl_vt4, - string Original_abc_pa_sol_csolv_ID, - global::System.Nullable Original_cl_solv_dtupd, - global::System.Nullable Original_cldtfineutil, - string Original_cl_fl_decod_anag, - string Original_clindirec, - string Original_cllocarec, - string Original_clcaporec, - string Original_clprovrec, - string Original_clnfaxrec, - string Original_cltelerec, - global::System.Nullable Original_clprcinps, - string Original_clsuffreplica, - global::System.Nullable Original_cldtins, - global::System.Nullable Original_cldtvalidini, - string Original_clcdaccisa, - string Original_clnicciaa, - string Original_clnregimp, - string Original_clcod_estero, - string Original_clemail, - string Original_clwww, - string Original_clctrib, - string Original_clCodCausRit, - string Original_clQuadro, - string Original_cl_destStampe, - string Original_clragd_n, - string Original_clindi_n, - string Original_clloca_n, - string Original_clindidomfisc_n, - string Original_cllocadomfisc_n, - string Original_clindirec_n, - string Original_cllocarec_n) { - return this.Update(Original_clcodcn, clragd, cl_flcanc, clcod, clcdpiva, clindi, clloca, clcapo, clprov, cldist, clstat, clstatiso, clcdfi, cltele, clnfax, clindidomfisc, cllocadomfisc, clcapodomfisc, clprovdomfisc, cldistdomfisc, clstatdomfisc, clstatisodomfisc, clteledomfisc, clnfaxdomfisc, clalle, clfldi, clcognom, clnome, cldtna, clcona, clprna, cluscn, clstna, clsess, clrita, clannot1, clannot2, cl_zona, clcategoria, clcategoria2, cl_sett_att1, cl_sett_att2, clnote, cl_categco, cl_ling, cl_filiale, cl_cod_old, cl_cod_gruppo, cl_vt1, cl_vt2, cl_vt3, cl_vt4, abc_pa_sol_csolv_ID, cl_solv_dtupd, cldtfineutil, cl_fl_decod_anag, clindirec, cllocarec, clcaporec, clprovrec, clnfaxrec, cltelerec, clprcinps, clsuffreplica, cldtins, cldtvalidini, clcdaccisa, clnicciaa, clnregimp, clcod_estero, clemail, clwww, clctrib, clCodCausRit, clQuadro, cl_destStampe, clragd_n, clindi_n, clloca_n, clindidomfisc_n, cllocadomfisc_n, clindirec_n, cllocarec_n, Original_clcodcn, Original_clragd, Original_cl_flcanc, Original_clcod, Original_clcdpiva, Original_clindi, Original_clloca, Original_clcapo, Original_clprov, Original_cldist, Original_clstat, Original_clstatiso, Original_clcdfi, Original_clindidomfisc, Original_cllocadomfisc, Original_clcapodomfisc, Original_clprovdomfisc, Original_cldistdomfisc, Original_clstatdomfisc, Original_clstatisodomfisc, Original_clalle, Original_clfldi, Original_clcognom, Original_clnome, Original_cldtna, Original_clcona, Original_clprna, Original_cluscn, Original_clstna, Original_clsess, Original_clrita, Original_cl_zona, Original_clcategoria, Original_clcategoria2, Original_cl_sett_att1, Original_cl_sett_att2, Original_cl_categco, Original_cl_ling, Original_cl_filiale, Original_cl_cod_old, Original_cl_cod_gruppo, Original_cl_vt1, Original_cl_vt2, Original_cl_vt3, Original_cl_vt4, Original_abc_pa_sol_csolv_ID, Original_cl_solv_dtupd, Original_cldtfineutil, Original_cl_fl_decod_anag, Original_clindirec, Original_cllocarec, Original_clcaporec, Original_clprovrec, Original_clnfaxrec, Original_cltelerec, Original_clprcinps, Original_clsuffreplica, Original_cldtins, Original_cldtvalidini, Original_clcdaccisa, Original_clnicciaa, Original_clnregimp, Original_clcod_estero, Original_clemail, Original_clwww, Original_clctrib, Original_clCodCausRit, Original_clQuadro, Original_cl_destStampe, Original_clragd_n, Original_clindi_n, Original_clloca_n, Original_clindidomfisc_n, Original_cllocadomfisc_n, Original_clindirec_n, Original_cllocarec_n); - } - } - - /// - ///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 caricaSwingData : global::System.ComponentModel.Component { - - private global::System.Data.IDbCommand[] _commandCollection; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.IDbCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.IDbCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Connection = new global::System.Data.SqlClient.SqlConnection(global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandText = "dbo.stp_CaricaAnagCliSwing"; - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandType = global::System.Data.CommandType.StoredProcedure; - ((global::System.Data.SqlClient.SqlCommand)(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, "", "", "")); - ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@esito", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.InputOutput, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int stp_CaricaAnagCliSwing(ref string esito) { - global::System.Data.SqlClient.SqlCommand command = ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[0])); - if ((esito == null)) { - command.Parameters[1].Value = global::System.DBNull.Value; - } - else { - command.Parameters[1].Value = ((string)(esito)); - } - 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(); - } - } - if (((command.Parameters[1].Value == null) - || (command.Parameters[1].Value.GetType() == typeof(global::System.DBNull)))) { - esito = null; - } - else { - esito = ((string)(command.Parameters[1].Value)); - } - return returnValue; - } - } - - /// - ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios - /// - [global::System.ComponentModel.DesignerCategoryAttribute("code")] - [global::System.ComponentModel.ToolboxItem(true)] - [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + - "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] - public partial class TableAdapterManager : global::System.ComponentModel.Component { - - private UpdateOrderOption _updateOrder; - - private aclTableAdapter _aclTableAdapter; - - private bool _backupDataSetBeforeUpdate; - - private global::System.Data.IDbConnection _connection; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UpdateOrderOption UpdateOrder { - get { - return this._updateOrder; - } - set { - this._updateOrder = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public aclTableAdapter aclTableAdapter { - get { - return this._aclTableAdapter; - } - set { - this._aclTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool BackupDataSetBeforeUpdate { - get { - return this._backupDataSetBeforeUpdate; - } - set { - this._backupDataSetBeforeUpdate = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public global::System.Data.IDbConnection Connection { - get { - if ((this._connection != null)) { - return this._connection; - } - if (((this._aclTableAdapter != null) - && (this._aclTableAdapter.Connection != null))) { - return this._aclTableAdapter.Connection; - } - return null; - } - set { - this._connection = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int TableAdapterInstanceCount { - get { - int count = 0; - if ((this._aclTableAdapter != null)) { - count = (count + 1); - } - return count; - } - } - - /// - ///Update rows in top-down order. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private int UpdateUpdatedRows(DS_import dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { - int result = 0; - if ((this._aclTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.acl.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._aclTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - return result; - } - - /// - ///Insert rows in top-down order. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private int UpdateInsertedRows(DS_import dataSet, global::System.Collections.Generic.List allAddedRows) { - int result = 0; - if ((this._aclTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.acl.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._aclTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - return result; - } - - /// - ///Delete rows in bottom-up order. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private int UpdateDeletedRows(DS_import dataSet, global::System.Collections.Generic.List allChangedRows) { - int result = 0; - if ((this._aclTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.acl.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._aclTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - return result; - } - - /// - ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { - if (((updatedRows == null) - || (updatedRows.Length < 1))) { - return updatedRows; - } - if (((allAddedRows == null) - || (allAddedRows.Count < 1))) { - return updatedRows; - } - global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); - for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { - global::System.Data.DataRow row = updatedRows[i]; - if ((allAddedRows.Contains(row) == false)) { - realUpdatedRows.Add(row); - } - } - return realUpdatedRows.ToArray(); - } - - /// - ///Update all changes to the dataset. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public virtual int UpdateAll(DS_import dataSet) { - if ((dataSet == null)) { - throw new global::System.ArgumentNullException("dataSet"); - } - if ((dataSet.HasChanges() == false)) { - return 0; - } - if (((this._aclTableAdapter != null) - && (this.MatchTableAdapterConnection(this._aclTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + - "tring."); - } - global::System.Data.IDbConnection workConnection = this.Connection; - if ((workConnection == null)) { - throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + - "ger TableAdapter property to a valid TableAdapter instance."); - } - bool workConnOpened = false; - if (((workConnection.State & global::System.Data.ConnectionState.Broken) - == global::System.Data.ConnectionState.Broken)) { - workConnection.Close(); - } - if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { - workConnection.Open(); - workConnOpened = true; - } - global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); - if ((workTransaction == null)) { - throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + - "ctions or the current state is not allowing the transaction to begin."); - } - global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); - global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); - global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); - global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); - int result = 0; - global::System.Data.DataSet backupDataSet = null; - if (this.BackupDataSetBeforeUpdate) { - backupDataSet = new global::System.Data.DataSet(); - backupDataSet.Merge(dataSet); - } - try { - // ---- Prepare for update ----------- - // - if ((this._aclTableAdapter != null)) { - revertConnections.Add(this._aclTableAdapter, this._aclTableAdapter.Connection); - this._aclTableAdapter.Connection = ((global::System.Data.OleDb.OleDbConnection)(workConnection)); - this._aclTableAdapter.Transaction = ((global::System.Data.OleDb.OleDbTransaction)(workTransaction)); - if (this._aclTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._aclTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._aclTableAdapter.Adapter); - } - } - // - //---- Perform updates ----------- - // - if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { - result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); - result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); - } - else { - result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); - result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); - } - result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); - // - //---- Commit updates ----------- - // - workTransaction.Commit(); - if ((0 < allAddedRows.Count)) { - global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; - allAddedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { - global::System.Data.DataRow row = rows[i]; - row.AcceptChanges(); - } - } - if ((0 < allChangedRows.Count)) { - global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; - allChangedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { - global::System.Data.DataRow row = rows[i]; - row.AcceptChanges(); - } - } - } - catch (global::System.Exception ex) { - workTransaction.Rollback(); - // ---- Restore the dataset ----------- - if (this.BackupDataSetBeforeUpdate) { - global::System.Diagnostics.Debug.Assert((backupDataSet != null)); - dataSet.Clear(); - dataSet.Merge(backupDataSet); - } - else { - if ((0 < allAddedRows.Count)) { - global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; - allAddedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { - global::System.Data.DataRow row = rows[i]; - row.AcceptChanges(); - row.SetAdded(); - } - } - } - throw ex; - } - finally { - if (workConnOpened) { - workConnection.Close(); - } - if ((this._aclTableAdapter != null)) { - this._aclTableAdapter.Connection = ((global::System.Data.OleDb.OleDbConnection)(revertConnections[this._aclTableAdapter])); - this._aclTableAdapter.Transaction = null; - } - if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { - global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; - adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); - for (int i = 0; (i < adapters.Length); i = (i + 1)) { - global::System.Data.Common.DataAdapter adapter = adapters[i]; - adapter.AcceptChangesDuringUpdate = true; - } - } - } - return result; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { - global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { - if ((this._connection != null)) { - return true; - } - if (((this.Connection == null) - || (inputConnection == null))) { - return true; - } - if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { - return true; - } - return false; - } - - /// - ///Update Order Option - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public enum UpdateOrderOption { - - InsertUpdateDelete = 0, - - UpdateInsertDelete = 1, - } - - /// - ///Used to sort self-referenced table's rows - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { - - private global::System.Data.DataRelation _relation; - - private int _childFirst; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { - this._relation = relation; - if (childFirst) { - this._childFirst = -1; - } - else { - this._childFirst = 1; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { - global::System.Diagnostics.Debug.Assert((row != null)); - global::System.Data.DataRow root = row; - distance = 0; - - global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); - traversedRows[row] = row; - - global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); - for ( - ; ((parent != null) - && (traversedRows.ContainsKey(parent) == false)); - ) { - distance = (distance + 1); - root = parent; - traversedRows[parent] = parent; - parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); - } - - if ((distance == 0)) { - traversedRows.Clear(); - traversedRows[row] = row; - parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); - for ( - ; ((parent != null) - && (traversedRows.ContainsKey(parent) == false)); - ) { - distance = (distance + 1); - root = parent; - traversedRows[parent] = parent; - parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); - } - } - - return root; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { - if (object.ReferenceEquals(row1, row2)) { - return 0; - } - if ((row1 == null)) { - return -1; - } - if ((row2 == null)) { - return 1; - } - - int distance1 = 0; - global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); - - int distance2 = 0; - global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); - - if (object.ReferenceEquals(root1, root2)) { - return (this._childFirst * distance1.CompareTo(distance2)); - } - else { - global::System.Diagnostics.Debug.Assert(((root1.Table != null) - && (root2.Table != null))); - if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { - return -1; - } - else { - return 1; - } - } - } - } - } -} - +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.18046 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace XPS_data { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.Serializable()] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] + [global::System.Xml.Serialization.XmlRootAttribute("DS_import")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class DS_import : global::System.Data.DataSet { + + private aclDataTable tableacl; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DS_import() { + this.BeginInit(); + this.InitClass(); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + base.Relations.CollectionChanged += schemaChangedHandler; + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected DS_import(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context, false) { + if ((this.IsBinarySerialized(info, context) == true)) { + this.InitVars(false); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + this.Tables.CollectionChanged += schemaChangedHandler1; + this.Relations.CollectionChanged += schemaChangedHandler1; + return; + } + string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); + if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + if ((ds.Tables["acl"] != null)) { + base.Tables.Add(new aclDataTable(ds.Tables["acl"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + } + this.GetSerializationData(info, context); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + this.Relations.CollectionChanged += schemaChangedHandler; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public aclDataTable acl { + get { + return this.tableacl; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.BrowsableAttribute(true)] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] + public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { + get { + return this._schemaSerializationMode; + } + set { + this._schemaSerializationMode = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataSet Clone() { + DS_import cln = ((DS_import)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { + if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + this.Reset(); + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXml(reader); + if ((ds.Tables["acl"] != null)) { + base.Tables.Add(new aclDataTable(ds.Tables["acl"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXml(reader); + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { + global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); + this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); + stream.Position = 0; + return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars(bool initTable) { + this.tableacl = ((aclDataTable)(base.Tables["acl"])); + if ((initTable == true)) { + if ((this.tableacl != null)) { + this.tableacl.InitVars(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.DataSetName = "DS_import"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/DS_import.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tableacl = new aclDataTable(); + base.Tables.Add(this.tableacl); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeacl() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + DS_import ds = new DS_import(); + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); + any.Namespace = ds.Namespace; + sequence.Items.Add(any); + 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; + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void aclRowChangeEventHandler(object sender, aclRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class aclDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnclcodcn; + + private global::System.Data.DataColumn columnclragd; + + private global::System.Data.DataColumn columncl_flcanc; + + private global::System.Data.DataColumn columnclcod; + + private global::System.Data.DataColumn columnclcdpiva; + + private global::System.Data.DataColumn columnclindi; + + private global::System.Data.DataColumn columnclloca; + + private global::System.Data.DataColumn columnclcapo; + + private global::System.Data.DataColumn columnclprov; + + private global::System.Data.DataColumn columncldist; + + private global::System.Data.DataColumn columnclstat; + + private global::System.Data.DataColumn columnclstatiso; + + private global::System.Data.DataColumn columnclcdfi; + + private global::System.Data.DataColumn columncltele; + + private global::System.Data.DataColumn columnclnfax; + + private global::System.Data.DataColumn columnclindidomfisc; + + private global::System.Data.DataColumn columncllocadomfisc; + + private global::System.Data.DataColumn columnclcapodomfisc; + + private global::System.Data.DataColumn columnclprovdomfisc; + + private global::System.Data.DataColumn columncldistdomfisc; + + private global::System.Data.DataColumn columnclstatdomfisc; + + private global::System.Data.DataColumn columnclstatisodomfisc; + + private global::System.Data.DataColumn columnclteledomfisc; + + private global::System.Data.DataColumn columnclnfaxdomfisc; + + private global::System.Data.DataColumn columnclalle; + + private global::System.Data.DataColumn columnclfldi; + + private global::System.Data.DataColumn columnclcognom; + + private global::System.Data.DataColumn columnclnome; + + private global::System.Data.DataColumn columncldtna; + + private global::System.Data.DataColumn columnclcona; + + private global::System.Data.DataColumn columnclprna; + + private global::System.Data.DataColumn columncluscn; + + private global::System.Data.DataColumn columnclstna; + + private global::System.Data.DataColumn columnclsess; + + private global::System.Data.DataColumn columnclrita; + + private global::System.Data.DataColumn columnclannot1; + + private global::System.Data.DataColumn columnclannot2; + + private global::System.Data.DataColumn columncl_zona; + + private global::System.Data.DataColumn columnclcategoria; + + private global::System.Data.DataColumn columnclcategoria2; + + private global::System.Data.DataColumn columncl_sett_att1; + + private global::System.Data.DataColumn columncl_sett_att2; + + private global::System.Data.DataColumn columnclnote; + + private global::System.Data.DataColumn columncl_categco; + + private global::System.Data.DataColumn columncl_ling; + + private global::System.Data.DataColumn columncl_filiale; + + private global::System.Data.DataColumn columncl_cod_old; + + private global::System.Data.DataColumn columncl_cod_gruppo; + + private global::System.Data.DataColumn columncl_vt1; + + private global::System.Data.DataColumn columncl_vt2; + + private global::System.Data.DataColumn columncl_vt3; + + private global::System.Data.DataColumn columncl_vt4; + + private global::System.Data.DataColumn columnabc_pa_sol_csolv_ID; + + private global::System.Data.DataColumn columncl_solv_dtupd; + + private global::System.Data.DataColumn columncldtfineutil; + + private global::System.Data.DataColumn columncl_fl_decod_anag; + + private global::System.Data.DataColumn columnclindirec; + + private global::System.Data.DataColumn columncllocarec; + + private global::System.Data.DataColumn columnclcaporec; + + private global::System.Data.DataColumn columnclprovrec; + + private global::System.Data.DataColumn columnclnfaxrec; + + private global::System.Data.DataColumn columncltelerec; + + private global::System.Data.DataColumn columnclprcinps; + + private global::System.Data.DataColumn columnclsuffreplica; + + private global::System.Data.DataColumn columncldtins; + + private global::System.Data.DataColumn columncldtvalidini; + + private global::System.Data.DataColumn columnclcdaccisa; + + private global::System.Data.DataColumn columnclnicciaa; + + private global::System.Data.DataColumn columnclnregimp; + + private global::System.Data.DataColumn columnclcod_estero; + + private global::System.Data.DataColumn columnclemail; + + private global::System.Data.DataColumn columnclwww; + + private global::System.Data.DataColumn columnclctrib; + + private global::System.Data.DataColumn columnclCodCausRit; + + private global::System.Data.DataColumn columnclQuadro; + + private global::System.Data.DataColumn columncl_destStampe; + + private global::System.Data.DataColumn columnclragd_n; + + private global::System.Data.DataColumn columnclindi_n; + + private global::System.Data.DataColumn columnclloca_n; + + private global::System.Data.DataColumn columnclindidomfisc_n; + + private global::System.Data.DataColumn columncllocadomfisc_n; + + private global::System.Data.DataColumn columnclindirec_n; + + private global::System.Data.DataColumn columncllocarec_n; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public aclDataTable() { + this.TableName = "acl"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal aclDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected aclDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clcodcnColumn { + get { + return this.columnclcodcn; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clragdColumn { + get { + return this.columnclragd; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cl_flcancColumn { + get { + return this.columncl_flcanc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clcodColumn { + get { + return this.columnclcod; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clcdpivaColumn { + get { + return this.columnclcdpiva; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clindiColumn { + get { + return this.columnclindi; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cllocaColumn { + get { + return this.columnclloca; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clcapoColumn { + get { + return this.columnclcapo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clprovColumn { + get { + return this.columnclprov; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cldistColumn { + get { + return this.columncldist; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clstatColumn { + get { + return this.columnclstat; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clstatisoColumn { + get { + return this.columnclstatiso; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clcdfiColumn { + get { + return this.columnclcdfi; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clteleColumn { + get { + return this.columncltele; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clnfaxColumn { + get { + return this.columnclnfax; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clindidomfiscColumn { + get { + return this.columnclindidomfisc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cllocadomfiscColumn { + get { + return this.columncllocadomfisc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clcapodomfiscColumn { + get { + return this.columnclcapodomfisc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clprovdomfiscColumn { + get { + return this.columnclprovdomfisc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cldistdomfiscColumn { + get { + return this.columncldistdomfisc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clstatdomfiscColumn { + get { + return this.columnclstatdomfisc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clstatisodomfiscColumn { + get { + return this.columnclstatisodomfisc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clteledomfiscColumn { + get { + return this.columnclteledomfisc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clnfaxdomfiscColumn { + get { + return this.columnclnfaxdomfisc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clalleColumn { + get { + return this.columnclalle; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clfldiColumn { + get { + return this.columnclfldi; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clcognomColumn { + get { + return this.columnclcognom; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clnomeColumn { + get { + return this.columnclnome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cldtnaColumn { + get { + return this.columncldtna; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clconaColumn { + get { + return this.columnclcona; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clprnaColumn { + get { + return this.columnclprna; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cluscnColumn { + get { + return this.columncluscn; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clstnaColumn { + get { + return this.columnclstna; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clsessColumn { + get { + return this.columnclsess; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clritaColumn { + get { + return this.columnclrita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clannot1Column { + get { + return this.columnclannot1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clannot2Column { + get { + return this.columnclannot2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cl_zonaColumn { + get { + return this.columncl_zona; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clcategoriaColumn { + get { + return this.columnclcategoria; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clcategoria2Column { + get { + return this.columnclcategoria2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cl_sett_att1Column { + get { + return this.columncl_sett_att1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cl_sett_att2Column { + get { + return this.columncl_sett_att2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clnoteColumn { + get { + return this.columnclnote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cl_categcoColumn { + get { + return this.columncl_categco; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cl_lingColumn { + get { + return this.columncl_ling; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cl_filialeColumn { + get { + return this.columncl_filiale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cl_cod_oldColumn { + get { + return this.columncl_cod_old; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cl_cod_gruppoColumn { + get { + return this.columncl_cod_gruppo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cl_vt1Column { + get { + return this.columncl_vt1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cl_vt2Column { + get { + return this.columncl_vt2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cl_vt3Column { + get { + return this.columncl_vt3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cl_vt4Column { + get { + return this.columncl_vt4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn abc_pa_sol_csolv_IDColumn { + get { + return this.columnabc_pa_sol_csolv_ID; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cl_solv_dtupdColumn { + get { + return this.columncl_solv_dtupd; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cldtfineutilColumn { + get { + return this.columncldtfineutil; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cl_fl_decod_anagColumn { + get { + return this.columncl_fl_decod_anag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clindirecColumn { + get { + return this.columnclindirec; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cllocarecColumn { + get { + return this.columncllocarec; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clcaporecColumn { + get { + return this.columnclcaporec; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clprovrecColumn { + get { + return this.columnclprovrec; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clnfaxrecColumn { + get { + return this.columnclnfaxrec; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cltelerecColumn { + get { + return this.columncltelerec; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clprcinpsColumn { + get { + return this.columnclprcinps; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clsuffreplicaColumn { + get { + return this.columnclsuffreplica; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cldtinsColumn { + get { + return this.columncldtins; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cldtvalidiniColumn { + get { + return this.columncldtvalidini; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clcdaccisaColumn { + get { + return this.columnclcdaccisa; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clnicciaaColumn { + get { + return this.columnclnicciaa; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clnregimpColumn { + get { + return this.columnclnregimp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clcod_esteroColumn { + get { + return this.columnclcod_estero; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clemailColumn { + get { + return this.columnclemail; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clwwwColumn { + get { + return this.columnclwww; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clctribColumn { + get { + return this.columnclctrib; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clCodCausRitColumn { + get { + return this.columnclCodCausRit; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clQuadroColumn { + get { + return this.columnclQuadro; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cl_destStampeColumn { + get { + return this.columncl_destStampe; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clragd_nColumn { + get { + return this.columnclragd_n; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clindi_nColumn { + get { + return this.columnclindi_n; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clloca_nColumn { + get { + return this.columnclloca_n; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clindidomfisc_nColumn { + get { + return this.columnclindidomfisc_n; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cllocadomfisc_nColumn { + get { + return this.columncllocadomfisc_n; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn clindirec_nColumn { + get { + return this.columnclindirec_n; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cllocarec_nColumn { + get { + return this.columncllocarec_n; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public aclRow this[int index] { + get { + return ((aclRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event aclRowChangeEventHandler aclRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event aclRowChangeEventHandler aclRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event aclRowChangeEventHandler aclRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event aclRowChangeEventHandler aclRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddaclRow(aclRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public aclRow AddaclRow( + string clcodcn, + string clragd, + string cl_flcanc, + string clcod, + string clcdpiva, + string clindi, + string clloca, + string clcapo, + string clprov, + string cldist, + string clstat, + string clstatiso, + string clcdfi, + string cltele, + string clnfax, + string clindidomfisc, + string cllocadomfisc, + string clcapodomfisc, + string clprovdomfisc, + string cldistdomfisc, + string clstatdomfisc, + string clstatisodomfisc, + string clteledomfisc, + string clnfaxdomfisc, + string clalle, + string clfldi, + string clcognom, + string clnome, + System.DateTime cldtna, + string clcona, + string clprna, + string cluscn, + string clstna, + string clsess, + float clrita, + string clannot1, + string clannot2, + string cl_zona, + string clcategoria, + string clcategoria2, + string cl_sett_att1, + string cl_sett_att2, + string clnote, + string cl_categco, + string cl_ling, + string cl_filiale, + string cl_cod_old, + string cl_cod_gruppo, + string cl_vt1, + string cl_vt2, + string cl_vt3, + string cl_vt4, + string abc_pa_sol_csolv_ID, + System.DateTime cl_solv_dtupd, + System.DateTime cldtfineutil, + string cl_fl_decod_anag, + string clindirec, + string cllocarec, + string clcaporec, + string clprovrec, + string clnfaxrec, + string cltelerec, + float clprcinps, + string clsuffreplica, + System.DateTime cldtins, + System.DateTime cldtvalidini, + string clcdaccisa, + string clnicciaa, + string clnregimp, + string clcod_estero, + string clemail, + string clwww, + string clctrib, + string clCodCausRit, + string clQuadro, + string cl_destStampe, + string clragd_n, + string clindi_n, + string clloca_n, + string clindidomfisc_n, + string cllocadomfisc_n, + string clindirec_n, + string cllocarec_n) { + aclRow rowaclRow = ((aclRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + clcodcn, + clragd, + cl_flcanc, + clcod, + clcdpiva, + clindi, + clloca, + clcapo, + clprov, + cldist, + clstat, + clstatiso, + clcdfi, + cltele, + clnfax, + clindidomfisc, + cllocadomfisc, + clcapodomfisc, + clprovdomfisc, + cldistdomfisc, + clstatdomfisc, + clstatisodomfisc, + clteledomfisc, + clnfaxdomfisc, + clalle, + clfldi, + clcognom, + clnome, + cldtna, + clcona, + clprna, + cluscn, + clstna, + clsess, + clrita, + clannot1, + clannot2, + cl_zona, + clcategoria, + clcategoria2, + cl_sett_att1, + cl_sett_att2, + clnote, + cl_categco, + cl_ling, + cl_filiale, + cl_cod_old, + cl_cod_gruppo, + cl_vt1, + cl_vt2, + cl_vt3, + cl_vt4, + abc_pa_sol_csolv_ID, + cl_solv_dtupd, + cldtfineutil, + cl_fl_decod_anag, + clindirec, + cllocarec, + clcaporec, + clprovrec, + clnfaxrec, + cltelerec, + clprcinps, + clsuffreplica, + cldtins, + cldtvalidini, + clcdaccisa, + clnicciaa, + clnregimp, + clcod_estero, + clemail, + clwww, + clctrib, + clCodCausRit, + clQuadro, + cl_destStampe, + clragd_n, + clindi_n, + clloca_n, + clindidomfisc_n, + cllocadomfisc_n, + clindirec_n, + cllocarec_n}; + rowaclRow.ItemArray = columnValuesArray; + this.Rows.Add(rowaclRow); + return rowaclRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public aclRow FindByclcodcn(string clcodcn) { + return ((aclRow)(this.Rows.Find(new object[] { + clcodcn}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + aclDataTable cln = ((aclDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new aclDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnclcodcn = base.Columns["clcodcn"]; + this.columnclragd = base.Columns["clragd"]; + this.columncl_flcanc = base.Columns["cl_flcanc"]; + this.columnclcod = base.Columns["clcod"]; + this.columnclcdpiva = base.Columns["clcdpiva"]; + this.columnclindi = base.Columns["clindi"]; + this.columnclloca = base.Columns["clloca"]; + this.columnclcapo = base.Columns["clcapo"]; + this.columnclprov = base.Columns["clprov"]; + this.columncldist = base.Columns["cldist"]; + this.columnclstat = base.Columns["clstat"]; + this.columnclstatiso = base.Columns["clstatiso"]; + this.columnclcdfi = base.Columns["clcdfi"]; + this.columncltele = base.Columns["cltele"]; + this.columnclnfax = base.Columns["clnfax"]; + this.columnclindidomfisc = base.Columns["clindidomfisc"]; + this.columncllocadomfisc = base.Columns["cllocadomfisc"]; + this.columnclcapodomfisc = base.Columns["clcapodomfisc"]; + this.columnclprovdomfisc = base.Columns["clprovdomfisc"]; + this.columncldistdomfisc = base.Columns["cldistdomfisc"]; + this.columnclstatdomfisc = base.Columns["clstatdomfisc"]; + this.columnclstatisodomfisc = base.Columns["clstatisodomfisc"]; + this.columnclteledomfisc = base.Columns["clteledomfisc"]; + this.columnclnfaxdomfisc = base.Columns["clnfaxdomfisc"]; + this.columnclalle = base.Columns["clalle"]; + this.columnclfldi = base.Columns["clfldi"]; + this.columnclcognom = base.Columns["clcognom"]; + this.columnclnome = base.Columns["clnome"]; + this.columncldtna = base.Columns["cldtna"]; + this.columnclcona = base.Columns["clcona"]; + this.columnclprna = base.Columns["clprna"]; + this.columncluscn = base.Columns["cluscn"]; + this.columnclstna = base.Columns["clstna"]; + this.columnclsess = base.Columns["clsess"]; + this.columnclrita = base.Columns["clrita"]; + this.columnclannot1 = base.Columns["clannot1"]; + this.columnclannot2 = base.Columns["clannot2"]; + this.columncl_zona = base.Columns["cl_zona"]; + this.columnclcategoria = base.Columns["clcategoria"]; + this.columnclcategoria2 = base.Columns["clcategoria2"]; + this.columncl_sett_att1 = base.Columns["cl_sett_att1"]; + this.columncl_sett_att2 = base.Columns["cl_sett_att2"]; + this.columnclnote = base.Columns["clnote"]; + this.columncl_categco = base.Columns["cl_categco"]; + this.columncl_ling = base.Columns["cl_ling"]; + this.columncl_filiale = base.Columns["cl_filiale"]; + this.columncl_cod_old = base.Columns["cl_cod_old"]; + this.columncl_cod_gruppo = base.Columns["cl_cod_gruppo"]; + this.columncl_vt1 = base.Columns["cl_vt1"]; + this.columncl_vt2 = base.Columns["cl_vt2"]; + this.columncl_vt3 = base.Columns["cl_vt3"]; + this.columncl_vt4 = base.Columns["cl_vt4"]; + this.columnabc_pa_sol_csolv_ID = base.Columns["abc_pa_sol_csolv_ID"]; + this.columncl_solv_dtupd = base.Columns["cl_solv_dtupd"]; + this.columncldtfineutil = base.Columns["cldtfineutil"]; + this.columncl_fl_decod_anag = base.Columns["cl_fl_decod_anag"]; + this.columnclindirec = base.Columns["clindirec"]; + this.columncllocarec = base.Columns["cllocarec"]; + this.columnclcaporec = base.Columns["clcaporec"]; + this.columnclprovrec = base.Columns["clprovrec"]; + this.columnclnfaxrec = base.Columns["clnfaxrec"]; + this.columncltelerec = base.Columns["cltelerec"]; + this.columnclprcinps = base.Columns["clprcinps"]; + this.columnclsuffreplica = base.Columns["clsuffreplica"]; + this.columncldtins = base.Columns["cldtins"]; + this.columncldtvalidini = base.Columns["cldtvalidini"]; + this.columnclcdaccisa = base.Columns["clcdaccisa"]; + this.columnclnicciaa = base.Columns["clnicciaa"]; + this.columnclnregimp = base.Columns["clnregimp"]; + this.columnclcod_estero = base.Columns["clcod_estero"]; + this.columnclemail = base.Columns["clemail"]; + this.columnclwww = base.Columns["clwww"]; + this.columnclctrib = base.Columns["clctrib"]; + this.columnclCodCausRit = base.Columns["clCodCausRit"]; + this.columnclQuadro = base.Columns["clQuadro"]; + this.columncl_destStampe = base.Columns["cl_destStampe"]; + this.columnclragd_n = base.Columns["clragd_n"]; + this.columnclindi_n = base.Columns["clindi_n"]; + this.columnclloca_n = base.Columns["clloca_n"]; + this.columnclindidomfisc_n = base.Columns["clindidomfisc_n"]; + this.columncllocadomfisc_n = base.Columns["cllocadomfisc_n"]; + this.columnclindirec_n = base.Columns["clindirec_n"]; + this.columncllocarec_n = base.Columns["cllocarec_n"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnclcodcn = new global::System.Data.DataColumn("clcodcn", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclcodcn); + this.columnclragd = new global::System.Data.DataColumn("clragd", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclragd); + this.columncl_flcanc = new global::System.Data.DataColumn("cl_flcanc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncl_flcanc); + this.columnclcod = new global::System.Data.DataColumn("clcod", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclcod); + this.columnclcdpiva = new global::System.Data.DataColumn("clcdpiva", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclcdpiva); + this.columnclindi = new global::System.Data.DataColumn("clindi", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclindi); + this.columnclloca = new global::System.Data.DataColumn("clloca", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclloca); + this.columnclcapo = new global::System.Data.DataColumn("clcapo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclcapo); + this.columnclprov = new global::System.Data.DataColumn("clprov", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclprov); + this.columncldist = new global::System.Data.DataColumn("cldist", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncldist); + this.columnclstat = new global::System.Data.DataColumn("clstat", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclstat); + this.columnclstatiso = new global::System.Data.DataColumn("clstatiso", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclstatiso); + this.columnclcdfi = new global::System.Data.DataColumn("clcdfi", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclcdfi); + this.columncltele = new global::System.Data.DataColumn("cltele", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncltele); + this.columnclnfax = new global::System.Data.DataColumn("clnfax", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclnfax); + this.columnclindidomfisc = new global::System.Data.DataColumn("clindidomfisc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclindidomfisc); + this.columncllocadomfisc = new global::System.Data.DataColumn("cllocadomfisc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncllocadomfisc); + this.columnclcapodomfisc = new global::System.Data.DataColumn("clcapodomfisc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclcapodomfisc); + this.columnclprovdomfisc = new global::System.Data.DataColumn("clprovdomfisc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclprovdomfisc); + this.columncldistdomfisc = new global::System.Data.DataColumn("cldistdomfisc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncldistdomfisc); + this.columnclstatdomfisc = new global::System.Data.DataColumn("clstatdomfisc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclstatdomfisc); + this.columnclstatisodomfisc = new global::System.Data.DataColumn("clstatisodomfisc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclstatisodomfisc); + this.columnclteledomfisc = new global::System.Data.DataColumn("clteledomfisc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclteledomfisc); + this.columnclnfaxdomfisc = new global::System.Data.DataColumn("clnfaxdomfisc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclnfaxdomfisc); + this.columnclalle = new global::System.Data.DataColumn("clalle", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclalle); + this.columnclfldi = new global::System.Data.DataColumn("clfldi", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclfldi); + this.columnclcognom = new global::System.Data.DataColumn("clcognom", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclcognom); + this.columnclnome = new global::System.Data.DataColumn("clnome", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclnome); + this.columncldtna = new global::System.Data.DataColumn("cldtna", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncldtna); + this.columnclcona = new global::System.Data.DataColumn("clcona", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclcona); + this.columnclprna = new global::System.Data.DataColumn("clprna", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclprna); + this.columncluscn = new global::System.Data.DataColumn("cluscn", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncluscn); + this.columnclstna = new global::System.Data.DataColumn("clstna", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclstna); + this.columnclsess = new global::System.Data.DataColumn("clsess", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclsess); + this.columnclrita = new global::System.Data.DataColumn("clrita", typeof(float), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclrita); + this.columnclannot1 = new global::System.Data.DataColumn("clannot1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclannot1); + this.columnclannot2 = new global::System.Data.DataColumn("clannot2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclannot2); + this.columncl_zona = new global::System.Data.DataColumn("cl_zona", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncl_zona); + this.columnclcategoria = new global::System.Data.DataColumn("clcategoria", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclcategoria); + this.columnclcategoria2 = new global::System.Data.DataColumn("clcategoria2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclcategoria2); + this.columncl_sett_att1 = new global::System.Data.DataColumn("cl_sett_att1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncl_sett_att1); + this.columncl_sett_att2 = new global::System.Data.DataColumn("cl_sett_att2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncl_sett_att2); + this.columnclnote = new global::System.Data.DataColumn("clnote", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclnote); + this.columncl_categco = new global::System.Data.DataColumn("cl_categco", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncl_categco); + this.columncl_ling = new global::System.Data.DataColumn("cl_ling", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncl_ling); + this.columncl_filiale = new global::System.Data.DataColumn("cl_filiale", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncl_filiale); + this.columncl_cod_old = new global::System.Data.DataColumn("cl_cod_old", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncl_cod_old); + this.columncl_cod_gruppo = new global::System.Data.DataColumn("cl_cod_gruppo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncl_cod_gruppo); + this.columncl_vt1 = new global::System.Data.DataColumn("cl_vt1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncl_vt1); + this.columncl_vt2 = new global::System.Data.DataColumn("cl_vt2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncl_vt2); + this.columncl_vt3 = new global::System.Data.DataColumn("cl_vt3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncl_vt3); + this.columncl_vt4 = new global::System.Data.DataColumn("cl_vt4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncl_vt4); + this.columnabc_pa_sol_csolv_ID = new global::System.Data.DataColumn("abc_pa_sol_csolv_ID", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnabc_pa_sol_csolv_ID); + this.columncl_solv_dtupd = new global::System.Data.DataColumn("cl_solv_dtupd", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncl_solv_dtupd); + this.columncldtfineutil = new global::System.Data.DataColumn("cldtfineutil", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncldtfineutil); + this.columncl_fl_decod_anag = new global::System.Data.DataColumn("cl_fl_decod_anag", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncl_fl_decod_anag); + this.columnclindirec = new global::System.Data.DataColumn("clindirec", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclindirec); + this.columncllocarec = new global::System.Data.DataColumn("cllocarec", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncllocarec); + this.columnclcaporec = new global::System.Data.DataColumn("clcaporec", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclcaporec); + this.columnclprovrec = new global::System.Data.DataColumn("clprovrec", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclprovrec); + this.columnclnfaxrec = new global::System.Data.DataColumn("clnfaxrec", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclnfaxrec); + this.columncltelerec = new global::System.Data.DataColumn("cltelerec", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncltelerec); + this.columnclprcinps = new global::System.Data.DataColumn("clprcinps", typeof(float), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclprcinps); + this.columnclsuffreplica = new global::System.Data.DataColumn("clsuffreplica", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclsuffreplica); + this.columncldtins = new global::System.Data.DataColumn("cldtins", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncldtins); + this.columncldtvalidini = new global::System.Data.DataColumn("cldtvalidini", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncldtvalidini); + this.columnclcdaccisa = new global::System.Data.DataColumn("clcdaccisa", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclcdaccisa); + this.columnclnicciaa = new global::System.Data.DataColumn("clnicciaa", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclnicciaa); + this.columnclnregimp = new global::System.Data.DataColumn("clnregimp", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclnregimp); + this.columnclcod_estero = new global::System.Data.DataColumn("clcod_estero", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclcod_estero); + this.columnclemail = new global::System.Data.DataColumn("clemail", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclemail); + this.columnclwww = new global::System.Data.DataColumn("clwww", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclwww); + this.columnclctrib = new global::System.Data.DataColumn("clctrib", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclctrib); + this.columnclCodCausRit = new global::System.Data.DataColumn("clCodCausRit", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclCodCausRit); + this.columnclQuadro = new global::System.Data.DataColumn("clQuadro", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclQuadro); + this.columncl_destStampe = new global::System.Data.DataColumn("cl_destStampe", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncl_destStampe); + this.columnclragd_n = new global::System.Data.DataColumn("clragd_n", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclragd_n); + this.columnclindi_n = new global::System.Data.DataColumn("clindi_n", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclindi_n); + this.columnclloca_n = new global::System.Data.DataColumn("clloca_n", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclloca_n); + this.columnclindidomfisc_n = new global::System.Data.DataColumn("clindidomfisc_n", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclindidomfisc_n); + this.columncllocadomfisc_n = new global::System.Data.DataColumn("cllocadomfisc_n", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncllocadomfisc_n); + this.columnclindirec_n = new global::System.Data.DataColumn("clindirec_n", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnclindirec_n); + this.columncllocarec_n = new global::System.Data.DataColumn("cllocarec_n", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncllocarec_n); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnclcodcn}, true)); + this.columnclcodcn.AllowDBNull = false; + this.columnclcodcn.Unique = true; + this.columnclcodcn.MaxLength = 10; + this.columnclragd.MaxLength = 50; + this.columncl_flcanc.MaxLength = 1; + this.columnclcod.MaxLength = 20; + this.columnclcdpiva.MaxLength = 12; + this.columnclindi.MaxLength = 30; + this.columnclloca.MaxLength = 30; + this.columnclcapo.MaxLength = 10; + this.columnclprov.MaxLength = 2; + this.columncldist.MaxLength = 30; + this.columnclstat.MaxLength = 6; + this.columnclstatiso.MaxLength = 6; + this.columnclcdfi.MaxLength = 16; + this.columncltele.MaxLength = 536870910; + this.columnclnfax.MaxLength = 536870910; + this.columnclindidomfisc.MaxLength = 30; + this.columncllocadomfisc.MaxLength = 30; + this.columnclcapodomfisc.MaxLength = 10; + this.columnclprovdomfisc.MaxLength = 2; + this.columncldistdomfisc.MaxLength = 30; + this.columnclstatdomfisc.MaxLength = 6; + this.columnclstatisodomfisc.MaxLength = 6; + this.columnclteledomfisc.MaxLength = 536870910; + this.columnclnfaxdomfisc.MaxLength = 536870910; + this.columnclalle.MaxLength = 1; + this.columnclfldi.MaxLength = 10; + this.columnclcognom.MaxLength = 18; + this.columnclnome.MaxLength = 16; + this.columnclcona.MaxLength = 30; + this.columnclprna.MaxLength = 2; + this.columncluscn.MaxLength = 6; + this.columnclstna.MaxLength = 10; + this.columnclsess.MaxLength = 1; + this.columnclannot1.MaxLength = 536870910; + this.columnclannot2.MaxLength = 536870910; + this.columncl_zona.MaxLength = 10; + this.columnclcategoria.MaxLength = 10; + this.columnclcategoria2.MaxLength = 10; + this.columncl_sett_att1.MaxLength = 10; + this.columncl_sett_att2.MaxLength = 10; + this.columnclnote.MaxLength = 536870910; + this.columncl_categco.MaxLength = 10; + this.columncl_ling.MaxLength = 10; + this.columncl_filiale.MaxLength = 10; + this.columncl_cod_old.MaxLength = 20; + this.columncl_cod_gruppo.MaxLength = 10; + this.columncl_vt1.MaxLength = 10; + this.columncl_vt2.MaxLength = 10; + this.columncl_vt3.MaxLength = 10; + this.columncl_vt4.MaxLength = 10; + this.columnabc_pa_sol_csolv_ID.MaxLength = 10; + this.columncl_fl_decod_anag.MaxLength = 1; + this.columnclindirec.MaxLength = 30; + this.columncllocarec.MaxLength = 30; + this.columnclcaporec.MaxLength = 10; + this.columnclprovrec.MaxLength = 2; + this.columnclnfaxrec.MaxLength = 20; + this.columncltelerec.MaxLength = 20; + this.columnclsuffreplica.MaxLength = 2; + this.columnclcdaccisa.MaxLength = 20; + this.columnclnicciaa.MaxLength = 30; + this.columnclnregimp.MaxLength = 30; + this.columnclcod_estero.MaxLength = 25; + this.columnclemail.MaxLength = 255; + this.columnclwww.MaxLength = 255; + this.columnclctrib.MaxLength = 10; + this.columnclCodCausRit.MaxLength = 10; + this.columnclQuadro.MaxLength = 3; + this.columncl_destStampe.MaxLength = 2; + this.columnclragd_n.MaxLength = 100; + this.columnclindi_n.MaxLength = 100; + this.columnclloca_n.MaxLength = 100; + this.columnclindidomfisc_n.MaxLength = 100; + this.columncllocadomfisc_n.MaxLength = 100; + this.columnclindirec_n.MaxLength = 100; + this.columncllocarec_n.MaxLength = 100; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public aclRow NewaclRow() { + return ((aclRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new aclRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(aclRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.aclRowChanged != null)) { + this.aclRowChanged(this, new aclRowChangeEvent(((aclRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.aclRowChanging != null)) { + this.aclRowChanging(this, new aclRowChangeEvent(((aclRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.aclRowDeleted != null)) { + this.aclRowDeleted(this, new aclRowChangeEvent(((aclRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.aclRowDeleting != null)) { + this.aclRowDeleting(this, new aclRowChangeEvent(((aclRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveaclRow(aclRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_import ds = new DS_import(); + 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 = "aclDataTable"; + 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. + /// + public partial class aclRow : global::System.Data.DataRow { + + private aclDataTable tableacl; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal aclRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableacl = ((aclDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clcodcn { + get { + return ((string)(this[this.tableacl.clcodcnColumn])); + } + set { + this[this.tableacl.clcodcnColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clragd { + get { + try { + return ((string)(this[this.tableacl.clragdColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clragd\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clragdColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cl_flcanc { + get { + try { + return ((string)(this[this.tableacl.cl_flcancColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cl_flcanc\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cl_flcancColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clcod { + get { + try { + return ((string)(this[this.tableacl.clcodColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clcod\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clcodColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clcdpiva { + get { + try { + return ((string)(this[this.tableacl.clcdpivaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clcdpiva\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clcdpivaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clindi { + get { + try { + return ((string)(this[this.tableacl.clindiColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clindi\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clindiColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clloca { + get { + try { + return ((string)(this[this.tableacl.cllocaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clloca\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cllocaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clcapo { + get { + try { + return ((string)(this[this.tableacl.clcapoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clcapo\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clcapoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clprov { + get { + try { + return ((string)(this[this.tableacl.clprovColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clprov\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clprovColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cldist { + get { + try { + return ((string)(this[this.tableacl.cldistColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cldist\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cldistColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clstat { + get { + try { + return ((string)(this[this.tableacl.clstatColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clstat\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clstatColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clstatiso { + get { + try { + return ((string)(this[this.tableacl.clstatisoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clstatiso\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clstatisoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clcdfi { + get { + try { + return ((string)(this[this.tableacl.clcdfiColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clcdfi\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clcdfiColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cltele { + get { + try { + return ((string)(this[this.tableacl.clteleColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cltele\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clteleColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clnfax { + get { + try { + return ((string)(this[this.tableacl.clnfaxColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clnfax\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clnfaxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clindidomfisc { + get { + try { + return ((string)(this[this.tableacl.clindidomfiscColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clindidomfisc\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clindidomfiscColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cllocadomfisc { + get { + try { + return ((string)(this[this.tableacl.cllocadomfiscColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cllocadomfisc\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cllocadomfiscColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clcapodomfisc { + get { + try { + return ((string)(this[this.tableacl.clcapodomfiscColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clcapodomfisc\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clcapodomfiscColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clprovdomfisc { + get { + try { + return ((string)(this[this.tableacl.clprovdomfiscColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clprovdomfisc\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clprovdomfiscColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cldistdomfisc { + get { + try { + return ((string)(this[this.tableacl.cldistdomfiscColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cldistdomfisc\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cldistdomfiscColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clstatdomfisc { + get { + try { + return ((string)(this[this.tableacl.clstatdomfiscColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clstatdomfisc\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clstatdomfiscColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clstatisodomfisc { + get { + try { + return ((string)(this[this.tableacl.clstatisodomfiscColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clstatisodomfisc\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clstatisodomfiscColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clteledomfisc { + get { + try { + return ((string)(this[this.tableacl.clteledomfiscColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clteledomfisc\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clteledomfiscColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clnfaxdomfisc { + get { + try { + return ((string)(this[this.tableacl.clnfaxdomfiscColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clnfaxdomfisc\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clnfaxdomfiscColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clalle { + get { + try { + return ((string)(this[this.tableacl.clalleColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clalle\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clalleColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clfldi { + get { + try { + return ((string)(this[this.tableacl.clfldiColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clfldi\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clfldiColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clcognom { + get { + try { + return ((string)(this[this.tableacl.clcognomColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clcognom\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clcognomColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clnome { + get { + try { + return ((string)(this[this.tableacl.clnomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clnome\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clnomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime cldtna { + get { + try { + return ((global::System.DateTime)(this[this.tableacl.cldtnaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cldtna\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cldtnaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clcona { + get { + try { + return ((string)(this[this.tableacl.clconaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clcona\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clconaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clprna { + get { + try { + return ((string)(this[this.tableacl.clprnaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clprna\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clprnaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cluscn { + get { + try { + return ((string)(this[this.tableacl.cluscnColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cluscn\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cluscnColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clstna { + get { + try { + return ((string)(this[this.tableacl.clstnaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clstna\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clstnaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clsess { + get { + try { + return ((string)(this[this.tableacl.clsessColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clsess\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clsessColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public float clrita { + get { + try { + return ((float)(this[this.tableacl.clritaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clrita\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clritaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clannot1 { + get { + try { + return ((string)(this[this.tableacl.clannot1Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clannot1\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clannot1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clannot2 { + get { + try { + return ((string)(this[this.tableacl.clannot2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clannot2\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clannot2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cl_zona { + get { + try { + return ((string)(this[this.tableacl.cl_zonaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cl_zona\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cl_zonaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clcategoria { + get { + try { + return ((string)(this[this.tableacl.clcategoriaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clcategoria\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clcategoriaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clcategoria2 { + get { + try { + return ((string)(this[this.tableacl.clcategoria2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clcategoria2\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clcategoria2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cl_sett_att1 { + get { + try { + return ((string)(this[this.tableacl.cl_sett_att1Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cl_sett_att1\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cl_sett_att1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cl_sett_att2 { + get { + try { + return ((string)(this[this.tableacl.cl_sett_att2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cl_sett_att2\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cl_sett_att2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clnote { + get { + try { + return ((string)(this[this.tableacl.clnoteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clnote\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clnoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cl_categco { + get { + try { + return ((string)(this[this.tableacl.cl_categcoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cl_categco\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cl_categcoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cl_ling { + get { + try { + return ((string)(this[this.tableacl.cl_lingColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cl_ling\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cl_lingColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cl_filiale { + get { + try { + return ((string)(this[this.tableacl.cl_filialeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cl_filiale\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cl_filialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cl_cod_old { + get { + try { + return ((string)(this[this.tableacl.cl_cod_oldColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cl_cod_old\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cl_cod_oldColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cl_cod_gruppo { + get { + try { + return ((string)(this[this.tableacl.cl_cod_gruppoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cl_cod_gruppo\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cl_cod_gruppoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cl_vt1 { + get { + try { + return ((string)(this[this.tableacl.cl_vt1Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cl_vt1\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cl_vt1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cl_vt2 { + get { + try { + return ((string)(this[this.tableacl.cl_vt2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cl_vt2\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cl_vt2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cl_vt3 { + get { + try { + return ((string)(this[this.tableacl.cl_vt3Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cl_vt3\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cl_vt3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cl_vt4 { + get { + try { + return ((string)(this[this.tableacl.cl_vt4Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cl_vt4\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cl_vt4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string abc_pa_sol_csolv_ID { + get { + try { + return ((string)(this[this.tableacl.abc_pa_sol_csolv_IDColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'abc_pa_sol_csolv_ID\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.abc_pa_sol_csolv_IDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime cl_solv_dtupd { + get { + try { + return ((global::System.DateTime)(this[this.tableacl.cl_solv_dtupdColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cl_solv_dtupd\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cl_solv_dtupdColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime cldtfineutil { + get { + try { + return ((global::System.DateTime)(this[this.tableacl.cldtfineutilColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cldtfineutil\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cldtfineutilColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cl_fl_decod_anag { + get { + try { + return ((string)(this[this.tableacl.cl_fl_decod_anagColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cl_fl_decod_anag\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cl_fl_decod_anagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clindirec { + get { + try { + return ((string)(this[this.tableacl.clindirecColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clindirec\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clindirecColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cllocarec { + get { + try { + return ((string)(this[this.tableacl.cllocarecColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cllocarec\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cllocarecColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clcaporec { + get { + try { + return ((string)(this[this.tableacl.clcaporecColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clcaporec\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clcaporecColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clprovrec { + get { + try { + return ((string)(this[this.tableacl.clprovrecColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clprovrec\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clprovrecColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clnfaxrec { + get { + try { + return ((string)(this[this.tableacl.clnfaxrecColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clnfaxrec\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clnfaxrecColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cltelerec { + get { + try { + return ((string)(this[this.tableacl.cltelerecColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cltelerec\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cltelerecColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public float clprcinps { + get { + try { + return ((float)(this[this.tableacl.clprcinpsColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clprcinps\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clprcinpsColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clsuffreplica { + get { + try { + return ((string)(this[this.tableacl.clsuffreplicaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clsuffreplica\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clsuffreplicaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime cldtins { + get { + try { + return ((global::System.DateTime)(this[this.tableacl.cldtinsColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cldtins\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cldtinsColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime cldtvalidini { + get { + try { + return ((global::System.DateTime)(this[this.tableacl.cldtvalidiniColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cldtvalidini\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cldtvalidiniColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clcdaccisa { + get { + try { + return ((string)(this[this.tableacl.clcdaccisaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clcdaccisa\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clcdaccisaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clnicciaa { + get { + try { + return ((string)(this[this.tableacl.clnicciaaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clnicciaa\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clnicciaaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clnregimp { + get { + try { + return ((string)(this[this.tableacl.clnregimpColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clnregimp\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clnregimpColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clcod_estero { + get { + try { + return ((string)(this[this.tableacl.clcod_esteroColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clcod_estero\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clcod_esteroColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clemail { + get { + try { + return ((string)(this[this.tableacl.clemailColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clemail\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clemailColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clwww { + get { + try { + return ((string)(this[this.tableacl.clwwwColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clwww\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clwwwColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clctrib { + get { + try { + return ((string)(this[this.tableacl.clctribColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clctrib\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clctribColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clCodCausRit { + get { + try { + return ((string)(this[this.tableacl.clCodCausRitColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clCodCausRit\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clCodCausRitColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clQuadro { + get { + try { + return ((string)(this[this.tableacl.clQuadroColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clQuadro\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clQuadroColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cl_destStampe { + get { + try { + return ((string)(this[this.tableacl.cl_destStampeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cl_destStampe\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cl_destStampeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clragd_n { + get { + try { + return ((string)(this[this.tableacl.clragd_nColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clragd_n\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clragd_nColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clindi_n { + get { + try { + return ((string)(this[this.tableacl.clindi_nColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clindi_n\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clindi_nColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clloca_n { + get { + try { + return ((string)(this[this.tableacl.clloca_nColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clloca_n\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clloca_nColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clindidomfisc_n { + get { + try { + return ((string)(this[this.tableacl.clindidomfisc_nColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clindidomfisc_n\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clindidomfisc_nColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cllocadomfisc_n { + get { + try { + return ((string)(this[this.tableacl.cllocadomfisc_nColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cllocadomfisc_n\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cllocadomfisc_nColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string clindirec_n { + get { + try { + return ((string)(this[this.tableacl.clindirec_nColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'clindirec_n\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.clindirec_nColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cllocarec_n { + get { + try { + return ((string)(this[this.tableacl.cllocarec_nColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cllocarec_n\' in table \'acl\' is DBNull.", e); + } + } + set { + this[this.tableacl.cllocarec_nColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclragdNull() { + return this.IsNull(this.tableacl.clragdColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclragdNull() { + this[this.tableacl.clragdColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscl_flcancNull() { + return this.IsNull(this.tableacl.cl_flcancColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcl_flcancNull() { + this[this.tableacl.cl_flcancColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclcodNull() { + return this.IsNull(this.tableacl.clcodColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclcodNull() { + this[this.tableacl.clcodColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclcdpivaNull() { + return this.IsNull(this.tableacl.clcdpivaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclcdpivaNull() { + this[this.tableacl.clcdpivaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclindiNull() { + return this.IsNull(this.tableacl.clindiColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclindiNull() { + this[this.tableacl.clindiColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscllocaNull() { + return this.IsNull(this.tableacl.cllocaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcllocaNull() { + this[this.tableacl.cllocaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclcapoNull() { + return this.IsNull(this.tableacl.clcapoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclcapoNull() { + this[this.tableacl.clcapoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclprovNull() { + return this.IsNull(this.tableacl.clprovColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclprovNull() { + this[this.tableacl.clprovColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscldistNull() { + return this.IsNull(this.tableacl.cldistColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcldistNull() { + this[this.tableacl.cldistColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclstatNull() { + return this.IsNull(this.tableacl.clstatColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclstatNull() { + this[this.tableacl.clstatColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclstatisoNull() { + return this.IsNull(this.tableacl.clstatisoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclstatisoNull() { + this[this.tableacl.clstatisoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclcdfiNull() { + return this.IsNull(this.tableacl.clcdfiColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclcdfiNull() { + this[this.tableacl.clcdfiColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclteleNull() { + return this.IsNull(this.tableacl.clteleColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclteleNull() { + this[this.tableacl.clteleColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclnfaxNull() { + return this.IsNull(this.tableacl.clnfaxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclnfaxNull() { + this[this.tableacl.clnfaxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclindidomfiscNull() { + return this.IsNull(this.tableacl.clindidomfiscColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclindidomfiscNull() { + this[this.tableacl.clindidomfiscColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscllocadomfiscNull() { + return this.IsNull(this.tableacl.cllocadomfiscColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcllocadomfiscNull() { + this[this.tableacl.cllocadomfiscColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclcapodomfiscNull() { + return this.IsNull(this.tableacl.clcapodomfiscColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclcapodomfiscNull() { + this[this.tableacl.clcapodomfiscColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclprovdomfiscNull() { + return this.IsNull(this.tableacl.clprovdomfiscColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclprovdomfiscNull() { + this[this.tableacl.clprovdomfiscColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscldistdomfiscNull() { + return this.IsNull(this.tableacl.cldistdomfiscColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcldistdomfiscNull() { + this[this.tableacl.cldistdomfiscColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclstatdomfiscNull() { + return this.IsNull(this.tableacl.clstatdomfiscColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclstatdomfiscNull() { + this[this.tableacl.clstatdomfiscColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclstatisodomfiscNull() { + return this.IsNull(this.tableacl.clstatisodomfiscColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclstatisodomfiscNull() { + this[this.tableacl.clstatisodomfiscColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclteledomfiscNull() { + return this.IsNull(this.tableacl.clteledomfiscColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclteledomfiscNull() { + this[this.tableacl.clteledomfiscColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclnfaxdomfiscNull() { + return this.IsNull(this.tableacl.clnfaxdomfiscColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclnfaxdomfiscNull() { + this[this.tableacl.clnfaxdomfiscColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclalleNull() { + return this.IsNull(this.tableacl.clalleColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclalleNull() { + this[this.tableacl.clalleColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclfldiNull() { + return this.IsNull(this.tableacl.clfldiColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclfldiNull() { + this[this.tableacl.clfldiColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclcognomNull() { + return this.IsNull(this.tableacl.clcognomColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclcognomNull() { + this[this.tableacl.clcognomColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclnomeNull() { + return this.IsNull(this.tableacl.clnomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclnomeNull() { + this[this.tableacl.clnomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscldtnaNull() { + return this.IsNull(this.tableacl.cldtnaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcldtnaNull() { + this[this.tableacl.cldtnaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclconaNull() { + return this.IsNull(this.tableacl.clconaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclconaNull() { + this[this.tableacl.clconaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclprnaNull() { + return this.IsNull(this.tableacl.clprnaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclprnaNull() { + this[this.tableacl.clprnaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscluscnNull() { + return this.IsNull(this.tableacl.cluscnColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcluscnNull() { + this[this.tableacl.cluscnColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclstnaNull() { + return this.IsNull(this.tableacl.clstnaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclstnaNull() { + this[this.tableacl.clstnaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclsessNull() { + return this.IsNull(this.tableacl.clsessColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclsessNull() { + this[this.tableacl.clsessColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclritaNull() { + return this.IsNull(this.tableacl.clritaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclritaNull() { + this[this.tableacl.clritaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Isclannot1Null() { + return this.IsNull(this.tableacl.clannot1Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setclannot1Null() { + this[this.tableacl.clannot1Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Isclannot2Null() { + return this.IsNull(this.tableacl.clannot2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setclannot2Null() { + this[this.tableacl.clannot2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscl_zonaNull() { + return this.IsNull(this.tableacl.cl_zonaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcl_zonaNull() { + this[this.tableacl.cl_zonaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclcategoriaNull() { + return this.IsNull(this.tableacl.clcategoriaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclcategoriaNull() { + this[this.tableacl.clcategoriaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Isclcategoria2Null() { + return this.IsNull(this.tableacl.clcategoria2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setclcategoria2Null() { + this[this.tableacl.clcategoria2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscl_sett_att1Null() { + return this.IsNull(this.tableacl.cl_sett_att1Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcl_sett_att1Null() { + this[this.tableacl.cl_sett_att1Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscl_sett_att2Null() { + return this.IsNull(this.tableacl.cl_sett_att2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcl_sett_att2Null() { + this[this.tableacl.cl_sett_att2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclnoteNull() { + return this.IsNull(this.tableacl.clnoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclnoteNull() { + this[this.tableacl.clnoteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscl_categcoNull() { + return this.IsNull(this.tableacl.cl_categcoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcl_categcoNull() { + this[this.tableacl.cl_categcoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscl_lingNull() { + return this.IsNull(this.tableacl.cl_lingColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcl_lingNull() { + this[this.tableacl.cl_lingColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscl_filialeNull() { + return this.IsNull(this.tableacl.cl_filialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcl_filialeNull() { + this[this.tableacl.cl_filialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscl_cod_oldNull() { + return this.IsNull(this.tableacl.cl_cod_oldColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcl_cod_oldNull() { + this[this.tableacl.cl_cod_oldColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscl_cod_gruppoNull() { + return this.IsNull(this.tableacl.cl_cod_gruppoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcl_cod_gruppoNull() { + this[this.tableacl.cl_cod_gruppoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscl_vt1Null() { + return this.IsNull(this.tableacl.cl_vt1Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcl_vt1Null() { + this[this.tableacl.cl_vt1Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscl_vt2Null() { + return this.IsNull(this.tableacl.cl_vt2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcl_vt2Null() { + this[this.tableacl.cl_vt2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscl_vt3Null() { + return this.IsNull(this.tableacl.cl_vt3Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcl_vt3Null() { + this[this.tableacl.cl_vt3Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscl_vt4Null() { + return this.IsNull(this.tableacl.cl_vt4Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcl_vt4Null() { + this[this.tableacl.cl_vt4Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Isabc_pa_sol_csolv_IDNull() { + return this.IsNull(this.tableacl.abc_pa_sol_csolv_IDColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setabc_pa_sol_csolv_IDNull() { + this[this.tableacl.abc_pa_sol_csolv_IDColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscl_solv_dtupdNull() { + return this.IsNull(this.tableacl.cl_solv_dtupdColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcl_solv_dtupdNull() { + this[this.tableacl.cl_solv_dtupdColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscldtfineutilNull() { + return this.IsNull(this.tableacl.cldtfineutilColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcldtfineutilNull() { + this[this.tableacl.cldtfineutilColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscl_fl_decod_anagNull() { + return this.IsNull(this.tableacl.cl_fl_decod_anagColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcl_fl_decod_anagNull() { + this[this.tableacl.cl_fl_decod_anagColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclindirecNull() { + return this.IsNull(this.tableacl.clindirecColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclindirecNull() { + this[this.tableacl.clindirecColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscllocarecNull() { + return this.IsNull(this.tableacl.cllocarecColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcllocarecNull() { + this[this.tableacl.cllocarecColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclcaporecNull() { + return this.IsNull(this.tableacl.clcaporecColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclcaporecNull() { + this[this.tableacl.clcaporecColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclprovrecNull() { + return this.IsNull(this.tableacl.clprovrecColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclprovrecNull() { + this[this.tableacl.clprovrecColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclnfaxrecNull() { + return this.IsNull(this.tableacl.clnfaxrecColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclnfaxrecNull() { + this[this.tableacl.clnfaxrecColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscltelerecNull() { + return this.IsNull(this.tableacl.cltelerecColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcltelerecNull() { + this[this.tableacl.cltelerecColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclprcinpsNull() { + return this.IsNull(this.tableacl.clprcinpsColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclprcinpsNull() { + this[this.tableacl.clprcinpsColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclsuffreplicaNull() { + return this.IsNull(this.tableacl.clsuffreplicaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclsuffreplicaNull() { + this[this.tableacl.clsuffreplicaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscldtinsNull() { + return this.IsNull(this.tableacl.cldtinsColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcldtinsNull() { + this[this.tableacl.cldtinsColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscldtvalidiniNull() { + return this.IsNull(this.tableacl.cldtvalidiniColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcldtvalidiniNull() { + this[this.tableacl.cldtvalidiniColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclcdaccisaNull() { + return this.IsNull(this.tableacl.clcdaccisaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclcdaccisaNull() { + this[this.tableacl.clcdaccisaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclnicciaaNull() { + return this.IsNull(this.tableacl.clnicciaaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclnicciaaNull() { + this[this.tableacl.clnicciaaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclnregimpNull() { + return this.IsNull(this.tableacl.clnregimpColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclnregimpNull() { + this[this.tableacl.clnregimpColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Isclcod_esteroNull() { + return this.IsNull(this.tableacl.clcod_esteroColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setclcod_esteroNull() { + this[this.tableacl.clcod_esteroColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclemailNull() { + return this.IsNull(this.tableacl.clemailColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclemailNull() { + this[this.tableacl.clemailColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclwwwNull() { + return this.IsNull(this.tableacl.clwwwColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclwwwNull() { + this[this.tableacl.clwwwColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclctribNull() { + return this.IsNull(this.tableacl.clctribColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclctribNull() { + this[this.tableacl.clctribColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclCodCausRitNull() { + return this.IsNull(this.tableacl.clCodCausRitColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclCodCausRitNull() { + this[this.tableacl.clCodCausRitColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsclQuadroNull() { + return this.IsNull(this.tableacl.clQuadroColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetclQuadroNull() { + this[this.tableacl.clQuadroColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscl_destStampeNull() { + return this.IsNull(this.tableacl.cl_destStampeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcl_destStampeNull() { + this[this.tableacl.cl_destStampeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Isclragd_nNull() { + return this.IsNull(this.tableacl.clragd_nColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setclragd_nNull() { + this[this.tableacl.clragd_nColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Isclindi_nNull() { + return this.IsNull(this.tableacl.clindi_nColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setclindi_nNull() { + this[this.tableacl.clindi_nColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Isclloca_nNull() { + return this.IsNull(this.tableacl.clloca_nColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setclloca_nNull() { + this[this.tableacl.clloca_nColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Isclindidomfisc_nNull() { + return this.IsNull(this.tableacl.clindidomfisc_nColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setclindidomfisc_nNull() { + this[this.tableacl.clindidomfisc_nColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscllocadomfisc_nNull() { + return this.IsNull(this.tableacl.cllocadomfisc_nColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcllocadomfisc_nNull() { + this[this.tableacl.cllocadomfisc_nColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Isclindirec_nNull() { + return this.IsNull(this.tableacl.clindirec_nColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setclindirec_nNull() { + this[this.tableacl.clindirec_nColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Iscllocarec_nNull() { + return this.IsNull(this.tableacl.cllocarec_nColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Setcllocarec_nNull() { + this[this.tableacl.cllocarec_nColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class aclRowChangeEvent : global::System.EventArgs { + + private aclRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public aclRowChangeEvent(aclRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public aclRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace XPS_data.DS_importTableAdapters { + + + /// + ///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 aclTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.OleDb.OleDbDataAdapter _adapter; + + private global::System.Data.OleDb.OleDbConnection _connection; + + private global::System.Data.OleDb.OleDbTransaction _transaction; + + private global::System.Data.OleDb.OleDbCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public aclTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.OleDb.OleDbDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.OleDb.OleDbConnection 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.OleDb.OleDbCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.OleDb.OleDbTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.OleDb.OleDbCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.OleDb.OleDbDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "acl"; + tableMapping.ColumnMappings.Add("clcodcn", "clcodcn"); + tableMapping.ColumnMappings.Add("clragd", "clragd"); + tableMapping.ColumnMappings.Add("cl_flcanc", "cl_flcanc"); + tableMapping.ColumnMappings.Add("clcod", "clcod"); + tableMapping.ColumnMappings.Add("clcdpiva", "clcdpiva"); + tableMapping.ColumnMappings.Add("clindi", "clindi"); + tableMapping.ColumnMappings.Add("clloca", "clloca"); + tableMapping.ColumnMappings.Add("clcapo", "clcapo"); + tableMapping.ColumnMappings.Add("clprov", "clprov"); + tableMapping.ColumnMappings.Add("cldist", "cldist"); + tableMapping.ColumnMappings.Add("clstat", "clstat"); + tableMapping.ColumnMappings.Add("clstatiso", "clstatiso"); + tableMapping.ColumnMappings.Add("clcdfi", "clcdfi"); + tableMapping.ColumnMappings.Add("cltele", "cltele"); + tableMapping.ColumnMappings.Add("clnfax", "clnfax"); + tableMapping.ColumnMappings.Add("clindidomfisc", "clindidomfisc"); + tableMapping.ColumnMappings.Add("cllocadomfisc", "cllocadomfisc"); + tableMapping.ColumnMappings.Add("clcapodomfisc", "clcapodomfisc"); + tableMapping.ColumnMappings.Add("clprovdomfisc", "clprovdomfisc"); + tableMapping.ColumnMappings.Add("cldistdomfisc", "cldistdomfisc"); + tableMapping.ColumnMappings.Add("clstatdomfisc", "clstatdomfisc"); + tableMapping.ColumnMappings.Add("clstatisodomfisc", "clstatisodomfisc"); + tableMapping.ColumnMappings.Add("clteledomfisc", "clteledomfisc"); + tableMapping.ColumnMappings.Add("clnfaxdomfisc", "clnfaxdomfisc"); + tableMapping.ColumnMappings.Add("clalle", "clalle"); + tableMapping.ColumnMappings.Add("clfldi", "clfldi"); + tableMapping.ColumnMappings.Add("clcognom", "clcognom"); + tableMapping.ColumnMappings.Add("clnome", "clnome"); + tableMapping.ColumnMappings.Add("cldtna", "cldtna"); + tableMapping.ColumnMappings.Add("clcona", "clcona"); + tableMapping.ColumnMappings.Add("clprna", "clprna"); + tableMapping.ColumnMappings.Add("cluscn", "cluscn"); + tableMapping.ColumnMappings.Add("clstna", "clstna"); + tableMapping.ColumnMappings.Add("clsess", "clsess"); + tableMapping.ColumnMappings.Add("clrita", "clrita"); + tableMapping.ColumnMappings.Add("clannot1", "clannot1"); + tableMapping.ColumnMappings.Add("clannot2", "clannot2"); + tableMapping.ColumnMappings.Add("cl_zona", "cl_zona"); + tableMapping.ColumnMappings.Add("clcategoria", "clcategoria"); + tableMapping.ColumnMappings.Add("clcategoria2", "clcategoria2"); + tableMapping.ColumnMappings.Add("cl_sett_att1", "cl_sett_att1"); + tableMapping.ColumnMappings.Add("cl_sett_att2", "cl_sett_att2"); + tableMapping.ColumnMappings.Add("clnote", "clnote"); + tableMapping.ColumnMappings.Add("cl_categco", "cl_categco"); + tableMapping.ColumnMappings.Add("cl_ling", "cl_ling"); + tableMapping.ColumnMappings.Add("cl_filiale", "cl_filiale"); + tableMapping.ColumnMappings.Add("cl_cod_old", "cl_cod_old"); + tableMapping.ColumnMappings.Add("cl_cod_gruppo", "cl_cod_gruppo"); + tableMapping.ColumnMappings.Add("cl_vt1", "cl_vt1"); + tableMapping.ColumnMappings.Add("cl_vt2", "cl_vt2"); + tableMapping.ColumnMappings.Add("cl_vt3", "cl_vt3"); + tableMapping.ColumnMappings.Add("cl_vt4", "cl_vt4"); + tableMapping.ColumnMappings.Add("abc_pa_sol_csolv_ID", "abc_pa_sol_csolv_ID"); + tableMapping.ColumnMappings.Add("cl_solv_dtupd", "cl_solv_dtupd"); + tableMapping.ColumnMappings.Add("cldtfineutil", "cldtfineutil"); + tableMapping.ColumnMappings.Add("cl_fl_decod_anag", "cl_fl_decod_anag"); + tableMapping.ColumnMappings.Add("clindirec", "clindirec"); + tableMapping.ColumnMappings.Add("cllocarec", "cllocarec"); + tableMapping.ColumnMappings.Add("clcaporec", "clcaporec"); + tableMapping.ColumnMappings.Add("clprovrec", "clprovrec"); + tableMapping.ColumnMappings.Add("clnfaxrec", "clnfaxrec"); + tableMapping.ColumnMappings.Add("cltelerec", "cltelerec"); + tableMapping.ColumnMappings.Add("clprcinps", "clprcinps"); + tableMapping.ColumnMappings.Add("clsuffreplica", "clsuffreplica"); + tableMapping.ColumnMappings.Add("cldtins", "cldtins"); + tableMapping.ColumnMappings.Add("cldtvalidini", "cldtvalidini"); + tableMapping.ColumnMappings.Add("clcdaccisa", "clcdaccisa"); + tableMapping.ColumnMappings.Add("clnicciaa", "clnicciaa"); + tableMapping.ColumnMappings.Add("clnregimp", "clnregimp"); + tableMapping.ColumnMappings.Add("clcod_estero", "clcod_estero"); + tableMapping.ColumnMappings.Add("clemail", "clemail"); + tableMapping.ColumnMappings.Add("clwww", "clwww"); + tableMapping.ColumnMappings.Add("clctrib", "clctrib"); + tableMapping.ColumnMappings.Add("clCodCausRit", "clCodCausRit"); + tableMapping.ColumnMappings.Add("clQuadro", "clQuadro"); + tableMapping.ColumnMappings.Add("cl_destStampe", "cl_destStampe"); + tableMapping.ColumnMappings.Add("clragd_n", "clragd_n"); + tableMapping.ColumnMappings.Add("clindi_n", "clindi_n"); + tableMapping.ColumnMappings.Add("clloca_n", "clloca_n"); + tableMapping.ColumnMappings.Add("clindidomfisc_n", "clindidomfisc_n"); + tableMapping.ColumnMappings.Add("cllocadomfisc_n", "cllocadomfisc_n"); + tableMapping.ColumnMappings.Add("clindirec_n", "clindirec_n"); + tableMapping.ColumnMappings.Add("cllocarec_n", "cllocarec_n"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.OleDb.OleDbCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM `acl` WHERE ((`clcodcn` = ?) AND ((? = 1 AND `clragd` IS NULL) OR (`c" + + "lragd` = ?)) AND ((? = 1 AND `cl_flcanc` IS NULL) OR (`cl_flcanc` = ?)) AND ((? " + + "= 1 AND `clcod` IS NULL) OR (`clcod` = ?)) AND ((? = 1 AND `clcdpiva` IS NULL) O" + + "R (`clcdpiva` = ?)) AND ((? = 1 AND `clindi` IS NULL) OR (`clindi` = ?)) AND ((?" + + " = 1 AND `clloca` IS NULL) OR (`clloca` = ?)) AND ((? = 1 AND `clcapo` IS NULL) " + + "OR (`clcapo` = ?)) AND ((? = 1 AND `clprov` IS NULL) OR (`clprov` = ?)) AND ((? " + + "= 1 AND `cldist` IS NULL) OR (`cldist` = ?)) AND ((? = 1 AND `clstat` IS NULL) O" + + "R (`clstat` = ?)) AND ((? = 1 AND `clstatiso` IS NULL) OR (`clstatiso` = ?)) AND" + + " ((? = 1 AND `clcdfi` IS NULL) OR (`clcdfi` = ?)) AND ((? = 1 AND `clindidomfisc" + + "` IS NULL) OR (`clindidomfisc` = ?)) AND ((? = 1 AND `cllocadomfisc` IS NULL) OR" + + " (`cllocadomfisc` = ?)) AND ((? = 1 AND `clcapodomfisc` IS NULL) OR (`clcapodomf" + + "isc` = ?)) AND ((? = 1 AND `clprovdomfisc` IS NULL) OR (`clprovdomfisc` = ?)) AN" + + "D ((? = 1 AND `cldistdomfisc` IS NULL) OR (`cldistdomfisc` = ?)) AND ((? = 1 AND" + + " `clstatdomfisc` IS NULL) OR (`clstatdomfisc` = ?)) AND ((? = 1 AND `clstatisodo" + + "mfisc` IS NULL) OR (`clstatisodomfisc` = ?)) AND ((? = 1 AND `clalle` IS NULL) O" + + "R (`clalle` = ?)) AND ((? = 1 AND `clfldi` IS NULL) OR (`clfldi` = ?)) AND ((? =" + + " 1 AND `clcognom` IS NULL) OR (`clcognom` = ?)) AND ((? = 1 AND `clnome` IS NULL" + + ") OR (`clnome` = ?)) AND ((? = 1 AND `cldtna` IS NULL) OR (`cldtna` = ?)) AND ((" + + "? = 1 AND `clcona` IS NULL) OR (`clcona` = ?)) AND ((? = 1 AND `clprna` IS NULL)" + + " OR (`clprna` = ?)) AND ((? = 1 AND `cluscn` IS NULL) OR (`cluscn` = ?)) AND ((?" + + " = 1 AND `clstna` IS NULL) OR (`clstna` = ?)) AND ((? = 1 AND `clsess` IS NULL) " + + "OR (`clsess` = ?)) AND ((? = 1 AND `clrita` IS NULL) OR (`clrita` = ?)) AND ((? " + + "= 1 AND `cl_zona` IS NULL) OR (`cl_zona` = ?)) AND ((? = 1 AND `clcategoria` IS " + + "NULL) OR (`clcategoria` = ?)) AND ((? = 1 AND `clcategoria2` IS NULL) OR (`clcat" + + "egoria2` = ?)) AND ((? = 1 AND `cl_sett_att1` IS NULL) OR (`cl_sett_att1` = ?)) " + + "AND ((? = 1 AND `cl_sett_att2` IS NULL) OR (`cl_sett_att2` = ?)) AND ((? = 1 AND" + + " `cl_categco` IS NULL) OR (`cl_categco` = ?)) AND ((? = 1 AND `cl_ling` IS NULL)" + + " OR (`cl_ling` = ?)) AND ((? = 1 AND `cl_filiale` IS NULL) OR (`cl_filiale` = ?)" + + ") AND ((? = 1 AND `cl_cod_old` IS NULL) OR (`cl_cod_old` = ?)) AND ((? = 1 AND `" + + "cl_cod_gruppo` IS NULL) OR (`cl_cod_gruppo` = ?)) AND ((? = 1 AND `cl_vt1` IS NU" + + "LL) OR (`cl_vt1` = ?)) AND ((? = 1 AND `cl_vt2` IS NULL) OR (`cl_vt2` = ?)) AND " + + "((? = 1 AND `cl_vt3` IS NULL) OR (`cl_vt3` = ?)) AND ((? = 1 AND `cl_vt4` IS NUL" + + "L) OR (`cl_vt4` = ?)) AND ((? = 1 AND `abc_pa_sol_csolv_ID` IS NULL) OR (`abc_pa" + + "_sol_csolv_ID` = ?)) AND ((? = 1 AND `cl_solv_dtupd` IS NULL) OR (`cl_solv_dtupd" + + "` = ?)) AND ((? = 1 AND `cldtfineutil` IS NULL) OR (`cldtfineutil` = ?)) AND ((?" + + " = 1 AND `cl_fl_decod_anag` IS NULL) OR (`cl_fl_decod_anag` = ?)) AND ((? = 1 AN" + + "D `clindirec` IS NULL) OR (`clindirec` = ?)) AND ((? = 1 AND `cllocarec` IS NULL" + + ") OR (`cllocarec` = ?)) AND ((? = 1 AND `clcaporec` IS NULL) OR (`clcaporec` = ?" + + ")) AND ((? = 1 AND `clprovrec` IS NULL) OR (`clprovrec` = ?)) AND ((? = 1 AND `c" + + "lnfaxrec` IS NULL) OR (`clnfaxrec` = ?)) AND ((? = 1 AND `cltelerec` IS NULL) OR" + + " (`cltelerec` = ?)) AND ((? = 1 AND `clprcinps` IS NULL) OR (`clprcinps` = ?)) A" + + "ND ((? = 1 AND `clsuffreplica` IS NULL) OR (`clsuffreplica` = ?)) AND ((? = 1 AN" + + "D `cldtins` IS NULL) OR (`cldtins` = ?)) AND ((? = 1 AND `cldtvalidini` IS NULL)" + + " OR (`cldtvalidini` = ?)) AND ((? = 1 AND `clcdaccisa` IS NULL) OR (`clcdaccisa`" + + " = ?)) AND ((? = 1 AND `clnicciaa` IS NULL) OR (`clnicciaa` = ?)) AND ((? = 1 AN" + + "D `clnregimp` IS NULL) OR (`clnregimp` = ?)) AND ((? = 1 AND `clcod_estero` IS N" + + "ULL) OR (`clcod_estero` = ?)) AND ((? = 1 AND `clemail` IS NULL) OR (`clemail` =" + + " ?)) AND ((? = 1 AND `clwww` IS NULL) OR (`clwww` = ?)) AND ((? = 1 AND `clctrib" + + "` IS NULL) OR (`clctrib` = ?)) AND ((? = 1 AND `clCodCausRit` IS NULL) OR (`clCo" + + "dCausRit` = ?)) AND ((? = 1 AND `clQuadro` IS NULL) OR (`clQuadro` = ?)) AND ((?" + + " = 1 AND `cl_destStampe` IS NULL) OR (`cl_destStampe` = ?)) AND ((? = 1 AND `clr" + + "agd_n` IS NULL) OR (`clragd_n` = ?)) AND ((? = 1 AND `clindi_n` IS NULL) OR (`cl" + + "indi_n` = ?)) AND ((? = 1 AND `clloca_n` IS NULL) OR (`clloca_n` = ?)) AND ((? =" + + " 1 AND `clindidomfisc_n` IS NULL) OR (`clindidomfisc_n` = ?)) AND ((? = 1 AND `c" + + "llocadomfisc_n` IS NULL) OR (`cllocadomfisc_n` = ?)) AND ((? = 1 AND `clindirec_" + + "n` IS NULL) OR (`clindirec_n` = ?)) AND ((? = 1 AND `cllocarec_n` IS NULL) OR (`" + + "cllocarec_n` = ?)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcodcn", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcodcn", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clragd", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clragd", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_flcanc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_flcanc", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_flcanc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_flcanc", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcod", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcod", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcdpiva", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdpiva", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcdpiva", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdpiva", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindi", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clloca", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clloca", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcapo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapo", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcapo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapo", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprov", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprov", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprov", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprov", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldist", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldist", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldist", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldist", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstat", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstat", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstat", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstat", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstatiso", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatiso", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstatiso", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatiso", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcdfi", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdfi", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcdfi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdfi", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindidomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindidomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cllocadomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cllocadomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcapodomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapodomfisc", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcapodomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapodomfisc", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprovdomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovdomfisc", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprovdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovdomfisc", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldistdomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldistdomfisc", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldistdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldistdomfisc", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstatdomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatdomfisc", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstatdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatdomfisc", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstatisodomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatisodomfisc", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstatisodomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatisodomfisc", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clalle", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clalle", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clalle", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clalle", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clfldi", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clfldi", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clfldi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clfldi", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcognom", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcognom", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcognom", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcognom", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clnome", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnome", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clnome", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnome", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldtna", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtna", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldtna", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtna", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcona", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcona", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcona", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcona", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprna", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprna", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprna", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprna", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cluscn", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cluscn", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cluscn", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cluscn", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstna", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstna", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstna", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstna", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clsess", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsess", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clsess", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsess", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clrita", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clrita", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clrita", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clrita", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_zona", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_zona", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_zona", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_zona", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcategoria", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcategoria", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcategoria2", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria2", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcategoria2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria2", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_sett_att1", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att1", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_sett_att1", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att1", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_sett_att2", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att2", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_sett_att2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att2", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_categco", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_categco", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_categco", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_categco", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_ling", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_ling", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_ling", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_ling", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_filiale", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_filiale", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_filiale", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_filiale", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_cod_old", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_old", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_cod_old", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_old", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_cod_gruppo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_gruppo", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_cod_gruppo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_gruppo", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_vt1", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt1", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_vt1", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt1", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_vt2", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt2", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_vt2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt2", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_vt3", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt3", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_vt3", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt3", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_vt4", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt4", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_vt4", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt4", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_abc_pa_sol_csolv_ID", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "abc_pa_sol_csolv_ID", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_abc_pa_sol_csolv_ID", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "abc_pa_sol_csolv_ID", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_solv_dtupd", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_solv_dtupd", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_solv_dtupd", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_solv_dtupd", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldtfineutil", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtfineutil", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldtfineutil", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtfineutil", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_fl_decod_anag", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_fl_decod_anag", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_fl_decod_anag", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_fl_decod_anag", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindirec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindirec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cllocarec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cllocarec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcaporec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcaporec", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcaporec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcaporec", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprovrec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovrec", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprovrec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovrec", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clnfaxrec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfaxrec", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clnfaxrec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfaxrec", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cltelerec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cltelerec", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cltelerec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cltelerec", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprcinps", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprcinps", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprcinps", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprcinps", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clsuffreplica", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsuffreplica", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clsuffreplica", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsuffreplica", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldtins", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtins", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldtins", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtins", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldtvalidini", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtvalidini", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldtvalidini", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtvalidini", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcdaccisa", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdaccisa", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcdaccisa", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdaccisa", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clnicciaa", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnicciaa", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clnicciaa", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnicciaa", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clnregimp", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnregimp", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clnregimp", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnregimp", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcod_estero", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod_estero", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcod_estero", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod_estero", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clemail", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clemail", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clemail", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clemail", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clwww", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clwww", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clwww", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clwww", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clctrib", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clctrib", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clctrib", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clctrib", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clCodCausRit", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clCodCausRit", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clCodCausRit", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clCodCausRit", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clQuadro", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clQuadro", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clQuadro", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clQuadro", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_destStampe", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_destStampe", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_destStampe", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_destStampe", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clragd_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd_n", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clragd_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd_n", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindi_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi_n", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindi_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi_n", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clloca_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca_n", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clloca_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca_n", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindidomfisc_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc_n", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindidomfisc_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc_n", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cllocadomfisc_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc_n", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cllocadomfisc_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc_n", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindirec_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec_n", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindirec_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec_n", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cllocarec_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec_n", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cllocarec_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec_n", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.InsertCommand = new global::System.Data.OleDb.OleDbCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO `acl` (`clcodcn`, `clragd`, `cl_flcanc`, `clcod`, `clcdpiva`, `clindi`, `clloca`, `clcapo`, `clprov`, `cldist`, `clstat`, `clstatiso`, `clcdfi`, `cltele`, `clnfax`, `clindidomfisc`, `cllocadomfisc`, `clcapodomfisc`, `clprovdomfisc`, `cldistdomfisc`, `clstatdomfisc`, `clstatisodomfisc`, `clteledomfisc`, `clnfaxdomfisc`, `clalle`, `clfldi`, `clcognom`, `clnome`, `cldtna`, `clcona`, `clprna`, `cluscn`, `clstna`, `clsess`, `clrita`, `clannot1`, `clannot2`, `cl_zona`, `clcategoria`, `clcategoria2`, `cl_sett_att1`, `cl_sett_att2`, `clnote`, `cl_categco`, `cl_ling`, `cl_filiale`, `cl_cod_old`, `cl_cod_gruppo`, `cl_vt1`, `cl_vt2`, `cl_vt3`, `cl_vt4`, `abc_pa_sol_csolv_ID`, `cl_solv_dtupd`, `cldtfineutil`, `cl_fl_decod_anag`, `clindirec`, `cllocarec`, `clcaporec`, `clprovrec`, `clnfaxrec`, `cltelerec`, `clprcinps`, `clsuffreplica`, `cldtins`, `cldtvalidini`, `clcdaccisa`, `clnicciaa`, `clnregimp`, `clcod_estero`, `clemail`, `clwww`, `clctrib`, `clCodCausRit`, `clQuadro`, `cl_destStampe`, `clragd_n`, `clindi_n`, `clloca_n`, `clindidomfisc_n`, `cllocadomfisc_n`, `clindirec_n`, `cllocarec_n`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcodcn", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcodcn", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clragd", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_flcanc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_flcanc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcod", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcdpiva", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdpiva", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clloca", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcapo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapo", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprov", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprov", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldist", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldist", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstat", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstat", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstatiso", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatiso", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcdfi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdfi", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cltele", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cltele", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnfax", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfax", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindidomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cllocadomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcapodomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapodomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprovdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovdomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldistdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldistdomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstatdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatdomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstatisodomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatisodomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clteledomfisc", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clteledomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnfaxdomfisc", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfaxdomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clalle", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clalle", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clfldi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clfldi", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcognom", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcognom", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnome", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnome", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldtna", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtna", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcona", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcona", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprna", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprna", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cluscn", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cluscn", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstna", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstna", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clsess", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsess", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clrita", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clrita", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clannot1", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clannot1", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clannot2", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clannot2", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_zona", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_zona", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcategoria", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcategoria2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria2", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_sett_att1", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att1", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_sett_att2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att2", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnote", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnote", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_categco", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_categco", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_ling", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_ling", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_filiale", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_filiale", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_cod_old", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_old", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_cod_gruppo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_gruppo", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_vt1", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt1", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_vt2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt2", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_vt3", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt3", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_vt4", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt4", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("abc_pa_sol_csolv_ID", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "abc_pa_sol_csolv_ID", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_solv_dtupd", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_solv_dtupd", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldtfineutil", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtfineutil", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_fl_decod_anag", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_fl_decod_anag", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindirec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cllocarec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcaporec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcaporec", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprovrec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovrec", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnfaxrec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfaxrec", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cltelerec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cltelerec", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprcinps", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprcinps", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clsuffreplica", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsuffreplica", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldtins", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtins", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldtvalidini", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtvalidini", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcdaccisa", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdaccisa", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnicciaa", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnicciaa", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnregimp", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnregimp", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcod_estero", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod_estero", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clemail", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clemail", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clwww", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clwww", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clctrib", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clctrib", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clCodCausRit", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clCodCausRit", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clQuadro", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clQuadro", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_destStampe", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_destStampe", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clragd_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd_n", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindi_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi_n", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clloca_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca_n", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindidomfisc_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc_n", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cllocadomfisc_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc_n", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindirec_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec_n", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cllocarec_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec_n", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand = new global::System.Data.OleDb.OleDbCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = "UPDATE `acl` SET `clcodcn` = ?, `clragd` = ?, `cl_flcanc` = ?, `clcod` = ?, `clcd" + + "piva` = ?, `clindi` = ?, `clloca` = ?, `clcapo` = ?, `clprov` = ?, `cldist` = ?," + + " `clstat` = ?, `clstatiso` = ?, `clcdfi` = ?, `cltele` = ?, `clnfax` = ?, `clind" + + "idomfisc` = ?, `cllocadomfisc` = ?, `clcapodomfisc` = ?, `clprovdomfisc` = ?, `c" + + "ldistdomfisc` = ?, `clstatdomfisc` = ?, `clstatisodomfisc` = ?, `clteledomfisc` " + + "= ?, `clnfaxdomfisc` = ?, `clalle` = ?, `clfldi` = ?, `clcognom` = ?, `clnome` =" + + " ?, `cldtna` = ?, `clcona` = ?, `clprna` = ?, `cluscn` = ?, `clstna` = ?, `clses" + + "s` = ?, `clrita` = ?, `clannot1` = ?, `clannot2` = ?, `cl_zona` = ?, `clcategori" + + "a` = ?, `clcategoria2` = ?, `cl_sett_att1` = ?, `cl_sett_att2` = ?, `clnote` = ?" + + ", `cl_categco` = ?, `cl_ling` = ?, `cl_filiale` = ?, `cl_cod_old` = ?, `cl_cod_g" + + "ruppo` = ?, `cl_vt1` = ?, `cl_vt2` = ?, `cl_vt3` = ?, `cl_vt4` = ?, `abc_pa_sol_" + + "csolv_ID` = ?, `cl_solv_dtupd` = ?, `cldtfineutil` = ?, `cl_fl_decod_anag` = ?, " + + "`clindirec` = ?, `cllocarec` = ?, `clcaporec` = ?, `clprovrec` = ?, `clnfaxrec` " + + "= ?, `cltelerec` = ?, `clprcinps` = ?, `clsuffreplica` = ?, `cldtins` = ?, `cldt" + + "validini` = ?, `clcdaccisa` = ?, `clnicciaa` = ?, `clnregimp` = ?, `clcod_estero" + + "` = ?, `clemail` = ?, `clwww` = ?, `clctrib` = ?, `clCodCausRit` = ?, `clQuadro`" + + " = ?, `cl_destStampe` = ?, `clragd_n` = ?, `clindi_n` = ?, `clloca_n` = ?, `clin" + + "didomfisc_n` = ?, `cllocadomfisc_n` = ?, `clindirec_n` = ?, `cllocarec_n` = ? WH" + + "ERE ((`clcodcn` = ?) AND ((? = 1 AND `clragd` IS NULL) OR (`clragd` = ?)) AND ((" + + "? = 1 AND `cl_flcanc` IS NULL) OR (`cl_flcanc` = ?)) AND ((? = 1 AND `clcod` IS " + + "NULL) OR (`clcod` = ?)) AND ((? = 1 AND `clcdpiva` IS NULL) OR (`clcdpiva` = ?))" + + " AND ((? = 1 AND `clindi` IS NULL) OR (`clindi` = ?)) AND ((? = 1 AND `clloca` I" + + "S NULL) OR (`clloca` = ?)) AND ((? = 1 AND `clcapo` IS NULL) OR (`clcapo` = ?)) " + + "AND ((? = 1 AND `clprov` IS NULL) OR (`clprov` = ?)) AND ((? = 1 AND `cldist` IS" + + " NULL) OR (`cldist` = ?)) AND ((? = 1 AND `clstat` IS NULL) OR (`clstat` = ?)) A" + + "ND ((? = 1 AND `clstatiso` IS NULL) OR (`clstatiso` = ?)) AND ((? = 1 AND `clcdf" + + "i` IS NULL) OR (`clcdfi` = ?)) AND ((? = 1 AND `clindidomfisc` IS NULL) OR (`cli" + + "ndidomfisc` = ?)) AND ((? = 1 AND `cllocadomfisc` IS NULL) OR (`cllocadomfisc` =" + + " ?)) AND ((? = 1 AND `clcapodomfisc` IS NULL) OR (`clcapodomfisc` = ?)) AND ((? " + + "= 1 AND `clprovdomfisc` IS NULL) OR (`clprovdomfisc` = ?)) AND ((? = 1 AND `cldi" + + "stdomfisc` IS NULL) OR (`cldistdomfisc` = ?)) AND ((? = 1 AND `clstatdomfisc` IS" + + " NULL) OR (`clstatdomfisc` = ?)) AND ((? = 1 AND `clstatisodomfisc` IS NULL) OR " + + "(`clstatisodomfisc` = ?)) AND ((? = 1 AND `clalle` IS NULL) OR (`clalle` = ?)) A" + + "ND ((? = 1 AND `clfldi` IS NULL) OR (`clfldi` = ?)) AND ((? = 1 AND `clcognom` I" + + "S NULL) OR (`clcognom` = ?)) AND ((? = 1 AND `clnome` IS NULL) OR (`clnome` = ?)" + + ") AND ((? = 1 AND `cldtna` IS NULL) OR (`cldtna` = ?)) AND ((? = 1 AND `clcona` " + + "IS NULL) OR (`clcona` = ?)) AND ((? = 1 AND `clprna` IS NULL) OR (`clprna` = ?))" + + " AND ((? = 1 AND `cluscn` IS NULL) OR (`cluscn` = ?)) AND ((? = 1 AND `clstna` I" + + "S NULL) OR (`clstna` = ?)) AND ((? = 1 AND `clsess` IS NULL) OR (`clsess` = ?)) " + + "AND ((? = 1 AND `clrita` IS NULL) OR (`clrita` = ?)) AND ((? = 1 AND `cl_zona` I" + + "S NULL) OR (`cl_zona` = ?)) AND ((? = 1 AND `clcategoria` IS NULL) OR (`clcatego" + + "ria` = ?)) AND ((? = 1 AND `clcategoria2` IS NULL) OR (`clcategoria2` = ?)) AND " + + "((? = 1 AND `cl_sett_att1` IS NULL) OR (`cl_sett_att1` = ?)) AND ((? = 1 AND `cl" + + "_sett_att2` IS NULL) OR (`cl_sett_att2` = ?)) AND ((? = 1 AND `cl_categco` IS NU" + + "LL) OR (`cl_categco` = ?)) AND ((? = 1 AND `cl_ling` IS NULL) OR (`cl_ling` = ?)" + + ") AND ((? = 1 AND `cl_filiale` IS NULL) OR (`cl_filiale` = ?)) AND ((? = 1 AND `" + + "cl_cod_old` IS NULL) OR (`cl_cod_old` = ?)) AND ((? = 1 AND `cl_cod_gruppo` IS N" + + "ULL) OR (`cl_cod_gruppo` = ?)) AND ((? = 1 AND `cl_vt1` IS NULL) OR (`cl_vt1` = " + + "?)) AND ((? = 1 AND `cl_vt2` IS NULL) OR (`cl_vt2` = ?)) AND ((? = 1 AND `cl_vt3" + + "` IS NULL) OR (`cl_vt3` = ?)) AND ((? = 1 AND `cl_vt4` IS NULL) OR (`cl_vt4` = ?" + + ")) AND ((? = 1 AND `abc_pa_sol_csolv_ID` IS NULL) OR (`abc_pa_sol_csolv_ID` = ?)" + + ") AND ((? = 1 AND `cl_solv_dtupd` IS NULL) OR (`cl_solv_dtupd` = ?)) AND ((? = 1" + + " AND `cldtfineutil` IS NULL) OR (`cldtfineutil` = ?)) AND ((? = 1 AND `cl_fl_dec" + + "od_anag` IS NULL) OR (`cl_fl_decod_anag` = ?)) AND ((? = 1 AND `clindirec` IS NU" + + "LL) OR (`clindirec` = ?)) AND ((? = 1 AND `cllocarec` IS NULL) OR (`cllocarec` =" + + " ?)) AND ((? = 1 AND `clcaporec` IS NULL) OR (`clcaporec` = ?)) AND ((? = 1 AND " + + "`clprovrec` IS NULL) OR (`clprovrec` = ?)) AND ((? = 1 AND `clnfaxrec` IS NULL) " + + "OR (`clnfaxrec` = ?)) AND ((? = 1 AND `cltelerec` IS NULL) OR (`cltelerec` = ?))" + + " AND ((? = 1 AND `clprcinps` IS NULL) OR (`clprcinps` = ?)) AND ((? = 1 AND `cls" + + "uffreplica` IS NULL) OR (`clsuffreplica` = ?)) AND ((? = 1 AND `cldtins` IS NULL" + + ") OR (`cldtins` = ?)) AND ((? = 1 AND `cldtvalidini` IS NULL) OR (`cldtvalidini`" + + " = ?)) AND ((? = 1 AND `clcdaccisa` IS NULL) OR (`clcdaccisa` = ?)) AND ((? = 1 " + + "AND `clnicciaa` IS NULL) OR (`clnicciaa` = ?)) AND ((? = 1 AND `clnregimp` IS NU" + + "LL) OR (`clnregimp` = ?)) AND ((? = 1 AND `clcod_estero` IS NULL) OR (`clcod_est" + + "ero` = ?)) AND ((? = 1 AND `clemail` IS NULL) OR (`clemail` = ?)) AND ((? = 1 AN" + + "D `clwww` IS NULL) OR (`clwww` = ?)) AND ((? = 1 AND `clctrib` IS NULL) OR (`clc" + + "trib` = ?)) AND ((? = 1 AND `clCodCausRit` IS NULL) OR (`clCodCausRit` = ?)) AND" + + " ((? = 1 AND `clQuadro` IS NULL) OR (`clQuadro` = ?)) AND ((? = 1 AND `cl_destSt" + + "ampe` IS NULL) OR (`cl_destStampe` = ?)) AND ((? = 1 AND `clragd_n` IS NULL) OR " + + "(`clragd_n` = ?)) AND ((? = 1 AND `clindi_n` IS NULL) OR (`clindi_n` = ?)) AND (" + + "(? = 1 AND `clloca_n` IS NULL) OR (`clloca_n` = ?)) AND ((? = 1 AND `clindidomfi" + + "sc_n` IS NULL) OR (`clindidomfisc_n` = ?)) AND ((? = 1 AND `cllocadomfisc_n` IS " + + "NULL) OR (`cllocadomfisc_n` = ?)) AND ((? = 1 AND `clindirec_n` IS NULL) OR (`cl" + + "indirec_n` = ?)) AND ((? = 1 AND `cllocarec_n` IS NULL) OR (`cllocarec_n` = ?)))" + + ""; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcodcn", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcodcn", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clragd", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_flcanc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_flcanc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcod", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcdpiva", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdpiva", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clloca", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcapo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapo", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprov", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprov", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldist", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldist", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstat", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstat", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstatiso", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatiso", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcdfi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdfi", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cltele", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cltele", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnfax", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfax", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindidomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cllocadomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcapodomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapodomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprovdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovdomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldistdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldistdomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstatdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatdomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstatisodomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatisodomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clteledomfisc", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clteledomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnfaxdomfisc", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfaxdomfisc", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clalle", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clalle", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clfldi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clfldi", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcognom", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcognom", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnome", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnome", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldtna", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtna", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcona", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcona", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprna", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprna", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cluscn", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cluscn", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clstna", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstna", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clsess", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsess", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clrita", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clrita", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clannot1", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clannot1", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clannot2", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clannot2", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_zona", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_zona", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcategoria", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcategoria2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria2", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_sett_att1", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att1", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_sett_att2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att2", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnote", global::System.Data.OleDb.OleDbType.LongVarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnote", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_categco", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_categco", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_ling", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_ling", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_filiale", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_filiale", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_cod_old", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_old", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_cod_gruppo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_gruppo", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_vt1", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt1", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_vt2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt2", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_vt3", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt3", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_vt4", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt4", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("abc_pa_sol_csolv_ID", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "abc_pa_sol_csolv_ID", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_solv_dtupd", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_solv_dtupd", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldtfineutil", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtfineutil", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_fl_decod_anag", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_fl_decod_anag", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindirec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cllocarec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcaporec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcaporec", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprovrec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovrec", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnfaxrec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfaxrec", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cltelerec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cltelerec", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clprcinps", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprcinps", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clsuffreplica", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsuffreplica", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldtins", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtins", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cldtvalidini", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtvalidini", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcdaccisa", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdaccisa", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnicciaa", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnicciaa", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clnregimp", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnregimp", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clcod_estero", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod_estero", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clemail", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clemail", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clwww", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clwww", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clctrib", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clctrib", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clCodCausRit", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clCodCausRit", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clQuadro", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clQuadro", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cl_destStampe", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_destStampe", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clragd_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd_n", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindi_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi_n", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clloca_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca_n", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindidomfisc_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc_n", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cllocadomfisc_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc_n", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("clindirec_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec_n", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("cllocarec_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec_n", global::System.Data.DataRowVersion.Current, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcodcn", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcodcn", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clragd", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clragd", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_flcanc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_flcanc", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_flcanc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_flcanc", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcod", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcod", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcdpiva", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdpiva", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcdpiva", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdpiva", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindi", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clloca", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clloca", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcapo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapo", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcapo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapo", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprov", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprov", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprov", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprov", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldist", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldist", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldist", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldist", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstat", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstat", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstat", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstat", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstatiso", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatiso", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstatiso", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatiso", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcdfi", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdfi", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcdfi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdfi", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindidomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindidomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cllocadomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cllocadomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcapodomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapodomfisc", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcapodomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcapodomfisc", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprovdomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovdomfisc", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprovdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovdomfisc", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldistdomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldistdomfisc", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldistdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldistdomfisc", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstatdomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatdomfisc", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstatdomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatdomfisc", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstatisodomfisc", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatisodomfisc", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstatisodomfisc", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstatisodomfisc", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clalle", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clalle", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clalle", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clalle", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clfldi", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clfldi", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clfldi", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clfldi", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcognom", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcognom", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcognom", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcognom", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clnome", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnome", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clnome", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnome", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldtna", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtna", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldtna", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtna", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcona", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcona", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcona", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcona", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprna", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprna", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprna", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprna", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cluscn", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cluscn", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cluscn", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cluscn", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clstna", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstna", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clstna", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clstna", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clsess", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsess", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clsess", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsess", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clrita", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clrita", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clrita", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clrita", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_zona", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_zona", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_zona", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_zona", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcategoria", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcategoria", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcategoria2", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria2", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcategoria2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcategoria2", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_sett_att1", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att1", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_sett_att1", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att1", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_sett_att2", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att2", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_sett_att2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_sett_att2", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_categco", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_categco", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_categco", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_categco", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_ling", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_ling", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_ling", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_ling", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_filiale", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_filiale", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_filiale", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_filiale", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_cod_old", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_old", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_cod_old", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_old", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_cod_gruppo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_gruppo", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_cod_gruppo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_cod_gruppo", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_vt1", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt1", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_vt1", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt1", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_vt2", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt2", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_vt2", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt2", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_vt3", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt3", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_vt3", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt3", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_vt4", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt4", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_vt4", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_vt4", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_abc_pa_sol_csolv_ID", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "abc_pa_sol_csolv_ID", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_abc_pa_sol_csolv_ID", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "abc_pa_sol_csolv_ID", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_solv_dtupd", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_solv_dtupd", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_solv_dtupd", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_solv_dtupd", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldtfineutil", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtfineutil", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldtfineutil", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtfineutil", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_fl_decod_anag", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_fl_decod_anag", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_fl_decod_anag", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_fl_decod_anag", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindirec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindirec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cllocarec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cllocarec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcaporec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcaporec", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcaporec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcaporec", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprovrec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovrec", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprovrec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprovrec", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clnfaxrec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfaxrec", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clnfaxrec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnfaxrec", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cltelerec", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cltelerec", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cltelerec", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cltelerec", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clprcinps", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprcinps", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clprcinps", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clprcinps", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clsuffreplica", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsuffreplica", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clsuffreplica", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clsuffreplica", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldtins", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtins", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldtins", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtins", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cldtvalidini", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtvalidini", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cldtvalidini", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cldtvalidini", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcdaccisa", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdaccisa", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcdaccisa", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcdaccisa", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clnicciaa", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnicciaa", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clnicciaa", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnicciaa", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clnregimp", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnregimp", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clnregimp", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clnregimp", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clcod_estero", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod_estero", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clcod_estero", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clcod_estero", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clemail", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clemail", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clemail", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clemail", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clwww", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clwww", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clwww", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clwww", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clctrib", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clctrib", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clctrib", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clctrib", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clCodCausRit", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clCodCausRit", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clCodCausRit", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clCodCausRit", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clQuadro", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clQuadro", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clQuadro", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clQuadro", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cl_destStampe", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_destStampe", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cl_destStampe", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cl_destStampe", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clragd_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd_n", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clragd_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clragd_n", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindi_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi_n", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindi_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindi_n", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clloca_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca_n", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clloca_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clloca_n", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindidomfisc_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc_n", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindidomfisc_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindidomfisc_n", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cllocadomfisc_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc_n", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cllocadomfisc_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocadomfisc_n", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_clindirec_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec_n", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_clindirec_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "clindirec_n", global::System.Data.DataRowVersion.Original, false, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_cllocarec_n", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec_n", global::System.Data.DataRowVersion.Original, true, null)); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_cllocarec_n", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "cllocarec_n", global::System.Data.DataRowVersion.Original, false, null)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.OleDb.OleDbConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.si_dt30ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.OleDb.OleDbCommand[1]; + this._commandCollection[0] = new global::System.Data.OleDb.OleDbCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = @"SELECT clcodcn, clragd, cl_flcanc, clcod, clcdpiva, clindi, clloca, clcapo, clprov, cldist, clstat, clstatiso, clcdfi, cltele, clnfax, clindidomfisc, cllocadomfisc, clcapodomfisc, clprovdomfisc, cldistdomfisc, clstatdomfisc, clstatisodomfisc, clteledomfisc, clnfaxdomfisc, clalle, clfldi, clcognom, clnome, cldtna, clcona, clprna, cluscn, clstna, clsess, clrita, clannot1, clannot2, cl_zona, clcategoria, clcategoria2, cl_sett_att1, cl_sett_att2, clnote, cl_categco, cl_ling, cl_filiale, cl_cod_old, cl_cod_gruppo, cl_vt1, cl_vt2, cl_vt3, cl_vt4, abc_pa_sol_csolv_ID, cl_solv_dtupd, cldtfineutil, cl_fl_decod_anag, clindirec, cllocarec, clcaporec, clprovrec, clnfaxrec, cltelerec, clprcinps, clsuffreplica, cldtins, cldtvalidini, clcdaccisa, clnicciaa, clnregimp, clcod_estero, clemail, clwww, clctrib, clCodCausRit, clQuadro, cl_destStampe, clragd_n, clindi_n, clloca_n, clindidomfisc_n, cllocadomfisc_n, clindirec_n, cllocarec_n FROM acl"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_import.aclDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_import.aclDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_import.aclDataTable dataTable = new DS_import.aclDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_import.aclDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_import dataSet) { + return this.Adapter.Update(dataSet, "acl"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete( + string Original_clcodcn, + string Original_clragd, + string Original_cl_flcanc, + string Original_clcod, + string Original_clcdpiva, + string Original_clindi, + string Original_clloca, + string Original_clcapo, + string Original_clprov, + string Original_cldist, + string Original_clstat, + string Original_clstatiso, + string Original_clcdfi, + string Original_clindidomfisc, + string Original_cllocadomfisc, + string Original_clcapodomfisc, + string Original_clprovdomfisc, + string Original_cldistdomfisc, + string Original_clstatdomfisc, + string Original_clstatisodomfisc, + string Original_clalle, + string Original_clfldi, + string Original_clcognom, + string Original_clnome, + global::System.Nullable Original_cldtna, + string Original_clcona, + string Original_clprna, + string Original_cluscn, + string Original_clstna, + string Original_clsess, + global::System.Nullable Original_clrita, + string Original_cl_zona, + string Original_clcategoria, + string Original_clcategoria2, + string Original_cl_sett_att1, + string Original_cl_sett_att2, + string Original_cl_categco, + string Original_cl_ling, + string Original_cl_filiale, + string Original_cl_cod_old, + string Original_cl_cod_gruppo, + string Original_cl_vt1, + string Original_cl_vt2, + string Original_cl_vt3, + string Original_cl_vt4, + string Original_abc_pa_sol_csolv_ID, + global::System.Nullable Original_cl_solv_dtupd, + global::System.Nullable Original_cldtfineutil, + string Original_cl_fl_decod_anag, + string Original_clindirec, + string Original_cllocarec, + string Original_clcaporec, + string Original_clprovrec, + string Original_clnfaxrec, + string Original_cltelerec, + global::System.Nullable Original_clprcinps, + string Original_clsuffreplica, + global::System.Nullable Original_cldtins, + global::System.Nullable Original_cldtvalidini, + string Original_clcdaccisa, + string Original_clnicciaa, + string Original_clnregimp, + string Original_clcod_estero, + string Original_clemail, + string Original_clwww, + string Original_clctrib, + string Original_clCodCausRit, + string Original_clQuadro, + string Original_cl_destStampe, + string Original_clragd_n, + string Original_clindi_n, + string Original_clloca_n, + string Original_clindidomfisc_n, + string Original_cllocadomfisc_n, + string Original_clindirec_n, + string Original_cllocarec_n) { + if ((Original_clcodcn == null)) { + this.Adapter.DeleteCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_clcodcn)); + } + if ((Original_clragd == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_clragd)); + } + if ((Original_cl_flcanc == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_cl_flcanc)); + } + if ((Original_clcod == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_clcod)); + } + if ((Original_clcdpiva == null)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_clcdpiva)); + } + if ((Original_clindi == null)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_clindi)); + } + if ((Original_clloca == null)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_clloca)); + } + if ((Original_clcapo == null)) { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_clcapo)); + } + if ((Original_clprov == null)) { + this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_clprov)); + } + if ((Original_cldist == null)) { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_cldist)); + } + if ((Original_clstat == null)) { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_clstat)); + } + if ((Original_clstatiso == null)) { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_clstatiso)); + } + if ((Original_clcdfi == null)) { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[24].Value = ((string)(Original_clcdfi)); + } + if ((Original_clindidomfisc == null)) { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[26].Value = ((string)(Original_clindidomfisc)); + } + if ((Original_cllocadomfisc == null)) { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_cllocadomfisc)); + } + if ((Original_clcapodomfisc == null)) { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_clcapodomfisc)); + } + if ((Original_clprovdomfisc == null)) { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[32].Value = ((string)(Original_clprovdomfisc)); + } + if ((Original_cldistdomfisc == null)) { + this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_cldistdomfisc)); + } + if ((Original_clstatdomfisc == null)) { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[36].Value = ((string)(Original_clstatdomfisc)); + } + if ((Original_clstatisodomfisc == null)) { + this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[38].Value = ((string)(Original_clstatisodomfisc)); + } + if ((Original_clalle == null)) { + this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[40].Value = ((string)(Original_clalle)); + } + if ((Original_clfldi == null)) { + this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[42].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[42].Value = ((string)(Original_clfldi)); + } + if ((Original_clcognom == null)) { + this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[44].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[44].Value = ((string)(Original_clcognom)); + } + if ((Original_clnome == null)) { + this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[46].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[46].Value = ((string)(Original_clnome)); + } + if ((Original_cldtna.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[48].Value = ((System.DateTime)(Original_cldtna.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[48].Value = global::System.DBNull.Value; + } + if ((Original_clcona == null)) { + this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[50].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[50].Value = ((string)(Original_clcona)); + } + if ((Original_clprna == null)) { + this.Adapter.DeleteCommand.Parameters[51].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[52].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[51].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[52].Value = ((string)(Original_clprna)); + } + if ((Original_cluscn == null)) { + this.Adapter.DeleteCommand.Parameters[53].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[54].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[53].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[54].Value = ((string)(Original_cluscn)); + } + if ((Original_clstna == null)) { + this.Adapter.DeleteCommand.Parameters[55].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[56].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[55].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[56].Value = ((string)(Original_clstna)); + } + if ((Original_clsess == null)) { + this.Adapter.DeleteCommand.Parameters[57].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[58].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[57].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[58].Value = ((string)(Original_clsess)); + } + if ((Original_clrita.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[59].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[60].Value = ((float)(Original_clrita.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[59].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[60].Value = global::System.DBNull.Value; + } + if ((Original_cl_zona == null)) { + this.Adapter.DeleteCommand.Parameters[61].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[62].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[61].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[62].Value = ((string)(Original_cl_zona)); + } + if ((Original_clcategoria == null)) { + this.Adapter.DeleteCommand.Parameters[63].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[64].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[63].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[64].Value = ((string)(Original_clcategoria)); + } + if ((Original_clcategoria2 == null)) { + this.Adapter.DeleteCommand.Parameters[65].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[66].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[65].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[66].Value = ((string)(Original_clcategoria2)); + } + if ((Original_cl_sett_att1 == null)) { + this.Adapter.DeleteCommand.Parameters[67].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[68].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[67].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[68].Value = ((string)(Original_cl_sett_att1)); + } + if ((Original_cl_sett_att2 == null)) { + this.Adapter.DeleteCommand.Parameters[69].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[70].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[69].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[70].Value = ((string)(Original_cl_sett_att2)); + } + if ((Original_cl_categco == null)) { + this.Adapter.DeleteCommand.Parameters[71].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[72].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[71].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[72].Value = ((string)(Original_cl_categco)); + } + if ((Original_cl_ling == null)) { + this.Adapter.DeleteCommand.Parameters[73].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[74].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[73].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[74].Value = ((string)(Original_cl_ling)); + } + if ((Original_cl_filiale == null)) { + this.Adapter.DeleteCommand.Parameters[75].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[76].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[75].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[76].Value = ((string)(Original_cl_filiale)); + } + if ((Original_cl_cod_old == null)) { + this.Adapter.DeleteCommand.Parameters[77].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[78].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[77].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[78].Value = ((string)(Original_cl_cod_old)); + } + if ((Original_cl_cod_gruppo == null)) { + this.Adapter.DeleteCommand.Parameters[79].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[80].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[79].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[80].Value = ((string)(Original_cl_cod_gruppo)); + } + if ((Original_cl_vt1 == null)) { + this.Adapter.DeleteCommand.Parameters[81].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[82].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[81].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[82].Value = ((string)(Original_cl_vt1)); + } + if ((Original_cl_vt2 == null)) { + this.Adapter.DeleteCommand.Parameters[83].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[84].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[83].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[84].Value = ((string)(Original_cl_vt2)); + } + if ((Original_cl_vt3 == null)) { + this.Adapter.DeleteCommand.Parameters[85].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[86].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[85].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[86].Value = ((string)(Original_cl_vt3)); + } + if ((Original_cl_vt4 == null)) { + this.Adapter.DeleteCommand.Parameters[87].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[88].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[87].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[88].Value = ((string)(Original_cl_vt4)); + } + if ((Original_abc_pa_sol_csolv_ID == null)) { + this.Adapter.DeleteCommand.Parameters[89].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[90].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[89].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[90].Value = ((string)(Original_abc_pa_sol_csolv_ID)); + } + if ((Original_cl_solv_dtupd.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[91].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[92].Value = ((System.DateTime)(Original_cl_solv_dtupd.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[91].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[92].Value = global::System.DBNull.Value; + } + if ((Original_cldtfineutil.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[93].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[94].Value = ((System.DateTime)(Original_cldtfineutil.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[93].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[94].Value = global::System.DBNull.Value; + } + if ((Original_cl_fl_decod_anag == null)) { + this.Adapter.DeleteCommand.Parameters[95].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[96].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[95].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[96].Value = ((string)(Original_cl_fl_decod_anag)); + } + if ((Original_clindirec == null)) { + this.Adapter.DeleteCommand.Parameters[97].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[98].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[97].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[98].Value = ((string)(Original_clindirec)); + } + if ((Original_cllocarec == null)) { + this.Adapter.DeleteCommand.Parameters[99].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[100].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[99].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[100].Value = ((string)(Original_cllocarec)); + } + if ((Original_clcaporec == null)) { + this.Adapter.DeleteCommand.Parameters[101].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[102].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[101].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[102].Value = ((string)(Original_clcaporec)); + } + if ((Original_clprovrec == null)) { + this.Adapter.DeleteCommand.Parameters[103].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[104].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[103].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[104].Value = ((string)(Original_clprovrec)); + } + if ((Original_clnfaxrec == null)) { + this.Adapter.DeleteCommand.Parameters[105].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[106].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[105].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[106].Value = ((string)(Original_clnfaxrec)); + } + if ((Original_cltelerec == null)) { + this.Adapter.DeleteCommand.Parameters[107].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[108].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[107].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[108].Value = ((string)(Original_cltelerec)); + } + if ((Original_clprcinps.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[109].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[110].Value = ((float)(Original_clprcinps.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[109].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[110].Value = global::System.DBNull.Value; + } + if ((Original_clsuffreplica == null)) { + this.Adapter.DeleteCommand.Parameters[111].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[112].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[111].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[112].Value = ((string)(Original_clsuffreplica)); + } + if ((Original_cldtins.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[113].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[114].Value = ((System.DateTime)(Original_cldtins.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[113].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[114].Value = global::System.DBNull.Value; + } + if ((Original_cldtvalidini.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[115].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[116].Value = ((System.DateTime)(Original_cldtvalidini.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[115].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[116].Value = global::System.DBNull.Value; + } + if ((Original_clcdaccisa == null)) { + this.Adapter.DeleteCommand.Parameters[117].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[118].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[117].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[118].Value = ((string)(Original_clcdaccisa)); + } + if ((Original_clnicciaa == null)) { + this.Adapter.DeleteCommand.Parameters[119].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[120].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[119].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[120].Value = ((string)(Original_clnicciaa)); + } + if ((Original_clnregimp == null)) { + this.Adapter.DeleteCommand.Parameters[121].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[122].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[121].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[122].Value = ((string)(Original_clnregimp)); + } + if ((Original_clcod_estero == null)) { + this.Adapter.DeleteCommand.Parameters[123].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[124].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[123].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[124].Value = ((string)(Original_clcod_estero)); + } + if ((Original_clemail == null)) { + this.Adapter.DeleteCommand.Parameters[125].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[126].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[125].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[126].Value = ((string)(Original_clemail)); + } + if ((Original_clwww == null)) { + this.Adapter.DeleteCommand.Parameters[127].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[128].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[127].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[128].Value = ((string)(Original_clwww)); + } + if ((Original_clctrib == null)) { + this.Adapter.DeleteCommand.Parameters[129].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[130].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[129].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[130].Value = ((string)(Original_clctrib)); + } + if ((Original_clCodCausRit == null)) { + this.Adapter.DeleteCommand.Parameters[131].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[132].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[131].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[132].Value = ((string)(Original_clCodCausRit)); + } + if ((Original_clQuadro == null)) { + this.Adapter.DeleteCommand.Parameters[133].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[134].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[133].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[134].Value = ((string)(Original_clQuadro)); + } + if ((Original_cl_destStampe == null)) { + this.Adapter.DeleteCommand.Parameters[135].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[136].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[135].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[136].Value = ((string)(Original_cl_destStampe)); + } + if ((Original_clragd_n == null)) { + this.Adapter.DeleteCommand.Parameters[137].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[138].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[137].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[138].Value = ((string)(Original_clragd_n)); + } + if ((Original_clindi_n == null)) { + this.Adapter.DeleteCommand.Parameters[139].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[140].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[139].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[140].Value = ((string)(Original_clindi_n)); + } + if ((Original_clloca_n == null)) { + this.Adapter.DeleteCommand.Parameters[141].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[142].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[141].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[142].Value = ((string)(Original_clloca_n)); + } + if ((Original_clindidomfisc_n == null)) { + this.Adapter.DeleteCommand.Parameters[143].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[144].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[143].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[144].Value = ((string)(Original_clindidomfisc_n)); + } + if ((Original_cllocadomfisc_n == null)) { + this.Adapter.DeleteCommand.Parameters[145].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[146].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[145].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[146].Value = ((string)(Original_cllocadomfisc_n)); + } + if ((Original_clindirec_n == null)) { + this.Adapter.DeleteCommand.Parameters[147].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[148].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[147].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[148].Value = ((string)(Original_clindirec_n)); + } + if ((Original_cllocarec_n == null)) { + this.Adapter.DeleteCommand.Parameters[149].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[150].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[149].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[150].Value = ((string)(Original_cllocarec_n)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert( + string clcodcn, + string clragd, + string cl_flcanc, + string clcod, + string clcdpiva, + string clindi, + string clloca, + string clcapo, + string clprov, + string cldist, + string clstat, + string clstatiso, + string clcdfi, + string cltele, + string clnfax, + string clindidomfisc, + string cllocadomfisc, + string clcapodomfisc, + string clprovdomfisc, + string cldistdomfisc, + string clstatdomfisc, + string clstatisodomfisc, + string clteledomfisc, + string clnfaxdomfisc, + string clalle, + string clfldi, + string clcognom, + string clnome, + global::System.Nullable cldtna, + string clcona, + string clprna, + string cluscn, + string clstna, + string clsess, + global::System.Nullable clrita, + string clannot1, + string clannot2, + string cl_zona, + string clcategoria, + string clcategoria2, + string cl_sett_att1, + string cl_sett_att2, + string clnote, + string cl_categco, + string cl_ling, + string cl_filiale, + string cl_cod_old, + string cl_cod_gruppo, + string cl_vt1, + string cl_vt2, + string cl_vt3, + string cl_vt4, + string abc_pa_sol_csolv_ID, + global::System.Nullable cl_solv_dtupd, + global::System.Nullable cldtfineutil, + string cl_fl_decod_anag, + string clindirec, + string cllocarec, + string clcaporec, + string clprovrec, + string clnfaxrec, + string cltelerec, + global::System.Nullable clprcinps, + string clsuffreplica, + global::System.Nullable cldtins, + global::System.Nullable cldtvalidini, + string clcdaccisa, + string clnicciaa, + string clnregimp, + string clcod_estero, + string clemail, + string clwww, + string clctrib, + string clCodCausRit, + string clQuadro, + string cl_destStampe, + string clragd_n, + string clindi_n, + string clloca_n, + string clindidomfisc_n, + string cllocadomfisc_n, + string clindirec_n, + string cllocarec_n) { + if ((clcodcn == null)) { + this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(clcodcn)); + } + if ((clragd == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(clragd)); + } + if ((cl_flcanc == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(cl_flcanc)); + } + if ((clcod == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(clcod)); + } + if ((clcdpiva == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(clcdpiva)); + } + if ((clindi == null)) { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(clindi)); + } + if ((clloca == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(clloca)); + } + if ((clcapo == null)) { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(clcapo)); + } + if ((clprov == null)) { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(clprov)); + } + if ((cldist == null)) { + this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = ((string)(cldist)); + } + if ((clstat == null)) { + this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[10].Value = ((string)(clstat)); + } + if ((clstatiso == null)) { + this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[11].Value = ((string)(clstatiso)); + } + if ((clcdfi == null)) { + this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[12].Value = ((string)(clcdfi)); + } + if ((cltele == null)) { + this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[13].Value = ((string)(cltele)); + } + if ((clnfax == null)) { + this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[14].Value = ((string)(clnfax)); + } + if ((clindidomfisc == null)) { + this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[15].Value = ((string)(clindidomfisc)); + } + if ((cllocadomfisc == null)) { + this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[16].Value = ((string)(cllocadomfisc)); + } + if ((clcapodomfisc == null)) { + this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[17].Value = ((string)(clcapodomfisc)); + } + if ((clprovdomfisc == null)) { + this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[18].Value = ((string)(clprovdomfisc)); + } + if ((cldistdomfisc == null)) { + this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[19].Value = ((string)(cldistdomfisc)); + } + if ((clstatdomfisc == null)) { + this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[20].Value = ((string)(clstatdomfisc)); + } + if ((clstatisodomfisc == null)) { + this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[21].Value = ((string)(clstatisodomfisc)); + } + if ((clteledomfisc == null)) { + this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[22].Value = ((string)(clteledomfisc)); + } + if ((clnfaxdomfisc == null)) { + this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[23].Value = ((string)(clnfaxdomfisc)); + } + if ((clalle == null)) { + this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[24].Value = ((string)(clalle)); + } + if ((clfldi == null)) { + this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[25].Value = ((string)(clfldi)); + } + if ((clcognom == null)) { + this.Adapter.InsertCommand.Parameters[26].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[26].Value = ((string)(clcognom)); + } + if ((clnome == null)) { + this.Adapter.InsertCommand.Parameters[27].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[27].Value = ((string)(clnome)); + } + if ((cldtna.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[28].Value = ((System.DateTime)(cldtna.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[28].Value = global::System.DBNull.Value; + } + if ((clcona == null)) { + this.Adapter.InsertCommand.Parameters[29].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[29].Value = ((string)(clcona)); + } + if ((clprna == null)) { + this.Adapter.InsertCommand.Parameters[30].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[30].Value = ((string)(clprna)); + } + if ((cluscn == null)) { + this.Adapter.InsertCommand.Parameters[31].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[31].Value = ((string)(cluscn)); + } + if ((clstna == null)) { + this.Adapter.InsertCommand.Parameters[32].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[32].Value = ((string)(clstna)); + } + if ((clsess == null)) { + this.Adapter.InsertCommand.Parameters[33].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[33].Value = ((string)(clsess)); + } + if ((clrita.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[34].Value = ((float)(clrita.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[34].Value = global::System.DBNull.Value; + } + if ((clannot1 == null)) { + this.Adapter.InsertCommand.Parameters[35].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[35].Value = ((string)(clannot1)); + } + if ((clannot2 == null)) { + this.Adapter.InsertCommand.Parameters[36].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[36].Value = ((string)(clannot2)); + } + if ((cl_zona == null)) { + this.Adapter.InsertCommand.Parameters[37].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[37].Value = ((string)(cl_zona)); + } + if ((clcategoria == null)) { + this.Adapter.InsertCommand.Parameters[38].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[38].Value = ((string)(clcategoria)); + } + if ((clcategoria2 == null)) { + this.Adapter.InsertCommand.Parameters[39].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[39].Value = ((string)(clcategoria2)); + } + if ((cl_sett_att1 == null)) { + this.Adapter.InsertCommand.Parameters[40].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[40].Value = ((string)(cl_sett_att1)); + } + if ((cl_sett_att2 == null)) { + this.Adapter.InsertCommand.Parameters[41].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[41].Value = ((string)(cl_sett_att2)); + } + if ((clnote == null)) { + this.Adapter.InsertCommand.Parameters[42].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[42].Value = ((string)(clnote)); + } + if ((cl_categco == null)) { + this.Adapter.InsertCommand.Parameters[43].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[43].Value = ((string)(cl_categco)); + } + if ((cl_ling == null)) { + this.Adapter.InsertCommand.Parameters[44].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[44].Value = ((string)(cl_ling)); + } + if ((cl_filiale == null)) { + this.Adapter.InsertCommand.Parameters[45].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[45].Value = ((string)(cl_filiale)); + } + if ((cl_cod_old == null)) { + this.Adapter.InsertCommand.Parameters[46].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[46].Value = ((string)(cl_cod_old)); + } + if ((cl_cod_gruppo == null)) { + this.Adapter.InsertCommand.Parameters[47].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[47].Value = ((string)(cl_cod_gruppo)); + } + if ((cl_vt1 == null)) { + this.Adapter.InsertCommand.Parameters[48].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[48].Value = ((string)(cl_vt1)); + } + if ((cl_vt2 == null)) { + this.Adapter.InsertCommand.Parameters[49].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[49].Value = ((string)(cl_vt2)); + } + if ((cl_vt3 == null)) { + this.Adapter.InsertCommand.Parameters[50].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[50].Value = ((string)(cl_vt3)); + } + if ((cl_vt4 == null)) { + this.Adapter.InsertCommand.Parameters[51].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[51].Value = ((string)(cl_vt4)); + } + if ((abc_pa_sol_csolv_ID == null)) { + this.Adapter.InsertCommand.Parameters[52].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[52].Value = ((string)(abc_pa_sol_csolv_ID)); + } + if ((cl_solv_dtupd.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[53].Value = ((System.DateTime)(cl_solv_dtupd.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[53].Value = global::System.DBNull.Value; + } + if ((cldtfineutil.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[54].Value = ((System.DateTime)(cldtfineutil.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[54].Value = global::System.DBNull.Value; + } + if ((cl_fl_decod_anag == null)) { + this.Adapter.InsertCommand.Parameters[55].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[55].Value = ((string)(cl_fl_decod_anag)); + } + if ((clindirec == null)) { + this.Adapter.InsertCommand.Parameters[56].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[56].Value = ((string)(clindirec)); + } + if ((cllocarec == null)) { + this.Adapter.InsertCommand.Parameters[57].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[57].Value = ((string)(cllocarec)); + } + if ((clcaporec == null)) { + this.Adapter.InsertCommand.Parameters[58].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[58].Value = ((string)(clcaporec)); + } + if ((clprovrec == null)) { + this.Adapter.InsertCommand.Parameters[59].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[59].Value = ((string)(clprovrec)); + } + if ((clnfaxrec == null)) { + this.Adapter.InsertCommand.Parameters[60].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[60].Value = ((string)(clnfaxrec)); + } + if ((cltelerec == null)) { + this.Adapter.InsertCommand.Parameters[61].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[61].Value = ((string)(cltelerec)); + } + if ((clprcinps.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[62].Value = ((float)(clprcinps.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[62].Value = global::System.DBNull.Value; + } + if ((clsuffreplica == null)) { + this.Adapter.InsertCommand.Parameters[63].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[63].Value = ((string)(clsuffreplica)); + } + if ((cldtins.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[64].Value = ((System.DateTime)(cldtins.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[64].Value = global::System.DBNull.Value; + } + if ((cldtvalidini.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[65].Value = ((System.DateTime)(cldtvalidini.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[65].Value = global::System.DBNull.Value; + } + if ((clcdaccisa == null)) { + this.Adapter.InsertCommand.Parameters[66].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[66].Value = ((string)(clcdaccisa)); + } + if ((clnicciaa == null)) { + this.Adapter.InsertCommand.Parameters[67].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[67].Value = ((string)(clnicciaa)); + } + if ((clnregimp == null)) { + this.Adapter.InsertCommand.Parameters[68].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[68].Value = ((string)(clnregimp)); + } + if ((clcod_estero == null)) { + this.Adapter.InsertCommand.Parameters[69].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[69].Value = ((string)(clcod_estero)); + } + if ((clemail == null)) { + this.Adapter.InsertCommand.Parameters[70].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[70].Value = ((string)(clemail)); + } + if ((clwww == null)) { + this.Adapter.InsertCommand.Parameters[71].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[71].Value = ((string)(clwww)); + } + if ((clctrib == null)) { + this.Adapter.InsertCommand.Parameters[72].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[72].Value = ((string)(clctrib)); + } + if ((clCodCausRit == null)) { + this.Adapter.InsertCommand.Parameters[73].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[73].Value = ((string)(clCodCausRit)); + } + if ((clQuadro == null)) { + this.Adapter.InsertCommand.Parameters[74].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[74].Value = ((string)(clQuadro)); + } + if ((cl_destStampe == null)) { + this.Adapter.InsertCommand.Parameters[75].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[75].Value = ((string)(cl_destStampe)); + } + if ((clragd_n == null)) { + this.Adapter.InsertCommand.Parameters[76].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[76].Value = ((string)(clragd_n)); + } + if ((clindi_n == null)) { + this.Adapter.InsertCommand.Parameters[77].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[77].Value = ((string)(clindi_n)); + } + if ((clloca_n == null)) { + this.Adapter.InsertCommand.Parameters[78].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[78].Value = ((string)(clloca_n)); + } + if ((clindidomfisc_n == null)) { + this.Adapter.InsertCommand.Parameters[79].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[79].Value = ((string)(clindidomfisc_n)); + } + if ((cllocadomfisc_n == null)) { + this.Adapter.InsertCommand.Parameters[80].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[80].Value = ((string)(cllocadomfisc_n)); + } + if ((clindirec_n == null)) { + this.Adapter.InsertCommand.Parameters[81].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[81].Value = ((string)(clindirec_n)); + } + if ((cllocarec_n == null)) { + this.Adapter.InsertCommand.Parameters[82].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[82].Value = ((string)(cllocarec_n)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string clcodcn, + string clragd, + string cl_flcanc, + string clcod, + string clcdpiva, + string clindi, + string clloca, + string clcapo, + string clprov, + string cldist, + string clstat, + string clstatiso, + string clcdfi, + string cltele, + string clnfax, + string clindidomfisc, + string cllocadomfisc, + string clcapodomfisc, + string clprovdomfisc, + string cldistdomfisc, + string clstatdomfisc, + string clstatisodomfisc, + string clteledomfisc, + string clnfaxdomfisc, + string clalle, + string clfldi, + string clcognom, + string clnome, + global::System.Nullable cldtna, + string clcona, + string clprna, + string cluscn, + string clstna, + string clsess, + global::System.Nullable clrita, + string clannot1, + string clannot2, + string cl_zona, + string clcategoria, + string clcategoria2, + string cl_sett_att1, + string cl_sett_att2, + string clnote, + string cl_categco, + string cl_ling, + string cl_filiale, + string cl_cod_old, + string cl_cod_gruppo, + string cl_vt1, + string cl_vt2, + string cl_vt3, + string cl_vt4, + string abc_pa_sol_csolv_ID, + global::System.Nullable cl_solv_dtupd, + global::System.Nullable cldtfineutil, + string cl_fl_decod_anag, + string clindirec, + string cllocarec, + string clcaporec, + string clprovrec, + string clnfaxrec, + string cltelerec, + global::System.Nullable clprcinps, + string clsuffreplica, + global::System.Nullable cldtins, + global::System.Nullable cldtvalidini, + string clcdaccisa, + string clnicciaa, + string clnregimp, + string clcod_estero, + string clemail, + string clwww, + string clctrib, + string clCodCausRit, + string clQuadro, + string cl_destStampe, + string clragd_n, + string clindi_n, + string clloca_n, + string clindidomfisc_n, + string cllocadomfisc_n, + string clindirec_n, + string cllocarec_n, + string Original_clcodcn, + string Original_clragd, + string Original_cl_flcanc, + string Original_clcod, + string Original_clcdpiva, + string Original_clindi, + string Original_clloca, + string Original_clcapo, + string Original_clprov, + string Original_cldist, + string Original_clstat, + string Original_clstatiso, + string Original_clcdfi, + string Original_clindidomfisc, + string Original_cllocadomfisc, + string Original_clcapodomfisc, + string Original_clprovdomfisc, + string Original_cldistdomfisc, + string Original_clstatdomfisc, + string Original_clstatisodomfisc, + string Original_clalle, + string Original_clfldi, + string Original_clcognom, + string Original_clnome, + global::System.Nullable Original_cldtna, + string Original_clcona, + string Original_clprna, + string Original_cluscn, + string Original_clstna, + string Original_clsess, + global::System.Nullable Original_clrita, + string Original_cl_zona, + string Original_clcategoria, + string Original_clcategoria2, + string Original_cl_sett_att1, + string Original_cl_sett_att2, + string Original_cl_categco, + string Original_cl_ling, + string Original_cl_filiale, + string Original_cl_cod_old, + string Original_cl_cod_gruppo, + string Original_cl_vt1, + string Original_cl_vt2, + string Original_cl_vt3, + string Original_cl_vt4, + string Original_abc_pa_sol_csolv_ID, + global::System.Nullable Original_cl_solv_dtupd, + global::System.Nullable Original_cldtfineutil, + string Original_cl_fl_decod_anag, + string Original_clindirec, + string Original_cllocarec, + string Original_clcaporec, + string Original_clprovrec, + string Original_clnfaxrec, + string Original_cltelerec, + global::System.Nullable Original_clprcinps, + string Original_clsuffreplica, + global::System.Nullable Original_cldtins, + global::System.Nullable Original_cldtvalidini, + string Original_clcdaccisa, + string Original_clnicciaa, + string Original_clnregimp, + string Original_clcod_estero, + string Original_clemail, + string Original_clwww, + string Original_clctrib, + string Original_clCodCausRit, + string Original_clQuadro, + string Original_cl_destStampe, + string Original_clragd_n, + string Original_clindi_n, + string Original_clloca_n, + string Original_clindidomfisc_n, + string Original_cllocadomfisc_n, + string Original_clindirec_n, + string Original_cllocarec_n) { + if ((clcodcn == null)) { + this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(clcodcn)); + } + if ((clragd == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(clragd)); + } + if ((cl_flcanc == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(cl_flcanc)); + } + if ((clcod == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(clcod)); + } + if ((clcdpiva == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(clcdpiva)); + } + if ((clindi == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(clindi)); + } + if ((clloca == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(clloca)); + } + if ((clcapo == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(clcapo)); + } + if ((clprov == null)) { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(clprov)); + } + if ((cldist == null)) { + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(cldist)); + } + if ((clstat == null)) { + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(clstat)); + } + if ((clstatiso == null)) { + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(clstatiso)); + } + if ((clcdfi == null)) { + this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(clcdfi)); + } + if ((cltele == null)) { + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(cltele)); + } + if ((clnfax == null)) { + this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(clnfax)); + } + if ((clindidomfisc == null)) { + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(clindidomfisc)); + } + if ((cllocadomfisc == null)) { + this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(cllocadomfisc)); + } + if ((clcapodomfisc == null)) { + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(clcapodomfisc)); + } + if ((clprovdomfisc == null)) { + this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(clprovdomfisc)); + } + if ((cldistdomfisc == null)) { + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(cldistdomfisc)); + } + if ((clstatdomfisc == null)) { + this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(clstatdomfisc)); + } + if ((clstatisodomfisc == null)) { + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(clstatisodomfisc)); + } + if ((clteledomfisc == null)) { + this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(clteledomfisc)); + } + if ((clnfaxdomfisc == null)) { + this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(clnfaxdomfisc)); + } + if ((clalle == null)) { + this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(clalle)); + } + if ((clfldi == null)) { + this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(clfldi)); + } + if ((clcognom == null)) { + this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(clcognom)); + } + if ((clnome == null)) { + this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(clnome)); + } + if ((cldtna.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[28].Value = ((System.DateTime)(cldtna.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; + } + if ((clcona == null)) { + this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(clcona)); + } + if ((clprna == null)) { + this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(clprna)); + } + if ((cluscn == null)) { + this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(cluscn)); + } + if ((clstna == null)) { + this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(clstna)); + } + if ((clsess == null)) { + this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(clsess)); + } + if ((clrita.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[34].Value = ((float)(clrita.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value; + } + if ((clannot1 == null)) { + this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(clannot1)); + } + if ((clannot2 == null)) { + this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(clannot2)); + } + if ((cl_zona == null)) { + this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(cl_zona)); + } + if ((clcategoria == null)) { + this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(clcategoria)); + } + if ((clcategoria2 == null)) { + this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(clcategoria2)); + } + if ((cl_sett_att1 == null)) { + this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(cl_sett_att1)); + } + if ((cl_sett_att2 == null)) { + this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(cl_sett_att2)); + } + if ((clnote == null)) { + this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(clnote)); + } + if ((cl_categco == null)) { + this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(cl_categco)); + } + if ((cl_ling == null)) { + this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(cl_ling)); + } + if ((cl_filiale == null)) { + this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(cl_filiale)); + } + if ((cl_cod_old == null)) { + this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(cl_cod_old)); + } + if ((cl_cod_gruppo == null)) { + this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(cl_cod_gruppo)); + } + if ((cl_vt1 == null)) { + this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(cl_vt1)); + } + if ((cl_vt2 == null)) { + this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(cl_vt2)); + } + if ((cl_vt3 == null)) { + this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(cl_vt3)); + } + if ((cl_vt4 == null)) { + this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(cl_vt4)); + } + if ((abc_pa_sol_csolv_ID == null)) { + this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(abc_pa_sol_csolv_ID)); + } + if ((cl_solv_dtupd.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[53].Value = ((System.DateTime)(cl_solv_dtupd.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value; + } + if ((cldtfineutil.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[54].Value = ((System.DateTime)(cldtfineutil.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value; + } + if ((cl_fl_decod_anag == null)) { + this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[55].Value = ((string)(cl_fl_decod_anag)); + } + if ((clindirec == null)) { + this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(clindirec)); + } + if ((cllocarec == null)) { + this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[57].Value = ((string)(cllocarec)); + } + if ((clcaporec == null)) { + this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[58].Value = ((string)(clcaporec)); + } + if ((clprovrec == null)) { + this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[59].Value = ((string)(clprovrec)); + } + if ((clnfaxrec == null)) { + this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[60].Value = ((string)(clnfaxrec)); + } + if ((cltelerec == null)) { + this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[61].Value = ((string)(cltelerec)); + } + if ((clprcinps.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[62].Value = ((float)(clprcinps.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value; + } + if ((clsuffreplica == null)) { + this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[63].Value = ((string)(clsuffreplica)); + } + if ((cldtins.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[64].Value = ((System.DateTime)(cldtins.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value; + } + if ((cldtvalidini.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[65].Value = ((System.DateTime)(cldtvalidini.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value; + } + if ((clcdaccisa == null)) { + this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[66].Value = ((string)(clcdaccisa)); + } + if ((clnicciaa == null)) { + this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[67].Value = ((string)(clnicciaa)); + } + if ((clnregimp == null)) { + this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[68].Value = ((string)(clnregimp)); + } + if ((clcod_estero == null)) { + this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[69].Value = ((string)(clcod_estero)); + } + if ((clemail == null)) { + this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[70].Value = ((string)(clemail)); + } + if ((clwww == null)) { + this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[71].Value = ((string)(clwww)); + } + if ((clctrib == null)) { + this.Adapter.UpdateCommand.Parameters[72].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[72].Value = ((string)(clctrib)); + } + if ((clCodCausRit == null)) { + this.Adapter.UpdateCommand.Parameters[73].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[73].Value = ((string)(clCodCausRit)); + } + if ((clQuadro == null)) { + this.Adapter.UpdateCommand.Parameters[74].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[74].Value = ((string)(clQuadro)); + } + if ((cl_destStampe == null)) { + this.Adapter.UpdateCommand.Parameters[75].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[75].Value = ((string)(cl_destStampe)); + } + if ((clragd_n == null)) { + this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[76].Value = ((string)(clragd_n)); + } + if ((clindi_n == null)) { + this.Adapter.UpdateCommand.Parameters[77].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[77].Value = ((string)(clindi_n)); + } + if ((clloca_n == null)) { + this.Adapter.UpdateCommand.Parameters[78].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[78].Value = ((string)(clloca_n)); + } + if ((clindidomfisc_n == null)) { + this.Adapter.UpdateCommand.Parameters[79].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[79].Value = ((string)(clindidomfisc_n)); + } + if ((cllocadomfisc_n == null)) { + this.Adapter.UpdateCommand.Parameters[80].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[80].Value = ((string)(cllocadomfisc_n)); + } + if ((clindirec_n == null)) { + this.Adapter.UpdateCommand.Parameters[81].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[81].Value = ((string)(clindirec_n)); + } + if ((cllocarec_n == null)) { + this.Adapter.UpdateCommand.Parameters[82].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[82].Value = ((string)(cllocarec_n)); + } + if ((Original_clcodcn == null)) { + this.Adapter.UpdateCommand.Parameters[83].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[83].Value = ((string)(Original_clcodcn)); + } + if ((Original_clragd == null)) { + this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[85].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[85].Value = ((string)(Original_clragd)); + } + if ((Original_cl_flcanc == null)) { + this.Adapter.UpdateCommand.Parameters[86].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[87].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[86].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[87].Value = ((string)(Original_cl_flcanc)); + } + if ((Original_clcod == null)) { + this.Adapter.UpdateCommand.Parameters[88].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[89].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[88].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[89].Value = ((string)(Original_clcod)); + } + if ((Original_clcdpiva == null)) { + this.Adapter.UpdateCommand.Parameters[90].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[91].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[90].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[91].Value = ((string)(Original_clcdpiva)); + } + if ((Original_clindi == null)) { + this.Adapter.UpdateCommand.Parameters[92].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[93].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[92].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[93].Value = ((string)(Original_clindi)); + } + if ((Original_clloca == null)) { + this.Adapter.UpdateCommand.Parameters[94].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[95].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[94].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[95].Value = ((string)(Original_clloca)); + } + if ((Original_clcapo == null)) { + this.Adapter.UpdateCommand.Parameters[96].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[97].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[96].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[97].Value = ((string)(Original_clcapo)); + } + if ((Original_clprov == null)) { + this.Adapter.UpdateCommand.Parameters[98].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[99].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[98].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[99].Value = ((string)(Original_clprov)); + } + if ((Original_cldist == null)) { + this.Adapter.UpdateCommand.Parameters[100].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[101].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[100].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[101].Value = ((string)(Original_cldist)); + } + if ((Original_clstat == null)) { + this.Adapter.UpdateCommand.Parameters[102].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[103].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[102].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[103].Value = ((string)(Original_clstat)); + } + if ((Original_clstatiso == null)) { + this.Adapter.UpdateCommand.Parameters[104].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[105].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[104].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[105].Value = ((string)(Original_clstatiso)); + } + if ((Original_clcdfi == null)) { + this.Adapter.UpdateCommand.Parameters[106].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[107].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[106].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[107].Value = ((string)(Original_clcdfi)); + } + if ((Original_clindidomfisc == null)) { + this.Adapter.UpdateCommand.Parameters[108].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[109].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[108].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[109].Value = ((string)(Original_clindidomfisc)); + } + if ((Original_cllocadomfisc == null)) { + this.Adapter.UpdateCommand.Parameters[110].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[111].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[110].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[111].Value = ((string)(Original_cllocadomfisc)); + } + if ((Original_clcapodomfisc == null)) { + this.Adapter.UpdateCommand.Parameters[112].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[113].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[112].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[113].Value = ((string)(Original_clcapodomfisc)); + } + if ((Original_clprovdomfisc == null)) { + this.Adapter.UpdateCommand.Parameters[114].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[115].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[114].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[115].Value = ((string)(Original_clprovdomfisc)); + } + if ((Original_cldistdomfisc == null)) { + this.Adapter.UpdateCommand.Parameters[116].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[117].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[116].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[117].Value = ((string)(Original_cldistdomfisc)); + } + if ((Original_clstatdomfisc == null)) { + this.Adapter.UpdateCommand.Parameters[118].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[119].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[118].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[119].Value = ((string)(Original_clstatdomfisc)); + } + if ((Original_clstatisodomfisc == null)) { + this.Adapter.UpdateCommand.Parameters[120].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[121].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[120].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[121].Value = ((string)(Original_clstatisodomfisc)); + } + if ((Original_clalle == null)) { + this.Adapter.UpdateCommand.Parameters[122].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[123].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[122].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[123].Value = ((string)(Original_clalle)); + } + if ((Original_clfldi == null)) { + this.Adapter.UpdateCommand.Parameters[124].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[125].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[124].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[125].Value = ((string)(Original_clfldi)); + } + if ((Original_clcognom == null)) { + this.Adapter.UpdateCommand.Parameters[126].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[127].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[126].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[127].Value = ((string)(Original_clcognom)); + } + if ((Original_clnome == null)) { + this.Adapter.UpdateCommand.Parameters[128].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[129].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[128].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[129].Value = ((string)(Original_clnome)); + } + if ((Original_cldtna.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[130].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[131].Value = ((System.DateTime)(Original_cldtna.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[130].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[131].Value = global::System.DBNull.Value; + } + if ((Original_clcona == null)) { + this.Adapter.UpdateCommand.Parameters[132].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[133].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[132].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[133].Value = ((string)(Original_clcona)); + } + if ((Original_clprna == null)) { + this.Adapter.UpdateCommand.Parameters[134].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[135].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[134].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[135].Value = ((string)(Original_clprna)); + } + if ((Original_cluscn == null)) { + this.Adapter.UpdateCommand.Parameters[136].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[137].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[136].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[137].Value = ((string)(Original_cluscn)); + } + if ((Original_clstna == null)) { + this.Adapter.UpdateCommand.Parameters[138].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[139].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[138].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[139].Value = ((string)(Original_clstna)); + } + if ((Original_clsess == null)) { + this.Adapter.UpdateCommand.Parameters[140].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[141].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[140].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[141].Value = ((string)(Original_clsess)); + } + if ((Original_clrita.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[142].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[143].Value = ((float)(Original_clrita.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[142].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[143].Value = global::System.DBNull.Value; + } + if ((Original_cl_zona == null)) { + this.Adapter.UpdateCommand.Parameters[144].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[145].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[144].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[145].Value = ((string)(Original_cl_zona)); + } + if ((Original_clcategoria == null)) { + this.Adapter.UpdateCommand.Parameters[146].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[147].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[146].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[147].Value = ((string)(Original_clcategoria)); + } + if ((Original_clcategoria2 == null)) { + this.Adapter.UpdateCommand.Parameters[148].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[149].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[148].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[149].Value = ((string)(Original_clcategoria2)); + } + if ((Original_cl_sett_att1 == null)) { + this.Adapter.UpdateCommand.Parameters[150].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[151].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[150].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[151].Value = ((string)(Original_cl_sett_att1)); + } + if ((Original_cl_sett_att2 == null)) { + this.Adapter.UpdateCommand.Parameters[152].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[153].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[152].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[153].Value = ((string)(Original_cl_sett_att2)); + } + if ((Original_cl_categco == null)) { + this.Adapter.UpdateCommand.Parameters[154].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[155].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[154].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[155].Value = ((string)(Original_cl_categco)); + } + if ((Original_cl_ling == null)) { + this.Adapter.UpdateCommand.Parameters[156].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[157].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[156].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[157].Value = ((string)(Original_cl_ling)); + } + if ((Original_cl_filiale == null)) { + this.Adapter.UpdateCommand.Parameters[158].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[159].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[158].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[159].Value = ((string)(Original_cl_filiale)); + } + if ((Original_cl_cod_old == null)) { + this.Adapter.UpdateCommand.Parameters[160].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[161].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[160].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[161].Value = ((string)(Original_cl_cod_old)); + } + if ((Original_cl_cod_gruppo == null)) { + this.Adapter.UpdateCommand.Parameters[162].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[163].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[162].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[163].Value = ((string)(Original_cl_cod_gruppo)); + } + if ((Original_cl_vt1 == null)) { + this.Adapter.UpdateCommand.Parameters[164].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[165].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[164].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[165].Value = ((string)(Original_cl_vt1)); + } + if ((Original_cl_vt2 == null)) { + this.Adapter.UpdateCommand.Parameters[166].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[167].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[166].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[167].Value = ((string)(Original_cl_vt2)); + } + if ((Original_cl_vt3 == null)) { + this.Adapter.UpdateCommand.Parameters[168].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[169].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[168].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[169].Value = ((string)(Original_cl_vt3)); + } + if ((Original_cl_vt4 == null)) { + this.Adapter.UpdateCommand.Parameters[170].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[171].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[170].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[171].Value = ((string)(Original_cl_vt4)); + } + if ((Original_abc_pa_sol_csolv_ID == null)) { + this.Adapter.UpdateCommand.Parameters[172].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[173].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[172].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[173].Value = ((string)(Original_abc_pa_sol_csolv_ID)); + } + if ((Original_cl_solv_dtupd.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[174].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[175].Value = ((System.DateTime)(Original_cl_solv_dtupd.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[174].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[175].Value = global::System.DBNull.Value; + } + if ((Original_cldtfineutil.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[176].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[177].Value = ((System.DateTime)(Original_cldtfineutil.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[176].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[177].Value = global::System.DBNull.Value; + } + if ((Original_cl_fl_decod_anag == null)) { + this.Adapter.UpdateCommand.Parameters[178].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[179].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[178].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[179].Value = ((string)(Original_cl_fl_decod_anag)); + } + if ((Original_clindirec == null)) { + this.Adapter.UpdateCommand.Parameters[180].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[181].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[180].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[181].Value = ((string)(Original_clindirec)); + } + if ((Original_cllocarec == null)) { + this.Adapter.UpdateCommand.Parameters[182].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[183].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[182].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[183].Value = ((string)(Original_cllocarec)); + } + if ((Original_clcaporec == null)) { + this.Adapter.UpdateCommand.Parameters[184].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[185].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[184].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[185].Value = ((string)(Original_clcaporec)); + } + if ((Original_clprovrec == null)) { + this.Adapter.UpdateCommand.Parameters[186].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[187].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[186].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[187].Value = ((string)(Original_clprovrec)); + } + if ((Original_clnfaxrec == null)) { + this.Adapter.UpdateCommand.Parameters[188].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[189].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[188].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[189].Value = ((string)(Original_clnfaxrec)); + } + if ((Original_cltelerec == null)) { + this.Adapter.UpdateCommand.Parameters[190].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[191].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[190].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[191].Value = ((string)(Original_cltelerec)); + } + if ((Original_clprcinps.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[192].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[193].Value = ((float)(Original_clprcinps.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[192].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[193].Value = global::System.DBNull.Value; + } + if ((Original_clsuffreplica == null)) { + this.Adapter.UpdateCommand.Parameters[194].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[195].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[194].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[195].Value = ((string)(Original_clsuffreplica)); + } + if ((Original_cldtins.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[196].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[197].Value = ((System.DateTime)(Original_cldtins.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[196].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[197].Value = global::System.DBNull.Value; + } + if ((Original_cldtvalidini.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[198].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[199].Value = ((System.DateTime)(Original_cldtvalidini.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[198].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[199].Value = global::System.DBNull.Value; + } + if ((Original_clcdaccisa == null)) { + this.Adapter.UpdateCommand.Parameters[200].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[201].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[200].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[201].Value = ((string)(Original_clcdaccisa)); + } + if ((Original_clnicciaa == null)) { + this.Adapter.UpdateCommand.Parameters[202].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[203].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[202].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[203].Value = ((string)(Original_clnicciaa)); + } + if ((Original_clnregimp == null)) { + this.Adapter.UpdateCommand.Parameters[204].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[205].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[204].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[205].Value = ((string)(Original_clnregimp)); + } + if ((Original_clcod_estero == null)) { + this.Adapter.UpdateCommand.Parameters[206].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[207].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[206].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[207].Value = ((string)(Original_clcod_estero)); + } + if ((Original_clemail == null)) { + this.Adapter.UpdateCommand.Parameters[208].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[209].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[208].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[209].Value = ((string)(Original_clemail)); + } + if ((Original_clwww == null)) { + this.Adapter.UpdateCommand.Parameters[210].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[211].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[210].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[211].Value = ((string)(Original_clwww)); + } + if ((Original_clctrib == null)) { + this.Adapter.UpdateCommand.Parameters[212].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[213].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[212].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[213].Value = ((string)(Original_clctrib)); + } + if ((Original_clCodCausRit == null)) { + this.Adapter.UpdateCommand.Parameters[214].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[215].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[214].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[215].Value = ((string)(Original_clCodCausRit)); + } + if ((Original_clQuadro == null)) { + this.Adapter.UpdateCommand.Parameters[216].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[217].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[216].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[217].Value = ((string)(Original_clQuadro)); + } + if ((Original_cl_destStampe == null)) { + this.Adapter.UpdateCommand.Parameters[218].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[219].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[218].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[219].Value = ((string)(Original_cl_destStampe)); + } + if ((Original_clragd_n == null)) { + this.Adapter.UpdateCommand.Parameters[220].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[221].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[220].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[221].Value = ((string)(Original_clragd_n)); + } + if ((Original_clindi_n == null)) { + this.Adapter.UpdateCommand.Parameters[222].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[223].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[222].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[223].Value = ((string)(Original_clindi_n)); + } + if ((Original_clloca_n == null)) { + this.Adapter.UpdateCommand.Parameters[224].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[225].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[224].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[225].Value = ((string)(Original_clloca_n)); + } + if ((Original_clindidomfisc_n == null)) { + this.Adapter.UpdateCommand.Parameters[226].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[227].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[226].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[227].Value = ((string)(Original_clindidomfisc_n)); + } + if ((Original_cllocadomfisc_n == null)) { + this.Adapter.UpdateCommand.Parameters[228].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[229].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[228].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[229].Value = ((string)(Original_cllocadomfisc_n)); + } + if ((Original_clindirec_n == null)) { + this.Adapter.UpdateCommand.Parameters[230].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[231].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[230].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[231].Value = ((string)(Original_clindirec_n)); + } + if ((Original_cllocarec_n == null)) { + this.Adapter.UpdateCommand.Parameters[232].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[233].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[232].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[233].Value = ((string)(Original_cllocarec_n)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string clragd, + string cl_flcanc, + string clcod, + string clcdpiva, + string clindi, + string clloca, + string clcapo, + string clprov, + string cldist, + string clstat, + string clstatiso, + string clcdfi, + string cltele, + string clnfax, + string clindidomfisc, + string cllocadomfisc, + string clcapodomfisc, + string clprovdomfisc, + string cldistdomfisc, + string clstatdomfisc, + string clstatisodomfisc, + string clteledomfisc, + string clnfaxdomfisc, + string clalle, + string clfldi, + string clcognom, + string clnome, + global::System.Nullable cldtna, + string clcona, + string clprna, + string cluscn, + string clstna, + string clsess, + global::System.Nullable clrita, + string clannot1, + string clannot2, + string cl_zona, + string clcategoria, + string clcategoria2, + string cl_sett_att1, + string cl_sett_att2, + string clnote, + string cl_categco, + string cl_ling, + string cl_filiale, + string cl_cod_old, + string cl_cod_gruppo, + string cl_vt1, + string cl_vt2, + string cl_vt3, + string cl_vt4, + string abc_pa_sol_csolv_ID, + global::System.Nullable cl_solv_dtupd, + global::System.Nullable cldtfineutil, + string cl_fl_decod_anag, + string clindirec, + string cllocarec, + string clcaporec, + string clprovrec, + string clnfaxrec, + string cltelerec, + global::System.Nullable clprcinps, + string clsuffreplica, + global::System.Nullable cldtins, + global::System.Nullable cldtvalidini, + string clcdaccisa, + string clnicciaa, + string clnregimp, + string clcod_estero, + string clemail, + string clwww, + string clctrib, + string clCodCausRit, + string clQuadro, + string cl_destStampe, + string clragd_n, + string clindi_n, + string clloca_n, + string clindidomfisc_n, + string cllocadomfisc_n, + string clindirec_n, + string cllocarec_n, + string Original_clcodcn, + string Original_clragd, + string Original_cl_flcanc, + string Original_clcod, + string Original_clcdpiva, + string Original_clindi, + string Original_clloca, + string Original_clcapo, + string Original_clprov, + string Original_cldist, + string Original_clstat, + string Original_clstatiso, + string Original_clcdfi, + string Original_clindidomfisc, + string Original_cllocadomfisc, + string Original_clcapodomfisc, + string Original_clprovdomfisc, + string Original_cldistdomfisc, + string Original_clstatdomfisc, + string Original_clstatisodomfisc, + string Original_clalle, + string Original_clfldi, + string Original_clcognom, + string Original_clnome, + global::System.Nullable Original_cldtna, + string Original_clcona, + string Original_clprna, + string Original_cluscn, + string Original_clstna, + string Original_clsess, + global::System.Nullable Original_clrita, + string Original_cl_zona, + string Original_clcategoria, + string Original_clcategoria2, + string Original_cl_sett_att1, + string Original_cl_sett_att2, + string Original_cl_categco, + string Original_cl_ling, + string Original_cl_filiale, + string Original_cl_cod_old, + string Original_cl_cod_gruppo, + string Original_cl_vt1, + string Original_cl_vt2, + string Original_cl_vt3, + string Original_cl_vt4, + string Original_abc_pa_sol_csolv_ID, + global::System.Nullable Original_cl_solv_dtupd, + global::System.Nullable Original_cldtfineutil, + string Original_cl_fl_decod_anag, + string Original_clindirec, + string Original_cllocarec, + string Original_clcaporec, + string Original_clprovrec, + string Original_clnfaxrec, + string Original_cltelerec, + global::System.Nullable Original_clprcinps, + string Original_clsuffreplica, + global::System.Nullable Original_cldtins, + global::System.Nullable Original_cldtvalidini, + string Original_clcdaccisa, + string Original_clnicciaa, + string Original_clnregimp, + string Original_clcod_estero, + string Original_clemail, + string Original_clwww, + string Original_clctrib, + string Original_clCodCausRit, + string Original_clQuadro, + string Original_cl_destStampe, + string Original_clragd_n, + string Original_clindi_n, + string Original_clloca_n, + string Original_clindidomfisc_n, + string Original_cllocadomfisc_n, + string Original_clindirec_n, + string Original_cllocarec_n) { + return this.Update(Original_clcodcn, clragd, cl_flcanc, clcod, clcdpiva, clindi, clloca, clcapo, clprov, cldist, clstat, clstatiso, clcdfi, cltele, clnfax, clindidomfisc, cllocadomfisc, clcapodomfisc, clprovdomfisc, cldistdomfisc, clstatdomfisc, clstatisodomfisc, clteledomfisc, clnfaxdomfisc, clalle, clfldi, clcognom, clnome, cldtna, clcona, clprna, cluscn, clstna, clsess, clrita, clannot1, clannot2, cl_zona, clcategoria, clcategoria2, cl_sett_att1, cl_sett_att2, clnote, cl_categco, cl_ling, cl_filiale, cl_cod_old, cl_cod_gruppo, cl_vt1, cl_vt2, cl_vt3, cl_vt4, abc_pa_sol_csolv_ID, cl_solv_dtupd, cldtfineutil, cl_fl_decod_anag, clindirec, cllocarec, clcaporec, clprovrec, clnfaxrec, cltelerec, clprcinps, clsuffreplica, cldtins, cldtvalidini, clcdaccisa, clnicciaa, clnregimp, clcod_estero, clemail, clwww, clctrib, clCodCausRit, clQuadro, cl_destStampe, clragd_n, clindi_n, clloca_n, clindidomfisc_n, cllocadomfisc_n, clindirec_n, cllocarec_n, Original_clcodcn, Original_clragd, Original_cl_flcanc, Original_clcod, Original_clcdpiva, Original_clindi, Original_clloca, Original_clcapo, Original_clprov, Original_cldist, Original_clstat, Original_clstatiso, Original_clcdfi, Original_clindidomfisc, Original_cllocadomfisc, Original_clcapodomfisc, Original_clprovdomfisc, Original_cldistdomfisc, Original_clstatdomfisc, Original_clstatisodomfisc, Original_clalle, Original_clfldi, Original_clcognom, Original_clnome, Original_cldtna, Original_clcona, Original_clprna, Original_cluscn, Original_clstna, Original_clsess, Original_clrita, Original_cl_zona, Original_clcategoria, Original_clcategoria2, Original_cl_sett_att1, Original_cl_sett_att2, Original_cl_categco, Original_cl_ling, Original_cl_filiale, Original_cl_cod_old, Original_cl_cod_gruppo, Original_cl_vt1, Original_cl_vt2, Original_cl_vt3, Original_cl_vt4, Original_abc_pa_sol_csolv_ID, Original_cl_solv_dtupd, Original_cldtfineutil, Original_cl_fl_decod_anag, Original_clindirec, Original_cllocarec, Original_clcaporec, Original_clprovrec, Original_clnfaxrec, Original_cltelerec, Original_clprcinps, Original_clsuffreplica, Original_cldtins, Original_cldtvalidini, Original_clcdaccisa, Original_clnicciaa, Original_clnregimp, Original_clcod_estero, Original_clemail, Original_clwww, Original_clctrib, Original_clCodCausRit, Original_clQuadro, Original_cl_destStampe, Original_clragd_n, Original_clindi_n, Original_clloca_n, Original_clindidomfisc_n, Original_cllocadomfisc_n, Original_clindirec_n, Original_cllocarec_n); + } + } + + /// + ///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 caricaSwingData : global::System.ComponentModel.Component { + + private global::System.Data.IDbCommand[] _commandCollection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.IDbCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.IDbCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Connection = new global::System.Data.SqlClient.SqlConnection(global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandText = "dbo.stp_CaricaAnagCliSwing"; + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandType = global::System.Data.CommandType.StoredProcedure; + ((global::System.Data.SqlClient.SqlCommand)(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, "", "", "")); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@esito", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.InputOutput, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_CaricaAnagCliSwing(ref string esito) { + global::System.Data.SqlClient.SqlCommand command = ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[0])); + if ((esito == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(esito)); + } + 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(); + } + } + if (((command.Parameters[1].Value == null) + || (command.Parameters[1].Value.GetType() == typeof(global::System.DBNull)))) { + esito = null; + } + else { + esito = ((string)(command.Parameters[1].Value)); + } + return returnValue; + } + } + + /// + ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + + "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] + public partial class TableAdapterManager : global::System.ComponentModel.Component { + + private UpdateOrderOption _updateOrder; + + private aclTableAdapter _aclTableAdapter; + + private bool _backupDataSetBeforeUpdate; + + private global::System.Data.IDbConnection _connection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UpdateOrderOption UpdateOrder { + get { + return this._updateOrder; + } + set { + this._updateOrder = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public aclTableAdapter aclTableAdapter { + get { + return this._aclTableAdapter; + } + set { + this._aclTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool BackupDataSetBeforeUpdate { + get { + return this._backupDataSetBeforeUpdate; + } + set { + this._backupDataSetBeforeUpdate = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public global::System.Data.IDbConnection Connection { + get { + if ((this._connection != null)) { + return this._connection; + } + if (((this._aclTableAdapter != null) + && (this._aclTableAdapter.Connection != null))) { + return this._aclTableAdapter.Connection; + } + return null; + } + set { + this._connection = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int TableAdapterInstanceCount { + get { + int count = 0; + if ((this._aclTableAdapter != null)) { + count = (count + 1); + } + return count; + } + } + + /// + ///Update rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateUpdatedRows(DS_import dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._aclTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.acl.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._aclTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + return result; + } + + /// + ///Insert rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateInsertedRows(DS_import dataSet, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._aclTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.acl.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._aclTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + return result; + } + + /// + ///Delete rows in bottom-up order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateDeletedRows(DS_import dataSet, global::System.Collections.Generic.List allChangedRows) { + int result = 0; + if ((this._aclTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.acl.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._aclTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + return result; + } + + /// + ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { + if (((updatedRows == null) + || (updatedRows.Length < 1))) { + return updatedRows; + } + if (((allAddedRows == null) + || (allAddedRows.Count < 1))) { + return updatedRows; + } + global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); + for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { + global::System.Data.DataRow row = updatedRows[i]; + if ((allAddedRows.Contains(row) == false)) { + realUpdatedRows.Add(row); + } + } + return realUpdatedRows.ToArray(); + } + + /// + ///Update all changes to the dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public virtual int UpdateAll(DS_import dataSet) { + if ((dataSet == null)) { + throw new global::System.ArgumentNullException("dataSet"); + } + if ((dataSet.HasChanges() == false)) { + return 0; + } + if (((this._aclTableAdapter != null) + && (this.MatchTableAdapterConnection(this._aclTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + global::System.Data.IDbConnection workConnection = this.Connection; + if ((workConnection == null)) { + throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + + "ger TableAdapter property to a valid TableAdapter instance."); + } + bool workConnOpened = false; + if (((workConnection.State & global::System.Data.ConnectionState.Broken) + == global::System.Data.ConnectionState.Broken)) { + workConnection.Close(); + } + if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { + workConnection.Open(); + workConnOpened = true; + } + global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); + if ((workTransaction == null)) { + throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + + "ctions or the current state is not allowing the transaction to begin."); + } + global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); + int result = 0; + global::System.Data.DataSet backupDataSet = null; + if (this.BackupDataSetBeforeUpdate) { + backupDataSet = new global::System.Data.DataSet(); + backupDataSet.Merge(dataSet); + } + try { + // ---- Prepare for update ----------- + // + if ((this._aclTableAdapter != null)) { + revertConnections.Add(this._aclTableAdapter, this._aclTableAdapter.Connection); + this._aclTableAdapter.Connection = ((global::System.Data.OleDb.OleDbConnection)(workConnection)); + this._aclTableAdapter.Transaction = ((global::System.Data.OleDb.OleDbTransaction)(workTransaction)); + if (this._aclTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._aclTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._aclTableAdapter.Adapter); + } + } + // + //---- Perform updates ----------- + // + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + } + else { + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + } + result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); + // + //---- Commit updates ----------- + // + workTransaction.Commit(); + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + if ((0 < allChangedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; + allChangedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + } + catch (global::System.Exception ex) { + workTransaction.Rollback(); + // ---- Restore the dataset ----------- + if (this.BackupDataSetBeforeUpdate) { + global::System.Diagnostics.Debug.Assert((backupDataSet != null)); + dataSet.Clear(); + dataSet.Merge(backupDataSet); + } + else { + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + row.SetAdded(); + } + } + } + throw ex; + } + finally { + if (workConnOpened) { + workConnection.Close(); + } + if ((this._aclTableAdapter != null)) { + this._aclTableAdapter.Connection = ((global::System.Data.OleDb.OleDbConnection)(revertConnections[this._aclTableAdapter])); + this._aclTableAdapter.Transaction = null; + } + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; + adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); + for (int i = 0; (i < adapters.Length); i = (i + 1)) { + global::System.Data.Common.DataAdapter adapter = adapters[i]; + adapter.AcceptChangesDuringUpdate = true; + } + } + } + return result; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { + if ((this._connection != null)) { + return true; + } + if (((this.Connection == null) + || (inputConnection == null))) { + return true; + } + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + return true; + } + return false; + } + + /// + ///Update Order Option + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public enum UpdateOrderOption { + + InsertUpdateDelete = 0, + + UpdateInsertDelete = 1, + } + + /// + ///Used to sort self-referenced table's rows + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { + + private global::System.Data.DataRelation _relation; + + private int _childFirst; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + this._relation = relation; + if (childFirst) { + this._childFirst = -1; + } + else { + this._childFirst = 1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { + global::System.Diagnostics.Debug.Assert((row != null)); + global::System.Data.DataRow root = row; + distance = 0; + + global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); + traversedRows[row] = row; + + global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + } + + if ((distance == 0)) { + traversedRows.Clear(); + traversedRows[row] = row; + parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + } + } + + return root; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { + if (object.ReferenceEquals(row1, row2)) { + return 0; + } + if ((row1 == null)) { + return -1; + } + if ((row2 == null)) { + return 1; + } + + int distance1 = 0; + global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); + + int distance2 = 0; + global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); + + if (object.ReferenceEquals(root1, root2)) { + return (this._childFirst * distance1.CompareTo(distance2)); + } + else { + global::System.Diagnostics.Debug.Assert(((root1.Table != null) + && (root2.Table != null))); + if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { + return -1; + } + else { + return 1; + } + } + } + } + } +} + #pragma warning restore 1591 \ No newline at end of file diff --git a/project/XPS_data/DS_import.xsc b/XPS_data/DS_import.xsc similarity index 97% rename from project/XPS_data/DS_import.xsc rename to XPS_data/DS_import.xsc index 551fc56..05b0199 100644 --- a/project/XPS_data/DS_import.xsc +++ b/XPS_data/DS_import.xsc @@ -1,9 +1,9 @@ - - - - + + + + \ No newline at end of file diff --git a/project/XPS_data/DS_import.xsd b/XPS_data/DS_import.xsd similarity index 99% rename from project/XPS_data/DS_import.xsd rename to XPS_data/DS_import.xsd index 25b80df..60c4a6f 100644 --- a/project/XPS_data/DS_import.xsd +++ b/XPS_data/DS_import.xsd @@ -1,1170 +1,1170 @@ - - - - - - - - - - - - - - - - DELETE FROM `acl` WHERE ((`clcodcn` = ?) AND ((? = 1 AND `clragd` IS NULL) OR (`clragd` = ?)) AND ((? = 1 AND `cl_flcanc` IS NULL) OR (`cl_flcanc` = ?)) AND ((? = 1 AND `clcod` IS NULL) OR (`clcod` = ?)) AND ((? = 1 AND `clcdpiva` IS NULL) OR (`clcdpiva` = ?)) AND ((? = 1 AND `clindi` IS NULL) OR (`clindi` = ?)) AND ((? = 1 AND `clloca` IS NULL) OR (`clloca` = ?)) AND ((? = 1 AND `clcapo` IS NULL) OR (`clcapo` = ?)) AND ((? = 1 AND `clprov` IS NULL) OR (`clprov` = ?)) AND ((? = 1 AND `cldist` IS NULL) OR (`cldist` = ?)) AND ((? = 1 AND `clstat` IS NULL) OR (`clstat` = ?)) AND ((? = 1 AND `clstatiso` IS NULL) OR (`clstatiso` = ?)) AND ((? = 1 AND `clcdfi` IS NULL) OR (`clcdfi` = ?)) AND ((? = 1 AND `clindidomfisc` IS NULL) OR (`clindidomfisc` = ?)) AND ((? = 1 AND `cllocadomfisc` IS NULL) OR (`cllocadomfisc` = ?)) AND ((? = 1 AND `clcapodomfisc` IS NULL) OR (`clcapodomfisc` = ?)) AND ((? = 1 AND `clprovdomfisc` IS NULL) OR (`clprovdomfisc` = ?)) AND ((? = 1 AND `cldistdomfisc` IS NULL) OR (`cldistdomfisc` = ?)) AND ((? = 1 AND `clstatdomfisc` IS NULL) OR (`clstatdomfisc` = ?)) AND ((? = 1 AND `clstatisodomfisc` IS NULL) OR (`clstatisodomfisc` = ?)) AND ((? = 1 AND `clalle` IS NULL) OR (`clalle` = ?)) AND ((? = 1 AND `clfldi` IS NULL) OR (`clfldi` = ?)) AND ((? = 1 AND `clcognom` IS NULL) OR (`clcognom` = ?)) AND ((? = 1 AND `clnome` IS NULL) OR (`clnome` = ?)) AND ((? = 1 AND `cldtna` IS NULL) OR (`cldtna` = ?)) AND ((? = 1 AND `clcona` IS NULL) OR (`clcona` = ?)) AND ((? = 1 AND `clprna` IS NULL) OR (`clprna` = ?)) AND ((? = 1 AND `cluscn` IS NULL) OR (`cluscn` = ?)) AND ((? = 1 AND `clstna` IS NULL) OR (`clstna` = ?)) AND ((? = 1 AND `clsess` IS NULL) OR (`clsess` = ?)) AND ((? = 1 AND `clrita` IS NULL) OR (`clrita` = ?)) AND ((? = 1 AND `cl_zona` IS NULL) OR (`cl_zona` = ?)) AND ((? = 1 AND `clcategoria` IS NULL) OR (`clcategoria` = ?)) AND ((? = 1 AND `clcategoria2` IS NULL) OR (`clcategoria2` = ?)) AND ((? = 1 AND `cl_sett_att1` IS NULL) OR (`cl_sett_att1` = ?)) AND ((? = 1 AND `cl_sett_att2` IS NULL) OR (`cl_sett_att2` = ?)) AND ((? = 1 AND `cl_categco` IS NULL) OR (`cl_categco` = ?)) AND ((? = 1 AND `cl_ling` IS NULL) OR (`cl_ling` = ?)) AND ((? = 1 AND `cl_filiale` IS NULL) OR (`cl_filiale` = ?)) AND ((? = 1 AND `cl_cod_old` IS NULL) OR (`cl_cod_old` = ?)) AND ((? = 1 AND `cl_cod_gruppo` IS NULL) OR (`cl_cod_gruppo` = ?)) AND ((? = 1 AND `cl_vt1` IS NULL) OR (`cl_vt1` = ?)) AND ((? = 1 AND `cl_vt2` IS NULL) OR (`cl_vt2` = ?)) AND ((? = 1 AND `cl_vt3` IS NULL) OR (`cl_vt3` = ?)) AND ((? = 1 AND `cl_vt4` IS NULL) OR (`cl_vt4` = ?)) AND ((? = 1 AND `abc_pa_sol_csolv_ID` IS NULL) OR (`abc_pa_sol_csolv_ID` = ?)) AND ((? = 1 AND `cl_solv_dtupd` IS NULL) OR (`cl_solv_dtupd` = ?)) AND ((? = 1 AND `cldtfineutil` IS NULL) OR (`cldtfineutil` = ?)) AND ((? = 1 AND `cl_fl_decod_anag` IS NULL) OR (`cl_fl_decod_anag` = ?)) AND ((? = 1 AND `clindirec` IS NULL) OR (`clindirec` = ?)) AND ((? = 1 AND `cllocarec` IS NULL) OR (`cllocarec` = ?)) AND ((? = 1 AND `clcaporec` IS NULL) OR (`clcaporec` = ?)) AND ((? = 1 AND `clprovrec` IS NULL) OR (`clprovrec` = ?)) AND ((? = 1 AND `clnfaxrec` IS NULL) OR (`clnfaxrec` = ?)) AND ((? = 1 AND `cltelerec` IS NULL) OR (`cltelerec` = ?)) AND ((? = 1 AND `clprcinps` IS NULL) OR (`clprcinps` = ?)) AND ((? = 1 AND `clsuffreplica` IS NULL) OR (`clsuffreplica` = ?)) AND ((? = 1 AND `cldtins` IS NULL) OR (`cldtins` = ?)) AND ((? = 1 AND `cldtvalidini` IS NULL) OR (`cldtvalidini` = ?)) AND ((? = 1 AND `clcdaccisa` IS NULL) OR (`clcdaccisa` = ?)) AND ((? = 1 AND `clnicciaa` IS NULL) OR (`clnicciaa` = ?)) AND ((? = 1 AND `clnregimp` IS NULL) OR (`clnregimp` = ?)) AND ((? = 1 AND `clcod_estero` IS NULL) OR (`clcod_estero` = ?)) AND ((? = 1 AND `clemail` IS NULL) OR (`clemail` = ?)) AND ((? = 1 AND `clwww` IS NULL) OR (`clwww` = ?)) AND ((? = 1 AND `clctrib` IS NULL) OR (`clctrib` = ?)) AND ((? = 1 AND `clCodCausRit` IS NULL) OR (`clCodCausRit` = ?)) AND ((? = 1 AND `clQuadro` IS NULL) OR (`clQuadro` = ?)) AND ((? = 1 AND `cl_destStampe` IS NULL) OR (`cl_destStampe` = ?)) AND ((? = 1 AND `clragd_n` IS NULL) OR (`clragd_n` = ?)) AND ((? = 1 AND `clindi_n` IS NULL) OR (`clindi_n` = ?)) AND ((? = 1 AND `clloca_n` IS NULL) OR (`clloca_n` = ?)) AND ((? = 1 AND `clindidomfisc_n` IS NULL) OR (`clindidomfisc_n` = ?)) AND ((? = 1 AND `cllocadomfisc_n` IS NULL) OR (`cllocadomfisc_n` = ?)) AND ((? = 1 AND `clindirec_n` IS NULL) OR (`clindirec_n` = ?)) AND ((? = 1 AND `cllocarec_n` IS NULL) OR (`cllocarec_n` = ?))) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - INSERT INTO `acl` (`clcodcn`, `clragd`, `cl_flcanc`, `clcod`, `clcdpiva`, `clindi`, `clloca`, `clcapo`, `clprov`, `cldist`, `clstat`, `clstatiso`, `clcdfi`, `cltele`, `clnfax`, `clindidomfisc`, `cllocadomfisc`, `clcapodomfisc`, `clprovdomfisc`, `cldistdomfisc`, `clstatdomfisc`, `clstatisodomfisc`, `clteledomfisc`, `clnfaxdomfisc`, `clalle`, `clfldi`, `clcognom`, `clnome`, `cldtna`, `clcona`, `clprna`, `cluscn`, `clstna`, `clsess`, `clrita`, `clannot1`, `clannot2`, `cl_zona`, `clcategoria`, `clcategoria2`, `cl_sett_att1`, `cl_sett_att2`, `clnote`, `cl_categco`, `cl_ling`, `cl_filiale`, `cl_cod_old`, `cl_cod_gruppo`, `cl_vt1`, `cl_vt2`, `cl_vt3`, `cl_vt4`, `abc_pa_sol_csolv_ID`, `cl_solv_dtupd`, `cldtfineutil`, `cl_fl_decod_anag`, `clindirec`, `cllocarec`, `clcaporec`, `clprovrec`, `clnfaxrec`, `cltelerec`, `clprcinps`, `clsuffreplica`, `cldtins`, `cldtvalidini`, `clcdaccisa`, `clnicciaa`, `clnregimp`, `clcod_estero`, `clemail`, `clwww`, `clctrib`, `clCodCausRit`, `clQuadro`, `cl_destStampe`, `clragd_n`, `clindi_n`, `clloca_n`, `clindidomfisc_n`, `cllocadomfisc_n`, `clindirec_n`, `cllocarec_n`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SELECT clcodcn, clragd, cl_flcanc, clcod, clcdpiva, clindi, clloca, clcapo, clprov, cldist, clstat, clstatiso, clcdfi, cltele, clnfax, clindidomfisc, cllocadomfisc, clcapodomfisc, clprovdomfisc, cldistdomfisc, clstatdomfisc, clstatisodomfisc, clteledomfisc, clnfaxdomfisc, clalle, clfldi, clcognom, clnome, cldtna, clcona, clprna, cluscn, clstna, clsess, clrita, clannot1, clannot2, cl_zona, clcategoria, clcategoria2, cl_sett_att1, cl_sett_att2, clnote, cl_categco, cl_ling, cl_filiale, cl_cod_old, cl_cod_gruppo, cl_vt1, cl_vt2, cl_vt3, cl_vt4, abc_pa_sol_csolv_ID, cl_solv_dtupd, cldtfineutil, cl_fl_decod_anag, clindirec, cllocarec, clcaporec, clprovrec, clnfaxrec, cltelerec, clprcinps, clsuffreplica, cldtins, cldtvalidini, clcdaccisa, clnicciaa, clnregimp, clcod_estero, clemail, clwww, clctrib, clCodCausRit, clQuadro, cl_destStampe, clragd_n, clindi_n, clloca_n, clindidomfisc_n, cllocadomfisc_n, clindirec_n, cllocarec_n FROM acl - - - - - - UPDATE `acl` SET `clcodcn` = ?, `clragd` = ?, `cl_flcanc` = ?, `clcod` = ?, `clcdpiva` = ?, `clindi` = ?, `clloca` = ?, `clcapo` = ?, `clprov` = ?, `cldist` = ?, `clstat` = ?, `clstatiso` = ?, `clcdfi` = ?, `cltele` = ?, `clnfax` = ?, `clindidomfisc` = ?, `cllocadomfisc` = ?, `clcapodomfisc` = ?, `clprovdomfisc` = ?, `cldistdomfisc` = ?, `clstatdomfisc` = ?, `clstatisodomfisc` = ?, `clteledomfisc` = ?, `clnfaxdomfisc` = ?, `clalle` = ?, `clfldi` = ?, `clcognom` = ?, `clnome` = ?, `cldtna` = ?, `clcona` = ?, `clprna` = ?, `cluscn` = ?, `clstna` = ?, `clsess` = ?, `clrita` = ?, `clannot1` = ?, `clannot2` = ?, `cl_zona` = ?, `clcategoria` = ?, `clcategoria2` = ?, `cl_sett_att1` = ?, `cl_sett_att2` = ?, `clnote` = ?, `cl_categco` = ?, `cl_ling` = ?, `cl_filiale` = ?, `cl_cod_old` = ?, `cl_cod_gruppo` = ?, `cl_vt1` = ?, `cl_vt2` = ?, `cl_vt3` = ?, `cl_vt4` = ?, `abc_pa_sol_csolv_ID` = ?, `cl_solv_dtupd` = ?, `cldtfineutil` = ?, `cl_fl_decod_anag` = ?, `clindirec` = ?, `cllocarec` = ?, `clcaporec` = ?, `clprovrec` = ?, `clnfaxrec` = ?, `cltelerec` = ?, `clprcinps` = ?, `clsuffreplica` = ?, `cldtins` = ?, `cldtvalidini` = ?, `clcdaccisa` = ?, `clnicciaa` = ?, `clnregimp` = ?, `clcod_estero` = ?, `clemail` = ?, `clwww` = ?, `clctrib` = ?, `clCodCausRit` = ?, `clQuadro` = ?, `cl_destStampe` = ?, `clragd_n` = ?, `clindi_n` = ?, `clloca_n` = ?, `clindidomfisc_n` = ?, `cllocadomfisc_n` = ?, `clindirec_n` = ?, `cllocarec_n` = ? WHERE ((`clcodcn` = ?) AND ((? = 1 AND `clragd` IS NULL) OR (`clragd` = ?)) AND ((? = 1 AND `cl_flcanc` IS NULL) OR (`cl_flcanc` = ?)) AND ((? = 1 AND `clcod` IS NULL) OR (`clcod` = ?)) AND ((? = 1 AND `clcdpiva` IS NULL) OR (`clcdpiva` = ?)) AND ((? = 1 AND `clindi` IS NULL) OR (`clindi` = ?)) AND ((? = 1 AND `clloca` IS NULL) OR (`clloca` = ?)) AND ((? = 1 AND `clcapo` IS NULL) OR (`clcapo` = ?)) AND ((? = 1 AND `clprov` IS NULL) OR (`clprov` = ?)) AND ((? = 1 AND `cldist` IS NULL) OR (`cldist` = ?)) AND ((? = 1 AND `clstat` IS NULL) OR (`clstat` = ?)) AND ((? = 1 AND `clstatiso` IS NULL) OR (`clstatiso` = ?)) AND ((? = 1 AND `clcdfi` IS NULL) OR (`clcdfi` = ?)) AND ((? = 1 AND `clindidomfisc` IS NULL) OR (`clindidomfisc` = ?)) AND ((? = 1 AND `cllocadomfisc` IS NULL) OR (`cllocadomfisc` = ?)) AND ((? = 1 AND `clcapodomfisc` IS NULL) OR (`clcapodomfisc` = ?)) AND ((? = 1 AND `clprovdomfisc` IS NULL) OR (`clprovdomfisc` = ?)) AND ((? = 1 AND `cldistdomfisc` IS NULL) OR (`cldistdomfisc` = ?)) AND ((? = 1 AND `clstatdomfisc` IS NULL) OR (`clstatdomfisc` = ?)) AND ((? = 1 AND `clstatisodomfisc` IS NULL) OR (`clstatisodomfisc` = ?)) AND ((? = 1 AND `clalle` IS NULL) OR (`clalle` = ?)) AND ((? = 1 AND `clfldi` IS NULL) OR (`clfldi` = ?)) AND ((? = 1 AND `clcognom` IS NULL) OR (`clcognom` = ?)) AND ((? = 1 AND `clnome` IS NULL) OR (`clnome` = ?)) AND ((? = 1 AND `cldtna` IS NULL) OR (`cldtna` = ?)) AND ((? = 1 AND `clcona` IS NULL) OR (`clcona` = ?)) AND ((? = 1 AND `clprna` IS NULL) OR (`clprna` = ?)) AND ((? = 1 AND `cluscn` IS NULL) OR (`cluscn` = ?)) AND ((? = 1 AND `clstna` IS NULL) OR (`clstna` = ?)) AND ((? = 1 AND `clsess` IS NULL) OR (`clsess` = ?)) AND ((? = 1 AND `clrita` IS NULL) OR (`clrita` = ?)) AND ((? = 1 AND `cl_zona` IS NULL) OR (`cl_zona` = ?)) AND ((? = 1 AND `clcategoria` IS NULL) OR (`clcategoria` = ?)) AND ((? = 1 AND `clcategoria2` IS NULL) OR (`clcategoria2` = ?)) AND ((? = 1 AND `cl_sett_att1` IS NULL) OR (`cl_sett_att1` = ?)) AND ((? = 1 AND `cl_sett_att2` IS NULL) OR (`cl_sett_att2` = ?)) AND ((? = 1 AND `cl_categco` IS NULL) OR (`cl_categco` = ?)) AND ((? = 1 AND `cl_ling` IS NULL) OR (`cl_ling` = ?)) AND ((? = 1 AND `cl_filiale` IS NULL) OR (`cl_filiale` = ?)) AND ((? = 1 AND `cl_cod_old` IS NULL) OR (`cl_cod_old` = ?)) AND ((? = 1 AND `cl_cod_gruppo` IS NULL) OR (`cl_cod_gruppo` = ?)) AND ((? = 1 AND `cl_vt1` IS NULL) OR (`cl_vt1` = ?)) AND ((? = 1 AND `cl_vt2` IS NULL) OR (`cl_vt2` = ?)) AND ((? = 1 AND `cl_vt3` IS NULL) OR (`cl_vt3` = ?)) AND ((? = 1 AND `cl_vt4` IS NULL) OR (`cl_vt4` = ?)) AND ((? = 1 AND `abc_pa_sol_csolv_ID` IS NULL) OR (`abc_pa_sol_csolv_ID` = ?)) AND ((? = 1 AND `cl_solv_dtupd` IS NULL) OR (`cl_solv_dtupd` = ?)) AND ((? = 1 AND `cldtfineutil` IS NULL) OR (`cldtfineutil` = ?)) AND ((? = 1 AND `cl_fl_decod_anag` IS NULL) OR (`cl_fl_decod_anag` = ?)) AND ((? = 1 AND `clindirec` IS NULL) OR (`clindirec` = ?)) AND ((? = 1 AND `cllocarec` IS NULL) OR (`cllocarec` = ?)) AND ((? = 1 AND `clcaporec` IS NULL) OR (`clcaporec` = ?)) AND ((? = 1 AND `clprovrec` IS NULL) OR (`clprovrec` = ?)) AND ((? = 1 AND `clnfaxrec` IS NULL) OR (`clnfaxrec` = ?)) AND ((? = 1 AND `cltelerec` IS NULL) OR (`cltelerec` = ?)) AND ((? = 1 AND `clprcinps` IS NULL) OR (`clprcinps` = ?)) AND ((? = 1 AND `clsuffreplica` IS NULL) OR (`clsuffreplica` = ?)) AND ((? = 1 AND `cldtins` IS NULL) OR (`cldtins` = ?)) AND ((? = 1 AND `cldtvalidini` IS NULL) OR (`cldtvalidini` = ?)) AND ((? = 1 AND `clcdaccisa` IS NULL) OR (`clcdaccisa` = ?)) AND ((? = 1 AND `clnicciaa` IS NULL) OR (`clnicciaa` = ?)) AND ((? = 1 AND `clnregimp` IS NULL) OR (`clnregimp` = ?)) AND ((? = 1 AND `clcod_estero` IS NULL) OR (`clcod_estero` = ?)) AND ((? = 1 AND `clemail` IS NULL) OR (`clemail` = ?)) AND ((? = 1 AND `clwww` IS NULL) OR (`clwww` = ?)) AND ((? = 1 AND `clctrib` IS NULL) OR (`clctrib` = ?)) AND ((? = 1 AND `clCodCausRit` IS NULL) OR (`clCodCausRit` = ?)) AND ((? = 1 AND `clQuadro` IS NULL) OR (`clQuadro` = ?)) AND ((? = 1 AND `cl_destStampe` IS NULL) OR (`cl_destStampe` = ?)) AND ((? = 1 AND `clragd_n` IS NULL) OR (`clragd_n` = ?)) AND ((? = 1 AND `clindi_n` IS NULL) OR (`clindi_n` = ?)) AND ((? = 1 AND `clloca_n` IS NULL) OR (`clloca_n` = ?)) AND ((? = 1 AND `clindidomfisc_n` IS NULL) OR (`clindidomfisc_n` = ?)) AND ((? = 1 AND `cllocadomfisc_n` IS NULL) OR (`cllocadomfisc_n` = ?)) AND ((? = 1 AND `clindirec_n` IS NULL) OR (`clindirec_n` = ?)) AND ((? = 1 AND `cllocarec_n` IS NULL) OR (`cllocarec_n` = ?))) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dbo.stp_CaricaAnagCliSwing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + DELETE FROM `acl` WHERE ((`clcodcn` = ?) AND ((? = 1 AND `clragd` IS NULL) OR (`clragd` = ?)) AND ((? = 1 AND `cl_flcanc` IS NULL) OR (`cl_flcanc` = ?)) AND ((? = 1 AND `clcod` IS NULL) OR (`clcod` = ?)) AND ((? = 1 AND `clcdpiva` IS NULL) OR (`clcdpiva` = ?)) AND ((? = 1 AND `clindi` IS NULL) OR (`clindi` = ?)) AND ((? = 1 AND `clloca` IS NULL) OR (`clloca` = ?)) AND ((? = 1 AND `clcapo` IS NULL) OR (`clcapo` = ?)) AND ((? = 1 AND `clprov` IS NULL) OR (`clprov` = ?)) AND ((? = 1 AND `cldist` IS NULL) OR (`cldist` = ?)) AND ((? = 1 AND `clstat` IS NULL) OR (`clstat` = ?)) AND ((? = 1 AND `clstatiso` IS NULL) OR (`clstatiso` = ?)) AND ((? = 1 AND `clcdfi` IS NULL) OR (`clcdfi` = ?)) AND ((? = 1 AND `clindidomfisc` IS NULL) OR (`clindidomfisc` = ?)) AND ((? = 1 AND `cllocadomfisc` IS NULL) OR (`cllocadomfisc` = ?)) AND ((? = 1 AND `clcapodomfisc` IS NULL) OR (`clcapodomfisc` = ?)) AND ((? = 1 AND `clprovdomfisc` IS NULL) OR (`clprovdomfisc` = ?)) AND ((? = 1 AND `cldistdomfisc` IS NULL) OR (`cldistdomfisc` = ?)) AND ((? = 1 AND `clstatdomfisc` IS NULL) OR (`clstatdomfisc` = ?)) AND ((? = 1 AND `clstatisodomfisc` IS NULL) OR (`clstatisodomfisc` = ?)) AND ((? = 1 AND `clalle` IS NULL) OR (`clalle` = ?)) AND ((? = 1 AND `clfldi` IS NULL) OR (`clfldi` = ?)) AND ((? = 1 AND `clcognom` IS NULL) OR (`clcognom` = ?)) AND ((? = 1 AND `clnome` IS NULL) OR (`clnome` = ?)) AND ((? = 1 AND `cldtna` IS NULL) OR (`cldtna` = ?)) AND ((? = 1 AND `clcona` IS NULL) OR (`clcona` = ?)) AND ((? = 1 AND `clprna` IS NULL) OR (`clprna` = ?)) AND ((? = 1 AND `cluscn` IS NULL) OR (`cluscn` = ?)) AND ((? = 1 AND `clstna` IS NULL) OR (`clstna` = ?)) AND ((? = 1 AND `clsess` IS NULL) OR (`clsess` = ?)) AND ((? = 1 AND `clrita` IS NULL) OR (`clrita` = ?)) AND ((? = 1 AND `cl_zona` IS NULL) OR (`cl_zona` = ?)) AND ((? = 1 AND `clcategoria` IS NULL) OR (`clcategoria` = ?)) AND ((? = 1 AND `clcategoria2` IS NULL) OR (`clcategoria2` = ?)) AND ((? = 1 AND `cl_sett_att1` IS NULL) OR (`cl_sett_att1` = ?)) AND ((? = 1 AND `cl_sett_att2` IS NULL) OR (`cl_sett_att2` = ?)) AND ((? = 1 AND `cl_categco` IS NULL) OR (`cl_categco` = ?)) AND ((? = 1 AND `cl_ling` IS NULL) OR (`cl_ling` = ?)) AND ((? = 1 AND `cl_filiale` IS NULL) OR (`cl_filiale` = ?)) AND ((? = 1 AND `cl_cod_old` IS NULL) OR (`cl_cod_old` = ?)) AND ((? = 1 AND `cl_cod_gruppo` IS NULL) OR (`cl_cod_gruppo` = ?)) AND ((? = 1 AND `cl_vt1` IS NULL) OR (`cl_vt1` = ?)) AND ((? = 1 AND `cl_vt2` IS NULL) OR (`cl_vt2` = ?)) AND ((? = 1 AND `cl_vt3` IS NULL) OR (`cl_vt3` = ?)) AND ((? = 1 AND `cl_vt4` IS NULL) OR (`cl_vt4` = ?)) AND ((? = 1 AND `abc_pa_sol_csolv_ID` IS NULL) OR (`abc_pa_sol_csolv_ID` = ?)) AND ((? = 1 AND `cl_solv_dtupd` IS NULL) OR (`cl_solv_dtupd` = ?)) AND ((? = 1 AND `cldtfineutil` IS NULL) OR (`cldtfineutil` = ?)) AND ((? = 1 AND `cl_fl_decod_anag` IS NULL) OR (`cl_fl_decod_anag` = ?)) AND ((? = 1 AND `clindirec` IS NULL) OR (`clindirec` = ?)) AND ((? = 1 AND `cllocarec` IS NULL) OR (`cllocarec` = ?)) AND ((? = 1 AND `clcaporec` IS NULL) OR (`clcaporec` = ?)) AND ((? = 1 AND `clprovrec` IS NULL) OR (`clprovrec` = ?)) AND ((? = 1 AND `clnfaxrec` IS NULL) OR (`clnfaxrec` = ?)) AND ((? = 1 AND `cltelerec` IS NULL) OR (`cltelerec` = ?)) AND ((? = 1 AND `clprcinps` IS NULL) OR (`clprcinps` = ?)) AND ((? = 1 AND `clsuffreplica` IS NULL) OR (`clsuffreplica` = ?)) AND ((? = 1 AND `cldtins` IS NULL) OR (`cldtins` = ?)) AND ((? = 1 AND `cldtvalidini` IS NULL) OR (`cldtvalidini` = ?)) AND ((? = 1 AND `clcdaccisa` IS NULL) OR (`clcdaccisa` = ?)) AND ((? = 1 AND `clnicciaa` IS NULL) OR (`clnicciaa` = ?)) AND ((? = 1 AND `clnregimp` IS NULL) OR (`clnregimp` = ?)) AND ((? = 1 AND `clcod_estero` IS NULL) OR (`clcod_estero` = ?)) AND ((? = 1 AND `clemail` IS NULL) OR (`clemail` = ?)) AND ((? = 1 AND `clwww` IS NULL) OR (`clwww` = ?)) AND ((? = 1 AND `clctrib` IS NULL) OR (`clctrib` = ?)) AND ((? = 1 AND `clCodCausRit` IS NULL) OR (`clCodCausRit` = ?)) AND ((? = 1 AND `clQuadro` IS NULL) OR (`clQuadro` = ?)) AND ((? = 1 AND `cl_destStampe` IS NULL) OR (`cl_destStampe` = ?)) AND ((? = 1 AND `clragd_n` IS NULL) OR (`clragd_n` = ?)) AND ((? = 1 AND `clindi_n` IS NULL) OR (`clindi_n` = ?)) AND ((? = 1 AND `clloca_n` IS NULL) OR (`clloca_n` = ?)) AND ((? = 1 AND `clindidomfisc_n` IS NULL) OR (`clindidomfisc_n` = ?)) AND ((? = 1 AND `cllocadomfisc_n` IS NULL) OR (`cllocadomfisc_n` = ?)) AND ((? = 1 AND `clindirec_n` IS NULL) OR (`clindirec_n` = ?)) AND ((? = 1 AND `cllocarec_n` IS NULL) OR (`cllocarec_n` = ?))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO `acl` (`clcodcn`, `clragd`, `cl_flcanc`, `clcod`, `clcdpiva`, `clindi`, `clloca`, `clcapo`, `clprov`, `cldist`, `clstat`, `clstatiso`, `clcdfi`, `cltele`, `clnfax`, `clindidomfisc`, `cllocadomfisc`, `clcapodomfisc`, `clprovdomfisc`, `cldistdomfisc`, `clstatdomfisc`, `clstatisodomfisc`, `clteledomfisc`, `clnfaxdomfisc`, `clalle`, `clfldi`, `clcognom`, `clnome`, `cldtna`, `clcona`, `clprna`, `cluscn`, `clstna`, `clsess`, `clrita`, `clannot1`, `clannot2`, `cl_zona`, `clcategoria`, `clcategoria2`, `cl_sett_att1`, `cl_sett_att2`, `clnote`, `cl_categco`, `cl_ling`, `cl_filiale`, `cl_cod_old`, `cl_cod_gruppo`, `cl_vt1`, `cl_vt2`, `cl_vt3`, `cl_vt4`, `abc_pa_sol_csolv_ID`, `cl_solv_dtupd`, `cldtfineutil`, `cl_fl_decod_anag`, `clindirec`, `cllocarec`, `clcaporec`, `clprovrec`, `clnfaxrec`, `cltelerec`, `clprcinps`, `clsuffreplica`, `cldtins`, `cldtvalidini`, `clcdaccisa`, `clnicciaa`, `clnregimp`, `clcod_estero`, `clemail`, `clwww`, `clctrib`, `clCodCausRit`, `clQuadro`, `cl_destStampe`, `clragd_n`, `clindi_n`, `clloca_n`, `clindidomfisc_n`, `cllocadomfisc_n`, `clindirec_n`, `cllocarec_n`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT clcodcn, clragd, cl_flcanc, clcod, clcdpiva, clindi, clloca, clcapo, clprov, cldist, clstat, clstatiso, clcdfi, cltele, clnfax, clindidomfisc, cllocadomfisc, clcapodomfisc, clprovdomfisc, cldistdomfisc, clstatdomfisc, clstatisodomfisc, clteledomfisc, clnfaxdomfisc, clalle, clfldi, clcognom, clnome, cldtna, clcona, clprna, cluscn, clstna, clsess, clrita, clannot1, clannot2, cl_zona, clcategoria, clcategoria2, cl_sett_att1, cl_sett_att2, clnote, cl_categco, cl_ling, cl_filiale, cl_cod_old, cl_cod_gruppo, cl_vt1, cl_vt2, cl_vt3, cl_vt4, abc_pa_sol_csolv_ID, cl_solv_dtupd, cldtfineutil, cl_fl_decod_anag, clindirec, cllocarec, clcaporec, clprovrec, clnfaxrec, cltelerec, clprcinps, clsuffreplica, cldtins, cldtvalidini, clcdaccisa, clnicciaa, clnregimp, clcod_estero, clemail, clwww, clctrib, clCodCausRit, clQuadro, cl_destStampe, clragd_n, clindi_n, clloca_n, clindidomfisc_n, cllocadomfisc_n, clindirec_n, cllocarec_n FROM acl + + + + + + UPDATE `acl` SET `clcodcn` = ?, `clragd` = ?, `cl_flcanc` = ?, `clcod` = ?, `clcdpiva` = ?, `clindi` = ?, `clloca` = ?, `clcapo` = ?, `clprov` = ?, `cldist` = ?, `clstat` = ?, `clstatiso` = ?, `clcdfi` = ?, `cltele` = ?, `clnfax` = ?, `clindidomfisc` = ?, `cllocadomfisc` = ?, `clcapodomfisc` = ?, `clprovdomfisc` = ?, `cldistdomfisc` = ?, `clstatdomfisc` = ?, `clstatisodomfisc` = ?, `clteledomfisc` = ?, `clnfaxdomfisc` = ?, `clalle` = ?, `clfldi` = ?, `clcognom` = ?, `clnome` = ?, `cldtna` = ?, `clcona` = ?, `clprna` = ?, `cluscn` = ?, `clstna` = ?, `clsess` = ?, `clrita` = ?, `clannot1` = ?, `clannot2` = ?, `cl_zona` = ?, `clcategoria` = ?, `clcategoria2` = ?, `cl_sett_att1` = ?, `cl_sett_att2` = ?, `clnote` = ?, `cl_categco` = ?, `cl_ling` = ?, `cl_filiale` = ?, `cl_cod_old` = ?, `cl_cod_gruppo` = ?, `cl_vt1` = ?, `cl_vt2` = ?, `cl_vt3` = ?, `cl_vt4` = ?, `abc_pa_sol_csolv_ID` = ?, `cl_solv_dtupd` = ?, `cldtfineutil` = ?, `cl_fl_decod_anag` = ?, `clindirec` = ?, `cllocarec` = ?, `clcaporec` = ?, `clprovrec` = ?, `clnfaxrec` = ?, `cltelerec` = ?, `clprcinps` = ?, `clsuffreplica` = ?, `cldtins` = ?, `cldtvalidini` = ?, `clcdaccisa` = ?, `clnicciaa` = ?, `clnregimp` = ?, `clcod_estero` = ?, `clemail` = ?, `clwww` = ?, `clctrib` = ?, `clCodCausRit` = ?, `clQuadro` = ?, `cl_destStampe` = ?, `clragd_n` = ?, `clindi_n` = ?, `clloca_n` = ?, `clindidomfisc_n` = ?, `cllocadomfisc_n` = ?, `clindirec_n` = ?, `cllocarec_n` = ? WHERE ((`clcodcn` = ?) AND ((? = 1 AND `clragd` IS NULL) OR (`clragd` = ?)) AND ((? = 1 AND `cl_flcanc` IS NULL) OR (`cl_flcanc` = ?)) AND ((? = 1 AND `clcod` IS NULL) OR (`clcod` = ?)) AND ((? = 1 AND `clcdpiva` IS NULL) OR (`clcdpiva` = ?)) AND ((? = 1 AND `clindi` IS NULL) OR (`clindi` = ?)) AND ((? = 1 AND `clloca` IS NULL) OR (`clloca` = ?)) AND ((? = 1 AND `clcapo` IS NULL) OR (`clcapo` = ?)) AND ((? = 1 AND `clprov` IS NULL) OR (`clprov` = ?)) AND ((? = 1 AND `cldist` IS NULL) OR (`cldist` = ?)) AND ((? = 1 AND `clstat` IS NULL) OR (`clstat` = ?)) AND ((? = 1 AND `clstatiso` IS NULL) OR (`clstatiso` = ?)) AND ((? = 1 AND `clcdfi` IS NULL) OR (`clcdfi` = ?)) AND ((? = 1 AND `clindidomfisc` IS NULL) OR (`clindidomfisc` = ?)) AND ((? = 1 AND `cllocadomfisc` IS NULL) OR (`cllocadomfisc` = ?)) AND ((? = 1 AND `clcapodomfisc` IS NULL) OR (`clcapodomfisc` = ?)) AND ((? = 1 AND `clprovdomfisc` IS NULL) OR (`clprovdomfisc` = ?)) AND ((? = 1 AND `cldistdomfisc` IS NULL) OR (`cldistdomfisc` = ?)) AND ((? = 1 AND `clstatdomfisc` IS NULL) OR (`clstatdomfisc` = ?)) AND ((? = 1 AND `clstatisodomfisc` IS NULL) OR (`clstatisodomfisc` = ?)) AND ((? = 1 AND `clalle` IS NULL) OR (`clalle` = ?)) AND ((? = 1 AND `clfldi` IS NULL) OR (`clfldi` = ?)) AND ((? = 1 AND `clcognom` IS NULL) OR (`clcognom` = ?)) AND ((? = 1 AND `clnome` IS NULL) OR (`clnome` = ?)) AND ((? = 1 AND `cldtna` IS NULL) OR (`cldtna` = ?)) AND ((? = 1 AND `clcona` IS NULL) OR (`clcona` = ?)) AND ((? = 1 AND `clprna` IS NULL) OR (`clprna` = ?)) AND ((? = 1 AND `cluscn` IS NULL) OR (`cluscn` = ?)) AND ((? = 1 AND `clstna` IS NULL) OR (`clstna` = ?)) AND ((? = 1 AND `clsess` IS NULL) OR (`clsess` = ?)) AND ((? = 1 AND `clrita` IS NULL) OR (`clrita` = ?)) AND ((? = 1 AND `cl_zona` IS NULL) OR (`cl_zona` = ?)) AND ((? = 1 AND `clcategoria` IS NULL) OR (`clcategoria` = ?)) AND ((? = 1 AND `clcategoria2` IS NULL) OR (`clcategoria2` = ?)) AND ((? = 1 AND `cl_sett_att1` IS NULL) OR (`cl_sett_att1` = ?)) AND ((? = 1 AND `cl_sett_att2` IS NULL) OR (`cl_sett_att2` = ?)) AND ((? = 1 AND `cl_categco` IS NULL) OR (`cl_categco` = ?)) AND ((? = 1 AND `cl_ling` IS NULL) OR (`cl_ling` = ?)) AND ((? = 1 AND `cl_filiale` IS NULL) OR (`cl_filiale` = ?)) AND ((? = 1 AND `cl_cod_old` IS NULL) OR (`cl_cod_old` = ?)) AND ((? = 1 AND `cl_cod_gruppo` IS NULL) OR (`cl_cod_gruppo` = ?)) AND ((? = 1 AND `cl_vt1` IS NULL) OR (`cl_vt1` = ?)) AND ((? = 1 AND `cl_vt2` IS NULL) OR (`cl_vt2` = ?)) AND ((? = 1 AND `cl_vt3` IS NULL) OR (`cl_vt3` = ?)) AND ((? = 1 AND `cl_vt4` IS NULL) OR (`cl_vt4` = ?)) AND ((? = 1 AND `abc_pa_sol_csolv_ID` IS NULL) OR (`abc_pa_sol_csolv_ID` = ?)) AND ((? = 1 AND `cl_solv_dtupd` IS NULL) OR (`cl_solv_dtupd` = ?)) AND ((? = 1 AND `cldtfineutil` IS NULL) OR (`cldtfineutil` = ?)) AND ((? = 1 AND `cl_fl_decod_anag` IS NULL) OR (`cl_fl_decod_anag` = ?)) AND ((? = 1 AND `clindirec` IS NULL) OR (`clindirec` = ?)) AND ((? = 1 AND `cllocarec` IS NULL) OR (`cllocarec` = ?)) AND ((? = 1 AND `clcaporec` IS NULL) OR (`clcaporec` = ?)) AND ((? = 1 AND `clprovrec` IS NULL) OR (`clprovrec` = ?)) AND ((? = 1 AND `clnfaxrec` IS NULL) OR (`clnfaxrec` = ?)) AND ((? = 1 AND `cltelerec` IS NULL) OR (`cltelerec` = ?)) AND ((? = 1 AND `clprcinps` IS NULL) OR (`clprcinps` = ?)) AND ((? = 1 AND `clsuffreplica` IS NULL) OR (`clsuffreplica` = ?)) AND ((? = 1 AND `cldtins` IS NULL) OR (`cldtins` = ?)) AND ((? = 1 AND `cldtvalidini` IS NULL) OR (`cldtvalidini` = ?)) AND ((? = 1 AND `clcdaccisa` IS NULL) OR (`clcdaccisa` = ?)) AND ((? = 1 AND `clnicciaa` IS NULL) OR (`clnicciaa` = ?)) AND ((? = 1 AND `clnregimp` IS NULL) OR (`clnregimp` = ?)) AND ((? = 1 AND `clcod_estero` IS NULL) OR (`clcod_estero` = ?)) AND ((? = 1 AND `clemail` IS NULL) OR (`clemail` = ?)) AND ((? = 1 AND `clwww` IS NULL) OR (`clwww` = ?)) AND ((? = 1 AND `clctrib` IS NULL) OR (`clctrib` = ?)) AND ((? = 1 AND `clCodCausRit` IS NULL) OR (`clCodCausRit` = ?)) AND ((? = 1 AND `clQuadro` IS NULL) OR (`clQuadro` = ?)) AND ((? = 1 AND `cl_destStampe` IS NULL) OR (`cl_destStampe` = ?)) AND ((? = 1 AND `clragd_n` IS NULL) OR (`clragd_n` = ?)) AND ((? = 1 AND `clindi_n` IS NULL) OR (`clindi_n` = ?)) AND ((? = 1 AND `clloca_n` IS NULL) OR (`clloca_n` = ?)) AND ((? = 1 AND `clindidomfisc_n` IS NULL) OR (`clindidomfisc_n` = ?)) AND ((? = 1 AND `cllocadomfisc_n` IS NULL) OR (`cllocadomfisc_n` = ?)) AND ((? = 1 AND `clindirec_n` IS NULL) OR (`clindirec_n` = ?)) AND ((? = 1 AND `cllocarec_n` IS NULL) OR (`cllocarec_n` = ?))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_CaricaAnagCliSwing + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/project/XPS_data/DS_import.xss b/XPS_data/DS_import.xss similarity index 98% rename from project/XPS_data/DS_import.xss rename to XPS_data/DS_import.xss index ae19ba5..79872c4 100644 --- a/project/XPS_data/DS_import.xss +++ b/XPS_data/DS_import.xss @@ -1,13 +1,13 @@ - - - - - - - - + + + + + + + + \ No newline at end of file diff --git a/project/XPS_data/DS_utility.Designer.cs b/XPS_data/DS_utility.Designer.cs similarity index 98% rename from project/XPS_data/DS_utility.Designer.cs rename to XPS_data/DS_utility.Designer.cs index cc6f224..bf888ed 100644 --- a/project/XPS_data/DS_utility.Designer.cs +++ b/XPS_data/DS_utility.Designer.cs @@ -1,8170 +1,8170 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.17929 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -#pragma warning disable 1591 - -namespace XPS_data { - - - /// - ///Represents a strongly typed in-memory cache of data. - /// - [global::System.Serializable()] - [global::System.ComponentModel.DesignerCategoryAttribute("code")] - [global::System.ComponentModel.ToolboxItem(true)] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] - [global::System.Xml.Serialization.XmlRootAttribute("DS_utility")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] - public partial class DS_utility : global::System.Data.DataSet { - - private v_selUtentiAllDataTable tablev_selUtentiAll; - - private UTENTEDataTable tableUTENTE; - - private v_selUtentiShortADDataTable tablev_selUtentiShortAD; - - private v_selFiltriDataTable tablev_selFiltri; - - private v_selTipoEventoDataTable tablev_selTipoEvento; - - private v_dateEsecuzioneDataTable tablev_dateEsecuzione; - - private v_selStatiDataTable tablev_selStati; - - private v_selClientiDataTable tablev_selClienti; - - private v_selTipoMappaDataTable tablev_selTipoMappa; - - private v_selAnagLavDataTable tablev_selAnagLav; - - private v_selSetObjDataTable tablev_selSetObj; - - private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public DS_utility() { - this.BeginInit(); - this.InitClass(); - global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); - base.Tables.CollectionChanged += schemaChangedHandler; - base.Relations.CollectionChanged += schemaChangedHandler; - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected DS_utility(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context, false) { - if ((this.IsBinarySerialized(info, context) == true)) { - this.InitVars(false); - global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); - this.Tables.CollectionChanged += schemaChangedHandler1; - this.Relations.CollectionChanged += schemaChangedHandler1; - return; - } - string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); - if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { - global::System.Data.DataSet ds = new global::System.Data.DataSet(); - ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); - if ((ds.Tables["v_selUtentiAll"] != null)) { - base.Tables.Add(new v_selUtentiAllDataTable(ds.Tables["v_selUtentiAll"])); - } - if ((ds.Tables["UTENTE"] != null)) { - base.Tables.Add(new UTENTEDataTable(ds.Tables["UTENTE"])); - } - if ((ds.Tables["v_selUtentiShortAD"] != null)) { - base.Tables.Add(new v_selUtentiShortADDataTable(ds.Tables["v_selUtentiShortAD"])); - } - if ((ds.Tables["v_selFiltri"] != null)) { - base.Tables.Add(new v_selFiltriDataTable(ds.Tables["v_selFiltri"])); - } - if ((ds.Tables["v_selTipoEvento"] != null)) { - base.Tables.Add(new v_selTipoEventoDataTable(ds.Tables["v_selTipoEvento"])); - } - if ((ds.Tables["v_dateEsecuzione"] != null)) { - base.Tables.Add(new v_dateEsecuzioneDataTable(ds.Tables["v_dateEsecuzione"])); - } - if ((ds.Tables["v_selStati"] != null)) { - base.Tables.Add(new v_selStatiDataTable(ds.Tables["v_selStati"])); - } - if ((ds.Tables["v_selClienti"] != null)) { - base.Tables.Add(new v_selClientiDataTable(ds.Tables["v_selClienti"])); - } - if ((ds.Tables["v_selTipoMappa"] != null)) { - base.Tables.Add(new v_selTipoMappaDataTable(ds.Tables["v_selTipoMappa"])); - } - if ((ds.Tables["v_selAnagLav"] != null)) { - base.Tables.Add(new v_selAnagLavDataTable(ds.Tables["v_selAnagLav"])); - } - if ((ds.Tables["v_selSetObj"] != null)) { - base.Tables.Add(new v_selSetObjDataTable(ds.Tables["v_selSetObj"])); - } - this.DataSetName = ds.DataSetName; - this.Prefix = ds.Prefix; - this.Namespace = ds.Namespace; - this.Locale = ds.Locale; - this.CaseSensitive = ds.CaseSensitive; - this.EnforceConstraints = ds.EnforceConstraints; - this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); - this.InitVars(); - } - else { - this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); - } - this.GetSerializationData(info, context); - global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); - base.Tables.CollectionChanged += schemaChangedHandler; - this.Relations.CollectionChanged += schemaChangedHandler; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public v_selUtentiAllDataTable v_selUtentiAll { - get { - return this.tablev_selUtentiAll; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public UTENTEDataTable UTENTE { - get { - return this.tableUTENTE; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public v_selUtentiShortADDataTable v_selUtentiShortAD { - get { - return this.tablev_selUtentiShortAD; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public v_selFiltriDataTable v_selFiltri { - get { - return this.tablev_selFiltri; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public v_selTipoEventoDataTable v_selTipoEvento { - get { - return this.tablev_selTipoEvento; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public v_dateEsecuzioneDataTable v_dateEsecuzione { - get { - return this.tablev_dateEsecuzione; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public v_selStatiDataTable v_selStati { - get { - return this.tablev_selStati; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public v_selClientiDataTable v_selClienti { - get { - return this.tablev_selClienti; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public v_selTipoMappaDataTable v_selTipoMappa { - get { - return this.tablev_selTipoMappa; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public v_selAnagLavDataTable v_selAnagLav { - get { - return this.tablev_selAnagLav; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public v_selSetObjDataTable v_selSetObj { - get { - return this.tablev_selSetObj; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.BrowsableAttribute(true)] - [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] - public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { - get { - return this._schemaSerializationMode; - } - set { - this._schemaSerializationMode = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public new global::System.Data.DataTableCollection Tables { - get { - return base.Tables; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public new global::System.Data.DataRelationCollection Relations { - get { - return base.Relations; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void InitializeDerivedDataSet() { - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataSet Clone() { - DS_utility cln = ((DS_utility)(base.Clone())); - cln.InitVars(); - cln.SchemaSerializationMode = this.SchemaSerializationMode; - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override bool ShouldSerializeTables() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override bool ShouldSerializeRelations() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { - if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { - this.Reset(); - global::System.Data.DataSet ds = new global::System.Data.DataSet(); - ds.ReadXml(reader); - if ((ds.Tables["v_selUtentiAll"] != null)) { - base.Tables.Add(new v_selUtentiAllDataTable(ds.Tables["v_selUtentiAll"])); - } - if ((ds.Tables["UTENTE"] != null)) { - base.Tables.Add(new UTENTEDataTable(ds.Tables["UTENTE"])); - } - if ((ds.Tables["v_selUtentiShortAD"] != null)) { - base.Tables.Add(new v_selUtentiShortADDataTable(ds.Tables["v_selUtentiShortAD"])); - } - if ((ds.Tables["v_selFiltri"] != null)) { - base.Tables.Add(new v_selFiltriDataTable(ds.Tables["v_selFiltri"])); - } - if ((ds.Tables["v_selTipoEvento"] != null)) { - base.Tables.Add(new v_selTipoEventoDataTable(ds.Tables["v_selTipoEvento"])); - } - if ((ds.Tables["v_dateEsecuzione"] != null)) { - base.Tables.Add(new v_dateEsecuzioneDataTable(ds.Tables["v_dateEsecuzione"])); - } - if ((ds.Tables["v_selStati"] != null)) { - base.Tables.Add(new v_selStatiDataTable(ds.Tables["v_selStati"])); - } - if ((ds.Tables["v_selClienti"] != null)) { - base.Tables.Add(new v_selClientiDataTable(ds.Tables["v_selClienti"])); - } - if ((ds.Tables["v_selTipoMappa"] != null)) { - base.Tables.Add(new v_selTipoMappaDataTable(ds.Tables["v_selTipoMappa"])); - } - if ((ds.Tables["v_selAnagLav"] != null)) { - base.Tables.Add(new v_selAnagLavDataTable(ds.Tables["v_selAnagLav"])); - } - if ((ds.Tables["v_selSetObj"] != null)) { - base.Tables.Add(new v_selSetObjDataTable(ds.Tables["v_selSetObj"])); - } - this.DataSetName = ds.DataSetName; - this.Prefix = ds.Prefix; - this.Namespace = ds.Namespace; - this.Locale = ds.Locale; - this.CaseSensitive = ds.CaseSensitive; - this.EnforceConstraints = ds.EnforceConstraints; - this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); - this.InitVars(); - } - else { - this.ReadXml(reader); - this.InitVars(); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { - global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); - this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); - stream.Position = 0; - return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.InitVars(true); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars(bool initTable) { - this.tablev_selUtentiAll = ((v_selUtentiAllDataTable)(base.Tables["v_selUtentiAll"])); - if ((initTable == true)) { - if ((this.tablev_selUtentiAll != null)) { - this.tablev_selUtentiAll.InitVars(); - } - } - this.tableUTENTE = ((UTENTEDataTable)(base.Tables["UTENTE"])); - if ((initTable == true)) { - if ((this.tableUTENTE != null)) { - this.tableUTENTE.InitVars(); - } - } - this.tablev_selUtentiShortAD = ((v_selUtentiShortADDataTable)(base.Tables["v_selUtentiShortAD"])); - if ((initTable == true)) { - if ((this.tablev_selUtentiShortAD != null)) { - this.tablev_selUtentiShortAD.InitVars(); - } - } - this.tablev_selFiltri = ((v_selFiltriDataTable)(base.Tables["v_selFiltri"])); - if ((initTable == true)) { - if ((this.tablev_selFiltri != null)) { - this.tablev_selFiltri.InitVars(); - } - } - this.tablev_selTipoEvento = ((v_selTipoEventoDataTable)(base.Tables["v_selTipoEvento"])); - if ((initTable == true)) { - if ((this.tablev_selTipoEvento != null)) { - this.tablev_selTipoEvento.InitVars(); - } - } - this.tablev_dateEsecuzione = ((v_dateEsecuzioneDataTable)(base.Tables["v_dateEsecuzione"])); - if ((initTable == true)) { - if ((this.tablev_dateEsecuzione != null)) { - this.tablev_dateEsecuzione.InitVars(); - } - } - this.tablev_selStati = ((v_selStatiDataTable)(base.Tables["v_selStati"])); - if ((initTable == true)) { - if ((this.tablev_selStati != null)) { - this.tablev_selStati.InitVars(); - } - } - this.tablev_selClienti = ((v_selClientiDataTable)(base.Tables["v_selClienti"])); - if ((initTable == true)) { - if ((this.tablev_selClienti != null)) { - this.tablev_selClienti.InitVars(); - } - } - this.tablev_selTipoMappa = ((v_selTipoMappaDataTable)(base.Tables["v_selTipoMappa"])); - if ((initTable == true)) { - if ((this.tablev_selTipoMappa != null)) { - this.tablev_selTipoMappa.InitVars(); - } - } - this.tablev_selAnagLav = ((v_selAnagLavDataTable)(base.Tables["v_selAnagLav"])); - if ((initTable == true)) { - if ((this.tablev_selAnagLav != null)) { - this.tablev_selAnagLav.InitVars(); - } - } - this.tablev_selSetObj = ((v_selSetObjDataTable)(base.Tables["v_selSetObj"])); - if ((initTable == true)) { - if ((this.tablev_selSetObj != null)) { - this.tablev_selSetObj.InitVars(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.DataSetName = "DS_utility"; - this.Prefix = ""; - this.Namespace = "http://tempuri.org/DS_utility.xsd"; - this.EnforceConstraints = true; - this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; - this.tablev_selUtentiAll = new v_selUtentiAllDataTable(); - base.Tables.Add(this.tablev_selUtentiAll); - this.tableUTENTE = new UTENTEDataTable(); - base.Tables.Add(this.tableUTENTE); - this.tablev_selUtentiShortAD = new v_selUtentiShortADDataTable(); - base.Tables.Add(this.tablev_selUtentiShortAD); - this.tablev_selFiltri = new v_selFiltriDataTable(); - base.Tables.Add(this.tablev_selFiltri); - this.tablev_selTipoEvento = new v_selTipoEventoDataTable(); - base.Tables.Add(this.tablev_selTipoEvento); - this.tablev_dateEsecuzione = new v_dateEsecuzioneDataTable(); - base.Tables.Add(this.tablev_dateEsecuzione); - this.tablev_selStati = new v_selStatiDataTable(); - base.Tables.Add(this.tablev_selStati); - this.tablev_selClienti = new v_selClientiDataTable(); - base.Tables.Add(this.tablev_selClienti); - this.tablev_selTipoMappa = new v_selTipoMappaDataTable(); - base.Tables.Add(this.tablev_selTipoMappa); - this.tablev_selAnagLav = new v_selAnagLavDataTable(); - base.Tables.Add(this.tablev_selAnagLav); - this.tablev_selSetObj = new v_selSetObjDataTable(); - base.Tables.Add(this.tablev_selSetObj); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializev_selUtentiAll() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeUTENTE() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializev_selUtentiShortAD() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializev_selFiltri() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializev_selTipoEvento() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializev_dateEsecuzione() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializev_selStati() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializev_selClienti() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializev_selTipoMappa() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializev_selAnagLav() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializev_selSetObj() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { - if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { - this.InitVars(); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - DS_utility ds = new DS_utility(); - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); - any.Namespace = ds.Namespace; - sequence.Items.Add(any); - 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; - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void v_selUtentiAllRowChangeEventHandler(object sender, v_selUtentiAllRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void UTENTERowChangeEventHandler(object sender, UTENTERowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void v_selUtentiShortADRowChangeEventHandler(object sender, v_selUtentiShortADRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void v_selFiltriRowChangeEventHandler(object sender, v_selFiltriRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void v_selTipoEventoRowChangeEventHandler(object sender, v_selTipoEventoRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void v_dateEsecuzioneRowChangeEventHandler(object sender, v_dateEsecuzioneRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void v_selStatiRowChangeEventHandler(object sender, v_selStatiRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void v_selClientiRowChangeEventHandler(object sender, v_selClientiRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void v_selTipoMappaRowChangeEventHandler(object sender, v_selTipoMappaRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void v_selAnagLavRowChangeEventHandler(object sender, v_selAnagLavRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void v_selSetObjRowChangeEventHandler(object sender, v_selSetObjRowChangeEvent e); - - /// - ///Represents the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class v_selUtentiAllDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnvalue; - - private global::System.Data.DataColumn columnlabel; - - private global::System.Data.DataColumn columnCOD_CDC; - - private global::System.Data.DataColumn columnATTIVO; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selUtentiAllDataTable() { - this.TableName = "v_selUtentiAll"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selUtentiAllDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected v_selUtentiAllDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn valueColumn { - get { - return this.columnvalue; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn labelColumn { - get { - return this.columnlabel; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn COD_CDCColumn { - get { - return this.columnCOD_CDC; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ATTIVOColumn { - get { - return this.columnATTIVO; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selUtentiAllRow this[int index] { - get { - return ((v_selUtentiAllRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selUtentiAllRowChangeEventHandler v_selUtentiAllRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selUtentiAllRowChangeEventHandler v_selUtentiAllRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selUtentiAllRowChangeEventHandler v_selUtentiAllRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selUtentiAllRowChangeEventHandler v_selUtentiAllRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addv_selUtentiAllRow(v_selUtentiAllRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selUtentiAllRow Addv_selUtentiAllRow(string value, string label, string COD_CDC, string ATTIVO) { - v_selUtentiAllRow rowv_selUtentiAllRow = ((v_selUtentiAllRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - value, - label, - COD_CDC, - ATTIVO}; - rowv_selUtentiAllRow.ItemArray = columnValuesArray; - this.Rows.Add(rowv_selUtentiAllRow); - return rowv_selUtentiAllRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selUtentiAllRow FindByvalue(string value) { - return ((v_selUtentiAllRow)(this.Rows.Find(new object[] { - value}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - v_selUtentiAllDataTable cln = ((v_selUtentiAllDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new v_selUtentiAllDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnvalue = base.Columns["value"]; - this.columnlabel = base.Columns["label"]; - this.columnCOD_CDC = base.Columns["COD_CDC"]; - this.columnATTIVO = base.Columns["ATTIVO"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnvalue); - this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnlabel); - this.columnCOD_CDC = new global::System.Data.DataColumn("COD_CDC", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCOD_CDC); - this.columnATTIVO = new global::System.Data.DataColumn("ATTIVO", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnATTIVO); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnvalue}, true)); - this.columnvalue.AllowDBNull = false; - this.columnvalue.Unique = true; - this.columnvalue.MaxLength = 50; - this.columnlabel.ReadOnly = true; - this.columnlabel.MaxLength = 232; - this.columnCOD_CDC.MaxLength = 10; - this.columnATTIVO.MaxLength = 1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selUtentiAllRow Newv_selUtentiAllRow() { - return ((v_selUtentiAllRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new v_selUtentiAllRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(v_selUtentiAllRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.v_selUtentiAllRowChanged != null)) { - this.v_selUtentiAllRowChanged(this, new v_selUtentiAllRowChangeEvent(((v_selUtentiAllRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.v_selUtentiAllRowChanging != null)) { - this.v_selUtentiAllRowChanging(this, new v_selUtentiAllRowChangeEvent(((v_selUtentiAllRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.v_selUtentiAllRowDeleted != null)) { - this.v_selUtentiAllRowDeleted(this, new v_selUtentiAllRowChangeEvent(((v_selUtentiAllRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.v_selUtentiAllRowDeleting != null)) { - this.v_selUtentiAllRowDeleting(this, new v_selUtentiAllRowChangeEvent(((v_selUtentiAllRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removev_selUtentiAllRow(v_selUtentiAllRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_utility ds = new DS_utility(); - 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 = "v_selUtentiAllDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class UTENTEDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnDOMINIO; - - private global::System.Data.DataColumn columnUSER_NAME; - - private global::System.Data.DataColumn columnCOGNOME; - - private global::System.Data.DataColumn columnNOME; - - private global::System.Data.DataColumn columnCOD_SOCIETA; - - private global::System.Data.DataColumn columnMATRICOLA; - - private global::System.Data.DataColumn columnCOD_CDC; - - private global::System.Data.DataColumn columnEMAIL; - - private global::System.Data.DataColumn columnSIGLA; - - private global::System.Data.DataColumn columnCOD_LINGUA; - - private global::System.Data.DataColumn columnATTIVO; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UTENTEDataTable() { - this.TableName = "UTENTE"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal UTENTEDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected UTENTEDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DOMINIOColumn { - get { - return this.columnDOMINIO; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn USER_NAMEColumn { - get { - return this.columnUSER_NAME; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn COGNOMEColumn { - get { - return this.columnCOGNOME; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn NOMEColumn { - get { - return this.columnNOME; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn COD_SOCIETAColumn { - get { - return this.columnCOD_SOCIETA; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn MATRICOLAColumn { - get { - return this.columnMATRICOLA; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn COD_CDCColumn { - get { - return this.columnCOD_CDC; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn EMAILColumn { - get { - return this.columnEMAIL; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn SIGLAColumn { - get { - return this.columnSIGLA; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn COD_LINGUAColumn { - get { - return this.columnCOD_LINGUA; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ATTIVOColumn { - get { - return this.columnATTIVO; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UTENTERow this[int index] { - get { - return ((UTENTERow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event UTENTERowChangeEventHandler UTENTERowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event UTENTERowChangeEventHandler UTENTERowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event UTENTERowChangeEventHandler UTENTERowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event UTENTERowChangeEventHandler UTENTERowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddUTENTERow(UTENTERow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UTENTERow AddUTENTERow(string DOMINIO, string USER_NAME, string COGNOME, string NOME, string COD_SOCIETA, string MATRICOLA, string COD_CDC, string EMAIL, string SIGLA, string COD_LINGUA, string ATTIVO) { - UTENTERow rowUTENTERow = ((UTENTERow)(this.NewRow())); - object[] columnValuesArray = new object[] { - DOMINIO, - USER_NAME, - COGNOME, - NOME, - COD_SOCIETA, - MATRICOLA, - COD_CDC, - EMAIL, - SIGLA, - COD_LINGUA, - ATTIVO}; - rowUTENTERow.ItemArray = columnValuesArray; - this.Rows.Add(rowUTENTERow); - return rowUTENTERow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UTENTERow FindByUSER_NAME(string USER_NAME) { - return ((UTENTERow)(this.Rows.Find(new object[] { - USER_NAME}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - UTENTEDataTable cln = ((UTENTEDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new UTENTEDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnDOMINIO = base.Columns["DOMINIO"]; - this.columnUSER_NAME = base.Columns["USER_NAME"]; - this.columnCOGNOME = base.Columns["COGNOME"]; - this.columnNOME = base.Columns["NOME"]; - this.columnCOD_SOCIETA = base.Columns["COD_SOCIETA"]; - this.columnMATRICOLA = base.Columns["MATRICOLA"]; - this.columnCOD_CDC = base.Columns["COD_CDC"]; - this.columnEMAIL = base.Columns["EMAIL"]; - this.columnSIGLA = base.Columns["SIGLA"]; - this.columnCOD_LINGUA = base.Columns["COD_LINGUA"]; - this.columnATTIVO = base.Columns["ATTIVO"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnDOMINIO = new global::System.Data.DataColumn("DOMINIO", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnDOMINIO); - this.columnUSER_NAME = new global::System.Data.DataColumn("USER_NAME", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnUSER_NAME); - this.columnCOGNOME = new global::System.Data.DataColumn("COGNOME", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCOGNOME); - this.columnNOME = new global::System.Data.DataColumn("NOME", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnNOME); - this.columnCOD_SOCIETA = new global::System.Data.DataColumn("COD_SOCIETA", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCOD_SOCIETA); - this.columnMATRICOLA = new global::System.Data.DataColumn("MATRICOLA", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnMATRICOLA); - this.columnCOD_CDC = new global::System.Data.DataColumn("COD_CDC", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCOD_CDC); - this.columnEMAIL = new global::System.Data.DataColumn("EMAIL", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnEMAIL); - this.columnSIGLA = new global::System.Data.DataColumn("SIGLA", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnSIGLA); - this.columnCOD_LINGUA = new global::System.Data.DataColumn("COD_LINGUA", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCOD_LINGUA); - this.columnATTIVO = new global::System.Data.DataColumn("ATTIVO", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnATTIVO); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnUSER_NAME}, true)); - this.columnDOMINIO.MaxLength = 30; - this.columnUSER_NAME.AllowDBNull = false; - this.columnUSER_NAME.Unique = true; - this.columnUSER_NAME.MaxLength = 50; - this.columnCOGNOME.MaxLength = 100; - this.columnNOME.MaxLength = 100; - this.columnCOD_SOCIETA.MaxLength = 5; - this.columnMATRICOLA.MaxLength = 5; - this.columnCOD_CDC.MaxLength = 10; - this.columnEMAIL.MaxLength = 100; - this.columnSIGLA.MaxLength = 5; - this.columnCOD_LINGUA.MaxLength = 3; - this.columnATTIVO.MaxLength = 1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UTENTERow NewUTENTERow() { - return ((UTENTERow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new UTENTERow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(UTENTERow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.UTENTERowChanged != null)) { - this.UTENTERowChanged(this, new UTENTERowChangeEvent(((UTENTERow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.UTENTERowChanging != null)) { - this.UTENTERowChanging(this, new UTENTERowChangeEvent(((UTENTERow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.UTENTERowDeleted != null)) { - this.UTENTERowDeleted(this, new UTENTERowChangeEvent(((UTENTERow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.UTENTERowDeleting != null)) { - this.UTENTERowDeleting(this, new UTENTERowChangeEvent(((UTENTERow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveUTENTERow(UTENTERow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_utility ds = new DS_utility(); - 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 = "UTENTEDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class v_selUtentiShortADDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnvalue; - - private global::System.Data.DataColumn columnlabel; - - private global::System.Data.DataColumn columnCOD_CDC; - - private global::System.Data.DataColumn columnATTIVO; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selUtentiShortADDataTable() { - this.TableName = "v_selUtentiShortAD"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selUtentiShortADDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected v_selUtentiShortADDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn valueColumn { - get { - return this.columnvalue; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn labelColumn { - get { - return this.columnlabel; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn COD_CDCColumn { - get { - return this.columnCOD_CDC; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ATTIVOColumn { - get { - return this.columnATTIVO; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selUtentiShortADRow this[int index] { - get { - return ((v_selUtentiShortADRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selUtentiShortADRowChangeEventHandler v_selUtentiShortADRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selUtentiShortADRowChangeEventHandler v_selUtentiShortADRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selUtentiShortADRowChangeEventHandler v_selUtentiShortADRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selUtentiShortADRowChangeEventHandler v_selUtentiShortADRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addv_selUtentiShortADRow(v_selUtentiShortADRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selUtentiShortADRow Addv_selUtentiShortADRow(string value, string label, string COD_CDC, string ATTIVO) { - v_selUtentiShortADRow rowv_selUtentiShortADRow = ((v_selUtentiShortADRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - value, - label, - COD_CDC, - ATTIVO}; - rowv_selUtentiShortADRow.ItemArray = columnValuesArray; - this.Rows.Add(rowv_selUtentiShortADRow); - return rowv_selUtentiShortADRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - v_selUtentiShortADDataTable cln = ((v_selUtentiShortADDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new v_selUtentiShortADDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnvalue = base.Columns["value"]; - this.columnlabel = base.Columns["label"]; - this.columnCOD_CDC = base.Columns["COD_CDC"]; - this.columnATTIVO = base.Columns["ATTIVO"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnvalue); - this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnlabel); - this.columnCOD_CDC = new global::System.Data.DataColumn("COD_CDC", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCOD_CDC); - this.columnATTIVO = new global::System.Data.DataColumn("ATTIVO", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnATTIVO); - this.columnvalue.ReadOnly = true; - this.columnvalue.MaxLength = 81; - this.columnlabel.ReadOnly = true; - this.columnlabel.MaxLength = 201; - this.columnCOD_CDC.MaxLength = 10; - this.columnATTIVO.MaxLength = 1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selUtentiShortADRow Newv_selUtentiShortADRow() { - return ((v_selUtentiShortADRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new v_selUtentiShortADRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(v_selUtentiShortADRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.v_selUtentiShortADRowChanged != null)) { - this.v_selUtentiShortADRowChanged(this, new v_selUtentiShortADRowChangeEvent(((v_selUtentiShortADRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.v_selUtentiShortADRowChanging != null)) { - this.v_selUtentiShortADRowChanging(this, new v_selUtentiShortADRowChangeEvent(((v_selUtentiShortADRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.v_selUtentiShortADRowDeleted != null)) { - this.v_selUtentiShortADRowDeleted(this, new v_selUtentiShortADRowChangeEvent(((v_selUtentiShortADRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.v_selUtentiShortADRowDeleting != null)) { - this.v_selUtentiShortADRowDeleting(this, new v_selUtentiShortADRowChangeEvent(((v_selUtentiShortADRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removev_selUtentiShortADRow(v_selUtentiShortADRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_utility ds = new DS_utility(); - 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 = "v_selUtentiShortADDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class v_selFiltriDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnvalue; - - private global::System.Data.DataColumn columnlabel; - - private global::System.Data.DataColumn columnconditio; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selFiltriDataTable() { - this.TableName = "v_selFiltri"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selFiltriDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected v_selFiltriDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn valueColumn { - get { - return this.columnvalue; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn labelColumn { - get { - return this.columnlabel; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn conditioColumn { - get { - return this.columnconditio; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selFiltriRow this[int index] { - get { - return ((v_selFiltriRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selFiltriRowChangeEventHandler v_selFiltriRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selFiltriRowChangeEventHandler v_selFiltriRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selFiltriRowChangeEventHandler v_selFiltriRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selFiltriRowChangeEventHandler v_selFiltriRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addv_selFiltriRow(v_selFiltriRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selFiltriRow Addv_selFiltriRow(string value, string label, string conditio) { - v_selFiltriRow rowv_selFiltriRow = ((v_selFiltriRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - value, - label, - conditio}; - rowv_selFiltriRow.ItemArray = columnValuesArray; - this.Rows.Add(rowv_selFiltriRow); - return rowv_selFiltriRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - v_selFiltriDataTable cln = ((v_selFiltriDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new v_selFiltriDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnvalue = base.Columns["value"]; - this.columnlabel = base.Columns["label"]; - this.columnconditio = base.Columns["conditio"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnvalue); - this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnlabel); - this.columnconditio = new global::System.Data.DataColumn("conditio", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnconditio); - this.columnvalue.AllowDBNull = false; - this.columnvalue.MaxLength = 50; - this.columnlabel.MaxLength = 50; - this.columnconditio.AllowDBNull = false; - this.columnconditio.MaxLength = 31; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selFiltriRow Newv_selFiltriRow() { - return ((v_selFiltriRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new v_selFiltriRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(v_selFiltriRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.v_selFiltriRowChanged != null)) { - this.v_selFiltriRowChanged(this, new v_selFiltriRowChangeEvent(((v_selFiltriRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.v_selFiltriRowChanging != null)) { - this.v_selFiltriRowChanging(this, new v_selFiltriRowChangeEvent(((v_selFiltriRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.v_selFiltriRowDeleted != null)) { - this.v_selFiltriRowDeleted(this, new v_selFiltriRowChangeEvent(((v_selFiltriRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.v_selFiltriRowDeleting != null)) { - this.v_selFiltriRowDeleting(this, new v_selFiltriRowChangeEvent(((v_selFiltriRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removev_selFiltriRow(v_selFiltriRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_utility ds = new DS_utility(); - 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 = "v_selFiltriDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class v_selTipoEventoDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnvalue; - - private global::System.Data.DataColumn columnlabel; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selTipoEventoDataTable() { - this.TableName = "v_selTipoEvento"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selTipoEventoDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected v_selTipoEventoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn valueColumn { - get { - return this.columnvalue; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn labelColumn { - get { - return this.columnlabel; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selTipoEventoRow this[int index] { - get { - return ((v_selTipoEventoRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selTipoEventoRowChangeEventHandler v_selTipoEventoRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selTipoEventoRowChangeEventHandler v_selTipoEventoRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selTipoEventoRowChangeEventHandler v_selTipoEventoRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selTipoEventoRowChangeEventHandler v_selTipoEventoRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addv_selTipoEventoRow(v_selTipoEventoRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selTipoEventoRow Addv_selTipoEventoRow(string value, string label) { - v_selTipoEventoRow rowv_selTipoEventoRow = ((v_selTipoEventoRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - value, - label}; - rowv_selTipoEventoRow.ItemArray = columnValuesArray; - this.Rows.Add(rowv_selTipoEventoRow); - return rowv_selTipoEventoRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selTipoEventoRow FindByvalue(string value) { - return ((v_selTipoEventoRow)(this.Rows.Find(new object[] { - value}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - v_selTipoEventoDataTable cln = ((v_selTipoEventoDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new v_selTipoEventoDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnvalue = base.Columns["value"]; - this.columnlabel = base.Columns["label"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnvalue); - this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnlabel); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnvalue}, true)); - this.columnvalue.AllowDBNull = false; - this.columnvalue.Unique = true; - this.columnvalue.MaxLength = 50; - this.columnlabel.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selTipoEventoRow Newv_selTipoEventoRow() { - return ((v_selTipoEventoRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new v_selTipoEventoRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(v_selTipoEventoRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.v_selTipoEventoRowChanged != null)) { - this.v_selTipoEventoRowChanged(this, new v_selTipoEventoRowChangeEvent(((v_selTipoEventoRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.v_selTipoEventoRowChanging != null)) { - this.v_selTipoEventoRowChanging(this, new v_selTipoEventoRowChangeEvent(((v_selTipoEventoRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.v_selTipoEventoRowDeleted != null)) { - this.v_selTipoEventoRowDeleted(this, new v_selTipoEventoRowChangeEvent(((v_selTipoEventoRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.v_selTipoEventoRowDeleting != null)) { - this.v_selTipoEventoRowDeleting(this, new v_selTipoEventoRowChangeEvent(((v_selTipoEventoRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removev_selTipoEventoRow(v_selTipoEventoRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_utility ds = new DS_utility(); - 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 = "v_selTipoEventoDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class v_dateEsecuzioneDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnData; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_dateEsecuzioneDataTable() { - this.TableName = "v_dateEsecuzione"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_dateEsecuzioneDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected v_dateEsecuzioneDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn DataColumn { - get { - return this.columnData; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_dateEsecuzioneRow this[int index] { - get { - return ((v_dateEsecuzioneRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_dateEsecuzioneRowChangeEventHandler v_dateEsecuzioneRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_dateEsecuzioneRowChangeEventHandler v_dateEsecuzioneRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_dateEsecuzioneRowChangeEventHandler v_dateEsecuzioneRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_dateEsecuzioneRowChangeEventHandler v_dateEsecuzioneRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addv_dateEsecuzioneRow(v_dateEsecuzioneRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_dateEsecuzioneRow Addv_dateEsecuzioneRow(System.DateTime Data) { - v_dateEsecuzioneRow rowv_dateEsecuzioneRow = ((v_dateEsecuzioneRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - Data}; - rowv_dateEsecuzioneRow.ItemArray = columnValuesArray; - this.Rows.Add(rowv_dateEsecuzioneRow); - return rowv_dateEsecuzioneRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - v_dateEsecuzioneDataTable cln = ((v_dateEsecuzioneDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new v_dateEsecuzioneDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnData = base.Columns["Data"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnData = new global::System.Data.DataColumn("Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnData); - this.columnData.ReadOnly = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_dateEsecuzioneRow Newv_dateEsecuzioneRow() { - return ((v_dateEsecuzioneRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new v_dateEsecuzioneRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(v_dateEsecuzioneRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.v_dateEsecuzioneRowChanged != null)) { - this.v_dateEsecuzioneRowChanged(this, new v_dateEsecuzioneRowChangeEvent(((v_dateEsecuzioneRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.v_dateEsecuzioneRowChanging != null)) { - this.v_dateEsecuzioneRowChanging(this, new v_dateEsecuzioneRowChangeEvent(((v_dateEsecuzioneRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.v_dateEsecuzioneRowDeleted != null)) { - this.v_dateEsecuzioneRowDeleted(this, new v_dateEsecuzioneRowChangeEvent(((v_dateEsecuzioneRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.v_dateEsecuzioneRowDeleting != null)) { - this.v_dateEsecuzioneRowDeleting(this, new v_dateEsecuzioneRowChangeEvent(((v_dateEsecuzioneRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removev_dateEsecuzioneRow(v_dateEsecuzioneRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_utility ds = new DS_utility(); - 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 = "v_dateEsecuzioneDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class v_selStatiDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnvalue; - - private global::System.Data.DataColumn columnlabel; - - private global::System.Data.DataColumn columnconditio; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selStatiDataTable() { - this.TableName = "v_selStati"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selStatiDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected v_selStatiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn valueColumn { - get { - return this.columnvalue; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn labelColumn { - get { - return this.columnlabel; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn conditioColumn { - get { - return this.columnconditio; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selStatiRow this[int index] { - get { - return ((v_selStatiRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selStatiRowChangeEventHandler v_selStatiRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selStatiRowChangeEventHandler v_selStatiRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selStatiRowChangeEventHandler v_selStatiRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selStatiRowChangeEventHandler v_selStatiRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addv_selStatiRow(v_selStatiRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selStatiRow Addv_selStatiRow(string value, string label, string conditio) { - v_selStatiRow rowv_selStatiRow = ((v_selStatiRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - value, - label, - conditio}; - rowv_selStatiRow.ItemArray = columnValuesArray; - this.Rows.Add(rowv_selStatiRow); - return rowv_selStatiRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selStatiRow FindByvalue(string value) { - return ((v_selStatiRow)(this.Rows.Find(new object[] { - value}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - v_selStatiDataTable cln = ((v_selStatiDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new v_selStatiDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnvalue = base.Columns["value"]; - this.columnlabel = base.Columns["label"]; - this.columnconditio = base.Columns["conditio"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnvalue); - this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnlabel); - this.columnconditio = new global::System.Data.DataColumn("conditio", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnconditio); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnvalue}, true)); - this.columnvalue.AllowDBNull = false; - this.columnvalue.Unique = true; - this.columnvalue.MaxLength = 50; - this.columnlabel.MaxLength = 50; - this.columnconditio.AllowDBNull = false; - this.columnconditio.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selStatiRow Newv_selStatiRow() { - return ((v_selStatiRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new v_selStatiRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(v_selStatiRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.v_selStatiRowChanged != null)) { - this.v_selStatiRowChanged(this, new v_selStatiRowChangeEvent(((v_selStatiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.v_selStatiRowChanging != null)) { - this.v_selStatiRowChanging(this, new v_selStatiRowChangeEvent(((v_selStatiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.v_selStatiRowDeleted != null)) { - this.v_selStatiRowDeleted(this, new v_selStatiRowChangeEvent(((v_selStatiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.v_selStatiRowDeleting != null)) { - this.v_selStatiRowDeleting(this, new v_selStatiRowChangeEvent(((v_selStatiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removev_selStatiRow(v_selStatiRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_utility ds = new DS_utility(); - 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 = "v_selStatiDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class v_selClientiDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnvalue; - - private global::System.Data.DataColumn columnlabel; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selClientiDataTable() { - this.TableName = "v_selClienti"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selClientiDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected v_selClientiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn valueColumn { - get { - return this.columnvalue; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn labelColumn { - get { - return this.columnlabel; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selClientiRow this[int index] { - get { - return ((v_selClientiRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selClientiRowChangeEventHandler v_selClientiRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selClientiRowChangeEventHandler v_selClientiRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selClientiRowChangeEventHandler v_selClientiRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selClientiRowChangeEventHandler v_selClientiRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addv_selClientiRow(v_selClientiRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selClientiRow Addv_selClientiRow(string value, string label) { - v_selClientiRow rowv_selClientiRow = ((v_selClientiRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - value, - label}; - rowv_selClientiRow.ItemArray = columnValuesArray; - this.Rows.Add(rowv_selClientiRow); - return rowv_selClientiRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selClientiRow FindByvalue(string value) { - return ((v_selClientiRow)(this.Rows.Find(new object[] { - value}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - v_selClientiDataTable cln = ((v_selClientiDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new v_selClientiDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnvalue = base.Columns["value"]; - this.columnlabel = base.Columns["label"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnvalue); - this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnlabel); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnvalue}, true)); - this.columnvalue.AllowDBNull = false; - this.columnvalue.Unique = true; - this.columnvalue.MaxLength = 50; - this.columnlabel.MaxLength = 500; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selClientiRow Newv_selClientiRow() { - return ((v_selClientiRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new v_selClientiRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(v_selClientiRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.v_selClientiRowChanged != null)) { - this.v_selClientiRowChanged(this, new v_selClientiRowChangeEvent(((v_selClientiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.v_selClientiRowChanging != null)) { - this.v_selClientiRowChanging(this, new v_selClientiRowChangeEvent(((v_selClientiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.v_selClientiRowDeleted != null)) { - this.v_selClientiRowDeleted(this, new v_selClientiRowChangeEvent(((v_selClientiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.v_selClientiRowDeleting != null)) { - this.v_selClientiRowDeleting(this, new v_selClientiRowChangeEvent(((v_selClientiRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removev_selClientiRow(v_selClientiRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_utility ds = new DS_utility(); - 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 = "v_selClientiDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class v_selTipoMappaDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnvalue; - - private global::System.Data.DataColumn columnlabel; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selTipoMappaDataTable() { - this.TableName = "v_selTipoMappa"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selTipoMappaDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected v_selTipoMappaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn valueColumn { - get { - return this.columnvalue; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn labelColumn { - get { - return this.columnlabel; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selTipoMappaRow this[int index] { - get { - return ((v_selTipoMappaRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selTipoMappaRowChangeEventHandler v_selTipoMappaRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selTipoMappaRowChangeEventHandler v_selTipoMappaRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selTipoMappaRowChangeEventHandler v_selTipoMappaRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selTipoMappaRowChangeEventHandler v_selTipoMappaRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addv_selTipoMappaRow(v_selTipoMappaRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selTipoMappaRow Addv_selTipoMappaRow(string value, string label) { - v_selTipoMappaRow rowv_selTipoMappaRow = ((v_selTipoMappaRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - value, - label}; - rowv_selTipoMappaRow.ItemArray = columnValuesArray; - this.Rows.Add(rowv_selTipoMappaRow); - return rowv_selTipoMappaRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selTipoMappaRow FindByvalue(string value) { - return ((v_selTipoMappaRow)(this.Rows.Find(new object[] { - value}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - v_selTipoMappaDataTable cln = ((v_selTipoMappaDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new v_selTipoMappaDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnvalue = base.Columns["value"]; - this.columnlabel = base.Columns["label"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnvalue); - this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnlabel); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnvalue}, true)); - this.columnvalue.AllowDBNull = false; - this.columnvalue.Unique = true; - this.columnvalue.MaxLength = 20; - this.columnlabel.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selTipoMappaRow Newv_selTipoMappaRow() { - return ((v_selTipoMappaRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new v_selTipoMappaRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(v_selTipoMappaRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.v_selTipoMappaRowChanged != null)) { - this.v_selTipoMappaRowChanged(this, new v_selTipoMappaRowChangeEvent(((v_selTipoMappaRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.v_selTipoMappaRowChanging != null)) { - this.v_selTipoMappaRowChanging(this, new v_selTipoMappaRowChangeEvent(((v_selTipoMappaRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.v_selTipoMappaRowDeleted != null)) { - this.v_selTipoMappaRowDeleted(this, new v_selTipoMappaRowChangeEvent(((v_selTipoMappaRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.v_selTipoMappaRowDeleting != null)) { - this.v_selTipoMappaRowDeleting(this, new v_selTipoMappaRowChangeEvent(((v_selTipoMappaRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removev_selTipoMappaRow(v_selTipoMappaRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_utility ds = new DS_utility(); - 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 = "v_selTipoMappaDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class v_selAnagLavDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnvalue; - - private global::System.Data.DataColumn columnlabel; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selAnagLavDataTable() { - this.TableName = "v_selAnagLav"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selAnagLavDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected v_selAnagLavDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn valueColumn { - get { - return this.columnvalue; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn labelColumn { - get { - return this.columnlabel; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selAnagLavRow this[int index] { - get { - return ((v_selAnagLavRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selAnagLavRowChangeEventHandler v_selAnagLavRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selAnagLavRowChangeEventHandler v_selAnagLavRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selAnagLavRowChangeEventHandler v_selAnagLavRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selAnagLavRowChangeEventHandler v_selAnagLavRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addv_selAnagLavRow(v_selAnagLavRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selAnagLavRow Addv_selAnagLavRow(string value, string label) { - v_selAnagLavRow rowv_selAnagLavRow = ((v_selAnagLavRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - value, - label}; - rowv_selAnagLavRow.ItemArray = columnValuesArray; - this.Rows.Add(rowv_selAnagLavRow); - return rowv_selAnagLavRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selAnagLavRow FindByvalue(string value) { - return ((v_selAnagLavRow)(this.Rows.Find(new object[] { - value}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - v_selAnagLavDataTable cln = ((v_selAnagLavDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new v_selAnagLavDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnvalue = base.Columns["value"]; - this.columnlabel = base.Columns["label"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnvalue); - this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnlabel); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnvalue}, true)); - this.columnvalue.AllowDBNull = false; - this.columnvalue.Unique = true; - this.columnvalue.MaxLength = 50; - this.columnlabel.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selAnagLavRow Newv_selAnagLavRow() { - return ((v_selAnagLavRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new v_selAnagLavRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(v_selAnagLavRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.v_selAnagLavRowChanged != null)) { - this.v_selAnagLavRowChanged(this, new v_selAnagLavRowChangeEvent(((v_selAnagLavRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.v_selAnagLavRowChanging != null)) { - this.v_selAnagLavRowChanging(this, new v_selAnagLavRowChangeEvent(((v_selAnagLavRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.v_selAnagLavRowDeleted != null)) { - this.v_selAnagLavRowDeleted(this, new v_selAnagLavRowChangeEvent(((v_selAnagLavRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.v_selAnagLavRowDeleting != null)) { - this.v_selAnagLavRowDeleting(this, new v_selAnagLavRowChangeEvent(((v_selAnagLavRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removev_selAnagLavRow(v_selAnagLavRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_utility ds = new DS_utility(); - 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 = "v_selAnagLavDataTable"; - 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 the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class v_selSetObjDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnvalue; - - private global::System.Data.DataColumn columnlabel; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selSetObjDataTable() { - this.TableName = "v_selSetObj"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selSetObjDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected v_selSetObjDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn valueColumn { - get { - return this.columnvalue; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn labelColumn { - get { - return this.columnlabel; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selSetObjRow this[int index] { - get { - return ((v_selSetObjRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selSetObjRowChangeEventHandler v_selSetObjRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selSetObjRowChangeEventHandler v_selSetObjRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selSetObjRowChangeEventHandler v_selSetObjRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_selSetObjRowChangeEventHandler v_selSetObjRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addv_selSetObjRow(v_selSetObjRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selSetObjRow Addv_selSetObjRow(string value, string label) { - v_selSetObjRow rowv_selSetObjRow = ((v_selSetObjRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - value, - label}; - rowv_selSetObjRow.ItemArray = columnValuesArray; - this.Rows.Add(rowv_selSetObjRow); - return rowv_selSetObjRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selSetObjRow FindByvalue(string value) { - return ((v_selSetObjRow)(this.Rows.Find(new object[] { - value}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - v_selSetObjDataTable cln = ((v_selSetObjDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new v_selSetObjDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnvalue = base.Columns["value"]; - this.columnlabel = base.Columns["label"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnvalue); - this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnlabel); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnvalue}, true)); - this.columnvalue.AllowDBNull = false; - this.columnvalue.Unique = true; - this.columnvalue.MaxLength = 50; - this.columnlabel.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selSetObjRow Newv_selSetObjRow() { - return ((v_selSetObjRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new v_selSetObjRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(v_selSetObjRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.v_selSetObjRowChanged != null)) { - this.v_selSetObjRowChanged(this, new v_selSetObjRowChangeEvent(((v_selSetObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.v_selSetObjRowChanging != null)) { - this.v_selSetObjRowChanging(this, new v_selSetObjRowChangeEvent(((v_selSetObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.v_selSetObjRowDeleted != null)) { - this.v_selSetObjRowDeleted(this, new v_selSetObjRowChangeEvent(((v_selSetObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.v_selSetObjRowDeleting != null)) { - this.v_selSetObjRowDeleting(this, new v_selSetObjRowChangeEvent(((v_selSetObjRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removev_selSetObjRow(v_selSetObjRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - DS_utility ds = new DS_utility(); - 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 = "v_selSetObjDataTable"; - 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. - /// - public partial class v_selUtentiAllRow : global::System.Data.DataRow { - - private v_selUtentiAllDataTable tablev_selUtentiAll; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selUtentiAllRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablev_selUtentiAll = ((v_selUtentiAllDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string value { - get { - return ((string)(this[this.tablev_selUtentiAll.valueColumn])); - } - set { - this[this.tablev_selUtentiAll.valueColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string label { - get { - try { - return ((string)(this[this.tablev_selUtentiAll.labelColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selUtentiAll\' is DBNull.", e); - } - } - set { - this[this.tablev_selUtentiAll.labelColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string COD_CDC { - get { - try { - return ((string)(this[this.tablev_selUtentiAll.COD_CDCColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'COD_CDC\' in table \'v_selUtentiAll\' is DBNull.", e); - } - } - set { - this[this.tablev_selUtentiAll.COD_CDCColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string ATTIVO { - get { - try { - return ((string)(this[this.tablev_selUtentiAll.ATTIVOColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'ATTIVO\' in table \'v_selUtentiAll\' is DBNull.", e); - } - } - set { - this[this.tablev_selUtentiAll.ATTIVOColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IslabelNull() { - return this.IsNull(this.tablev_selUtentiAll.labelColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetlabelNull() { - this[this.tablev_selUtentiAll.labelColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCOD_CDCNull() { - return this.IsNull(this.tablev_selUtentiAll.COD_CDCColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCOD_CDCNull() { - this[this.tablev_selUtentiAll.COD_CDCColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsATTIVONull() { - return this.IsNull(this.tablev_selUtentiAll.ATTIVOColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetATTIVONull() { - this[this.tablev_selUtentiAll.ATTIVOColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class UTENTERow : global::System.Data.DataRow { - - private UTENTEDataTable tableUTENTE; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal UTENTERow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableUTENTE = ((UTENTEDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string DOMINIO { - get { - try { - return ((string)(this[this.tableUTENTE.DOMINIOColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DOMINIO\' in table \'UTENTE\' is DBNull.", e); - } - } - set { - this[this.tableUTENTE.DOMINIOColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string USER_NAME { - get { - return ((string)(this[this.tableUTENTE.USER_NAMEColumn])); - } - set { - this[this.tableUTENTE.USER_NAMEColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string COGNOME { - get { - try { - return ((string)(this[this.tableUTENTE.COGNOMEColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'COGNOME\' in table \'UTENTE\' is DBNull.", e); - } - } - set { - this[this.tableUTENTE.COGNOMEColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string NOME { - get { - try { - return ((string)(this[this.tableUTENTE.NOMEColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'NOME\' in table \'UTENTE\' is DBNull.", e); - } - } - set { - this[this.tableUTENTE.NOMEColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string COD_SOCIETA { - get { - try { - return ((string)(this[this.tableUTENTE.COD_SOCIETAColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'COD_SOCIETA\' in table \'UTENTE\' is DBNull.", e); - } - } - set { - this[this.tableUTENTE.COD_SOCIETAColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string MATRICOLA { - get { - try { - return ((string)(this[this.tableUTENTE.MATRICOLAColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'MATRICOLA\' in table \'UTENTE\' is DBNull.", e); - } - } - set { - this[this.tableUTENTE.MATRICOLAColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string COD_CDC { - get { - try { - return ((string)(this[this.tableUTENTE.COD_CDCColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'COD_CDC\' in table \'UTENTE\' is DBNull.", e); - } - } - set { - this[this.tableUTENTE.COD_CDCColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string EMAIL { - get { - try { - return ((string)(this[this.tableUTENTE.EMAILColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'EMAIL\' in table \'UTENTE\' is DBNull.", e); - } - } - set { - this[this.tableUTENTE.EMAILColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string SIGLA { - get { - try { - return ((string)(this[this.tableUTENTE.SIGLAColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'SIGLA\' in table \'UTENTE\' is DBNull.", e); - } - } - set { - this[this.tableUTENTE.SIGLAColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string COD_LINGUA { - get { - try { - return ((string)(this[this.tableUTENTE.COD_LINGUAColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'COD_LINGUA\' in table \'UTENTE\' is DBNull.", e); - } - } - set { - this[this.tableUTENTE.COD_LINGUAColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string ATTIVO { - get { - try { - return ((string)(this[this.tableUTENTE.ATTIVOColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'ATTIVO\' in table \'UTENTE\' is DBNull.", e); - } - } - set { - this[this.tableUTENTE.ATTIVOColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDOMINIONull() { - return this.IsNull(this.tableUTENTE.DOMINIOColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDOMINIONull() { - this[this.tableUTENTE.DOMINIOColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCOGNOMENull() { - return this.IsNull(this.tableUTENTE.COGNOMEColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCOGNOMENull() { - this[this.tableUTENTE.COGNOMEColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsNOMENull() { - return this.IsNull(this.tableUTENTE.NOMEColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetNOMENull() { - this[this.tableUTENTE.NOMEColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCOD_SOCIETANull() { - return this.IsNull(this.tableUTENTE.COD_SOCIETAColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCOD_SOCIETANull() { - this[this.tableUTENTE.COD_SOCIETAColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsMATRICOLANull() { - return this.IsNull(this.tableUTENTE.MATRICOLAColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetMATRICOLANull() { - this[this.tableUTENTE.MATRICOLAColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCOD_CDCNull() { - return this.IsNull(this.tableUTENTE.COD_CDCColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCOD_CDCNull() { - this[this.tableUTENTE.COD_CDCColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsEMAILNull() { - return this.IsNull(this.tableUTENTE.EMAILColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetEMAILNull() { - this[this.tableUTENTE.EMAILColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsSIGLANull() { - return this.IsNull(this.tableUTENTE.SIGLAColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetSIGLANull() { - this[this.tableUTENTE.SIGLAColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCOD_LINGUANull() { - return this.IsNull(this.tableUTENTE.COD_LINGUAColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCOD_LINGUANull() { - this[this.tableUTENTE.COD_LINGUAColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsATTIVONull() { - return this.IsNull(this.tableUTENTE.ATTIVOColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetATTIVONull() { - this[this.tableUTENTE.ATTIVOColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class v_selUtentiShortADRow : global::System.Data.DataRow { - - private v_selUtentiShortADDataTable tablev_selUtentiShortAD; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selUtentiShortADRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablev_selUtentiShortAD = ((v_selUtentiShortADDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string value { - get { - try { - return ((string)(this[this.tablev_selUtentiShortAD.valueColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'value\' in table \'v_selUtentiShortAD\' is DBNull.", e); - } - } - set { - this[this.tablev_selUtentiShortAD.valueColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string label { - get { - try { - return ((string)(this[this.tablev_selUtentiShortAD.labelColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selUtentiShortAD\' is DBNull.", e); - } - } - set { - this[this.tablev_selUtentiShortAD.labelColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string COD_CDC { - get { - try { - return ((string)(this[this.tablev_selUtentiShortAD.COD_CDCColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'COD_CDC\' in table \'v_selUtentiShortAD\' is DBNull.", e); - } - } - set { - this[this.tablev_selUtentiShortAD.COD_CDCColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string ATTIVO { - get { - try { - return ((string)(this[this.tablev_selUtentiShortAD.ATTIVOColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'ATTIVO\' in table \'v_selUtentiShortAD\' is DBNull.", e); - } - } - set { - this[this.tablev_selUtentiShortAD.ATTIVOColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsvalueNull() { - return this.IsNull(this.tablev_selUtentiShortAD.valueColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetvalueNull() { - this[this.tablev_selUtentiShortAD.valueColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IslabelNull() { - return this.IsNull(this.tablev_selUtentiShortAD.labelColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetlabelNull() { - this[this.tablev_selUtentiShortAD.labelColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCOD_CDCNull() { - return this.IsNull(this.tablev_selUtentiShortAD.COD_CDCColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCOD_CDCNull() { - this[this.tablev_selUtentiShortAD.COD_CDCColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsATTIVONull() { - return this.IsNull(this.tablev_selUtentiShortAD.ATTIVOColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetATTIVONull() { - this[this.tablev_selUtentiShortAD.ATTIVOColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class v_selFiltriRow : global::System.Data.DataRow { - - private v_selFiltriDataTable tablev_selFiltri; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selFiltriRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablev_selFiltri = ((v_selFiltriDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string value { - get { - return ((string)(this[this.tablev_selFiltri.valueColumn])); - } - set { - this[this.tablev_selFiltri.valueColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string label { - get { - try { - return ((string)(this[this.tablev_selFiltri.labelColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selFiltri\' is DBNull.", e); - } - } - set { - this[this.tablev_selFiltri.labelColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string conditio { - get { - return ((string)(this[this.tablev_selFiltri.conditioColumn])); - } - set { - this[this.tablev_selFiltri.conditioColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IslabelNull() { - return this.IsNull(this.tablev_selFiltri.labelColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetlabelNull() { - this[this.tablev_selFiltri.labelColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class v_selTipoEventoRow : global::System.Data.DataRow { - - private v_selTipoEventoDataTable tablev_selTipoEvento; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selTipoEventoRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablev_selTipoEvento = ((v_selTipoEventoDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string value { - get { - return ((string)(this[this.tablev_selTipoEvento.valueColumn])); - } - set { - this[this.tablev_selTipoEvento.valueColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string label { - get { - try { - return ((string)(this[this.tablev_selTipoEvento.labelColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selTipoEvento\' is DBNull.", e); - } - } - set { - this[this.tablev_selTipoEvento.labelColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IslabelNull() { - return this.IsNull(this.tablev_selTipoEvento.labelColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetlabelNull() { - this[this.tablev_selTipoEvento.labelColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class v_dateEsecuzioneRow : global::System.Data.DataRow { - - private v_dateEsecuzioneDataTable tablev_dateEsecuzione; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_dateEsecuzioneRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablev_dateEsecuzione = ((v_dateEsecuzioneDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime Data { - get { - try { - return ((global::System.DateTime)(this[this.tablev_dateEsecuzione.DataColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Data\' in table \'v_dateEsecuzione\' is DBNull.", e); - } - } - set { - this[this.tablev_dateEsecuzione.DataColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsDataNull() { - return this.IsNull(this.tablev_dateEsecuzione.DataColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetDataNull() { - this[this.tablev_dateEsecuzione.DataColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class v_selStatiRow : global::System.Data.DataRow { - - private v_selStatiDataTable tablev_selStati; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selStatiRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablev_selStati = ((v_selStatiDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string value { - get { - return ((string)(this[this.tablev_selStati.valueColumn])); - } - set { - this[this.tablev_selStati.valueColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string label { - get { - try { - return ((string)(this[this.tablev_selStati.labelColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selStati\' is DBNull.", e); - } - } - set { - this[this.tablev_selStati.labelColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string conditio { - get { - return ((string)(this[this.tablev_selStati.conditioColumn])); - } - set { - this[this.tablev_selStati.conditioColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IslabelNull() { - return this.IsNull(this.tablev_selStati.labelColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetlabelNull() { - this[this.tablev_selStati.labelColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class v_selClientiRow : global::System.Data.DataRow { - - private v_selClientiDataTable tablev_selClienti; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selClientiRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablev_selClienti = ((v_selClientiDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string value { - get { - return ((string)(this[this.tablev_selClienti.valueColumn])); - } - set { - this[this.tablev_selClienti.valueColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string label { - get { - try { - return ((string)(this[this.tablev_selClienti.labelColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selClienti\' is DBNull.", e); - } - } - set { - this[this.tablev_selClienti.labelColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IslabelNull() { - return this.IsNull(this.tablev_selClienti.labelColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetlabelNull() { - this[this.tablev_selClienti.labelColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class v_selTipoMappaRow : global::System.Data.DataRow { - - private v_selTipoMappaDataTable tablev_selTipoMappa; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selTipoMappaRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablev_selTipoMappa = ((v_selTipoMappaDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string value { - get { - return ((string)(this[this.tablev_selTipoMappa.valueColumn])); - } - set { - this[this.tablev_selTipoMappa.valueColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string label { - get { - try { - return ((string)(this[this.tablev_selTipoMappa.labelColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selTipoMappa\' is DBNull.", e); - } - } - set { - this[this.tablev_selTipoMappa.labelColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IslabelNull() { - return this.IsNull(this.tablev_selTipoMappa.labelColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetlabelNull() { - this[this.tablev_selTipoMappa.labelColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class v_selAnagLavRow : global::System.Data.DataRow { - - private v_selAnagLavDataTable tablev_selAnagLav; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selAnagLavRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablev_selAnagLav = ((v_selAnagLavDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string value { - get { - return ((string)(this[this.tablev_selAnagLav.valueColumn])); - } - set { - this[this.tablev_selAnagLav.valueColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string label { - get { - try { - return ((string)(this[this.tablev_selAnagLav.labelColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selAnagLav\' is DBNull.", e); - } - } - set { - this[this.tablev_selAnagLav.labelColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IslabelNull() { - return this.IsNull(this.tablev_selAnagLav.labelColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetlabelNull() { - this[this.tablev_selAnagLav.labelColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class v_selSetObjRow : global::System.Data.DataRow { - - private v_selSetObjDataTable tablev_selSetObj; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_selSetObjRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablev_selSetObj = ((v_selSetObjDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string value { - get { - return ((string)(this[this.tablev_selSetObj.valueColumn])); - } - set { - this[this.tablev_selSetObj.valueColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string label { - get { - try { - return ((string)(this[this.tablev_selSetObj.labelColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selSetObj\' is DBNull.", e); - } - } - set { - this[this.tablev_selSetObj.labelColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IslabelNull() { - return this.IsNull(this.tablev_selSetObj.labelColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetlabelNull() { - this[this.tablev_selSetObj.labelColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class v_selUtentiAllRowChangeEvent : global::System.EventArgs { - - private v_selUtentiAllRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selUtentiAllRowChangeEvent(v_selUtentiAllRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selUtentiAllRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class UTENTERowChangeEvent : global::System.EventArgs { - - private UTENTERow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UTENTERowChangeEvent(UTENTERow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UTENTERow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class v_selUtentiShortADRowChangeEvent : global::System.EventArgs { - - private v_selUtentiShortADRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selUtentiShortADRowChangeEvent(v_selUtentiShortADRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selUtentiShortADRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class v_selFiltriRowChangeEvent : global::System.EventArgs { - - private v_selFiltriRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selFiltriRowChangeEvent(v_selFiltriRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selFiltriRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class v_selTipoEventoRowChangeEvent : global::System.EventArgs { - - private v_selTipoEventoRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selTipoEventoRowChangeEvent(v_selTipoEventoRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selTipoEventoRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class v_dateEsecuzioneRowChangeEvent : global::System.EventArgs { - - private v_dateEsecuzioneRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_dateEsecuzioneRowChangeEvent(v_dateEsecuzioneRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_dateEsecuzioneRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class v_selStatiRowChangeEvent : global::System.EventArgs { - - private v_selStatiRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selStatiRowChangeEvent(v_selStatiRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selStatiRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class v_selClientiRowChangeEvent : global::System.EventArgs { - - private v_selClientiRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selClientiRowChangeEvent(v_selClientiRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selClientiRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class v_selTipoMappaRowChangeEvent : global::System.EventArgs { - - private v_selTipoMappaRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selTipoMappaRowChangeEvent(v_selTipoMappaRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selTipoMappaRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class v_selAnagLavRowChangeEvent : global::System.EventArgs { - - private v_selAnagLavRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selAnagLavRowChangeEvent(v_selAnagLavRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selAnagLavRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class v_selSetObjRowChangeEvent : global::System.EventArgs { - - private v_selSetObjRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selSetObjRowChangeEvent(v_selSetObjRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selSetObjRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - } -} -namespace XPS_data.DS_utilityTableAdapters { - - - /// - ///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 v_selUtentiAllTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selUtentiAllTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "v_selUtentiAll"; - tableMapping.ColumnMappings.Add("value", "value"); - tableMapping.ColumnMappings.Add("label", "label"); - tableMapping.ColumnMappings.Add("COD_CDC", "COD_CDC"); - tableMapping.ColumnMappings.Add("ATTIVO", "ATTIVO"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_AnagraficaConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT value, label, COD_CDC, ATTIVO FROM dbo.v_selUtentiAll"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_utility.v_selUtentiAllDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_utility.v_selUtentiAllDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_utility.v_selUtentiAllDataTable dataTable = new DS_utility.v_selUtentiAllDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - } - - /// - ///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 UTENTETableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UTENTETableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "UTENTE"; - tableMapping.ColumnMappings.Add("DOMINIO", "DOMINIO"); - tableMapping.ColumnMappings.Add("USER_NAME", "USER_NAME"); - tableMapping.ColumnMappings.Add("COGNOME", "COGNOME"); - tableMapping.ColumnMappings.Add("NOME", "NOME"); - tableMapping.ColumnMappings.Add("COD_SOCIETA", "COD_SOCIETA"); - tableMapping.ColumnMappings.Add("MATRICOLA", "MATRICOLA"); - tableMapping.ColumnMappings.Add("COD_CDC", "COD_CDC"); - tableMapping.ColumnMappings.Add("EMAIL", "EMAIL"); - tableMapping.ColumnMappings.Add("SIGLA", "SIGLA"); - tableMapping.ColumnMappings.Add("COD_LINGUA", "COD_LINGUA"); - tableMapping.ColumnMappings.Add("ATTIVO", "ATTIVO"); - 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].[UTENTE] WHERE (((@IsNull_DOMINIO = 1 AND [DOMINIO] IS NULL) OR ([DOMINIO] = @Original_DOMINIO)) AND ([USER_NAME] = @Original_USER_NAME) AND ((@IsNull_COGNOME = 1 AND [COGNOME] IS NULL) OR ([COGNOME] = @Original_COGNOME)) AND ((@IsNull_NOME = 1 AND [NOME] IS NULL) OR ([NOME] = @Original_NOME)) AND ((@IsNull_COD_SOCIETA = 1 AND [COD_SOCIETA] IS NULL) OR ([COD_SOCIETA] = @Original_COD_SOCIETA)) AND ((@IsNull_MATRICOLA = 1 AND [MATRICOLA] IS NULL) OR ([MATRICOLA] = @Original_MATRICOLA)) AND ((@IsNull_COD_CDC = 1 AND [COD_CDC] IS NULL) OR ([COD_CDC] = @Original_COD_CDC)) AND ((@IsNull_EMAIL = 1 AND [EMAIL] IS NULL) OR ([EMAIL] = @Original_EMAIL)) AND ((@IsNull_SIGLA = 1 AND [SIGLA] IS NULL) OR ([SIGLA] = @Original_SIGLA)) AND ((@IsNull_COD_LINGUA = 1 AND [COD_LINGUA] IS NULL) OR ([COD_LINGUA] = @Original_COD_LINGUA)) AND ((@IsNull_ATTIVO = 1 AND [ATTIVO] IS NULL) OR ([ATTIVO] = @Original_ATTIVO)))"; - this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DOMINIO", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DOMINIO", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_USER_NAME", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_COGNOME", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COGNOME", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_COGNOME", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COGNOME", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NOME", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NOME", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NOME", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NOME", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_COD_SOCIETA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_SOCIETA", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_COD_SOCIETA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_SOCIETA", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MATRICOLA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MATRICOLA", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MATRICOLA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MATRICOLA", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_COD_CDC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_CDC", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_COD_CDC", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_CDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_EMAIL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EMAIL", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EMAIL", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EMAIL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SIGLA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SIGLA", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SIGLA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SIGLA", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_COD_LINGUA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_LINGUA", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_COD_LINGUA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_LINGUA", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ATTIVO", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ATTIVO", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ATTIVO", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ATTIVO", 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].[UTENTE] ([DOMINIO], [USER_NAME], [COGNOME], [NOME], [COD_SOCIETA], [MATRICOLA], [COD_CDC], [EMAIL], [SIGLA], [COD_LINGUA], [ATTIVO]) VALUES (@DOMINIO, @USER_NAME, @COGNOME, @NOME, @COD_SOCIETA, @MATRICOLA, @COD_CDC, @EMAIL, @SIGLA, @COD_LINGUA, @ATTIVO); -SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL, SIGLA, COD_LINGUA, ATTIVO FROM UTENTE WHERE (USER_NAME = @USER_NAME)"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DOMINIO", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@USER_NAME", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COGNOME", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COGNOME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NOME", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NOME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COD_SOCIETA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_SOCIETA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MATRICOLA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MATRICOLA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COD_CDC", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_CDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EMAIL", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EMAIL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SIGLA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SIGLA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COD_LINGUA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_LINGUA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ATTIVO", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ATTIVO", 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].[UTENTE] SET [DOMINIO] = @DOMINIO, [USER_NAME] = @USER_NAME, [COGNOME] = @COGNOME, [NOME] = @NOME, [COD_SOCIETA] = @COD_SOCIETA, [MATRICOLA] = @MATRICOLA, [COD_CDC] = @COD_CDC, [EMAIL] = @EMAIL, [SIGLA] = @SIGLA, [COD_LINGUA] = @COD_LINGUA, [ATTIVO] = @ATTIVO WHERE (((@IsNull_DOMINIO = 1 AND [DOMINIO] IS NULL) OR ([DOMINIO] = @Original_DOMINIO)) AND ([USER_NAME] = @Original_USER_NAME) AND ((@IsNull_COGNOME = 1 AND [COGNOME] IS NULL) OR ([COGNOME] = @Original_COGNOME)) AND ((@IsNull_NOME = 1 AND [NOME] IS NULL) OR ([NOME] = @Original_NOME)) AND ((@IsNull_COD_SOCIETA = 1 AND [COD_SOCIETA] IS NULL) OR ([COD_SOCIETA] = @Original_COD_SOCIETA)) AND ((@IsNull_MATRICOLA = 1 AND [MATRICOLA] IS NULL) OR ([MATRICOLA] = @Original_MATRICOLA)) AND ((@IsNull_COD_CDC = 1 AND [COD_CDC] IS NULL) OR ([COD_CDC] = @Original_COD_CDC)) AND ((@IsNull_EMAIL = 1 AND [EMAIL] IS NULL) OR ([EMAIL] = @Original_EMAIL)) AND ((@IsNull_SIGLA = 1 AND [SIGLA] IS NULL) OR ([SIGLA] = @Original_SIGLA)) AND ((@IsNull_COD_LINGUA = 1 AND [COD_LINGUA] IS NULL) OR ([COD_LINGUA] = @Original_COD_LINGUA)) AND ((@IsNull_ATTIVO = 1 AND [ATTIVO] IS NULL) OR ([ATTIVO] = @Original_ATTIVO))); -SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL, SIGLA, COD_LINGUA, ATTIVO FROM UTENTE WHERE (USER_NAME = @USER_NAME)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DOMINIO", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@USER_NAME", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COGNOME", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COGNOME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NOME", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NOME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COD_SOCIETA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_SOCIETA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MATRICOLA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MATRICOLA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COD_CDC", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_CDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EMAIL", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EMAIL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SIGLA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SIGLA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COD_LINGUA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_LINGUA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ATTIVO", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ATTIVO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DOMINIO", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DOMINIO", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_USER_NAME", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_COGNOME", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COGNOME", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_COGNOME", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COGNOME", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NOME", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NOME", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NOME", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NOME", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_COD_SOCIETA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_SOCIETA", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_COD_SOCIETA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_SOCIETA", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MATRICOLA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MATRICOLA", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MATRICOLA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MATRICOLA", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_COD_CDC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_CDC", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_COD_CDC", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_CDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_EMAIL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EMAIL", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EMAIL", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EMAIL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SIGLA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SIGLA", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SIGLA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SIGLA", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_COD_LINGUA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_LINGUA", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_COD_LINGUA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_LINGUA", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ATTIVO", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ATTIVO", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ATTIVO", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ATTIVO", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_AnagraficaConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL," + - " SIGLA, COD_LINGUA, ATTIVO FROM dbo.UTENTE"; - 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 = "SELECT *\r\nFROM Utente\r\nWHERE (USER_NAME = @USER_NAME)"; - this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@USER_NAME", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_utility.UTENTEDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_utility.UTENTEDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_utility.UTENTEDataTable dataTable = new DS_utility.UTENTEDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_utility.UTENTEDataTable GetByUserName(string USER_NAME) { - this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((USER_NAME == null)) { - throw new global::System.ArgumentNullException("USER_NAME"); - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = ((string)(USER_NAME)); - } - DS_utility.UTENTEDataTable dataTable = new DS_utility.UTENTEDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_utility.UTENTEDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_utility dataSet) { - return this.Adapter.Update(dataSet, "UTENTE"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_DOMINIO, string Original_USER_NAME, string Original_COGNOME, string Original_NOME, string Original_COD_SOCIETA, string Original_MATRICOLA, string Original_COD_CDC, string Original_EMAIL, string Original_SIGLA, string Original_COD_LINGUA, string Original_ATTIVO) { - if ((Original_DOMINIO == null)) { - this.Adapter.DeleteCommand.Parameters[0].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[0].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_DOMINIO)); - } - if ((Original_USER_NAME == null)) { - throw new global::System.ArgumentNullException("Original_USER_NAME"); - } - else { - this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_USER_NAME)); - } - if ((Original_COGNOME == null)) { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_COGNOME)); - } - if ((Original_NOME == null)) { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_NOME)); - } - if ((Original_COD_SOCIETA == null)) { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_COD_SOCIETA)); - } - if ((Original_MATRICOLA == null)) { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_MATRICOLA)); - } - if ((Original_COD_CDC == null)) { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_COD_CDC)); - } - if ((Original_EMAIL == null)) { - this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_EMAIL)); - } - if ((Original_SIGLA == null)) { - this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_SIGLA)); - } - if ((Original_COD_LINGUA == null)) { - this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_COD_LINGUA)); - } - if ((Original_ATTIVO == null)) { - this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_ATTIVO)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string DOMINIO, string USER_NAME, string COGNOME, string NOME, string COD_SOCIETA, string MATRICOLA, string COD_CDC, string EMAIL, string SIGLA, string COD_LINGUA, string ATTIVO) { - if ((DOMINIO == null)) { - this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = ((string)(DOMINIO)); - } - if ((USER_NAME == null)) { - throw new global::System.ArgumentNullException("USER_NAME"); - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(USER_NAME)); - } - if ((COGNOME == null)) { - this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[2].Value = ((string)(COGNOME)); - } - if ((NOME == null)) { - this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[3].Value = ((string)(NOME)); - } - if ((COD_SOCIETA == null)) { - this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[4].Value = ((string)(COD_SOCIETA)); - } - if ((MATRICOLA == null)) { - this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[5].Value = ((string)(MATRICOLA)); - } - if ((COD_CDC == null)) { - this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[6].Value = ((string)(COD_CDC)); - } - if ((EMAIL == null)) { - this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[7].Value = ((string)(EMAIL)); - } - if ((SIGLA == null)) { - this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[8].Value = ((string)(SIGLA)); - } - if ((COD_LINGUA == null)) { - this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[9].Value = ((string)(COD_LINGUA)); - } - if ((ATTIVO == null)) { - this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[10].Value = ((string)(ATTIVO)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.InsertCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.InsertCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update( - string DOMINIO, - string USER_NAME, - string COGNOME, - string NOME, - string COD_SOCIETA, - string MATRICOLA, - string COD_CDC, - string EMAIL, - string SIGLA, - string COD_LINGUA, - string ATTIVO, - string Original_DOMINIO, - string Original_USER_NAME, - string Original_COGNOME, - string Original_NOME, - string Original_COD_SOCIETA, - string Original_MATRICOLA, - string Original_COD_CDC, - string Original_EMAIL, - string Original_SIGLA, - string Original_COD_LINGUA, - string Original_ATTIVO) { - if ((DOMINIO == null)) { - this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(DOMINIO)); - } - if ((USER_NAME == null)) { - throw new global::System.ArgumentNullException("USER_NAME"); - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(USER_NAME)); - } - if ((COGNOME == null)) { - this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(COGNOME)); - } - if ((NOME == null)) { - this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(NOME)); - } - if ((COD_SOCIETA == null)) { - this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(COD_SOCIETA)); - } - if ((MATRICOLA == null)) { - this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(MATRICOLA)); - } - if ((COD_CDC == null)) { - this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(COD_CDC)); - } - if ((EMAIL == null)) { - this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(EMAIL)); - } - if ((SIGLA == null)) { - this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(SIGLA)); - } - if ((COD_LINGUA == null)) { - this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(COD_LINGUA)); - } - if ((ATTIVO == null)) { - this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(ATTIVO)); - } - if ((Original_DOMINIO == null)) { - this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_DOMINIO)); - } - if ((Original_USER_NAME == null)) { - throw new global::System.ArgumentNullException("Original_USER_NAME"); - } - else { - this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_USER_NAME)); - } - if ((Original_COGNOME == null)) { - this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_COGNOME)); - } - if ((Original_NOME == null)) { - this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_NOME)); - } - if ((Original_COD_SOCIETA == null)) { - this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_COD_SOCIETA)); - } - if ((Original_MATRICOLA == null)) { - this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_MATRICOLA)); - } - if ((Original_COD_CDC == null)) { - this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_COD_CDC)); - } - if ((Original_EMAIL == null)) { - this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_EMAIL)); - } - if ((Original_SIGLA == null)) { - this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_SIGLA)); - } - if ((Original_COD_LINGUA == null)) { - this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_COD_LINGUA)); - } - if ((Original_ATTIVO == null)) { - this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_ATTIVO)); - } - global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update( - string DOMINIO, - string COGNOME, - string NOME, - string COD_SOCIETA, - string MATRICOLA, - string COD_CDC, - string EMAIL, - string SIGLA, - string COD_LINGUA, - string ATTIVO, - string Original_DOMINIO, - string Original_USER_NAME, - string Original_COGNOME, - string Original_NOME, - string Original_COD_SOCIETA, - string Original_MATRICOLA, - string Original_COD_CDC, - string Original_EMAIL, - string Original_SIGLA, - string Original_COD_LINGUA, - string Original_ATTIVO) { - return this.Update(DOMINIO, Original_USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL, SIGLA, COD_LINGUA, ATTIVO, Original_DOMINIO, Original_USER_NAME, Original_COGNOME, Original_NOME, Original_COD_SOCIETA, Original_MATRICOLA, Original_COD_CDC, Original_EMAIL, Original_SIGLA, Original_COD_LINGUA, Original_ATTIVO); - } - } - - /// - ///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 v_selUtentiShortADTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selUtentiShortADTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "v_selUtentiShortAD"; - tableMapping.ColumnMappings.Add("value", "value"); - tableMapping.ColumnMappings.Add("label", "label"); - tableMapping.ColumnMappings.Add("COD_CDC", "COD_CDC"); - tableMapping.ColumnMappings.Add("ATTIVO", "ATTIVO"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_AnagraficaConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT value, label, COD_CDC, ATTIVO FROM dbo.v_selUtentiShortAD"; - 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 = "SELECT value, label, COD_CDC, ATTIVO FROM dbo.v_selUtentiShortAD\r\nwhere value=@va" + - "lue"; - this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@value", global::System.Data.SqlDbType.NVarChar, 81, global::System.Data.ParameterDirection.Input, 0, 0, "value", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_utility.v_selUtentiShortADDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_utility.v_selUtentiShortADDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_utility.v_selUtentiShortADDataTable dataTable = new DS_utility.v_selUtentiShortADDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_utility.v_selUtentiShortADDataTable getByValue(string value) { - this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((value == null)) { - this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = ((string)(value)); - } - DS_utility.v_selUtentiShortADDataTable dataTable = new DS_utility.v_selUtentiShortADDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - } - - /// - ///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 v_selFiltriTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selFiltriTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "v_selFiltri"; - tableMapping.ColumnMappings.Add("value", "value"); - tableMapping.ColumnMappings.Add("label", "label"); - tableMapping.ColumnMappings.Add("conditio", "conditio"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT value, label, conditio FROM dbo.v_selFiltri"; - 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 = "SELECT value, label, conditio FROM dbo.v_selFiltri\r\nWHERE conditio=@conditio"; - this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conditio", global::System.Data.SqlDbType.NVarChar, 31, global::System.Data.ParameterDirection.Input, 0, 0, "conditio", 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 = @"SELECT v_selFiltri.value, v_selFiltri.label, v_selFiltri.conditio -FROM Permessi INNER JOIN - Permessi2Funzione ON Permessi.COD_PERMESSO = Permessi2Funzione.COD_PERMESSO INNER JOIN - v_selFiltri ON Permessi2Funzione.COD_FUNZIONE = v_selFiltri.conditio -WHERE (Permessi.URL = @url)"; - this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@url", global::System.Data.SqlDbType.VarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, "URL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_utility.v_selFiltriDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_utility.v_selFiltriDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_utility.v_selFiltriDataTable dataTable = new DS_utility.v_selFiltriDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_utility.v_selFiltriDataTable getByConditio(string conditio) { - this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((conditio == null)) { - throw new global::System.ArgumentNullException("conditio"); - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = ((string)(conditio)); - } - DS_utility.v_selFiltriDataTable dataTable = new DS_utility.v_selFiltriDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_utility.v_selFiltriDataTable getByUrl(string url) { - this.Adapter.SelectCommand = this.CommandCollection[2]; - if ((url == null)) { - throw new global::System.ArgumentNullException("url"); - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = ((string)(url)); - } - DS_utility.v_selFiltriDataTable dataTable = new DS_utility.v_selFiltriDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - } - - /// - ///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 v_selTipoEventoTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selTipoEventoTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "v_selTipoEvento"; - tableMapping.ColumnMappings.Add("value", "value"); - tableMapping.ColumnMappings.Add("label", "label"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT value, label FROM dbo.v_selTipoEvento"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_utility.v_selTipoEventoDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_utility.v_selTipoEventoDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_utility.v_selTipoEventoDataTable dataTable = new DS_utility.v_selTipoEventoDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - } - - /// - ///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 v_dateEsecuzioneTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_dateEsecuzioneTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "v_dateEsecuzione"; - tableMapping.ColumnMappings.Add("Data", "Data"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT Data FROM dbo.v_dateEsecuzione"; - 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_dateProxScadenze"; - 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("@dataMin", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_utility.v_dateEsecuzioneDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_utility.v_dateEsecuzioneDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_utility.v_dateEsecuzioneDataTable dataTable = new DS_utility.v_dateEsecuzioneDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_utility.v_dateEsecuzioneDataTable getByDataMin(global::System.Nullable dataMin) { - this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((dataMin.HasValue == true)) { - this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(dataMin.Value)); - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - DS_utility.v_dateEsecuzioneDataTable dataTable = new DS_utility.v_dateEsecuzioneDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - } - - /// - ///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 v_selStatiTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selStatiTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "v_selStati"; - tableMapping.ColumnMappings.Add("value", "value"); - tableMapping.ColumnMappings.Add("label", "label"); - tableMapping.ColumnMappings.Add("conditio", "conditio"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT value, label, conditio FROM dbo.v_selStati"; - 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 = "SELECT value, label, conditio FROM dbo.v_selStati\r\nwhere conditio=@conditio"; - this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conditio", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "conditio", 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_selStatiMinMax"; - 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("@PrioritaStatoMin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PrioritaStatoMax", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_utility.v_selStatiDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_utility.v_selStatiDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_utility.v_selStatiDataTable dataTable = new DS_utility.v_selStatiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_utility.v_selStatiDataTable getByConditio(string conditio) { - this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((conditio == null)) { - throw new global::System.ArgumentNullException("conditio"); - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = ((string)(conditio)); - } - DS_utility.v_selStatiDataTable dataTable = new DS_utility.v_selStatiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_utility.v_selStatiDataTable getByPiorita(global::System.Nullable PrioritaStatoMin, global::System.Nullable PrioritaStatoMax) { - this.Adapter.SelectCommand = this.CommandCollection[2]; - if ((PrioritaStatoMin.HasValue == true)) { - this.Adapter.SelectCommand.Parameters[1].Value = ((int)(PrioritaStatoMin.Value)); - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - if ((PrioritaStatoMax.HasValue == true)) { - this.Adapter.SelectCommand.Parameters[2].Value = ((int)(PrioritaStatoMax.Value)); - } - else { - this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; - } - DS_utility.v_selStatiDataTable dataTable = new DS_utility.v_selStatiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - } - - /// - ///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 v_selClientiTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selClientiTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "v_selClienti"; - tableMapping.ColumnMappings.Add("value", "value"); - tableMapping.ColumnMappings.Add("label", "label"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT value, label FROM dbo.v_selClienti"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_utility.v_selClientiDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_utility.v_selClientiDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_utility.v_selClientiDataTable dataTable = new DS_utility.v_selClientiDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - } - - /// - ///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 v_selTipoMappaTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selTipoMappaTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "v_selTipoMappa"; - tableMapping.ColumnMappings.Add("value", "value"); - tableMapping.ColumnMappings.Add("label", "label"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT value, label FROM dbo.v_selTipoMappa"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_utility.v_selTipoMappaDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_utility.v_selTipoMappaDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_utility.v_selTipoMappaDataTable dataTable = new DS_utility.v_selTipoMappaDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - } - - /// - ///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 v_selAnagLavTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selAnagLavTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "v_selAnagLav"; - tableMapping.ColumnMappings.Add("value", "value"); - tableMapping.ColumnMappings.Add("label", "label"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT value, label FROM dbo.v_selAnagLav"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_utility.v_selAnagLavDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_utility.v_selAnagLavDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_utility.v_selAnagLavDataTable dataTable = new DS_utility.v_selAnagLavDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - } - - /// - ///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 v_selSetObjTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_selSetObjTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "v_selSetObj"; - tableMapping.ColumnMappings.Add("value", "value"); - tableMapping.ColumnMappings.Add("label", "label"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT value, label FROM dbo.v_selSetObj"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_utility.v_selSetObjDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_utility.v_selSetObjDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_utility.v_selSetObjDataTable dataTable = new DS_utility.v_selSetObjDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - } - - /// - ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios - /// - [global::System.ComponentModel.DesignerCategoryAttribute("code")] - [global::System.ComponentModel.ToolboxItem(true)] - [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + - "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] - public partial class TableAdapterManager : global::System.ComponentModel.Component { - - private UpdateOrderOption _updateOrder; - - private UTENTETableAdapter _uTENTETableAdapter; - - private bool _backupDataSetBeforeUpdate; - - private global::System.Data.IDbConnection _connection; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UpdateOrderOption UpdateOrder { - get { - return this._updateOrder; - } - set { - this._updateOrder = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public UTENTETableAdapter UTENTETableAdapter { - get { - return this._uTENTETableAdapter; - } - set { - this._uTENTETableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool BackupDataSetBeforeUpdate { - get { - return this._backupDataSetBeforeUpdate; - } - set { - this._backupDataSetBeforeUpdate = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public global::System.Data.IDbConnection Connection { - get { - if ((this._connection != null)) { - return this._connection; - } - if (((this._uTENTETableAdapter != null) - && (this._uTENTETableAdapter.Connection != null))) { - return this._uTENTETableAdapter.Connection; - } - return null; - } - set { - this._connection = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int TableAdapterInstanceCount { - get { - int count = 0; - if ((this._uTENTETableAdapter != null)) { - count = (count + 1); - } - return count; - } - } - - /// - ///Update rows in top-down order. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private int UpdateUpdatedRows(DS_utility dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { - int result = 0; - if ((this._uTENTETableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.UTENTE.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._uTENTETableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - return result; - } - - /// - ///Insert rows in top-down order. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private int UpdateInsertedRows(DS_utility dataSet, global::System.Collections.Generic.List allAddedRows) { - int result = 0; - if ((this._uTENTETableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.UTENTE.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._uTENTETableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - return result; - } - - /// - ///Delete rows in bottom-up order. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private int UpdateDeletedRows(DS_utility dataSet, global::System.Collections.Generic.List allChangedRows) { - int result = 0; - if ((this._uTENTETableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.UTENTE.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._uTENTETableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - return result; - } - - /// - ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { - if (((updatedRows == null) - || (updatedRows.Length < 1))) { - return updatedRows; - } - if (((allAddedRows == null) - || (allAddedRows.Count < 1))) { - return updatedRows; - } - global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); - for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { - global::System.Data.DataRow row = updatedRows[i]; - if ((allAddedRows.Contains(row) == false)) { - realUpdatedRows.Add(row); - } - } - return realUpdatedRows.ToArray(); - } - - /// - ///Update all changes to the dataset. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public virtual int UpdateAll(DS_utility dataSet) { - if ((dataSet == null)) { - throw new global::System.ArgumentNullException("dataSet"); - } - if ((dataSet.HasChanges() == false)) { - return 0; - } - if (((this._uTENTETableAdapter != null) - && (this.MatchTableAdapterConnection(this._uTENTETableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + - "tring."); - } - global::System.Data.IDbConnection workConnection = this.Connection; - if ((workConnection == null)) { - throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + - "ger TableAdapter property to a valid TableAdapter instance."); - } - bool workConnOpened = false; - if (((workConnection.State & global::System.Data.ConnectionState.Broken) - == global::System.Data.ConnectionState.Broken)) { - workConnection.Close(); - } - if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { - workConnection.Open(); - workConnOpened = true; - } - global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); - if ((workTransaction == null)) { - throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + - "ctions or the current state is not allowing the transaction to begin."); - } - global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); - global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); - global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); - global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); - int result = 0; - global::System.Data.DataSet backupDataSet = null; - if (this.BackupDataSetBeforeUpdate) { - backupDataSet = new global::System.Data.DataSet(); - backupDataSet.Merge(dataSet); - } - try { - // ---- Prepare for update ----------- - // - if ((this._uTENTETableAdapter != null)) { - revertConnections.Add(this._uTENTETableAdapter, this._uTENTETableAdapter.Connection); - this._uTENTETableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._uTENTETableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._uTENTETableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._uTENTETableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._uTENTETableAdapter.Adapter); - } - } - // - //---- Perform updates ----------- - // - if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { - result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); - result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); - } - else { - result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); - result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); - } - result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); - // - //---- Commit updates ----------- - // - workTransaction.Commit(); - if ((0 < allAddedRows.Count)) { - global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; - allAddedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { - global::System.Data.DataRow row = rows[i]; - row.AcceptChanges(); - } - } - if ((0 < allChangedRows.Count)) { - global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; - allChangedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { - global::System.Data.DataRow row = rows[i]; - row.AcceptChanges(); - } - } - } - catch (global::System.Exception ex) { - workTransaction.Rollback(); - // ---- Restore the dataset ----------- - if (this.BackupDataSetBeforeUpdate) { - global::System.Diagnostics.Debug.Assert((backupDataSet != null)); - dataSet.Clear(); - dataSet.Merge(backupDataSet); - } - else { - if ((0 < allAddedRows.Count)) { - global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; - allAddedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { - global::System.Data.DataRow row = rows[i]; - row.AcceptChanges(); - row.SetAdded(); - } - } - } - throw ex; - } - finally { - if (workConnOpened) { - workConnection.Close(); - } - if ((this._uTENTETableAdapter != null)) { - this._uTENTETableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._uTENTETableAdapter])); - this._uTENTETableAdapter.Transaction = null; - } - if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { - global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; - adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); - for (int i = 0; (i < adapters.Length); i = (i + 1)) { - global::System.Data.Common.DataAdapter adapter = adapters[i]; - adapter.AcceptChangesDuringUpdate = true; - } - } - } - return result; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { - global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { - if ((this._connection != null)) { - return true; - } - if (((this.Connection == null) - || (inputConnection == null))) { - return true; - } - if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { - return true; - } - return false; - } - - /// - ///Update Order Option - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public enum UpdateOrderOption { - - InsertUpdateDelete = 0, - - UpdateInsertDelete = 1, - } - - /// - ///Used to sort self-referenced table's rows - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { - - private global::System.Data.DataRelation _relation; - - private int _childFirst; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { - this._relation = relation; - if (childFirst) { - this._childFirst = -1; - } - else { - this._childFirst = 1; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { - global::System.Diagnostics.Debug.Assert((row != null)); - global::System.Data.DataRow root = row; - distance = 0; - - global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); - traversedRows[row] = row; - - global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); - for ( - ; ((parent != null) - && (traversedRows.ContainsKey(parent) == false)); - ) { - distance = (distance + 1); - root = parent; - traversedRows[parent] = parent; - parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); - } - - if ((distance == 0)) { - traversedRows.Clear(); - traversedRows[row] = row; - parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); - for ( - ; ((parent != null) - && (traversedRows.ContainsKey(parent) == false)); - ) { - distance = (distance + 1); - root = parent; - traversedRows[parent] = parent; - parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); - } - } - - return root; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { - if (object.ReferenceEquals(row1, row2)) { - return 0; - } - if ((row1 == null)) { - return -1; - } - if ((row2 == null)) { - return 1; - } - - int distance1 = 0; - global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); - - int distance2 = 0; - global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); - - if (object.ReferenceEquals(root1, root2)) { - return (this._childFirst * distance1.CompareTo(distance2)); - } - else { - global::System.Diagnostics.Debug.Assert(((root1.Table != null) - && (root2.Table != null))); - if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { - return -1; - } - else { - return 1; - } - } - } - } - } -} - +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17929 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace XPS_data { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.Serializable()] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] + [global::System.Xml.Serialization.XmlRootAttribute("DS_utility")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class DS_utility : global::System.Data.DataSet { + + private v_selUtentiAllDataTable tablev_selUtentiAll; + + private UTENTEDataTable tableUTENTE; + + private v_selUtentiShortADDataTable tablev_selUtentiShortAD; + + private v_selFiltriDataTable tablev_selFiltri; + + private v_selTipoEventoDataTable tablev_selTipoEvento; + + private v_dateEsecuzioneDataTable tablev_dateEsecuzione; + + private v_selStatiDataTable tablev_selStati; + + private v_selClientiDataTable tablev_selClienti; + + private v_selTipoMappaDataTable tablev_selTipoMappa; + + private v_selAnagLavDataTable tablev_selAnagLav; + + private v_selSetObjDataTable tablev_selSetObj; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DS_utility() { + this.BeginInit(); + this.InitClass(); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + base.Relations.CollectionChanged += schemaChangedHandler; + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected DS_utility(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context, false) { + if ((this.IsBinarySerialized(info, context) == true)) { + this.InitVars(false); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + this.Tables.CollectionChanged += schemaChangedHandler1; + this.Relations.CollectionChanged += schemaChangedHandler1; + return; + } + string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); + if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + if ((ds.Tables["v_selUtentiAll"] != null)) { + base.Tables.Add(new v_selUtentiAllDataTable(ds.Tables["v_selUtentiAll"])); + } + if ((ds.Tables["UTENTE"] != null)) { + base.Tables.Add(new UTENTEDataTable(ds.Tables["UTENTE"])); + } + if ((ds.Tables["v_selUtentiShortAD"] != null)) { + base.Tables.Add(new v_selUtentiShortADDataTable(ds.Tables["v_selUtentiShortAD"])); + } + if ((ds.Tables["v_selFiltri"] != null)) { + base.Tables.Add(new v_selFiltriDataTable(ds.Tables["v_selFiltri"])); + } + if ((ds.Tables["v_selTipoEvento"] != null)) { + base.Tables.Add(new v_selTipoEventoDataTable(ds.Tables["v_selTipoEvento"])); + } + if ((ds.Tables["v_dateEsecuzione"] != null)) { + base.Tables.Add(new v_dateEsecuzioneDataTable(ds.Tables["v_dateEsecuzione"])); + } + if ((ds.Tables["v_selStati"] != null)) { + base.Tables.Add(new v_selStatiDataTable(ds.Tables["v_selStati"])); + } + if ((ds.Tables["v_selClienti"] != null)) { + base.Tables.Add(new v_selClientiDataTable(ds.Tables["v_selClienti"])); + } + if ((ds.Tables["v_selTipoMappa"] != null)) { + base.Tables.Add(new v_selTipoMappaDataTable(ds.Tables["v_selTipoMappa"])); + } + if ((ds.Tables["v_selAnagLav"] != null)) { + base.Tables.Add(new v_selAnagLavDataTable(ds.Tables["v_selAnagLav"])); + } + if ((ds.Tables["v_selSetObj"] != null)) { + base.Tables.Add(new v_selSetObjDataTable(ds.Tables["v_selSetObj"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + } + this.GetSerializationData(info, context); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + this.Relations.CollectionChanged += schemaChangedHandler; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selUtentiAllDataTable v_selUtentiAll { + get { + return this.tablev_selUtentiAll; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public UTENTEDataTable UTENTE { + get { + return this.tableUTENTE; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selUtentiShortADDataTable v_selUtentiShortAD { + get { + return this.tablev_selUtentiShortAD; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selFiltriDataTable v_selFiltri { + get { + return this.tablev_selFiltri; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selTipoEventoDataTable v_selTipoEvento { + get { + return this.tablev_selTipoEvento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_dateEsecuzioneDataTable v_dateEsecuzione { + get { + return this.tablev_dateEsecuzione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selStatiDataTable v_selStati { + get { + return this.tablev_selStati; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selClientiDataTable v_selClienti { + get { + return this.tablev_selClienti; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selTipoMappaDataTable v_selTipoMappa { + get { + return this.tablev_selTipoMappa; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selAnagLavDataTable v_selAnagLav { + get { + return this.tablev_selAnagLav; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selSetObjDataTable v_selSetObj { + get { + return this.tablev_selSetObj; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.BrowsableAttribute(true)] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] + public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { + get { + return this._schemaSerializationMode; + } + set { + this._schemaSerializationMode = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataSet Clone() { + DS_utility cln = ((DS_utility)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { + if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + this.Reset(); + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXml(reader); + if ((ds.Tables["v_selUtentiAll"] != null)) { + base.Tables.Add(new v_selUtentiAllDataTable(ds.Tables["v_selUtentiAll"])); + } + if ((ds.Tables["UTENTE"] != null)) { + base.Tables.Add(new UTENTEDataTable(ds.Tables["UTENTE"])); + } + if ((ds.Tables["v_selUtentiShortAD"] != null)) { + base.Tables.Add(new v_selUtentiShortADDataTable(ds.Tables["v_selUtentiShortAD"])); + } + if ((ds.Tables["v_selFiltri"] != null)) { + base.Tables.Add(new v_selFiltriDataTable(ds.Tables["v_selFiltri"])); + } + if ((ds.Tables["v_selTipoEvento"] != null)) { + base.Tables.Add(new v_selTipoEventoDataTable(ds.Tables["v_selTipoEvento"])); + } + if ((ds.Tables["v_dateEsecuzione"] != null)) { + base.Tables.Add(new v_dateEsecuzioneDataTable(ds.Tables["v_dateEsecuzione"])); + } + if ((ds.Tables["v_selStati"] != null)) { + base.Tables.Add(new v_selStatiDataTable(ds.Tables["v_selStati"])); + } + if ((ds.Tables["v_selClienti"] != null)) { + base.Tables.Add(new v_selClientiDataTable(ds.Tables["v_selClienti"])); + } + if ((ds.Tables["v_selTipoMappa"] != null)) { + base.Tables.Add(new v_selTipoMappaDataTable(ds.Tables["v_selTipoMappa"])); + } + if ((ds.Tables["v_selAnagLav"] != null)) { + base.Tables.Add(new v_selAnagLavDataTable(ds.Tables["v_selAnagLav"])); + } + if ((ds.Tables["v_selSetObj"] != null)) { + base.Tables.Add(new v_selSetObjDataTable(ds.Tables["v_selSetObj"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXml(reader); + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { + global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); + this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); + stream.Position = 0; + return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars(bool initTable) { + this.tablev_selUtentiAll = ((v_selUtentiAllDataTable)(base.Tables["v_selUtentiAll"])); + if ((initTable == true)) { + if ((this.tablev_selUtentiAll != null)) { + this.tablev_selUtentiAll.InitVars(); + } + } + this.tableUTENTE = ((UTENTEDataTable)(base.Tables["UTENTE"])); + if ((initTable == true)) { + if ((this.tableUTENTE != null)) { + this.tableUTENTE.InitVars(); + } + } + this.tablev_selUtentiShortAD = ((v_selUtentiShortADDataTable)(base.Tables["v_selUtentiShortAD"])); + if ((initTable == true)) { + if ((this.tablev_selUtentiShortAD != null)) { + this.tablev_selUtentiShortAD.InitVars(); + } + } + this.tablev_selFiltri = ((v_selFiltriDataTable)(base.Tables["v_selFiltri"])); + if ((initTable == true)) { + if ((this.tablev_selFiltri != null)) { + this.tablev_selFiltri.InitVars(); + } + } + this.tablev_selTipoEvento = ((v_selTipoEventoDataTable)(base.Tables["v_selTipoEvento"])); + if ((initTable == true)) { + if ((this.tablev_selTipoEvento != null)) { + this.tablev_selTipoEvento.InitVars(); + } + } + this.tablev_dateEsecuzione = ((v_dateEsecuzioneDataTable)(base.Tables["v_dateEsecuzione"])); + if ((initTable == true)) { + if ((this.tablev_dateEsecuzione != null)) { + this.tablev_dateEsecuzione.InitVars(); + } + } + this.tablev_selStati = ((v_selStatiDataTable)(base.Tables["v_selStati"])); + if ((initTable == true)) { + if ((this.tablev_selStati != null)) { + this.tablev_selStati.InitVars(); + } + } + this.tablev_selClienti = ((v_selClientiDataTable)(base.Tables["v_selClienti"])); + if ((initTable == true)) { + if ((this.tablev_selClienti != null)) { + this.tablev_selClienti.InitVars(); + } + } + this.tablev_selTipoMappa = ((v_selTipoMappaDataTable)(base.Tables["v_selTipoMappa"])); + if ((initTable == true)) { + if ((this.tablev_selTipoMappa != null)) { + this.tablev_selTipoMappa.InitVars(); + } + } + this.tablev_selAnagLav = ((v_selAnagLavDataTable)(base.Tables["v_selAnagLav"])); + if ((initTable == true)) { + if ((this.tablev_selAnagLav != null)) { + this.tablev_selAnagLav.InitVars(); + } + } + this.tablev_selSetObj = ((v_selSetObjDataTable)(base.Tables["v_selSetObj"])); + if ((initTable == true)) { + if ((this.tablev_selSetObj != null)) { + this.tablev_selSetObj.InitVars(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.DataSetName = "DS_utility"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/DS_utility.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tablev_selUtentiAll = new v_selUtentiAllDataTable(); + base.Tables.Add(this.tablev_selUtentiAll); + this.tableUTENTE = new UTENTEDataTable(); + base.Tables.Add(this.tableUTENTE); + this.tablev_selUtentiShortAD = new v_selUtentiShortADDataTable(); + base.Tables.Add(this.tablev_selUtentiShortAD); + this.tablev_selFiltri = new v_selFiltriDataTable(); + base.Tables.Add(this.tablev_selFiltri); + this.tablev_selTipoEvento = new v_selTipoEventoDataTable(); + base.Tables.Add(this.tablev_selTipoEvento); + this.tablev_dateEsecuzione = new v_dateEsecuzioneDataTable(); + base.Tables.Add(this.tablev_dateEsecuzione); + this.tablev_selStati = new v_selStatiDataTable(); + base.Tables.Add(this.tablev_selStati); + this.tablev_selClienti = new v_selClientiDataTable(); + base.Tables.Add(this.tablev_selClienti); + this.tablev_selTipoMappa = new v_selTipoMappaDataTable(); + base.Tables.Add(this.tablev_selTipoMappa); + this.tablev_selAnagLav = new v_selAnagLavDataTable(); + base.Tables.Add(this.tablev_selAnagLav); + this.tablev_selSetObj = new v_selSetObjDataTable(); + base.Tables.Add(this.tablev_selSetObj); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selUtentiAll() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeUTENTE() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selUtentiShortAD() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selFiltri() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selTipoEvento() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_dateEsecuzione() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selStati() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selClienti() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selTipoMappa() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selAnagLav() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selSetObj() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + DS_utility ds = new DS_utility(); + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); + any.Namespace = ds.Namespace; + sequence.Items.Add(any); + 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; + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selUtentiAllRowChangeEventHandler(object sender, v_selUtentiAllRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void UTENTERowChangeEventHandler(object sender, UTENTERowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selUtentiShortADRowChangeEventHandler(object sender, v_selUtentiShortADRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selFiltriRowChangeEventHandler(object sender, v_selFiltriRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selTipoEventoRowChangeEventHandler(object sender, v_selTipoEventoRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_dateEsecuzioneRowChangeEventHandler(object sender, v_dateEsecuzioneRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selStatiRowChangeEventHandler(object sender, v_selStatiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selClientiRowChangeEventHandler(object sender, v_selClientiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selTipoMappaRowChangeEventHandler(object sender, v_selTipoMappaRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selAnagLavRowChangeEventHandler(object sender, v_selAnagLavRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selSetObjRowChangeEventHandler(object sender, v_selSetObjRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selUtentiAllDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnCOD_CDC; + + private global::System.Data.DataColumn columnATTIVO; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUtentiAllDataTable() { + this.TableName = "v_selUtentiAll"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selUtentiAllDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selUtentiAllDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn COD_CDCColumn { + get { + return this.columnCOD_CDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ATTIVOColumn { + get { + return this.columnATTIVO; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUtentiAllRow this[int index] { + get { + return ((v_selUtentiAllRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selUtentiAllRowChangeEventHandler v_selUtentiAllRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selUtentiAllRowChangeEventHandler v_selUtentiAllRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selUtentiAllRowChangeEventHandler v_selUtentiAllRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selUtentiAllRowChangeEventHandler v_selUtentiAllRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selUtentiAllRow(v_selUtentiAllRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUtentiAllRow Addv_selUtentiAllRow(string value, string label, string COD_CDC, string ATTIVO) { + v_selUtentiAllRow rowv_selUtentiAllRow = ((v_selUtentiAllRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label, + COD_CDC, + ATTIVO}; + rowv_selUtentiAllRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selUtentiAllRow); + return rowv_selUtentiAllRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUtentiAllRow FindByvalue(string value) { + return ((v_selUtentiAllRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selUtentiAllDataTable cln = ((v_selUtentiAllDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selUtentiAllDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + this.columnCOD_CDC = base.Columns["COD_CDC"]; + this.columnATTIVO = base.Columns["ATTIVO"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnCOD_CDC = new global::System.Data.DataColumn("COD_CDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCOD_CDC); + this.columnATTIVO = new global::System.Data.DataColumn("ATTIVO", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnATTIVO); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnvalue.MaxLength = 50; + this.columnlabel.ReadOnly = true; + this.columnlabel.MaxLength = 232; + this.columnCOD_CDC.MaxLength = 10; + this.columnATTIVO.MaxLength = 1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUtentiAllRow Newv_selUtentiAllRow() { + return ((v_selUtentiAllRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selUtentiAllRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selUtentiAllRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selUtentiAllRowChanged != null)) { + this.v_selUtentiAllRowChanged(this, new v_selUtentiAllRowChangeEvent(((v_selUtentiAllRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selUtentiAllRowChanging != null)) { + this.v_selUtentiAllRowChanging(this, new v_selUtentiAllRowChangeEvent(((v_selUtentiAllRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selUtentiAllRowDeleted != null)) { + this.v_selUtentiAllRowDeleted(this, new v_selUtentiAllRowChangeEvent(((v_selUtentiAllRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selUtentiAllRowDeleting != null)) { + this.v_selUtentiAllRowDeleting(this, new v_selUtentiAllRowChangeEvent(((v_selUtentiAllRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selUtentiAllRow(v_selUtentiAllRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_utility ds = new DS_utility(); + 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 = "v_selUtentiAllDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class UTENTEDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnDOMINIO; + + private global::System.Data.DataColumn columnUSER_NAME; + + private global::System.Data.DataColumn columnCOGNOME; + + private global::System.Data.DataColumn columnNOME; + + private global::System.Data.DataColumn columnCOD_SOCIETA; + + private global::System.Data.DataColumn columnMATRICOLA; + + private global::System.Data.DataColumn columnCOD_CDC; + + private global::System.Data.DataColumn columnEMAIL; + + private global::System.Data.DataColumn columnSIGLA; + + private global::System.Data.DataColumn columnCOD_LINGUA; + + private global::System.Data.DataColumn columnATTIVO; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UTENTEDataTable() { + this.TableName = "UTENTE"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal UTENTEDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected UTENTEDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DOMINIOColumn { + get { + return this.columnDOMINIO; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn USER_NAMEColumn { + get { + return this.columnUSER_NAME; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn COGNOMEColumn { + get { + return this.columnCOGNOME; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NOMEColumn { + get { + return this.columnNOME; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn COD_SOCIETAColumn { + get { + return this.columnCOD_SOCIETA; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn MATRICOLAColumn { + get { + return this.columnMATRICOLA; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn COD_CDCColumn { + get { + return this.columnCOD_CDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EMAILColumn { + get { + return this.columnEMAIL; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn SIGLAColumn { + get { + return this.columnSIGLA; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn COD_LINGUAColumn { + get { + return this.columnCOD_LINGUA; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ATTIVOColumn { + get { + return this.columnATTIVO; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UTENTERow this[int index] { + get { + return ((UTENTERow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event UTENTERowChangeEventHandler UTENTERowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event UTENTERowChangeEventHandler UTENTERowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event UTENTERowChangeEventHandler UTENTERowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event UTENTERowChangeEventHandler UTENTERowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddUTENTERow(UTENTERow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UTENTERow AddUTENTERow(string DOMINIO, string USER_NAME, string COGNOME, string NOME, string COD_SOCIETA, string MATRICOLA, string COD_CDC, string EMAIL, string SIGLA, string COD_LINGUA, string ATTIVO) { + UTENTERow rowUTENTERow = ((UTENTERow)(this.NewRow())); + object[] columnValuesArray = new object[] { + DOMINIO, + USER_NAME, + COGNOME, + NOME, + COD_SOCIETA, + MATRICOLA, + COD_CDC, + EMAIL, + SIGLA, + COD_LINGUA, + ATTIVO}; + rowUTENTERow.ItemArray = columnValuesArray; + this.Rows.Add(rowUTENTERow); + return rowUTENTERow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UTENTERow FindByUSER_NAME(string USER_NAME) { + return ((UTENTERow)(this.Rows.Find(new object[] { + USER_NAME}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + UTENTEDataTable cln = ((UTENTEDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new UTENTEDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnDOMINIO = base.Columns["DOMINIO"]; + this.columnUSER_NAME = base.Columns["USER_NAME"]; + this.columnCOGNOME = base.Columns["COGNOME"]; + this.columnNOME = base.Columns["NOME"]; + this.columnCOD_SOCIETA = base.Columns["COD_SOCIETA"]; + this.columnMATRICOLA = base.Columns["MATRICOLA"]; + this.columnCOD_CDC = base.Columns["COD_CDC"]; + this.columnEMAIL = base.Columns["EMAIL"]; + this.columnSIGLA = base.Columns["SIGLA"]; + this.columnCOD_LINGUA = base.Columns["COD_LINGUA"]; + this.columnATTIVO = base.Columns["ATTIVO"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnDOMINIO = new global::System.Data.DataColumn("DOMINIO", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDOMINIO); + this.columnUSER_NAME = new global::System.Data.DataColumn("USER_NAME", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUSER_NAME); + this.columnCOGNOME = new global::System.Data.DataColumn("COGNOME", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCOGNOME); + this.columnNOME = new global::System.Data.DataColumn("NOME", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNOME); + this.columnCOD_SOCIETA = new global::System.Data.DataColumn("COD_SOCIETA", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCOD_SOCIETA); + this.columnMATRICOLA = new global::System.Data.DataColumn("MATRICOLA", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMATRICOLA); + this.columnCOD_CDC = new global::System.Data.DataColumn("COD_CDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCOD_CDC); + this.columnEMAIL = new global::System.Data.DataColumn("EMAIL", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnEMAIL); + this.columnSIGLA = new global::System.Data.DataColumn("SIGLA", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSIGLA); + this.columnCOD_LINGUA = new global::System.Data.DataColumn("COD_LINGUA", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCOD_LINGUA); + this.columnATTIVO = new global::System.Data.DataColumn("ATTIVO", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnATTIVO); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnUSER_NAME}, true)); + this.columnDOMINIO.MaxLength = 30; + this.columnUSER_NAME.AllowDBNull = false; + this.columnUSER_NAME.Unique = true; + this.columnUSER_NAME.MaxLength = 50; + this.columnCOGNOME.MaxLength = 100; + this.columnNOME.MaxLength = 100; + this.columnCOD_SOCIETA.MaxLength = 5; + this.columnMATRICOLA.MaxLength = 5; + this.columnCOD_CDC.MaxLength = 10; + this.columnEMAIL.MaxLength = 100; + this.columnSIGLA.MaxLength = 5; + this.columnCOD_LINGUA.MaxLength = 3; + this.columnATTIVO.MaxLength = 1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UTENTERow NewUTENTERow() { + return ((UTENTERow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new UTENTERow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(UTENTERow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.UTENTERowChanged != null)) { + this.UTENTERowChanged(this, new UTENTERowChangeEvent(((UTENTERow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.UTENTERowChanging != null)) { + this.UTENTERowChanging(this, new UTENTERowChangeEvent(((UTENTERow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.UTENTERowDeleted != null)) { + this.UTENTERowDeleted(this, new UTENTERowChangeEvent(((UTENTERow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.UTENTERowDeleting != null)) { + this.UTENTERowDeleting(this, new UTENTERowChangeEvent(((UTENTERow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveUTENTERow(UTENTERow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_utility ds = new DS_utility(); + 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 = "UTENTEDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selUtentiShortADDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnCOD_CDC; + + private global::System.Data.DataColumn columnATTIVO; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUtentiShortADDataTable() { + this.TableName = "v_selUtentiShortAD"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selUtentiShortADDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selUtentiShortADDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn COD_CDCColumn { + get { + return this.columnCOD_CDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ATTIVOColumn { + get { + return this.columnATTIVO; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUtentiShortADRow this[int index] { + get { + return ((v_selUtentiShortADRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selUtentiShortADRowChangeEventHandler v_selUtentiShortADRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selUtentiShortADRowChangeEventHandler v_selUtentiShortADRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selUtentiShortADRowChangeEventHandler v_selUtentiShortADRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selUtentiShortADRowChangeEventHandler v_selUtentiShortADRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selUtentiShortADRow(v_selUtentiShortADRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUtentiShortADRow Addv_selUtentiShortADRow(string value, string label, string COD_CDC, string ATTIVO) { + v_selUtentiShortADRow rowv_selUtentiShortADRow = ((v_selUtentiShortADRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label, + COD_CDC, + ATTIVO}; + rowv_selUtentiShortADRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selUtentiShortADRow); + return rowv_selUtentiShortADRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selUtentiShortADDataTable cln = ((v_selUtentiShortADDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selUtentiShortADDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + this.columnCOD_CDC = base.Columns["COD_CDC"]; + this.columnATTIVO = base.Columns["ATTIVO"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnCOD_CDC = new global::System.Data.DataColumn("COD_CDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCOD_CDC); + this.columnATTIVO = new global::System.Data.DataColumn("ATTIVO", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnATTIVO); + this.columnvalue.ReadOnly = true; + this.columnvalue.MaxLength = 81; + this.columnlabel.ReadOnly = true; + this.columnlabel.MaxLength = 201; + this.columnCOD_CDC.MaxLength = 10; + this.columnATTIVO.MaxLength = 1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUtentiShortADRow Newv_selUtentiShortADRow() { + return ((v_selUtentiShortADRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selUtentiShortADRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selUtentiShortADRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selUtentiShortADRowChanged != null)) { + this.v_selUtentiShortADRowChanged(this, new v_selUtentiShortADRowChangeEvent(((v_selUtentiShortADRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selUtentiShortADRowChanging != null)) { + this.v_selUtentiShortADRowChanging(this, new v_selUtentiShortADRowChangeEvent(((v_selUtentiShortADRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selUtentiShortADRowDeleted != null)) { + this.v_selUtentiShortADRowDeleted(this, new v_selUtentiShortADRowChangeEvent(((v_selUtentiShortADRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selUtentiShortADRowDeleting != null)) { + this.v_selUtentiShortADRowDeleting(this, new v_selUtentiShortADRowChangeEvent(((v_selUtentiShortADRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selUtentiShortADRow(v_selUtentiShortADRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_utility ds = new DS_utility(); + 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 = "v_selUtentiShortADDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selFiltriDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnconditio; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selFiltriDataTable() { + this.TableName = "v_selFiltri"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selFiltriDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selFiltriDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn conditioColumn { + get { + return this.columnconditio; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selFiltriRow this[int index] { + get { + return ((v_selFiltriRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selFiltriRowChangeEventHandler v_selFiltriRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selFiltriRowChangeEventHandler v_selFiltriRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selFiltriRowChangeEventHandler v_selFiltriRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selFiltriRowChangeEventHandler v_selFiltriRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selFiltriRow(v_selFiltriRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selFiltriRow Addv_selFiltriRow(string value, string label, string conditio) { + v_selFiltriRow rowv_selFiltriRow = ((v_selFiltriRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label, + conditio}; + rowv_selFiltriRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selFiltriRow); + return rowv_selFiltriRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selFiltriDataTable cln = ((v_selFiltriDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selFiltriDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + this.columnconditio = base.Columns["conditio"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnconditio = new global::System.Data.DataColumn("conditio", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnconditio); + this.columnvalue.AllowDBNull = false; + this.columnvalue.MaxLength = 50; + this.columnlabel.MaxLength = 50; + this.columnconditio.AllowDBNull = false; + this.columnconditio.MaxLength = 31; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selFiltriRow Newv_selFiltriRow() { + return ((v_selFiltriRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selFiltriRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selFiltriRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selFiltriRowChanged != null)) { + this.v_selFiltriRowChanged(this, new v_selFiltriRowChangeEvent(((v_selFiltriRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selFiltriRowChanging != null)) { + this.v_selFiltriRowChanging(this, new v_selFiltriRowChangeEvent(((v_selFiltriRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selFiltriRowDeleted != null)) { + this.v_selFiltriRowDeleted(this, new v_selFiltriRowChangeEvent(((v_selFiltriRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selFiltriRowDeleting != null)) { + this.v_selFiltriRowDeleting(this, new v_selFiltriRowChangeEvent(((v_selFiltriRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selFiltriRow(v_selFiltriRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_utility ds = new DS_utility(); + 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 = "v_selFiltriDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selTipoEventoDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoEventoDataTable() { + this.TableName = "v_selTipoEvento"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selTipoEventoDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selTipoEventoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoEventoRow this[int index] { + get { + return ((v_selTipoEventoRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoEventoRowChangeEventHandler v_selTipoEventoRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoEventoRowChangeEventHandler v_selTipoEventoRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoEventoRowChangeEventHandler v_selTipoEventoRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoEventoRowChangeEventHandler v_selTipoEventoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selTipoEventoRow(v_selTipoEventoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoEventoRow Addv_selTipoEventoRow(string value, string label) { + v_selTipoEventoRow rowv_selTipoEventoRow = ((v_selTipoEventoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label}; + rowv_selTipoEventoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selTipoEventoRow); + return rowv_selTipoEventoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoEventoRow FindByvalue(string value) { + return ((v_selTipoEventoRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selTipoEventoDataTable cln = ((v_selTipoEventoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selTipoEventoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnvalue.MaxLength = 50; + this.columnlabel.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoEventoRow Newv_selTipoEventoRow() { + return ((v_selTipoEventoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selTipoEventoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selTipoEventoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selTipoEventoRowChanged != null)) { + this.v_selTipoEventoRowChanged(this, new v_selTipoEventoRowChangeEvent(((v_selTipoEventoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selTipoEventoRowChanging != null)) { + this.v_selTipoEventoRowChanging(this, new v_selTipoEventoRowChangeEvent(((v_selTipoEventoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selTipoEventoRowDeleted != null)) { + this.v_selTipoEventoRowDeleted(this, new v_selTipoEventoRowChangeEvent(((v_selTipoEventoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selTipoEventoRowDeleting != null)) { + this.v_selTipoEventoRowDeleting(this, new v_selTipoEventoRowChangeEvent(((v_selTipoEventoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selTipoEventoRow(v_selTipoEventoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_utility ds = new DS_utility(); + 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 = "v_selTipoEventoDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_dateEsecuzioneDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnData; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_dateEsecuzioneDataTable() { + this.TableName = "v_dateEsecuzione"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_dateEsecuzioneDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_dateEsecuzioneDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataColumn { + get { + return this.columnData; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_dateEsecuzioneRow this[int index] { + get { + return ((v_dateEsecuzioneRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_dateEsecuzioneRowChangeEventHandler v_dateEsecuzioneRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_dateEsecuzioneRowChangeEventHandler v_dateEsecuzioneRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_dateEsecuzioneRowChangeEventHandler v_dateEsecuzioneRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_dateEsecuzioneRowChangeEventHandler v_dateEsecuzioneRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_dateEsecuzioneRow(v_dateEsecuzioneRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_dateEsecuzioneRow Addv_dateEsecuzioneRow(System.DateTime Data) { + v_dateEsecuzioneRow rowv_dateEsecuzioneRow = ((v_dateEsecuzioneRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + Data}; + rowv_dateEsecuzioneRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_dateEsecuzioneRow); + return rowv_dateEsecuzioneRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_dateEsecuzioneDataTable cln = ((v_dateEsecuzioneDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_dateEsecuzioneDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnData = base.Columns["Data"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnData = new global::System.Data.DataColumn("Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnData); + this.columnData.ReadOnly = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_dateEsecuzioneRow Newv_dateEsecuzioneRow() { + return ((v_dateEsecuzioneRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_dateEsecuzioneRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_dateEsecuzioneRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_dateEsecuzioneRowChanged != null)) { + this.v_dateEsecuzioneRowChanged(this, new v_dateEsecuzioneRowChangeEvent(((v_dateEsecuzioneRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_dateEsecuzioneRowChanging != null)) { + this.v_dateEsecuzioneRowChanging(this, new v_dateEsecuzioneRowChangeEvent(((v_dateEsecuzioneRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_dateEsecuzioneRowDeleted != null)) { + this.v_dateEsecuzioneRowDeleted(this, new v_dateEsecuzioneRowChangeEvent(((v_dateEsecuzioneRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_dateEsecuzioneRowDeleting != null)) { + this.v_dateEsecuzioneRowDeleting(this, new v_dateEsecuzioneRowChangeEvent(((v_dateEsecuzioneRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_dateEsecuzioneRow(v_dateEsecuzioneRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_utility ds = new DS_utility(); + 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 = "v_dateEsecuzioneDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selStatiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnconditio; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selStatiDataTable() { + this.TableName = "v_selStati"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selStatiDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selStatiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn conditioColumn { + get { + return this.columnconditio; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selStatiRow this[int index] { + get { + return ((v_selStatiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selStatiRowChangeEventHandler v_selStatiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selStatiRowChangeEventHandler v_selStatiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selStatiRowChangeEventHandler v_selStatiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selStatiRowChangeEventHandler v_selStatiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selStatiRow(v_selStatiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selStatiRow Addv_selStatiRow(string value, string label, string conditio) { + v_selStatiRow rowv_selStatiRow = ((v_selStatiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label, + conditio}; + rowv_selStatiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selStatiRow); + return rowv_selStatiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selStatiRow FindByvalue(string value) { + return ((v_selStatiRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selStatiDataTable cln = ((v_selStatiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selStatiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + this.columnconditio = base.Columns["conditio"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnconditio = new global::System.Data.DataColumn("conditio", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnconditio); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnvalue.MaxLength = 50; + this.columnlabel.MaxLength = 50; + this.columnconditio.AllowDBNull = false; + this.columnconditio.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selStatiRow Newv_selStatiRow() { + return ((v_selStatiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selStatiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selStatiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selStatiRowChanged != null)) { + this.v_selStatiRowChanged(this, new v_selStatiRowChangeEvent(((v_selStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selStatiRowChanging != null)) { + this.v_selStatiRowChanging(this, new v_selStatiRowChangeEvent(((v_selStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selStatiRowDeleted != null)) { + this.v_selStatiRowDeleted(this, new v_selStatiRowChangeEvent(((v_selStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selStatiRowDeleting != null)) { + this.v_selStatiRowDeleting(this, new v_selStatiRowChangeEvent(((v_selStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selStatiRow(v_selStatiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_utility ds = new DS_utility(); + 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 = "v_selStatiDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selClientiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selClientiDataTable() { + this.TableName = "v_selClienti"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selClientiDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selClientiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selClientiRow this[int index] { + get { + return ((v_selClientiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selClientiRowChangeEventHandler v_selClientiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selClientiRowChangeEventHandler v_selClientiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selClientiRowChangeEventHandler v_selClientiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selClientiRowChangeEventHandler v_selClientiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selClientiRow(v_selClientiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selClientiRow Addv_selClientiRow(string value, string label) { + v_selClientiRow rowv_selClientiRow = ((v_selClientiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label}; + rowv_selClientiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selClientiRow); + return rowv_selClientiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selClientiRow FindByvalue(string value) { + return ((v_selClientiRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selClientiDataTable cln = ((v_selClientiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selClientiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnvalue.MaxLength = 50; + this.columnlabel.MaxLength = 500; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selClientiRow Newv_selClientiRow() { + return ((v_selClientiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selClientiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selClientiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selClientiRowChanged != null)) { + this.v_selClientiRowChanged(this, new v_selClientiRowChangeEvent(((v_selClientiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selClientiRowChanging != null)) { + this.v_selClientiRowChanging(this, new v_selClientiRowChangeEvent(((v_selClientiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selClientiRowDeleted != null)) { + this.v_selClientiRowDeleted(this, new v_selClientiRowChangeEvent(((v_selClientiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selClientiRowDeleting != null)) { + this.v_selClientiRowDeleting(this, new v_selClientiRowChangeEvent(((v_selClientiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selClientiRow(v_selClientiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_utility ds = new DS_utility(); + 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 = "v_selClientiDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selTipoMappaDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoMappaDataTable() { + this.TableName = "v_selTipoMappa"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selTipoMappaDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selTipoMappaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoMappaRow this[int index] { + get { + return ((v_selTipoMappaRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoMappaRowChangeEventHandler v_selTipoMappaRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoMappaRowChangeEventHandler v_selTipoMappaRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoMappaRowChangeEventHandler v_selTipoMappaRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoMappaRowChangeEventHandler v_selTipoMappaRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selTipoMappaRow(v_selTipoMappaRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoMappaRow Addv_selTipoMappaRow(string value, string label) { + v_selTipoMappaRow rowv_selTipoMappaRow = ((v_selTipoMappaRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label}; + rowv_selTipoMappaRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selTipoMappaRow); + return rowv_selTipoMappaRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoMappaRow FindByvalue(string value) { + return ((v_selTipoMappaRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selTipoMappaDataTable cln = ((v_selTipoMappaDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selTipoMappaDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnvalue.MaxLength = 20; + this.columnlabel.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoMappaRow Newv_selTipoMappaRow() { + return ((v_selTipoMappaRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selTipoMappaRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selTipoMappaRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selTipoMappaRowChanged != null)) { + this.v_selTipoMappaRowChanged(this, new v_selTipoMappaRowChangeEvent(((v_selTipoMappaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selTipoMappaRowChanging != null)) { + this.v_selTipoMappaRowChanging(this, new v_selTipoMappaRowChangeEvent(((v_selTipoMappaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selTipoMappaRowDeleted != null)) { + this.v_selTipoMappaRowDeleted(this, new v_selTipoMappaRowChangeEvent(((v_selTipoMappaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selTipoMappaRowDeleting != null)) { + this.v_selTipoMappaRowDeleting(this, new v_selTipoMappaRowChangeEvent(((v_selTipoMappaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selTipoMappaRow(v_selTipoMappaRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_utility ds = new DS_utility(); + 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 = "v_selTipoMappaDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selAnagLavDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selAnagLavDataTable() { + this.TableName = "v_selAnagLav"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selAnagLavDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selAnagLavDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selAnagLavRow this[int index] { + get { + return ((v_selAnagLavRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selAnagLavRowChangeEventHandler v_selAnagLavRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selAnagLavRowChangeEventHandler v_selAnagLavRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selAnagLavRowChangeEventHandler v_selAnagLavRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selAnagLavRowChangeEventHandler v_selAnagLavRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selAnagLavRow(v_selAnagLavRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selAnagLavRow Addv_selAnagLavRow(string value, string label) { + v_selAnagLavRow rowv_selAnagLavRow = ((v_selAnagLavRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label}; + rowv_selAnagLavRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selAnagLavRow); + return rowv_selAnagLavRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selAnagLavRow FindByvalue(string value) { + return ((v_selAnagLavRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selAnagLavDataTable cln = ((v_selAnagLavDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selAnagLavDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnvalue.MaxLength = 50; + this.columnlabel.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selAnagLavRow Newv_selAnagLavRow() { + return ((v_selAnagLavRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selAnagLavRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selAnagLavRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selAnagLavRowChanged != null)) { + this.v_selAnagLavRowChanged(this, new v_selAnagLavRowChangeEvent(((v_selAnagLavRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selAnagLavRowChanging != null)) { + this.v_selAnagLavRowChanging(this, new v_selAnagLavRowChangeEvent(((v_selAnagLavRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selAnagLavRowDeleted != null)) { + this.v_selAnagLavRowDeleted(this, new v_selAnagLavRowChangeEvent(((v_selAnagLavRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selAnagLavRowDeleting != null)) { + this.v_selAnagLavRowDeleting(this, new v_selAnagLavRowChangeEvent(((v_selAnagLavRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selAnagLavRow(v_selAnagLavRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_utility ds = new DS_utility(); + 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 = "v_selAnagLavDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selSetObjDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selSetObjDataTable() { + this.TableName = "v_selSetObj"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selSetObjDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selSetObjDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selSetObjRow this[int index] { + get { + return ((v_selSetObjRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selSetObjRowChangeEventHandler v_selSetObjRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selSetObjRowChangeEventHandler v_selSetObjRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selSetObjRowChangeEventHandler v_selSetObjRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selSetObjRowChangeEventHandler v_selSetObjRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selSetObjRow(v_selSetObjRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selSetObjRow Addv_selSetObjRow(string value, string label) { + v_selSetObjRow rowv_selSetObjRow = ((v_selSetObjRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label}; + rowv_selSetObjRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selSetObjRow); + return rowv_selSetObjRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selSetObjRow FindByvalue(string value) { + return ((v_selSetObjRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selSetObjDataTable cln = ((v_selSetObjDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selSetObjDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnvalue.MaxLength = 50; + this.columnlabel.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selSetObjRow Newv_selSetObjRow() { + return ((v_selSetObjRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selSetObjRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selSetObjRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selSetObjRowChanged != null)) { + this.v_selSetObjRowChanged(this, new v_selSetObjRowChangeEvent(((v_selSetObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selSetObjRowChanging != null)) { + this.v_selSetObjRowChanging(this, new v_selSetObjRowChangeEvent(((v_selSetObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selSetObjRowDeleted != null)) { + this.v_selSetObjRowDeleted(this, new v_selSetObjRowChangeEvent(((v_selSetObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selSetObjRowDeleting != null)) { + this.v_selSetObjRowDeleting(this, new v_selSetObjRowChangeEvent(((v_selSetObjRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selSetObjRow(v_selSetObjRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_utility ds = new DS_utility(); + 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 = "v_selSetObjDataTable"; + 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. + /// + public partial class v_selUtentiAllRow : global::System.Data.DataRow { + + private v_selUtentiAllDataTable tablev_selUtentiAll; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selUtentiAllRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selUtentiAll = ((v_selUtentiAllDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + return ((string)(this[this.tablev_selUtentiAll.valueColumn])); + } + set { + this[this.tablev_selUtentiAll.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selUtentiAll.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selUtentiAll\' is DBNull.", e); + } + } + set { + this[this.tablev_selUtentiAll.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string COD_CDC { + get { + try { + return ((string)(this[this.tablev_selUtentiAll.COD_CDCColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'COD_CDC\' in table \'v_selUtentiAll\' is DBNull.", e); + } + } + set { + this[this.tablev_selUtentiAll.COD_CDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ATTIVO { + get { + try { + return ((string)(this[this.tablev_selUtentiAll.ATTIVOColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ATTIVO\' in table \'v_selUtentiAll\' is DBNull.", e); + } + } + set { + this[this.tablev_selUtentiAll.ATTIVOColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selUtentiAll.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selUtentiAll.labelColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCOD_CDCNull() { + return this.IsNull(this.tablev_selUtentiAll.COD_CDCColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCOD_CDCNull() { + this[this.tablev_selUtentiAll.COD_CDCColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsATTIVONull() { + return this.IsNull(this.tablev_selUtentiAll.ATTIVOColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetATTIVONull() { + this[this.tablev_selUtentiAll.ATTIVOColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class UTENTERow : global::System.Data.DataRow { + + private UTENTEDataTable tableUTENTE; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal UTENTERow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableUTENTE = ((UTENTEDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DOMINIO { + get { + try { + return ((string)(this[this.tableUTENTE.DOMINIOColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DOMINIO\' in table \'UTENTE\' is DBNull.", e); + } + } + set { + this[this.tableUTENTE.DOMINIOColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string USER_NAME { + get { + return ((string)(this[this.tableUTENTE.USER_NAMEColumn])); + } + set { + this[this.tableUTENTE.USER_NAMEColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string COGNOME { + get { + try { + return ((string)(this[this.tableUTENTE.COGNOMEColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'COGNOME\' in table \'UTENTE\' is DBNull.", e); + } + } + set { + this[this.tableUTENTE.COGNOMEColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string NOME { + get { + try { + return ((string)(this[this.tableUTENTE.NOMEColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NOME\' in table \'UTENTE\' is DBNull.", e); + } + } + set { + this[this.tableUTENTE.NOMEColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string COD_SOCIETA { + get { + try { + return ((string)(this[this.tableUTENTE.COD_SOCIETAColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'COD_SOCIETA\' in table \'UTENTE\' is DBNull.", e); + } + } + set { + this[this.tableUTENTE.COD_SOCIETAColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string MATRICOLA { + get { + try { + return ((string)(this[this.tableUTENTE.MATRICOLAColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'MATRICOLA\' in table \'UTENTE\' is DBNull.", e); + } + } + set { + this[this.tableUTENTE.MATRICOLAColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string COD_CDC { + get { + try { + return ((string)(this[this.tableUTENTE.COD_CDCColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'COD_CDC\' in table \'UTENTE\' is DBNull.", e); + } + } + set { + this[this.tableUTENTE.COD_CDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string EMAIL { + get { + try { + return ((string)(this[this.tableUTENTE.EMAILColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'EMAIL\' in table \'UTENTE\' is DBNull.", e); + } + } + set { + this[this.tableUTENTE.EMAILColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string SIGLA { + get { + try { + return ((string)(this[this.tableUTENTE.SIGLAColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'SIGLA\' in table \'UTENTE\' is DBNull.", e); + } + } + set { + this[this.tableUTENTE.SIGLAColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string COD_LINGUA { + get { + try { + return ((string)(this[this.tableUTENTE.COD_LINGUAColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'COD_LINGUA\' in table \'UTENTE\' is DBNull.", e); + } + } + set { + this[this.tableUTENTE.COD_LINGUAColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ATTIVO { + get { + try { + return ((string)(this[this.tableUTENTE.ATTIVOColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ATTIVO\' in table \'UTENTE\' is DBNull.", e); + } + } + set { + this[this.tableUTENTE.ATTIVOColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDOMINIONull() { + return this.IsNull(this.tableUTENTE.DOMINIOColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDOMINIONull() { + this[this.tableUTENTE.DOMINIOColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCOGNOMENull() { + return this.IsNull(this.tableUTENTE.COGNOMEColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCOGNOMENull() { + this[this.tableUTENTE.COGNOMEColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNOMENull() { + return this.IsNull(this.tableUTENTE.NOMEColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNOMENull() { + this[this.tableUTENTE.NOMEColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCOD_SOCIETANull() { + return this.IsNull(this.tableUTENTE.COD_SOCIETAColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCOD_SOCIETANull() { + this[this.tableUTENTE.COD_SOCIETAColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsMATRICOLANull() { + return this.IsNull(this.tableUTENTE.MATRICOLAColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetMATRICOLANull() { + this[this.tableUTENTE.MATRICOLAColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCOD_CDCNull() { + return this.IsNull(this.tableUTENTE.COD_CDCColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCOD_CDCNull() { + this[this.tableUTENTE.COD_CDCColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsEMAILNull() { + return this.IsNull(this.tableUTENTE.EMAILColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetEMAILNull() { + this[this.tableUTENTE.EMAILColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsSIGLANull() { + return this.IsNull(this.tableUTENTE.SIGLAColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetSIGLANull() { + this[this.tableUTENTE.SIGLAColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCOD_LINGUANull() { + return this.IsNull(this.tableUTENTE.COD_LINGUAColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCOD_LINGUANull() { + this[this.tableUTENTE.COD_LINGUAColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsATTIVONull() { + return this.IsNull(this.tableUTENTE.ATTIVOColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetATTIVONull() { + this[this.tableUTENTE.ATTIVOColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selUtentiShortADRow : global::System.Data.DataRow { + + private v_selUtentiShortADDataTable tablev_selUtentiShortAD; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selUtentiShortADRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selUtentiShortAD = ((v_selUtentiShortADDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + try { + return ((string)(this[this.tablev_selUtentiShortAD.valueColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'value\' in table \'v_selUtentiShortAD\' is DBNull.", e); + } + } + set { + this[this.tablev_selUtentiShortAD.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selUtentiShortAD.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selUtentiShortAD\' is DBNull.", e); + } + } + set { + this[this.tablev_selUtentiShortAD.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string COD_CDC { + get { + try { + return ((string)(this[this.tablev_selUtentiShortAD.COD_CDCColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'COD_CDC\' in table \'v_selUtentiShortAD\' is DBNull.", e); + } + } + set { + this[this.tablev_selUtentiShortAD.COD_CDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ATTIVO { + get { + try { + return ((string)(this[this.tablev_selUtentiShortAD.ATTIVOColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ATTIVO\' in table \'v_selUtentiShortAD\' is DBNull.", e); + } + } + set { + this[this.tablev_selUtentiShortAD.ATTIVOColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsvalueNull() { + return this.IsNull(this.tablev_selUtentiShortAD.valueColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetvalueNull() { + this[this.tablev_selUtentiShortAD.valueColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selUtentiShortAD.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selUtentiShortAD.labelColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCOD_CDCNull() { + return this.IsNull(this.tablev_selUtentiShortAD.COD_CDCColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCOD_CDCNull() { + this[this.tablev_selUtentiShortAD.COD_CDCColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsATTIVONull() { + return this.IsNull(this.tablev_selUtentiShortAD.ATTIVOColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetATTIVONull() { + this[this.tablev_selUtentiShortAD.ATTIVOColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selFiltriRow : global::System.Data.DataRow { + + private v_selFiltriDataTable tablev_selFiltri; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selFiltriRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selFiltri = ((v_selFiltriDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + return ((string)(this[this.tablev_selFiltri.valueColumn])); + } + set { + this[this.tablev_selFiltri.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selFiltri.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selFiltri\' is DBNull.", e); + } + } + set { + this[this.tablev_selFiltri.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string conditio { + get { + return ((string)(this[this.tablev_selFiltri.conditioColumn])); + } + set { + this[this.tablev_selFiltri.conditioColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selFiltri.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selFiltri.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selTipoEventoRow : global::System.Data.DataRow { + + private v_selTipoEventoDataTable tablev_selTipoEvento; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selTipoEventoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selTipoEvento = ((v_selTipoEventoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + return ((string)(this[this.tablev_selTipoEvento.valueColumn])); + } + set { + this[this.tablev_selTipoEvento.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selTipoEvento.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selTipoEvento\' is DBNull.", e); + } + } + set { + this[this.tablev_selTipoEvento.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selTipoEvento.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selTipoEvento.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_dateEsecuzioneRow : global::System.Data.DataRow { + + private v_dateEsecuzioneDataTable tablev_dateEsecuzione; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_dateEsecuzioneRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_dateEsecuzione = ((v_dateEsecuzioneDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime Data { + get { + try { + return ((global::System.DateTime)(this[this.tablev_dateEsecuzione.DataColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Data\' in table \'v_dateEsecuzione\' is DBNull.", e); + } + } + set { + this[this.tablev_dateEsecuzione.DataColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataNull() { + return this.IsNull(this.tablev_dateEsecuzione.DataColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataNull() { + this[this.tablev_dateEsecuzione.DataColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selStatiRow : global::System.Data.DataRow { + + private v_selStatiDataTable tablev_selStati; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selStatiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selStati = ((v_selStatiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + return ((string)(this[this.tablev_selStati.valueColumn])); + } + set { + this[this.tablev_selStati.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selStati.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selStati\' is DBNull.", e); + } + } + set { + this[this.tablev_selStati.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string conditio { + get { + return ((string)(this[this.tablev_selStati.conditioColumn])); + } + set { + this[this.tablev_selStati.conditioColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selStati.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selStati.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selClientiRow : global::System.Data.DataRow { + + private v_selClientiDataTable tablev_selClienti; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selClientiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selClienti = ((v_selClientiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + return ((string)(this[this.tablev_selClienti.valueColumn])); + } + set { + this[this.tablev_selClienti.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selClienti.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selClienti\' is DBNull.", e); + } + } + set { + this[this.tablev_selClienti.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selClienti.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selClienti.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selTipoMappaRow : global::System.Data.DataRow { + + private v_selTipoMappaDataTable tablev_selTipoMappa; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selTipoMappaRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selTipoMappa = ((v_selTipoMappaDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + return ((string)(this[this.tablev_selTipoMappa.valueColumn])); + } + set { + this[this.tablev_selTipoMappa.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selTipoMappa.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selTipoMappa\' is DBNull.", e); + } + } + set { + this[this.tablev_selTipoMappa.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selTipoMappa.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selTipoMappa.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selAnagLavRow : global::System.Data.DataRow { + + private v_selAnagLavDataTable tablev_selAnagLav; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selAnagLavRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selAnagLav = ((v_selAnagLavDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + return ((string)(this[this.tablev_selAnagLav.valueColumn])); + } + set { + this[this.tablev_selAnagLav.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selAnagLav.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selAnagLav\' is DBNull.", e); + } + } + set { + this[this.tablev_selAnagLav.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selAnagLav.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selAnagLav.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selSetObjRow : global::System.Data.DataRow { + + private v_selSetObjDataTable tablev_selSetObj; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selSetObjRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selSetObj = ((v_selSetObjDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + return ((string)(this[this.tablev_selSetObj.valueColumn])); + } + set { + this[this.tablev_selSetObj.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selSetObj.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selSetObj\' is DBNull.", e); + } + } + set { + this[this.tablev_selSetObj.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selSetObj.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selSetObj.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selUtentiAllRowChangeEvent : global::System.EventArgs { + + private v_selUtentiAllRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUtentiAllRowChangeEvent(v_selUtentiAllRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUtentiAllRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class UTENTERowChangeEvent : global::System.EventArgs { + + private UTENTERow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UTENTERowChangeEvent(UTENTERow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UTENTERow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selUtentiShortADRowChangeEvent : global::System.EventArgs { + + private v_selUtentiShortADRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUtentiShortADRowChangeEvent(v_selUtentiShortADRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUtentiShortADRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selFiltriRowChangeEvent : global::System.EventArgs { + + private v_selFiltriRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selFiltriRowChangeEvent(v_selFiltriRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selFiltriRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selTipoEventoRowChangeEvent : global::System.EventArgs { + + private v_selTipoEventoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoEventoRowChangeEvent(v_selTipoEventoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoEventoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_dateEsecuzioneRowChangeEvent : global::System.EventArgs { + + private v_dateEsecuzioneRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_dateEsecuzioneRowChangeEvent(v_dateEsecuzioneRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_dateEsecuzioneRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selStatiRowChangeEvent : global::System.EventArgs { + + private v_selStatiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selStatiRowChangeEvent(v_selStatiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selStatiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selClientiRowChangeEvent : global::System.EventArgs { + + private v_selClientiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selClientiRowChangeEvent(v_selClientiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selClientiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selTipoMappaRowChangeEvent : global::System.EventArgs { + + private v_selTipoMappaRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoMappaRowChangeEvent(v_selTipoMappaRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoMappaRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selAnagLavRowChangeEvent : global::System.EventArgs { + + private v_selAnagLavRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selAnagLavRowChangeEvent(v_selAnagLavRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selAnagLavRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selSetObjRowChangeEvent : global::System.EventArgs { + + private v_selSetObjRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selSetObjRowChangeEvent(v_selSetObjRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selSetObjRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace XPS_data.DS_utilityTableAdapters { + + + /// + ///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 v_selUtentiAllTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUtentiAllTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "v_selUtentiAll"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("COD_CDC", "COD_CDC"); + tableMapping.ColumnMappings.Add("ATTIVO", "ATTIVO"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_AnagraficaConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT value, label, COD_CDC, ATTIVO FROM dbo.v_selUtentiAll"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selUtentiAllDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selUtentiAllDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selUtentiAllDataTable dataTable = new DS_utility.v_selUtentiAllDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 UTENTETableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UTENTETableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "UTENTE"; + tableMapping.ColumnMappings.Add("DOMINIO", "DOMINIO"); + tableMapping.ColumnMappings.Add("USER_NAME", "USER_NAME"); + tableMapping.ColumnMappings.Add("COGNOME", "COGNOME"); + tableMapping.ColumnMappings.Add("NOME", "NOME"); + tableMapping.ColumnMappings.Add("COD_SOCIETA", "COD_SOCIETA"); + tableMapping.ColumnMappings.Add("MATRICOLA", "MATRICOLA"); + tableMapping.ColumnMappings.Add("COD_CDC", "COD_CDC"); + tableMapping.ColumnMappings.Add("EMAIL", "EMAIL"); + tableMapping.ColumnMappings.Add("SIGLA", "SIGLA"); + tableMapping.ColumnMappings.Add("COD_LINGUA", "COD_LINGUA"); + tableMapping.ColumnMappings.Add("ATTIVO", "ATTIVO"); + 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].[UTENTE] WHERE (((@IsNull_DOMINIO = 1 AND [DOMINIO] IS NULL) OR ([DOMINIO] = @Original_DOMINIO)) AND ([USER_NAME] = @Original_USER_NAME) AND ((@IsNull_COGNOME = 1 AND [COGNOME] IS NULL) OR ([COGNOME] = @Original_COGNOME)) AND ((@IsNull_NOME = 1 AND [NOME] IS NULL) OR ([NOME] = @Original_NOME)) AND ((@IsNull_COD_SOCIETA = 1 AND [COD_SOCIETA] IS NULL) OR ([COD_SOCIETA] = @Original_COD_SOCIETA)) AND ((@IsNull_MATRICOLA = 1 AND [MATRICOLA] IS NULL) OR ([MATRICOLA] = @Original_MATRICOLA)) AND ((@IsNull_COD_CDC = 1 AND [COD_CDC] IS NULL) OR ([COD_CDC] = @Original_COD_CDC)) AND ((@IsNull_EMAIL = 1 AND [EMAIL] IS NULL) OR ([EMAIL] = @Original_EMAIL)) AND ((@IsNull_SIGLA = 1 AND [SIGLA] IS NULL) OR ([SIGLA] = @Original_SIGLA)) AND ((@IsNull_COD_LINGUA = 1 AND [COD_LINGUA] IS NULL) OR ([COD_LINGUA] = @Original_COD_LINGUA)) AND ((@IsNull_ATTIVO = 1 AND [ATTIVO] IS NULL) OR ([ATTIVO] = @Original_ATTIVO)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DOMINIO", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DOMINIO", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_USER_NAME", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_COGNOME", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COGNOME", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_COGNOME", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COGNOME", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NOME", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NOME", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NOME", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NOME", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_COD_SOCIETA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_SOCIETA", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_COD_SOCIETA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_SOCIETA", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MATRICOLA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MATRICOLA", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MATRICOLA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MATRICOLA", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_COD_CDC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_CDC", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_COD_CDC", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_CDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_EMAIL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EMAIL", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EMAIL", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EMAIL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SIGLA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SIGLA", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SIGLA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SIGLA", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_COD_LINGUA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_LINGUA", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_COD_LINGUA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_LINGUA", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ATTIVO", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ATTIVO", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ATTIVO", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ATTIVO", 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].[UTENTE] ([DOMINIO], [USER_NAME], [COGNOME], [NOME], [COD_SOCIETA], [MATRICOLA], [COD_CDC], [EMAIL], [SIGLA], [COD_LINGUA], [ATTIVO]) VALUES (@DOMINIO, @USER_NAME, @COGNOME, @NOME, @COD_SOCIETA, @MATRICOLA, @COD_CDC, @EMAIL, @SIGLA, @COD_LINGUA, @ATTIVO); +SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL, SIGLA, COD_LINGUA, ATTIVO FROM UTENTE WHERE (USER_NAME = @USER_NAME)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DOMINIO", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@USER_NAME", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COGNOME", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COGNOME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NOME", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NOME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COD_SOCIETA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_SOCIETA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MATRICOLA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MATRICOLA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COD_CDC", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_CDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EMAIL", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EMAIL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SIGLA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SIGLA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COD_LINGUA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_LINGUA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ATTIVO", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ATTIVO", 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].[UTENTE] SET [DOMINIO] = @DOMINIO, [USER_NAME] = @USER_NAME, [COGNOME] = @COGNOME, [NOME] = @NOME, [COD_SOCIETA] = @COD_SOCIETA, [MATRICOLA] = @MATRICOLA, [COD_CDC] = @COD_CDC, [EMAIL] = @EMAIL, [SIGLA] = @SIGLA, [COD_LINGUA] = @COD_LINGUA, [ATTIVO] = @ATTIVO WHERE (((@IsNull_DOMINIO = 1 AND [DOMINIO] IS NULL) OR ([DOMINIO] = @Original_DOMINIO)) AND ([USER_NAME] = @Original_USER_NAME) AND ((@IsNull_COGNOME = 1 AND [COGNOME] IS NULL) OR ([COGNOME] = @Original_COGNOME)) AND ((@IsNull_NOME = 1 AND [NOME] IS NULL) OR ([NOME] = @Original_NOME)) AND ((@IsNull_COD_SOCIETA = 1 AND [COD_SOCIETA] IS NULL) OR ([COD_SOCIETA] = @Original_COD_SOCIETA)) AND ((@IsNull_MATRICOLA = 1 AND [MATRICOLA] IS NULL) OR ([MATRICOLA] = @Original_MATRICOLA)) AND ((@IsNull_COD_CDC = 1 AND [COD_CDC] IS NULL) OR ([COD_CDC] = @Original_COD_CDC)) AND ((@IsNull_EMAIL = 1 AND [EMAIL] IS NULL) OR ([EMAIL] = @Original_EMAIL)) AND ((@IsNull_SIGLA = 1 AND [SIGLA] IS NULL) OR ([SIGLA] = @Original_SIGLA)) AND ((@IsNull_COD_LINGUA = 1 AND [COD_LINGUA] IS NULL) OR ([COD_LINGUA] = @Original_COD_LINGUA)) AND ((@IsNull_ATTIVO = 1 AND [ATTIVO] IS NULL) OR ([ATTIVO] = @Original_ATTIVO))); +SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL, SIGLA, COD_LINGUA, ATTIVO FROM UTENTE WHERE (USER_NAME = @USER_NAME)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DOMINIO", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@USER_NAME", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COGNOME", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COGNOME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NOME", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NOME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COD_SOCIETA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_SOCIETA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MATRICOLA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MATRICOLA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COD_CDC", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_CDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EMAIL", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EMAIL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SIGLA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SIGLA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COD_LINGUA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_LINGUA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ATTIVO", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ATTIVO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DOMINIO", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DOMINIO", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_USER_NAME", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_COGNOME", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COGNOME", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_COGNOME", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COGNOME", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NOME", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NOME", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NOME", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NOME", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_COD_SOCIETA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_SOCIETA", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_COD_SOCIETA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_SOCIETA", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MATRICOLA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MATRICOLA", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MATRICOLA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MATRICOLA", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_COD_CDC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_CDC", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_COD_CDC", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_CDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_EMAIL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EMAIL", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EMAIL", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EMAIL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SIGLA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SIGLA", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SIGLA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SIGLA", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_COD_LINGUA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_LINGUA", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_COD_LINGUA", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "COD_LINGUA", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ATTIVO", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ATTIVO", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ATTIVO", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ATTIVO", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_AnagraficaConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL," + + " SIGLA, COD_LINGUA, ATTIVO FROM dbo.UTENTE"; + 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 = "SELECT *\r\nFROM Utente\r\nWHERE (USER_NAME = @USER_NAME)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@USER_NAME", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.UTENTEDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.UTENTEDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.UTENTEDataTable dataTable = new DS_utility.UTENTEDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_utility.UTENTEDataTable GetByUserName(string USER_NAME) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((USER_NAME == null)) { + throw new global::System.ArgumentNullException("USER_NAME"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(USER_NAME)); + } + DS_utility.UTENTEDataTable dataTable = new DS_utility.UTENTEDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_utility.UTENTEDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_utility dataSet) { + return this.Adapter.Update(dataSet, "UTENTE"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_DOMINIO, string Original_USER_NAME, string Original_COGNOME, string Original_NOME, string Original_COD_SOCIETA, string Original_MATRICOLA, string Original_COD_CDC, string Original_EMAIL, string Original_SIGLA, string Original_COD_LINGUA, string Original_ATTIVO) { + if ((Original_DOMINIO == null)) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_DOMINIO)); + } + if ((Original_USER_NAME == null)) { + throw new global::System.ArgumentNullException("Original_USER_NAME"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_USER_NAME)); + } + if ((Original_COGNOME == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_COGNOME)); + } + if ((Original_NOME == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_NOME)); + } + if ((Original_COD_SOCIETA == null)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_COD_SOCIETA)); + } + if ((Original_MATRICOLA == null)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_MATRICOLA)); + } + if ((Original_COD_CDC == null)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_COD_CDC)); + } + if ((Original_EMAIL == null)) { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_EMAIL)); + } + if ((Original_SIGLA == null)) { + this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_SIGLA)); + } + if ((Original_COD_LINGUA == null)) { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_COD_LINGUA)); + } + if ((Original_ATTIVO == null)) { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_ATTIVO)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string DOMINIO, string USER_NAME, string COGNOME, string NOME, string COD_SOCIETA, string MATRICOLA, string COD_CDC, string EMAIL, string SIGLA, string COD_LINGUA, string ATTIVO) { + if ((DOMINIO == null)) { + this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(DOMINIO)); + } + if ((USER_NAME == null)) { + throw new global::System.ArgumentNullException("USER_NAME"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(USER_NAME)); + } + if ((COGNOME == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(COGNOME)); + } + if ((NOME == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(NOME)); + } + if ((COD_SOCIETA == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(COD_SOCIETA)); + } + if ((MATRICOLA == null)) { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(MATRICOLA)); + } + if ((COD_CDC == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(COD_CDC)); + } + if ((EMAIL == null)) { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(EMAIL)); + } + if ((SIGLA == null)) { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(SIGLA)); + } + if ((COD_LINGUA == null)) { + this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = ((string)(COD_LINGUA)); + } + if ((ATTIVO == null)) { + this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[10].Value = ((string)(ATTIVO)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string DOMINIO, + string USER_NAME, + string COGNOME, + string NOME, + string COD_SOCIETA, + string MATRICOLA, + string COD_CDC, + string EMAIL, + string SIGLA, + string COD_LINGUA, + string ATTIVO, + string Original_DOMINIO, + string Original_USER_NAME, + string Original_COGNOME, + string Original_NOME, + string Original_COD_SOCIETA, + string Original_MATRICOLA, + string Original_COD_CDC, + string Original_EMAIL, + string Original_SIGLA, + string Original_COD_LINGUA, + string Original_ATTIVO) { + if ((DOMINIO == null)) { + this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(DOMINIO)); + } + if ((USER_NAME == null)) { + throw new global::System.ArgumentNullException("USER_NAME"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(USER_NAME)); + } + if ((COGNOME == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(COGNOME)); + } + if ((NOME == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(NOME)); + } + if ((COD_SOCIETA == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(COD_SOCIETA)); + } + if ((MATRICOLA == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(MATRICOLA)); + } + if ((COD_CDC == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(COD_CDC)); + } + if ((EMAIL == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(EMAIL)); + } + if ((SIGLA == null)) { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(SIGLA)); + } + if ((COD_LINGUA == null)) { + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(COD_LINGUA)); + } + if ((ATTIVO == null)) { + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(ATTIVO)); + } + if ((Original_DOMINIO == null)) { + this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_DOMINIO)); + } + if ((Original_USER_NAME == null)) { + throw new global::System.ArgumentNullException("Original_USER_NAME"); + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_USER_NAME)); + } + if ((Original_COGNOME == null)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_COGNOME)); + } + if ((Original_NOME == null)) { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_NOME)); + } + if ((Original_COD_SOCIETA == null)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_COD_SOCIETA)); + } + if ((Original_MATRICOLA == null)) { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_MATRICOLA)); + } + if ((Original_COD_CDC == null)) { + this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_COD_CDC)); + } + if ((Original_EMAIL == null)) { + this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_EMAIL)); + } + if ((Original_SIGLA == null)) { + this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_SIGLA)); + } + if ((Original_COD_LINGUA == null)) { + this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_COD_LINGUA)); + } + if ((Original_ATTIVO == null)) { + this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_ATTIVO)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string DOMINIO, + string COGNOME, + string NOME, + string COD_SOCIETA, + string MATRICOLA, + string COD_CDC, + string EMAIL, + string SIGLA, + string COD_LINGUA, + string ATTIVO, + string Original_DOMINIO, + string Original_USER_NAME, + string Original_COGNOME, + string Original_NOME, + string Original_COD_SOCIETA, + string Original_MATRICOLA, + string Original_COD_CDC, + string Original_EMAIL, + string Original_SIGLA, + string Original_COD_LINGUA, + string Original_ATTIVO) { + return this.Update(DOMINIO, Original_USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL, SIGLA, COD_LINGUA, ATTIVO, Original_DOMINIO, Original_USER_NAME, Original_COGNOME, Original_NOME, Original_COD_SOCIETA, Original_MATRICOLA, Original_COD_CDC, Original_EMAIL, Original_SIGLA, Original_COD_LINGUA, Original_ATTIVO); + } + } + + /// + ///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 v_selUtentiShortADTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUtentiShortADTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "v_selUtentiShortAD"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("COD_CDC", "COD_CDC"); + tableMapping.ColumnMappings.Add("ATTIVO", "ATTIVO"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_AnagraficaConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT value, label, COD_CDC, ATTIVO FROM dbo.v_selUtentiShortAD"; + 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 = "SELECT value, label, COD_CDC, ATTIVO FROM dbo.v_selUtentiShortAD\r\nwhere value=@va" + + "lue"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@value", global::System.Data.SqlDbType.NVarChar, 81, global::System.Data.ParameterDirection.Input, 0, 0, "value", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selUtentiShortADDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selUtentiShortADDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selUtentiShortADDataTable dataTable = new DS_utility.v_selUtentiShortADDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_utility.v_selUtentiShortADDataTable getByValue(string value) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((value == null)) { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(value)); + } + DS_utility.v_selUtentiShortADDataTable dataTable = new DS_utility.v_selUtentiShortADDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 v_selFiltriTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selFiltriTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "v_selFiltri"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("conditio", "conditio"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT value, label, conditio FROM dbo.v_selFiltri"; + 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 = "SELECT value, label, conditio FROM dbo.v_selFiltri\r\nWHERE conditio=@conditio"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conditio", global::System.Data.SqlDbType.NVarChar, 31, global::System.Data.ParameterDirection.Input, 0, 0, "conditio", 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 = @"SELECT v_selFiltri.value, v_selFiltri.label, v_selFiltri.conditio +FROM Permessi INNER JOIN + Permessi2Funzione ON Permessi.COD_PERMESSO = Permessi2Funzione.COD_PERMESSO INNER JOIN + v_selFiltri ON Permessi2Funzione.COD_FUNZIONE = v_selFiltri.conditio +WHERE (Permessi.URL = @url)"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@url", global::System.Data.SqlDbType.VarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, "URL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selFiltriDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selFiltriDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selFiltriDataTable dataTable = new DS_utility.v_selFiltriDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_utility.v_selFiltriDataTable getByConditio(string conditio) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((conditio == null)) { + throw new global::System.ArgumentNullException("conditio"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(conditio)); + } + DS_utility.v_selFiltriDataTable dataTable = new DS_utility.v_selFiltriDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_utility.v_selFiltriDataTable getByUrl(string url) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((url == null)) { + throw new global::System.ArgumentNullException("url"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(url)); + } + DS_utility.v_selFiltriDataTable dataTable = new DS_utility.v_selFiltriDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 v_selTipoEventoTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoEventoTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "v_selTipoEvento"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT value, label FROM dbo.v_selTipoEvento"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selTipoEventoDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selTipoEventoDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selTipoEventoDataTable dataTable = new DS_utility.v_selTipoEventoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 v_dateEsecuzioneTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_dateEsecuzioneTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "v_dateEsecuzione"; + tableMapping.ColumnMappings.Add("Data", "Data"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT Data FROM dbo.v_dateEsecuzione"; + 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_dateProxScadenze"; + 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("@dataMin", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_dateEsecuzioneDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_dateEsecuzioneDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_dateEsecuzioneDataTable dataTable = new DS_utility.v_dateEsecuzioneDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_utility.v_dateEsecuzioneDataTable getByDataMin(global::System.Nullable dataMin) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((dataMin.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(dataMin.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_utility.v_dateEsecuzioneDataTable dataTable = new DS_utility.v_dateEsecuzioneDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 v_selStatiTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selStatiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "v_selStati"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("conditio", "conditio"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT value, label, conditio FROM dbo.v_selStati"; + 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 = "SELECT value, label, conditio FROM dbo.v_selStati\r\nwhere conditio=@conditio"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conditio", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "conditio", 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_selStatiMinMax"; + 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("@PrioritaStatoMin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PrioritaStatoMax", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selStatiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selStatiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selStatiDataTable dataTable = new DS_utility.v_selStatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_utility.v_selStatiDataTable getByConditio(string conditio) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((conditio == null)) { + throw new global::System.ArgumentNullException("conditio"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(conditio)); + } + DS_utility.v_selStatiDataTable dataTable = new DS_utility.v_selStatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_utility.v_selStatiDataTable getByPiorita(global::System.Nullable PrioritaStatoMin, global::System.Nullable PrioritaStatoMax) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((PrioritaStatoMin.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(PrioritaStatoMin.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((PrioritaStatoMax.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((int)(PrioritaStatoMax.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + DS_utility.v_selStatiDataTable dataTable = new DS_utility.v_selStatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 v_selClientiTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selClientiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "v_selClienti"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT value, label FROM dbo.v_selClienti"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selClientiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selClientiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selClientiDataTable dataTable = new DS_utility.v_selClientiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 v_selTipoMappaTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoMappaTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "v_selTipoMappa"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT value, label FROM dbo.v_selTipoMappa"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selTipoMappaDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selTipoMappaDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selTipoMappaDataTable dataTable = new DS_utility.v_selTipoMappaDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 v_selAnagLavTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selAnagLavTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "v_selAnagLav"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT value, label FROM dbo.v_selAnagLav"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selAnagLavDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selAnagLavDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selAnagLavDataTable dataTable = new DS_utility.v_selAnagLavDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 v_selSetObjTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selSetObjTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "v_selSetObj"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT value, label FROM dbo.v_selSetObj"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selSetObjDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selSetObjDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selSetObjDataTable dataTable = new DS_utility.v_selSetObjDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + + "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] + public partial class TableAdapterManager : global::System.ComponentModel.Component { + + private UpdateOrderOption _updateOrder; + + private UTENTETableAdapter _uTENTETableAdapter; + + private bool _backupDataSetBeforeUpdate; + + private global::System.Data.IDbConnection _connection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UpdateOrderOption UpdateOrder { + get { + return this._updateOrder; + } + set { + this._updateOrder = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public UTENTETableAdapter UTENTETableAdapter { + get { + return this._uTENTETableAdapter; + } + set { + this._uTENTETableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool BackupDataSetBeforeUpdate { + get { + return this._backupDataSetBeforeUpdate; + } + set { + this._backupDataSetBeforeUpdate = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public global::System.Data.IDbConnection Connection { + get { + if ((this._connection != null)) { + return this._connection; + } + if (((this._uTENTETableAdapter != null) + && (this._uTENTETableAdapter.Connection != null))) { + return this._uTENTETableAdapter.Connection; + } + return null; + } + set { + this._connection = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int TableAdapterInstanceCount { + get { + int count = 0; + if ((this._uTENTETableAdapter != null)) { + count = (count + 1); + } + return count; + } + } + + /// + ///Update rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateUpdatedRows(DS_utility dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._uTENTETableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.UTENTE.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._uTENTETableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + return result; + } + + /// + ///Insert rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateInsertedRows(DS_utility dataSet, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._uTENTETableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.UTENTE.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._uTENTETableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + return result; + } + + /// + ///Delete rows in bottom-up order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateDeletedRows(DS_utility dataSet, global::System.Collections.Generic.List allChangedRows) { + int result = 0; + if ((this._uTENTETableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.UTENTE.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._uTENTETableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + return result; + } + + /// + ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { + if (((updatedRows == null) + || (updatedRows.Length < 1))) { + return updatedRows; + } + if (((allAddedRows == null) + || (allAddedRows.Count < 1))) { + return updatedRows; + } + global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); + for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { + global::System.Data.DataRow row = updatedRows[i]; + if ((allAddedRows.Contains(row) == false)) { + realUpdatedRows.Add(row); + } + } + return realUpdatedRows.ToArray(); + } + + /// + ///Update all changes to the dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public virtual int UpdateAll(DS_utility dataSet) { + if ((dataSet == null)) { + throw new global::System.ArgumentNullException("dataSet"); + } + if ((dataSet.HasChanges() == false)) { + return 0; + } + if (((this._uTENTETableAdapter != null) + && (this.MatchTableAdapterConnection(this._uTENTETableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + global::System.Data.IDbConnection workConnection = this.Connection; + if ((workConnection == null)) { + throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + + "ger TableAdapter property to a valid TableAdapter instance."); + } + bool workConnOpened = false; + if (((workConnection.State & global::System.Data.ConnectionState.Broken) + == global::System.Data.ConnectionState.Broken)) { + workConnection.Close(); + } + if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { + workConnection.Open(); + workConnOpened = true; + } + global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); + if ((workTransaction == null)) { + throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + + "ctions or the current state is not allowing the transaction to begin."); + } + global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); + int result = 0; + global::System.Data.DataSet backupDataSet = null; + if (this.BackupDataSetBeforeUpdate) { + backupDataSet = new global::System.Data.DataSet(); + backupDataSet.Merge(dataSet); + } + try { + // ---- Prepare for update ----------- + // + if ((this._uTENTETableAdapter != null)) { + revertConnections.Add(this._uTENTETableAdapter, this._uTENTETableAdapter.Connection); + this._uTENTETableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._uTENTETableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._uTENTETableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._uTENTETableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._uTENTETableAdapter.Adapter); + } + } + // + //---- Perform updates ----------- + // + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + } + else { + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + } + result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); + // + //---- Commit updates ----------- + // + workTransaction.Commit(); + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + if ((0 < allChangedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; + allChangedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + } + catch (global::System.Exception ex) { + workTransaction.Rollback(); + // ---- Restore the dataset ----------- + if (this.BackupDataSetBeforeUpdate) { + global::System.Diagnostics.Debug.Assert((backupDataSet != null)); + dataSet.Clear(); + dataSet.Merge(backupDataSet); + } + else { + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + row.SetAdded(); + } + } + } + throw ex; + } + finally { + if (workConnOpened) { + workConnection.Close(); + } + if ((this._uTENTETableAdapter != null)) { + this._uTENTETableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._uTENTETableAdapter])); + this._uTENTETableAdapter.Transaction = null; + } + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; + adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); + for (int i = 0; (i < adapters.Length); i = (i + 1)) { + global::System.Data.Common.DataAdapter adapter = adapters[i]; + adapter.AcceptChangesDuringUpdate = true; + } + } + } + return result; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { + if ((this._connection != null)) { + return true; + } + if (((this.Connection == null) + || (inputConnection == null))) { + return true; + } + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + return true; + } + return false; + } + + /// + ///Update Order Option + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public enum UpdateOrderOption { + + InsertUpdateDelete = 0, + + UpdateInsertDelete = 1, + } + + /// + ///Used to sort self-referenced table's rows + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { + + private global::System.Data.DataRelation _relation; + + private int _childFirst; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + this._relation = relation; + if (childFirst) { + this._childFirst = -1; + } + else { + this._childFirst = 1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { + global::System.Diagnostics.Debug.Assert((row != null)); + global::System.Data.DataRow root = row; + distance = 0; + + global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); + traversedRows[row] = row; + + global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + } + + if ((distance == 0)) { + traversedRows.Clear(); + traversedRows[row] = row; + parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + } + } + + return root; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { + if (object.ReferenceEquals(row1, row2)) { + return 0; + } + if ((row1 == null)) { + return -1; + } + if ((row2 == null)) { + return 1; + } + + int distance1 = 0; + global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); + + int distance2 = 0; + global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); + + if (object.ReferenceEquals(root1, root2)) { + return (this._childFirst * distance1.CompareTo(distance2)); + } + else { + global::System.Diagnostics.Debug.Assert(((root1.Table != null) + && (root2.Table != null))); + if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { + return -1; + } + else { + return 1; + } + } + } + } + } +} + #pragma warning restore 1591 \ No newline at end of file diff --git a/project/XPS_data/DS_utility.xsc b/XPS_data/DS_utility.xsc similarity index 97% rename from project/XPS_data/DS_utility.xsc rename to XPS_data/DS_utility.xsc index 551fc56..05b0199 100644 --- a/project/XPS_data/DS_utility.xsc +++ b/XPS_data/DS_utility.xsc @@ -1,9 +1,9 @@ - - - - + + + + \ No newline at end of file diff --git a/project/XPS_data/DS_utility.xsd b/XPS_data/DS_utility.xsd similarity index 99% rename from project/XPS_data/DS_utility.xsd rename to XPS_data/DS_utility.xsd index 49c6af8..1ae1ccf 100644 --- a/project/XPS_data/DS_utility.xsd +++ b/XPS_data/DS_utility.xsd @@ -1,741 +1,741 @@ - - - - - - - - - - - - - - - - SELECT value, label, COD_CDC, ATTIVO FROM dbo.v_selUtentiAll - - - - - - - - - - - - - - - - - - - DELETE FROM [dbo].[UTENTE] WHERE (((@IsNull_DOMINIO = 1 AND [DOMINIO] IS NULL) OR ([DOMINIO] = @Original_DOMINIO)) AND ([USER_NAME] = @Original_USER_NAME) AND ((@IsNull_COGNOME = 1 AND [COGNOME] IS NULL) OR ([COGNOME] = @Original_COGNOME)) AND ((@IsNull_NOME = 1 AND [NOME] IS NULL) OR ([NOME] = @Original_NOME)) AND ((@IsNull_COD_SOCIETA = 1 AND [COD_SOCIETA] IS NULL) OR ([COD_SOCIETA] = @Original_COD_SOCIETA)) AND ((@IsNull_MATRICOLA = 1 AND [MATRICOLA] IS NULL) OR ([MATRICOLA] = @Original_MATRICOLA)) AND ((@IsNull_COD_CDC = 1 AND [COD_CDC] IS NULL) OR ([COD_CDC] = @Original_COD_CDC)) AND ((@IsNull_EMAIL = 1 AND [EMAIL] IS NULL) OR ([EMAIL] = @Original_EMAIL)) AND ((@IsNull_SIGLA = 1 AND [SIGLA] IS NULL) OR ([SIGLA] = @Original_SIGLA)) AND ((@IsNull_COD_LINGUA = 1 AND [COD_LINGUA] IS NULL) OR ([COD_LINGUA] = @Original_COD_LINGUA)) AND ((@IsNull_ATTIVO = 1 AND [ATTIVO] IS NULL) OR ([ATTIVO] = @Original_ATTIVO))) - - - - - - - - - - - - - - - - - - - - - - - - - - - - INSERT INTO [dbo].[UTENTE] ([DOMINIO], [USER_NAME], [COGNOME], [NOME], [COD_SOCIETA], [MATRICOLA], [COD_CDC], [EMAIL], [SIGLA], [COD_LINGUA], [ATTIVO]) VALUES (@DOMINIO, @USER_NAME, @COGNOME, @NOME, @COD_SOCIETA, @MATRICOLA, @COD_CDC, @EMAIL, @SIGLA, @COD_LINGUA, @ATTIVO); -SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL, SIGLA, COD_LINGUA, ATTIVO FROM UTENTE WHERE (USER_NAME = @USER_NAME) - - - - - - - - - - - - - - - - - - SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL, SIGLA, COD_LINGUA, ATTIVO FROM dbo.UTENTE - - - - - - UPDATE [dbo].[UTENTE] SET [DOMINIO] = @DOMINIO, [USER_NAME] = @USER_NAME, [COGNOME] = @COGNOME, [NOME] = @NOME, [COD_SOCIETA] = @COD_SOCIETA, [MATRICOLA] = @MATRICOLA, [COD_CDC] = @COD_CDC, [EMAIL] = @EMAIL, [SIGLA] = @SIGLA, [COD_LINGUA] = @COD_LINGUA, [ATTIVO] = @ATTIVO WHERE (((@IsNull_DOMINIO = 1 AND [DOMINIO] IS NULL) OR ([DOMINIO] = @Original_DOMINIO)) AND ([USER_NAME] = @Original_USER_NAME) AND ((@IsNull_COGNOME = 1 AND [COGNOME] IS NULL) OR ([COGNOME] = @Original_COGNOME)) AND ((@IsNull_NOME = 1 AND [NOME] IS NULL) OR ([NOME] = @Original_NOME)) AND ((@IsNull_COD_SOCIETA = 1 AND [COD_SOCIETA] IS NULL) OR ([COD_SOCIETA] = @Original_COD_SOCIETA)) AND ((@IsNull_MATRICOLA = 1 AND [MATRICOLA] IS NULL) OR ([MATRICOLA] = @Original_MATRICOLA)) AND ((@IsNull_COD_CDC = 1 AND [COD_CDC] IS NULL) OR ([COD_CDC] = @Original_COD_CDC)) AND ((@IsNull_EMAIL = 1 AND [EMAIL] IS NULL) OR ([EMAIL] = @Original_EMAIL)) AND ((@IsNull_SIGLA = 1 AND [SIGLA] IS NULL) OR ([SIGLA] = @Original_SIGLA)) AND ((@IsNull_COD_LINGUA = 1 AND [COD_LINGUA] IS NULL) OR ([COD_LINGUA] = @Original_COD_LINGUA)) AND ((@IsNull_ATTIVO = 1 AND [ATTIVO] IS NULL) OR ([ATTIVO] = @Original_ATTIVO))); -SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL, SIGLA, COD_LINGUA, ATTIVO FROM UTENTE WHERE (USER_NAME = @USER_NAME) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SELECT * -FROM Utente -WHERE (USER_NAME = @USER_NAME) - - - - - - - - - - - - - - SELECT value, label, COD_CDC, ATTIVO FROM dbo.v_selUtentiShortAD - - - - - - - - - - - - - - - - SELECT value, label, COD_CDC, ATTIVO FROM dbo.v_selUtentiShortAD -where value=@value - - - - - - - - - - - - - - SELECT value, label, conditio FROM dbo.v_selFiltri - - - - - - - - - - - - - - - SELECT value, label, conditio FROM dbo.v_selFiltri -WHERE conditio=@conditio - - - - - - - - - - SELECT v_selFiltri.value, v_selFiltri.label, v_selFiltri.conditio -FROM Permessi INNER JOIN - Permessi2Funzione ON Permessi.COD_PERMESSO = Permessi2Funzione.COD_PERMESSO INNER JOIN - v_selFiltri ON Permessi2Funzione.COD_FUNZIONE = v_selFiltri.conditio -WHERE (Permessi.URL = @url) - - - - - - - - - - - - - - SELECT value, label FROM dbo.v_selTipoEvento - - - - - - - - - - - - - - - - - SELECT Data FROM dbo.v_dateEsecuzione - - - - - - - - - - - - - dbo.stp_dateProxScadenze - - - - - - - - - - - - - - - SELECT value, label, conditio FROM dbo.v_selStati - - - - - - - - - - - - - - - SELECT value, label, conditio FROM dbo.v_selStati -where conditio=@conditio - - - - - - - - - - dbo.stp_selStatiMinMax - - - - - - - - - - - - - - - - SELECT value, label FROM dbo.v_selClienti - - - - - - - - - - - - - - - - - SELECT value, label FROM dbo.v_selTipoMappa - - - - - - - - - - - - - - - - - SELECT value, label FROM dbo.v_selAnagLav - - - - - - - - - - - - - - - - - SELECT value, label FROM dbo.v_selSetObj - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + SELECT value, label, COD_CDC, ATTIVO FROM dbo.v_selUtentiAll + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[UTENTE] WHERE (((@IsNull_DOMINIO = 1 AND [DOMINIO] IS NULL) OR ([DOMINIO] = @Original_DOMINIO)) AND ([USER_NAME] = @Original_USER_NAME) AND ((@IsNull_COGNOME = 1 AND [COGNOME] IS NULL) OR ([COGNOME] = @Original_COGNOME)) AND ((@IsNull_NOME = 1 AND [NOME] IS NULL) OR ([NOME] = @Original_NOME)) AND ((@IsNull_COD_SOCIETA = 1 AND [COD_SOCIETA] IS NULL) OR ([COD_SOCIETA] = @Original_COD_SOCIETA)) AND ((@IsNull_MATRICOLA = 1 AND [MATRICOLA] IS NULL) OR ([MATRICOLA] = @Original_MATRICOLA)) AND ((@IsNull_COD_CDC = 1 AND [COD_CDC] IS NULL) OR ([COD_CDC] = @Original_COD_CDC)) AND ((@IsNull_EMAIL = 1 AND [EMAIL] IS NULL) OR ([EMAIL] = @Original_EMAIL)) AND ((@IsNull_SIGLA = 1 AND [SIGLA] IS NULL) OR ([SIGLA] = @Original_SIGLA)) AND ((@IsNull_COD_LINGUA = 1 AND [COD_LINGUA] IS NULL) OR ([COD_LINGUA] = @Original_COD_LINGUA)) AND ((@IsNull_ATTIVO = 1 AND [ATTIVO] IS NULL) OR ([ATTIVO] = @Original_ATTIVO))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [dbo].[UTENTE] ([DOMINIO], [USER_NAME], [COGNOME], [NOME], [COD_SOCIETA], [MATRICOLA], [COD_CDC], [EMAIL], [SIGLA], [COD_LINGUA], [ATTIVO]) VALUES (@DOMINIO, @USER_NAME, @COGNOME, @NOME, @COD_SOCIETA, @MATRICOLA, @COD_CDC, @EMAIL, @SIGLA, @COD_LINGUA, @ATTIVO); +SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL, SIGLA, COD_LINGUA, ATTIVO FROM UTENTE WHERE (USER_NAME = @USER_NAME) + + + + + + + + + + + + + + + + + + SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL, SIGLA, COD_LINGUA, ATTIVO FROM dbo.UTENTE + + + + + + UPDATE [dbo].[UTENTE] SET [DOMINIO] = @DOMINIO, [USER_NAME] = @USER_NAME, [COGNOME] = @COGNOME, [NOME] = @NOME, [COD_SOCIETA] = @COD_SOCIETA, [MATRICOLA] = @MATRICOLA, [COD_CDC] = @COD_CDC, [EMAIL] = @EMAIL, [SIGLA] = @SIGLA, [COD_LINGUA] = @COD_LINGUA, [ATTIVO] = @ATTIVO WHERE (((@IsNull_DOMINIO = 1 AND [DOMINIO] IS NULL) OR ([DOMINIO] = @Original_DOMINIO)) AND ([USER_NAME] = @Original_USER_NAME) AND ((@IsNull_COGNOME = 1 AND [COGNOME] IS NULL) OR ([COGNOME] = @Original_COGNOME)) AND ((@IsNull_NOME = 1 AND [NOME] IS NULL) OR ([NOME] = @Original_NOME)) AND ((@IsNull_COD_SOCIETA = 1 AND [COD_SOCIETA] IS NULL) OR ([COD_SOCIETA] = @Original_COD_SOCIETA)) AND ((@IsNull_MATRICOLA = 1 AND [MATRICOLA] IS NULL) OR ([MATRICOLA] = @Original_MATRICOLA)) AND ((@IsNull_COD_CDC = 1 AND [COD_CDC] IS NULL) OR ([COD_CDC] = @Original_COD_CDC)) AND ((@IsNull_EMAIL = 1 AND [EMAIL] IS NULL) OR ([EMAIL] = @Original_EMAIL)) AND ((@IsNull_SIGLA = 1 AND [SIGLA] IS NULL) OR ([SIGLA] = @Original_SIGLA)) AND ((@IsNull_COD_LINGUA = 1 AND [COD_LINGUA] IS NULL) OR ([COD_LINGUA] = @Original_COD_LINGUA)) AND ((@IsNull_ATTIVO = 1 AND [ATTIVO] IS NULL) OR ([ATTIVO] = @Original_ATTIVO))); +SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL, SIGLA, COD_LINGUA, ATTIVO FROM UTENTE WHERE (USER_NAME = @USER_NAME) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT * +FROM Utente +WHERE (USER_NAME = @USER_NAME) + + + + + + + + + + + + + + SELECT value, label, COD_CDC, ATTIVO FROM dbo.v_selUtentiShortAD + + + + + + + + + + + + + + + + SELECT value, label, COD_CDC, ATTIVO FROM dbo.v_selUtentiShortAD +where value=@value + + + + + + + + + + + + + + SELECT value, label, conditio FROM dbo.v_selFiltri + + + + + + + + + + + + + + + SELECT value, label, conditio FROM dbo.v_selFiltri +WHERE conditio=@conditio + + + + + + + + + + SELECT v_selFiltri.value, v_selFiltri.label, v_selFiltri.conditio +FROM Permessi INNER JOIN + Permessi2Funzione ON Permessi.COD_PERMESSO = Permessi2Funzione.COD_PERMESSO INNER JOIN + v_selFiltri ON Permessi2Funzione.COD_FUNZIONE = v_selFiltri.conditio +WHERE (Permessi.URL = @url) + + + + + + + + + + + + + + SELECT value, label FROM dbo.v_selTipoEvento + + + + + + + + + + + + + + + + + SELECT Data FROM dbo.v_dateEsecuzione + + + + + + + + + + + + + dbo.stp_dateProxScadenze + + + + + + + + + + + + + + + SELECT value, label, conditio FROM dbo.v_selStati + + + + + + + + + + + + + + + SELECT value, label, conditio FROM dbo.v_selStati +where conditio=@conditio + + + + + + + + + + dbo.stp_selStatiMinMax + + + + + + + + + + + + + + + + SELECT value, label FROM dbo.v_selClienti + + + + + + + + + + + + + + + + + SELECT value, label FROM dbo.v_selTipoMappa + + + + + + + + + + + + + + + + + SELECT value, label FROM dbo.v_selAnagLav + + + + + + + + + + + + + + + + + SELECT value, label FROM dbo.v_selSetObj + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/project/XPS_data/DS_utility.xss b/XPS_data/DS_utility.xss similarity index 99% rename from project/XPS_data/DS_utility.xss rename to XPS_data/DS_utility.xss index 669cfe9..f9ef1a0 100644 --- a/project/XPS_data/DS_utility.xss +++ b/XPS_data/DS_utility.xss @@ -1,22 +1,22 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/project/XPS_data/MDB_Data/SP_DB_init.sql b/XPS_data/MDB_Data/SP_DB_init.sql similarity index 100% rename from project/XPS_data/MDB_Data/SP_DB_init.sql rename to XPS_data/MDB_Data/SP_DB_init.sql diff --git a/project/XPS_data/MDB_Data/si_dt30.mdb b/XPS_data/MDB_Data/si_dt30.mdb similarity index 100% rename from project/XPS_data/MDB_Data/si_dt30.mdb rename to XPS_data/MDB_Data/si_dt30.mdb diff --git a/project/XPS_data/Properties/AssemblyInfo.cs b/XPS_data/Properties/AssemblyInfo.cs similarity index 97% rename from project/XPS_data/Properties/AssemblyInfo.cs rename to XPS_data/Properties/AssemblyInfo.cs index f644618..5769a09 100644 --- a/project/XPS_data/Properties/AssemblyInfo.cs +++ b/XPS_data/Properties/AssemblyInfo.cs @@ -1,36 +1,36 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("XPS_data")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Microsoft")] -[assembly: AssemblyProduct("XPS_data")] -[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("6495d404-ce99-4a4b-9561-2331c66189e0")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("XPS_data")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("XPS_data")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("6495d404-ce99-4a4b-9561-2331c66189e0")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/project/XPS_data/Properties/Settings.Designer.cs b/XPS_data/Properties/Settings.Designer.cs similarity index 98% rename from project/XPS_data/Properties/Settings.Designer.cs rename to XPS_data/Properties/Settings.Designer.cs index 46e6cb8..1875cda 100644 --- a/project/XPS_data/Properties/Settings.Designer.cs +++ b/XPS_data/Properties/Settings.Designer.cs @@ -1,59 +1,59 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.17929 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace XPS_data.Properties { - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default { - get { - return defaultInstance; - } - } - - [global::System.Configuration.ApplicationScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] - [global::System.Configuration.DefaultSettingValueAttribute("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\\MDB_Data\\si_dt30.mdb" + - ";Persist Security Info=True")] - public string si_dt30ConnectionString { - get { - return ((string)(this["si_dt30ConnectionString"])); - } - } - - [global::System.Configuration.ApplicationScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] - [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.74.82.217\\SQL2008R2;Initial Catalog=Equa_Anagrafica;Persist Securi" + - "ty Info=True;User ID=sa;Password=keyhammer")] - public string Equa_AnagraficaConnectionString { - get { - return ((string)(this["Equa_AnagraficaConnectionString"])); - } - } - - [global::System.Configuration.ApplicationScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] - [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.74.82.217\\SQL2008R2;Initial Catalog=Equa_XPS;Persist Security Info" + - "=True;User ID=sa;Password=keyhammer")] - public string Equa_XPSConnectionString { - get { - return ((string)(this["Equa_XPSConnectionString"])); - } - } - } -} +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17929 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace XPS_data.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] + [global::System.Configuration.DefaultSettingValueAttribute("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\\MDB_Data\\si_dt30.mdb" + + ";Persist Security Info=True")] + public string si_dt30ConnectionString { + get { + return ((string)(this["si_dt30ConnectionString"])); + } + } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] + [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.74.82.217\\SQL2008R2;Initial Catalog=Equa_Anagrafica;Persist Securi" + + "ty Info=True;User ID=sa;Password=keyhammer")] + public string Equa_AnagraficaConnectionString { + get { + return ((string)(this["Equa_AnagraficaConnectionString"])); + } + } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] + [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.74.82.217\\SQL2008R2;Initial Catalog=Equa_XPS;Persist Security Info" + + "=True;User ID=sa;Password=keyhammer")] + public string Equa_XPSConnectionString { + get { + return ((string)(this["Equa_XPSConnectionString"])); + } + } + } +} diff --git a/project/XPS_data/Properties/Settings.settings b/XPS_data/Properties/Settings.settings similarity index 98% rename from project/XPS_data/Properties/Settings.settings rename to XPS_data/Properties/Settings.settings index f8b8fdf..3127e0d 100644 --- a/project/XPS_data/Properties/Settings.settings +++ b/XPS_data/Properties/Settings.settings @@ -1,30 +1,30 @@ - - - - - - <?xml version="1.0" encoding="utf-16"?> -<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <ConnectionString>Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\MDB_Data\si_dt30.mdb;Persist Security Info=True</ConnectionString> - <ProviderName>System.Data.OleDb</ProviderName> -</SerializableConnectionString> - Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\MDB_Data\si_dt30.mdb;Persist Security Info=True - - - <?xml version="1.0" encoding="utf-16"?> -<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <ConnectionString>Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer</ConnectionString> - <ProviderName>System.Data.SqlClient</ProviderName> -</SerializableConnectionString> - Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer - - - <?xml version="1.0" encoding="utf-16"?> -<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <ConnectionString>Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_XPS;Persist Security Info=True;User ID=sa;Password=keyhammer</ConnectionString> - <ProviderName>System.Data.SqlClient</ProviderName> -</SerializableConnectionString> - Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_XPS;Persist Security Info=True;User ID=sa;Password=keyhammer - - + + + + + + <?xml version="1.0" encoding="utf-16"?> +<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <ConnectionString>Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\MDB_Data\si_dt30.mdb;Persist Security Info=True</ConnectionString> + <ProviderName>System.Data.OleDb</ProviderName> +</SerializableConnectionString> + Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\MDB_Data\si_dt30.mdb;Persist Security Info=True + + + <?xml version="1.0" encoding="utf-16"?> +<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <ConnectionString>Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer</ConnectionString> + <ProviderName>System.Data.SqlClient</ProviderName> +</SerializableConnectionString> + Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer + + + <?xml version="1.0" encoding="utf-16"?> +<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <ConnectionString>Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_XPS;Persist Security Info=True;User ID=sa;Password=keyhammer</ConnectionString> + <ProviderName>System.Data.SqlClient</ProviderName> +</SerializableConnectionString> + Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_XPS;Persist Security Info=True;User ID=sa;Password=keyhammer + + \ No newline at end of file diff --git a/project/XPS_data/SqlScript/V 1.2/Vocabolario_130.sql b/XPS_data/SqlScript/V 1.2/Vocabolario_130.sql similarity index 96% rename from project/XPS_data/SqlScript/V 1.2/Vocabolario_130.sql rename to XPS_data/SqlScript/V 1.2/Vocabolario_130.sql index 1cafbd0..9730b69 100644 --- a/project/XPS_data/SqlScript/V 1.2/Vocabolario_130.sql +++ b/XPS_data/SqlScript/V 1.2/Vocabolario_130.sql @@ -1,81 +1,81 @@ -set xact_abort on -go - -begin transaction -go - -INSERT INTO dbo.Vocabolario - VALUES (N'EN', N'#', N'#') -INSERT INTO dbo.Vocabolario - VALUES (N'EN', N'AccessFail', N'Accesso fallito') -INSERT INTO dbo.Vocabolario - VALUES (N'EN', N'btnCommit', N'Commit') -INSERT INTO dbo.Vocabolario - VALUES (N'EN', N'ForzaUtente', N'Forza Utente') -INSERT INTO dbo.Vocabolario - VALUES (N'EN', N'hlMenu', N'END barcode input') -INSERT INTO dbo.Vocabolario - VALUES (N'EN', N'lblDominio', N'Dominio') -INSERT INTO dbo.Vocabolario - VALUES (N'EN', N'lblPwd', N'Password') -INSERT INTO dbo.Vocabolario - VALUES (N'EN', N'lblUser', N'Username') -INSERT INTO dbo.Vocabolario - VALUES (N'EN', N'LogOut', N'LogOut') -INSERT INTO dbo.Vocabolario - VALUES (N'EN', N'MostraLogStati', N'Mostra Log Stati') -INSERT INTO dbo.Vocabolario - VALUES (N'EN', N'Riga', N'Riga') -INSERT INTO dbo.Vocabolario - VALUES (N'EN', N'setStatoObjXps', N'Reimposta Stato') -INSERT INTO dbo.Vocabolario - VALUES (N'EN', N'UsrNotAuth', N'Utente non autorizzato') -INSERT INTO dbo.Vocabolario - VALUES (N'EN', N'waiting', N'...waiting...') -INSERT INTO dbo.Vocabolario - VALUES (N'IT', N'#', N'#') -INSERT INTO dbo.Vocabolario - VALUES (N'IT', N'AccessFail', N'Accesso fallito') -INSERT INTO dbo.Vocabolario - VALUES (N'IT', N'btnCommit', N'Invio') -INSERT INTO dbo.Vocabolario - VALUES (N'IT', N'ForzaUtente', N'Forza Utente') -INSERT INTO dbo.Vocabolario - VALUES (N'IT', N'hlMenu', N'END barcode input') -INSERT INTO dbo.Vocabolario - VALUES (N'IT', N'lblDominio', N'Dominio') -INSERT INTO dbo.Vocabolario - VALUES (N'IT', N'lblPwd', N'Password') -INSERT INTO dbo.Vocabolario - VALUES (N'IT', N'lblUser', N'Username') -INSERT INTO dbo.Vocabolario - VALUES (N'IT', N'LogOut', N'LogOut') -INSERT INTO dbo.Vocabolario - VALUES (N'IT', N'MostraLogStati', N'Mostra Log Stati') -INSERT INTO dbo.Vocabolario - VALUES (N'IT', N'Riga', N'Riga') -INSERT INTO dbo.Vocabolario - VALUES (N'IT', N'setStatoObjXps', N'Reimposta Stato') -INSERT INTO dbo.Vocabolario - VALUES (N'IT', N'UsrNotAuth', N'Utente non autorizzato') -INSERT INTO dbo.Vocabolario - VALUES (N'IT', N'waiting', N'...in attesa...') -go - -commit transaction -go - - - - - -create table LogUpdateDb( - Versione int not null constraint PK_LogUpdateDb primary key, - Data datetime -); -go - - --- registro versione... -INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(130, GETDATE()) -GO +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'#', N'#') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'AccessFail', N'Accesso fallito') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnCommit', N'Commit') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ForzaUtente', N'Forza Utente') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'hlMenu', N'END barcode input') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblDominio', N'Dominio') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblPwd', N'Password') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblUser', N'Username') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'LogOut', N'LogOut') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'MostraLogStati', N'Mostra Log Stati') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Riga', N'Riga') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'setStatoObjXps', N'Reimposta Stato') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'UsrNotAuth', N'Utente non autorizzato') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'waiting', N'...waiting...') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'#', N'#') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'AccessFail', N'Accesso fallito') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnCommit', N'Invio') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ForzaUtente', N'Forza Utente') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'hlMenu', N'END barcode input') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblDominio', N'Dominio') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblPwd', N'Password') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblUser', N'Username') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'LogOut', N'LogOut') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'MostraLogStati', N'Mostra Log Stati') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Riga', N'Riga') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'setStatoObjXps', N'Reimposta Stato') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'UsrNotAuth', N'Utente non autorizzato') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'waiting', N'...in attesa...') +go + +commit transaction +go + + + + + +create table LogUpdateDb( + Versione int not null constraint PK_LogUpdateDb primary key, + Data datetime +); +go + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(130, GETDATE()) +GO diff --git a/project/XPS_data/SqlScript/V 1.2/Vocabolario_134.sql b/XPS_data/SqlScript/V 1.2/Vocabolario_134.sql similarity index 96% rename from project/XPS_data/SqlScript/V 1.2/Vocabolario_134.sql rename to XPS_data/SqlScript/V 1.2/Vocabolario_134.sql index 8535999..374cef6 100644 --- a/project/XPS_data/SqlScript/V 1.2/Vocabolario_134.sql +++ b/XPS_data/SqlScript/V 1.2/Vocabolario_134.sql @@ -1,29 +1,29 @@ -set xact_abort on -go - -begin transaction -go - -INSERT INTO dbo.Vocabolario - VALUES (N'EN', N'tabPnlCompletate', N'Completate (da spedire)') -INSERT INTO dbo.Vocabolario - VALUES (N'EN', N'tabPnlProxScadenze', N'Scadenze') -INSERT INTO dbo.Vocabolario - VALUES (N'EN', N'tabPnlScadute', N'Commesse scadute') -INSERT INTO dbo.Vocabolario - VALUES (N'IT', N'tabPnlCompletate', N'Completate (da spedire)') -INSERT INTO dbo.Vocabolario - VALUES (N'IT', N'tabPnlProxScadenze', N'Scadenze') -INSERT INTO dbo.Vocabolario - VALUES (N'IT', N'tabPnlScadute', N'Commesse scadute') -go - -commit transaction -go - - - - --- registro versione... -INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(134, GETDATE()) -GO +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'tabPnlCompletate', N'Completate (da spedire)') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'tabPnlProxScadenze', N'Scadenze') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'tabPnlScadute', N'Commesse scadute') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'tabPnlCompletate', N'Completate (da spedire)') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'tabPnlProxScadenze', N'Scadenze') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'tabPnlScadute', N'Commesse scadute') +go + +commit transaction +go + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(134, GETDATE()) +GO diff --git a/project/XPS_data/SqlScript/V 1.2/Vocabolario_150.sql b/XPS_data/SqlScript/V 1.2/Vocabolario_150.sql similarity index 95% rename from project/XPS_data/SqlScript/V 1.2/Vocabolario_150.sql rename to XPS_data/SqlScript/V 1.2/Vocabolario_150.sql index 914fe4e..400ced0 100644 --- a/project/XPS_data/SqlScript/V 1.2/Vocabolario_150.sql +++ b/XPS_data/SqlScript/V 1.2/Vocabolario_150.sql @@ -1,60 +1,60 @@ -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -/************************************* -* STORED PROCEDURE stp_insNewLemma -* -* elimina record anagrafica classe prodotto -* -* mod : 14/05/2012 -* aut : S.E. Locatelli -**************************************/ -create PROCEDURE stp_insNewLemma -( - @lemma NVARCHAR(50), - @traduzione NVARCHAR(500) -) -AS - --- elimino se c'era già... -DELETE -FROM Vocabolario -WHERE lemma = @lemma - --- inserisco x tutte le lingue attive... -INSERT INTO Vocabolario -SELECT lingua, @lemma, @traduzione -FROM Lingue - -SELECT * -FROM Vocabolario -WHERE lemma = @lemma - -RETURN -go - -commit; -go - - - -exec stp_insNewLemma 'lblEmailNotifica', 'Notifica e-mail quando pronto' -exec stp_insNewLemma 'sendMail', 'invia e-mail' -exec stp_insNewLemma 'emailReq', 'segnalazione richiesta!' -exec stp_insNewLemma 'emailSent', 'inviata'exec stp_insNewLemma 'emailSubject', 'Merce pronta per il ritiro' -exec stp_insNewLemma 'emailBody', 'Attenzione, la merce relativa al DDT {0} del {1}, ({2}, peso {3} kg) è pronta per il ritiro presso EQUA s.p.a di Pedrengo' - - - - - - --- registro versione... -INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(150, GETDATE()) -GO +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/************************************* +* STORED PROCEDURE stp_insNewLemma +* +* elimina record anagrafica classe prodotto +* +* mod : 14/05/2012 +* aut : S.E. Locatelli +**************************************/ +create PROCEDURE stp_insNewLemma +( + @lemma NVARCHAR(50), + @traduzione NVARCHAR(500) +) +AS + +-- elimino se c'era già... +DELETE +FROM Vocabolario +WHERE lemma = @lemma + +-- inserisco x tutte le lingue attive... +INSERT INTO Vocabolario +SELECT lingua, @lemma, @traduzione +FROM Lingue + +SELECT * +FROM Vocabolario +WHERE lemma = @lemma + +RETURN +go + +commit; +go + + + +exec stp_insNewLemma 'lblEmailNotifica', 'Notifica e-mail quando pronto' +exec stp_insNewLemma 'sendMail', 'invia e-mail' +exec stp_insNewLemma 'emailReq', 'segnalazione richiesta!' +exec stp_insNewLemma 'emailSent', 'inviata'exec stp_insNewLemma 'emailSubject', 'Merce pronta per il ritiro' +exec stp_insNewLemma 'emailBody', 'Attenzione, la merce relativa al DDT {0} del {1}, ({2}, peso {3} kg) è pronta per il ritiro presso EQUA s.p.a di Pedrengo' + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(150, GETDATE()) +GO diff --git a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_130.sql b/XPS_data/SqlScript/V 1.2/sqlUpdate_130.sql similarity index 95% rename from project/XPS_data/SqlScript/V 1.2/sqlUpdate_130.sql rename to XPS_data/SqlScript/V 1.2/sqlUpdate_130.sql index 663720a..ff67f58 100644 --- a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_130.sql +++ b/XPS_data/SqlScript/V 1.2/sqlUpdate_130.sql @@ -1,434 +1,434 @@ -set xact_abort on; -go - -begin transaction; -go - -alter table AnagStati add - PrioritaStato int; -go - -set ANSI_NULLS on; -go - -alter VIEW v_selStati -AS -SELECT CodStato AS value, DescrStato AS label, FamStato AS conditio, PrioritaStato -FROM dbo.AnagStati -go - -exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] -Begin DesignProperties = - Begin PaneConfigurations = - Begin PaneConfiguration = 0 - NumPanes = 4 - Configuration = "(H (1[41] 4[20] 2[7] 3) )" - End - Begin PaneConfiguration = 1 - NumPanes = 3 - Configuration = "(H (1 [50] 4 [25] 3))" - End - Begin PaneConfiguration = 2 - NumPanes = 3 - Configuration = "(H (1 [50] 2 [25] 3))" - End - Begin PaneConfiguration = 3 - NumPanes = 3 - Configuration = "(H (4 [30] 2 [40] 3))" - End - Begin PaneConfiguration = 4 - NumPanes = 2 - Configuration = "(H (1 [56] 3))" - End - Begin PaneConfiguration = 5 - NumPanes = 2 - Configuration = "(H (2 [66] 3))" - End - Begin PaneConfiguration = 6 - NumPanes = 2 - Configuration = "(H (4 [50] 3))" - End - Begin PaneConfiguration = 7 - NumPanes = 1 - Configuration = "(V (3))" - End - Begin PaneConfiguration = 8 - NumPanes = 3 - Configuration = "(H (1[56] 4[18] 2) )" - End - Begin PaneConfiguration = 9 - NumPanes = 2 - Configuration = "(H (1 [75] 4))" - End - Begin PaneConfiguration = 10 - NumPanes = 2 - Configuration = "(H (1[66] 2) )" - End - Begin PaneConfiguration = 11 - NumPanes = 2 - Configuration = "(H (4 [60] 2))" - End - Begin PaneConfiguration = 12 - NumPanes = 1 - Configuration = "(H (1) )" - End - Begin PaneConfiguration = 13 - NumPanes = 1 - Configuration = "(V (4))" - End - Begin PaneConfiguration = 14 - NumPanes = 1 - Configuration = "(V (2))" - End - ActivePaneConfig = 0 - End - Begin DiagramPane = - Begin Origin = - Top = 0 - Left = 0 - End - Begin Tables = - Begin Table = "AnagStati" - Begin Extent = - Top = 6 - Left = 38 - Bottom = 260 - Right = 189 - End - DisplayFlags = 280 - TopColumn = 0 - End - End - End - Begin SQLPane = - End - Begin DataPane = - Begin ParameterDefaults = "" - End - Begin ColumnWidths = 9 - Width = 284 - Width = 1500 - Width = 1500 - Width = 1500 - Width = 1500 - Width = 1500 - Width = 1500 - Width = 1500 - Width = 1500 - End - End - Begin CriteriaPane = - Begin ColumnWidths = 11 - Column = 1440 - Alias = 900 - Table = 1170 - Output = 720 - Append = 1400 - NewValue = 1170 - SortType = 1350 - SortOrder = 1410 - GroupBy = 1350 - Filter = 1350 - Or = 1350 - Or = 1350 - Or = 1350 - End - End -End -', 'SCHEMA', 'dbo', 'VIEW', 'v_selStati'; -go - -commit; -go - - -set xact_abort on -go - -begin transaction -go - -UPDATE dbo.AnagStati SET - PrioritaStato=99 - WHERE CodStato=N'*' -UPDATE dbo.AnagStati SET - PrioritaStato=1 - WHERE CodStato=N'01' -UPDATE dbo.AnagStati SET - PrioritaStato=2 - WHERE CodStato=N'02' -UPDATE dbo.AnagStati SET - PrioritaStato=3 - WHERE CodStato=N'03' -UPDATE dbo.AnagStati SET - PrioritaStato=4 - WHERE CodStato=N'04' -UPDATE dbo.AnagStati SET - PrioritaStato=5 - WHERE CodStato=N'05' -UPDATE dbo.AnagStati SET - PrioritaStato=6 - WHERE CodStato=N'06' -UPDATE dbo.AnagStati SET - PrioritaStato=7 - WHERE CodStato=N'07' -go - -commit transaction -go - - -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -alter VIEW v_commesse -AS -SELECT TOP (100) PERCENT dbo.IstObj.IdxObj AS Cod, AnagStati_1.DescrStato AS Stato, ISNULL(dbo.AnagClienti.CodCliente, N'-') AS CodCliente, - ISNULL(dbo.AnagClienti.RagioneSociale, N'-') AS Cliente, ISNULL(dbo.IstObj.Note, N'-') AS descrizione, dbo.IstObj.Nome AS DDT, dbo.IstObj.DataRif AS DataDDT, - dbo.IstObj.DataCreaz AS DataArrivo, dbo.IstObj.Posizione, ISNULL(dbo.v_ULP_DDT.TotQta, 0) AS Qta, ISNULL(dbo.v_ULP_DDT.TotPeso, 0) AS Peso, - ISNULL(dbo.v_righeDDT.NumRighe, 0) AS Righe, ISNULL(dbo.v_ULP_DDT.NumRighe, 0) AS Colli, dbo.v_ULP_DDT.DueDate AS DataPrevista, - dbo.IstObj.ExtKey AS Ciclo, dbo.IstObj.CodStato, dbo.AnagStati.DescrStato AS minStato, AnagStati_2.DescrStato AS maxStato, - dbo.v_ULP_DDT.minStato AS minCodStato, dbo.v_ULP_DDT.maxStato AS maxCodStato -FROM dbo.AnagStati INNER JOIN - dbo.v_ULP_DDT ON dbo.AnagStati.CodStato = dbo.v_ULP_DDT.minStato INNER JOIN - dbo.AnagStati AS AnagStati_2 ON dbo.v_ULP_DDT.maxStato = AnagStati_2.CodStato RIGHT OUTER JOIN - dbo.IstObj LEFT OUTER JOIN - dbo.AnagClienti ON dbo.IstObj.CodCliente = dbo.AnagClienti.CodCliente LEFT OUTER JOIN - dbo.AnagStati AS AnagStati_1 ON dbo.IstObj.CodStato = AnagStati_1.CodStato LEFT OUTER JOIN - dbo.v_righeDDT ON dbo.IstObj.IdxObj = dbo.v_righeDDT.IdxObjMamma ON dbo.v_ULP_DDT.IdxObjMamma = dbo.IstObj.IdxObj -WHERE (dbo.IstObj.IdxObjMamma IS NULL) AND (dbo.IstObj.Livello = 1) -ORDER BY DataArrivo DESC -go - -commit; -go - - -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -alter VIEW v_selClienti -AS -SELECT TOP (100) PERCENT CodCliente AS value, CodCliente + ' - ' + RagioneSociale AS label -FROM dbo.AnagClienti -ORDER BY label -go - -exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] -Begin DesignProperties = - Begin PaneConfigurations = - Begin PaneConfiguration = 0 - NumPanes = 4 - Configuration = "(H (1[40] 4[20] 2[20] 3) )" - End - Begin PaneConfiguration = 1 - NumPanes = 3 - Configuration = "(H (1 [50] 4 [25] 3))" - End - Begin PaneConfiguration = 2 - NumPanes = 3 - Configuration = "(H (1 [50] 2 [25] 3))" - End - Begin PaneConfiguration = 3 - NumPanes = 3 - Configuration = "(H (4 [30] 2 [40] 3))" - End - Begin PaneConfiguration = 4 - NumPanes = 2 - Configuration = "(H (1 [56] 3))" - End - Begin PaneConfiguration = 5 - NumPanes = 2 - Configuration = "(H (2 [66] 3))" - End - Begin PaneConfiguration = 6 - NumPanes = 2 - Configuration = "(H (4 [50] 3))" - End - Begin PaneConfiguration = 7 - NumPanes = 1 - Configuration = "(V (3))" - End - Begin PaneConfiguration = 8 - NumPanes = 3 - Configuration = "(H (1[56] 4[18] 2) )" - End - Begin PaneConfiguration = 9 - NumPanes = 2 - Configuration = "(H (1 [75] 4))" - End - Begin PaneConfiguration = 10 - NumPanes = 2 - Configuration = "(H (1[66] 2) )" - End - Begin PaneConfiguration = 11 - NumPanes = 2 - Configuration = "(H (4 [60] 2))" - End - Begin PaneConfiguration = 12 - NumPanes = 1 - Configuration = "(H (1) )" - End - Begin PaneConfiguration = 13 - NumPanes = 1 - Configuration = "(V (4))" - End - Begin PaneConfiguration = 14 - NumPanes = 1 - Configuration = "(V (2))" - End - ActivePaneConfig = 0 - End - Begin DiagramPane = - Begin Origin = - Top = 0 - Left = 0 - End - Begin Tables = - Begin Table = "AnagClienti" - Begin Extent = - Top = 6 - Left = 38 - Bottom = 114 - Right = 190 - End - DisplayFlags = 280 - TopColumn = 0 - End - End - End - Begin SQLPane = - End - Begin DataPane = - Begin ParameterDefaults = "" - End - Begin ColumnWidths = 9 - Width = 284 - Width = 1500 - Width = 1500 - Width = 1500 - Width = 1500 - Width = 1500 - Width = 1500 - Width = 1500 - Width = 1500 - End - End - Begin CriteriaPane = - Begin ColumnWidths = 11 - Column = 1440 - Alias = 900 - Table = 1170 - Output = 720 - Append = 1400 - NewValue = 1170 - SortType = 1350 - SortOrder = 1410 - GroupBy = 1350 - Filter = 1350 - Or = 1350 - Or = 1350 - Or = 1350 - End - End -End -', 'SCHEMA', 'dbo', 'VIEW', 'v_selClienti'; -go - -commit; -go - - -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -/*************************************** -* STORED stp_IstObjUpdateMag -* -* gestione update dati commessa a livello magazzino -* -* Steamware, S.E.L. -* mod: 2012.02.03 -* -****************************************/ -create PROCEDURE stp_IstObjUpdateMag -( - @Original_Cod NVARCHAR(50), - @CodCliente NVARCHAR(50), - @Ciclo NVARCHAR(50), -- ExtKey - @DataDDT DATETIME, -- DataRif - @DDT NVARCHAR(50), -- nome - @UserName NVARCHAR(50), -- UserMod - @Descrizione NVARCHAR(50) -- Note - -) -AS - -UPDATE IstObj -SET CodCliente = @CodCliente, - ExtKey = @Ciclo, - DataRif = @DataDDT, - Nome = @DDT, - UserMod = @UserName, - DataMod = GETDATE(), - Note = @Descrizione -WHERE (IdxObj = @Original_Cod) - -RETURN -go - -/*************************************** -* STORED stp_selStatiMinMax -* -* cerca stati x priorità minima e max -* -* Steamware, S.E.L. -* mod: 2012.02.03 -* -****************************************/ -create PROCEDURE stp_selStatiMinMax -( - @PrioritaStatoMin INT, - @PrioritaStatoMax INT -) -AS - -SELECT value, label, PrioritaStato as conditio -FROM v_selStati -WHERE (PrioritaStato Between @PrioritaStatoMin AND @PrioritaStatoMax) - -RETURN -go - -commit; -go - - -create table LogUpdateDb( - Versione int not null constraint PK_LogUpdateDb primary key, - Data datetime -); -go - - --- registro versione... -INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(130, GETDATE()) -GO +set xact_abort on; +go + +begin transaction; +go + +alter table AnagStati add + PrioritaStato int; +go + +set ANSI_NULLS on; +go + +alter VIEW v_selStati +AS +SELECT CodStato AS value, DescrStato AS label, FamStato AS conditio, PrioritaStato +FROM dbo.AnagStati +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[41] 4[20] 2[7] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagStati" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 260 + Right = 189 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selStati'; +go + +commit; +go + + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.AnagStati SET + PrioritaStato=99 + WHERE CodStato=N'*' +UPDATE dbo.AnagStati SET + PrioritaStato=1 + WHERE CodStato=N'01' +UPDATE dbo.AnagStati SET + PrioritaStato=2 + WHERE CodStato=N'02' +UPDATE dbo.AnagStati SET + PrioritaStato=3 + WHERE CodStato=N'03' +UPDATE dbo.AnagStati SET + PrioritaStato=4 + WHERE CodStato=N'04' +UPDATE dbo.AnagStati SET + PrioritaStato=5 + WHERE CodStato=N'05' +UPDATE dbo.AnagStati SET + PrioritaStato=6 + WHERE CodStato=N'06' +UPDATE dbo.AnagStati SET + PrioritaStato=7 + WHERE CodStato=N'07' +go + +commit transaction +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +alter VIEW v_commesse +AS +SELECT TOP (100) PERCENT dbo.IstObj.IdxObj AS Cod, AnagStati_1.DescrStato AS Stato, ISNULL(dbo.AnagClienti.CodCliente, N'-') AS CodCliente, + ISNULL(dbo.AnagClienti.RagioneSociale, N'-') AS Cliente, ISNULL(dbo.IstObj.Note, N'-') AS descrizione, dbo.IstObj.Nome AS DDT, dbo.IstObj.DataRif AS DataDDT, + dbo.IstObj.DataCreaz AS DataArrivo, dbo.IstObj.Posizione, ISNULL(dbo.v_ULP_DDT.TotQta, 0) AS Qta, ISNULL(dbo.v_ULP_DDT.TotPeso, 0) AS Peso, + ISNULL(dbo.v_righeDDT.NumRighe, 0) AS Righe, ISNULL(dbo.v_ULP_DDT.NumRighe, 0) AS Colli, dbo.v_ULP_DDT.DueDate AS DataPrevista, + dbo.IstObj.ExtKey AS Ciclo, dbo.IstObj.CodStato, dbo.AnagStati.DescrStato AS minStato, AnagStati_2.DescrStato AS maxStato, + dbo.v_ULP_DDT.minStato AS minCodStato, dbo.v_ULP_DDT.maxStato AS maxCodStato +FROM dbo.AnagStati INNER JOIN + dbo.v_ULP_DDT ON dbo.AnagStati.CodStato = dbo.v_ULP_DDT.minStato INNER JOIN + dbo.AnagStati AS AnagStati_2 ON dbo.v_ULP_DDT.maxStato = AnagStati_2.CodStato RIGHT OUTER JOIN + dbo.IstObj LEFT OUTER JOIN + dbo.AnagClienti ON dbo.IstObj.CodCliente = dbo.AnagClienti.CodCliente LEFT OUTER JOIN + dbo.AnagStati AS AnagStati_1 ON dbo.IstObj.CodStato = AnagStati_1.CodStato LEFT OUTER JOIN + dbo.v_righeDDT ON dbo.IstObj.IdxObj = dbo.v_righeDDT.IdxObjMamma ON dbo.v_ULP_DDT.IdxObjMamma = dbo.IstObj.IdxObj +WHERE (dbo.IstObj.IdxObjMamma IS NULL) AND (dbo.IstObj.Livello = 1) +ORDER BY DataArrivo DESC +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +alter VIEW v_selClienti +AS +SELECT TOP (100) PERCENT CodCliente AS value, CodCliente + ' - ' + RagioneSociale AS label +FROM dbo.AnagClienti +ORDER BY label +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagClienti" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 114 + Right = 190 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selClienti'; +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_IstObjUpdateMag +* +* gestione update dati commessa a livello magazzino +* +* Steamware, S.E.L. +* mod: 2012.02.03 +* +****************************************/ +create PROCEDURE stp_IstObjUpdateMag +( + @Original_Cod NVARCHAR(50), + @CodCliente NVARCHAR(50), + @Ciclo NVARCHAR(50), -- ExtKey + @DataDDT DATETIME, -- DataRif + @DDT NVARCHAR(50), -- nome + @UserName NVARCHAR(50), -- UserMod + @Descrizione NVARCHAR(50) -- Note + +) +AS + +UPDATE IstObj +SET CodCliente = @CodCliente, + ExtKey = @Ciclo, + DataRif = @DataDDT, + Nome = @DDT, + UserMod = @UserName, + DataMod = GETDATE(), + Note = @Descrizione +WHERE (IdxObj = @Original_Cod) + +RETURN +go + +/*************************************** +* STORED stp_selStatiMinMax +* +* cerca stati x priorità minima e max +* +* Steamware, S.E.L. +* mod: 2012.02.03 +* +****************************************/ +create PROCEDURE stp_selStatiMinMax +( + @PrioritaStatoMin INT, + @PrioritaStatoMax INT +) +AS + +SELECT value, label, PrioritaStato as conditio +FROM v_selStati +WHERE (PrioritaStato Between @PrioritaStatoMin AND @PrioritaStatoMax) + +RETURN +go + +commit; +go + + +create table LogUpdateDb( + Versione int not null constraint PK_LogUpdateDb primary key, + Data datetime +); +go + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(130, GETDATE()) +GO diff --git a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_131.sql b/XPS_data/SqlScript/V 1.2/sqlUpdate_131.sql similarity index 94% rename from project/XPS_data/SqlScript/V 1.2/sqlUpdate_131.sql rename to XPS_data/SqlScript/V 1.2/sqlUpdate_131.sql index 6fbc3ec..2f51e48 100644 --- a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_131.sql +++ b/XPS_data/SqlScript/V 1.2/sqlUpdate_131.sql @@ -1,72 +1,72 @@ -set xact_abort on -go - -begin transaction -go - -update LogStatoIstObj set CodStato = N'' where CodStato is null -go - -alter table LogStatoIstObj alter column - CodStato nvarchar(50) not null -go - -exec sp_rename 'PK_LogStatoIstObj', 'PK_LogStatoIstObj_1', 'object' -go - -alter table LogStatoIstObj drop - constraint FK_LogStatoIstObj_IstObj -go - -alter table LogStatoIstObj add - constraint FK_LogStatoIstObj_IstObj foreign key(IdxObj) references IstObj(IdxObj) on update cascade on delete cascade -go - -commit -go - - -set xact_abort on -go - -begin transaction -go - -set ANSI_NULLS on -go - -/*********************************** -* STORED PROCEDURE sp_delRow -* elimina un set di dati a partire dalla riga di una commessa -* -* modif.: S.E.L. -* il: 2008.10.23 -**************************************/ -alter PROCEDURE sp_delRow -( - @Original_Cod VARCHAR(50) -) -AS - -BEGIN TRAN - - -- cancello ULP child - DELETE FROM IstObj - WHERE (IdxObjMamma = @Original_Cod) - - -- cancello riga... - DELETE FROM IstObj - WHERE (IdxObj = @Original_Cod) - -COMMIT TRAN - -RETURN -go - -commit -go - - --- registro versione... -INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(131, GETDATE()) -GO +set xact_abort on +go + +begin transaction +go + +update LogStatoIstObj set CodStato = N'' where CodStato is null +go + +alter table LogStatoIstObj alter column + CodStato nvarchar(50) not null +go + +exec sp_rename 'PK_LogStatoIstObj', 'PK_LogStatoIstObj_1', 'object' +go + +alter table LogStatoIstObj drop + constraint FK_LogStatoIstObj_IstObj +go + +alter table LogStatoIstObj add + constraint FK_LogStatoIstObj_IstObj foreign key(IdxObj) references IstObj(IdxObj) on update cascade on delete cascade +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*********************************** +* STORED PROCEDURE sp_delRow +* elimina un set di dati a partire dalla riga di una commessa +* +* modif.: S.E.L. +* il: 2008.10.23 +**************************************/ +alter PROCEDURE sp_delRow +( + @Original_Cod VARCHAR(50) +) +AS + +BEGIN TRAN + + -- cancello ULP child + DELETE FROM IstObj + WHERE (IdxObjMamma = @Original_Cod) + + -- cancello riga... + DELETE FROM IstObj + WHERE (IdxObj = @Original_Cod) + +COMMIT TRAN + +RETURN +go + +commit +go + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(131, GETDATE()) +GO diff --git a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_132.sql b/XPS_data/SqlScript/V 1.2/sqlUpdate_132.sql similarity index 95% rename from project/XPS_data/SqlScript/V 1.2/sqlUpdate_132.sql rename to XPS_data/SqlScript/V 1.2/sqlUpdate_132.sql index 5bb9be1..c53e0a0 100644 --- a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_132.sql +++ b/XPS_data/SqlScript/V 1.2/sqlUpdate_132.sql @@ -1,95 +1,95 @@ -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -/************************************* -* STORED PROCEDURE sp_delRow -* elimina un set di dati a partire dalla riga di una commessa -* -* modif.: S.E.L. -* il: 2008.10.23 -**************************************/ -alter PROCEDURE sp_delRow -( - @Original_Cod VARCHAR(50) -) -AS - -BEGIN TRAN - - -- cancello ULP child - DELETE FROM IstObj - WHERE (IdxObjMamma = @Original_Cod) - - -- cancello riga... - DELETE FROM IstObj - WHERE (IdxObj = @Original_Cod) - -COMMIT TRAN - -RETURN -go - -/************************************* -* STORED PROCEDURE sp_schedaIdent -* restituisce i dati x stampare 1 scheda di identificazione -* -* modif.: S.E.L. -* il: 2012.02.13 -**************************************/ -alter PROCEDURE sp_schedaIdent -( - @IdxObj VARCHAR(50) -) -AS - -SELECT Cod AS IdxObj, CodCliente + ' - ' + Cliente AS Cliente, DDT, DataDDT AS DDT_del, DataArrivo, descrizione AS CodProdotto, DataPrevista AS ConsegnaPrevista, Peso, - CASE CodCli WHEN 'Fosf' THEN 'X' ELSE ' ' END AS FosfManganese, CASE CodCli WHEN 'Brun' THEN 'X' ELSE ' ' END AS Brunitura, - CASE CodCli WHEN 'Fosf_Tefl' THEN 'X' ELSE ' ' END AS FosfTeflon, CASE CodCli WHEN 'Sabb' THEN 'X' ELSE ' ' END AS Sabbiatura, ' ' AS F1, ' ' AS F2, - ' ' AS FosfZinco, ' ' AS Teflon, ' ' AS FosfPreVern, ' ' AS PzRoto, ' ' AS Zinchlorex, ' ' AS PeekVicote, CodCli -FROM v_ULP -WHERE (Cod = @IdxObj) - -RETURN -go - -commit; -go - -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -ALTER PROCEDURE dbo.sp_rec4Day -( - @dayCod VARCHAR(6) -) -AS - - - ---SELECT COUNT(IdxObj) AS rec4Day -- vecchia versione errata con cancellazione... -SELECT ISNULL(MAX(CAST(right(left(idxobj, 8), 2) as INT)),0) as rec4day -FROM IstObj -WHERE (IdxObj LIKE @dayCod + N'%') AND (livello=1) - -RETURN -go - -commit; -go - - --- registro versione... -INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(132, GETDATE()) -GO +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/************************************* +* STORED PROCEDURE sp_delRow +* elimina un set di dati a partire dalla riga di una commessa +* +* modif.: S.E.L. +* il: 2008.10.23 +**************************************/ +alter PROCEDURE sp_delRow +( + @Original_Cod VARCHAR(50) +) +AS + +BEGIN TRAN + + -- cancello ULP child + DELETE FROM IstObj + WHERE (IdxObjMamma = @Original_Cod) + + -- cancello riga... + DELETE FROM IstObj + WHERE (IdxObj = @Original_Cod) + +COMMIT TRAN + +RETURN +go + +/************************************* +* STORED PROCEDURE sp_schedaIdent +* restituisce i dati x stampare 1 scheda di identificazione +* +* modif.: S.E.L. +* il: 2012.02.13 +**************************************/ +alter PROCEDURE sp_schedaIdent +( + @IdxObj VARCHAR(50) +) +AS + +SELECT Cod AS IdxObj, CodCliente + ' - ' + Cliente AS Cliente, DDT, DataDDT AS DDT_del, DataArrivo, descrizione AS CodProdotto, DataPrevista AS ConsegnaPrevista, Peso, + CASE CodCli WHEN 'Fosf' THEN 'X' ELSE ' ' END AS FosfManganese, CASE CodCli WHEN 'Brun' THEN 'X' ELSE ' ' END AS Brunitura, + CASE CodCli WHEN 'Fosf_Tefl' THEN 'X' ELSE ' ' END AS FosfTeflon, CASE CodCli WHEN 'Sabb' THEN 'X' ELSE ' ' END AS Sabbiatura, ' ' AS F1, ' ' AS F2, + ' ' AS FosfZinco, ' ' AS Teflon, ' ' AS FosfPreVern, ' ' AS PzRoto, ' ' AS Zinchlorex, ' ' AS PeekVicote, CodCli +FROM v_ULP +WHERE (Cod = @IdxObj) + +RETURN +go + +commit; +go + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +ALTER PROCEDURE dbo.sp_rec4Day +( + @dayCod VARCHAR(6) +) +AS + + + +--SELECT COUNT(IdxObj) AS rec4Day -- vecchia versione errata con cancellazione... +SELECT ISNULL(MAX(CAST(right(left(idxobj, 8), 2) as INT)),0) as rec4day +FROM IstObj +WHERE (IdxObj LIKE @dayCod + N'%') AND (livello=1) + +RETURN +go + +commit; +go + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(132, GETDATE()) +GO diff --git a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_133.sql b/XPS_data/SqlScript/V 1.2/sqlUpdate_133.sql similarity index 94% rename from project/XPS_data/SqlScript/V 1.2/sqlUpdate_133.sql rename to XPS_data/SqlScript/V 1.2/sqlUpdate_133.sql index 6aec8a3..16a8bc4 100644 --- a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_133.sql +++ b/XPS_data/SqlScript/V 1.2/sqlUpdate_133.sql @@ -1,80 +1,80 @@ -set xact_abort on -go - -begin transaction -go - -UPDATE dbo.AnagLav SET - DescrLav=N'Teflonatura' - WHERE IdxLav=N'Fosf_Tefl' -UPDATE dbo.AnagLav SET - DescrLav=N'Sabbiatura' - WHERE IdxLav=N'Sabb' -go - -commit transaction -go - -set xact_abort on; -go - -begin transaction; -go - -alter table LogStatoIstObj alter column - CodStato nvarchar(50); -go - -exec sp_rename 'PK_LogStatoIstObj_1', 'PK_LogStatoIstObj', 'object'; -go - -alter table LogStatoIstObj drop - constraint FK_LogStatoIstObj_IstObj ; -go - -alter table LogStatoIstObj add - constraint FK_LogStatoIstObj_IstObj foreign key(IdxObj) references IstObj(IdxObj) on update cascade; -go - -set ANSI_NULLS on; -go - -alter TRIGGER trgStateUpd -ON IstObj -FOR UPDATE -AS -IF UPDATE (CodStato) - -DECLARE @dataMod DATETIME - -SET @dataMod = GETDATE() - -/* verifico che non sia già esistente il record (esempio cambio stato multiplo...) */ -SELECT l.IdxObj -FROM LogStatoIstObj AS l INNER JOIN - inserted AS i ON l.IdxObj = i.IdxObj AND l.CodStato = i.CodStato -if(@@ROWCOUNT = 0) - begin - INSERT INTO LogStatoIstObj - (IdxObj, DataOra, Username, CodStato) - SELECT DISTINCT i.IdxObj, @dataMod, i.UserMod, i.CodStato - FROM inserted AS i - end -else - begin - UPDATE LogStatoIstObj - SET DataOra = @dataMod - FROM LogStatoIstObj AS l INNER JOIN inserted AS i ON l.IdxObj = i.IdxObj AND l.CodStato = i.CodStato - end -go - -commit; -go - - - - - --- registro versione... -INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(133, GETDATE()) -GO +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.AnagLav SET + DescrLav=N'Teflonatura' + WHERE IdxLav=N'Fosf_Tefl' +UPDATE dbo.AnagLav SET + DescrLav=N'Sabbiatura' + WHERE IdxLav=N'Sabb' +go + +commit transaction +go + +set xact_abort on; +go + +begin transaction; +go + +alter table LogStatoIstObj alter column + CodStato nvarchar(50); +go + +exec sp_rename 'PK_LogStatoIstObj_1', 'PK_LogStatoIstObj', 'object'; +go + +alter table LogStatoIstObj drop + constraint FK_LogStatoIstObj_IstObj ; +go + +alter table LogStatoIstObj add + constraint FK_LogStatoIstObj_IstObj foreign key(IdxObj) references IstObj(IdxObj) on update cascade; +go + +set ANSI_NULLS on; +go + +alter TRIGGER trgStateUpd +ON IstObj +FOR UPDATE +AS +IF UPDATE (CodStato) + +DECLARE @dataMod DATETIME + +SET @dataMod = GETDATE() + +/* verifico che non sia già esistente il record (esempio cambio stato multiplo...) */ +SELECT l.IdxObj +FROM LogStatoIstObj AS l INNER JOIN + inserted AS i ON l.IdxObj = i.IdxObj AND l.CodStato = i.CodStato +if(@@ROWCOUNT = 0) + begin + INSERT INTO LogStatoIstObj + (IdxObj, DataOra, Username, CodStato) + SELECT DISTINCT i.IdxObj, @dataMod, i.UserMod, i.CodStato + FROM inserted AS i + end +else + begin + UPDATE LogStatoIstObj + SET DataOra = @dataMod + FROM LogStatoIstObj AS l INNER JOIN inserted AS i ON l.IdxObj = i.IdxObj AND l.CodStato = i.CodStato + end +go + +commit; +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(133, GETDATE()) +GO diff --git a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_134.sql b/XPS_data/SqlScript/V 1.2/sqlUpdate_134.sql similarity index 93% rename from project/XPS_data/SqlScript/V 1.2/sqlUpdate_134.sql rename to XPS_data/SqlScript/V 1.2/sqlUpdate_134.sql index a218282..b06d541 100644 --- a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_134.sql +++ b/XPS_data/SqlScript/V 1.2/sqlUpdate_134.sql @@ -1,88 +1,88 @@ -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -/************************************* -* STORED PROCEDURE sp_delRow -* elimina un set di dati a partire dalla riga di una commessa -* -* modif.: S.E.L. -* il: 2008.10.23 -**************************************/ -alter PROCEDURE sp_delRow -( - @Original_Cod VARCHAR(50) -) -AS - -BEGIN TRAN - - -- cancello log stati... - DELETE FROM LogStatoIstObj - WHERE (IdxObj = @Original_Cod) - - -- cancello ULP child - DELETE FROM IstObj - WHERE (IdxObjMamma = @Original_Cod) - - -- cancello riga... - DELETE FROM IstObj - WHERE (IdxObj = @Original_Cod) - -COMMIT TRAN - -RETURN -go - -commit; -go - - -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -/************************************* -* STORED PROCEDURE sp_delObj -* elimina un set di dati di una commessa -* -* modif.: S.E.L. -* il: 2008.10.23 -**************************************/ -alter PROCEDURE sp_delObj -( - @Original_Cod VARCHAR(50) -) -AS - - -- cancello log stati... - DELETE FROM LogStatoIstObj - WHERE (IdxObj LIKE REPLACE(@Original_Cod,'D','%')) - - -- cancello il resto! - DELETE FROM IstObj - WHERE (IdxObj LIKE REPLACE(@Original_Cod,'D','%')) - -RETURN -go - -commit; -go - - - - - --- registro versione... -INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(134, GETDATE()) -GO +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/************************************* +* STORED PROCEDURE sp_delRow +* elimina un set di dati a partire dalla riga di una commessa +* +* modif.: S.E.L. +* il: 2008.10.23 +**************************************/ +alter PROCEDURE sp_delRow +( + @Original_Cod VARCHAR(50) +) +AS + +BEGIN TRAN + + -- cancello log stati... + DELETE FROM LogStatoIstObj + WHERE (IdxObj = @Original_Cod) + + -- cancello ULP child + DELETE FROM IstObj + WHERE (IdxObjMamma = @Original_Cod) + + -- cancello riga... + DELETE FROM IstObj + WHERE (IdxObj = @Original_Cod) + +COMMIT TRAN + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/************************************* +* STORED PROCEDURE sp_delObj +* elimina un set di dati di una commessa +* +* modif.: S.E.L. +* il: 2008.10.23 +**************************************/ +alter PROCEDURE sp_delObj +( + @Original_Cod VARCHAR(50) +) +AS + + -- cancello log stati... + DELETE FROM LogStatoIstObj + WHERE (IdxObj LIKE REPLACE(@Original_Cod,'D','%')) + + -- cancello il resto! + DELETE FROM IstObj + WHERE (IdxObj LIKE REPLACE(@Original_Cod,'D','%')) + +RETURN +go + +commit; +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(134, GETDATE()) +GO diff --git a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_135.sql b/XPS_data/SqlScript/V 1.2/sqlUpdate_135.sql similarity index 93% rename from project/XPS_data/SqlScript/V 1.2/sqlUpdate_135.sql rename to XPS_data/SqlScript/V 1.2/sqlUpdate_135.sql index db93334..48f5dbf 100644 --- a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_135.sql +++ b/XPS_data/SqlScript/V 1.2/sqlUpdate_135.sql @@ -1,39 +1,39 @@ -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -/*************************************** -* STORED stp_dateProxScadenze -* -* ottiene elenco date x prossime scadenze -* -* Steamware, S.E.L. -* mod: 2012.05.07 -* -****************************************/ -create PROCEDURE stp_dateProxScadenze -( - @dataMin DATETIME -) -AS - SELECT * - FROM v_dateEsecuzione - WHERE (Data >= CAST(@dataMin AS datetime)) - ORDER BY Data - -RETURN -go - -commit; -go - - - --- registro versione... -INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(135, GETDATE()) -GO +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_dateProxScadenze +* +* ottiene elenco date x prossime scadenze +* +* Steamware, S.E.L. +* mod: 2012.05.07 +* +****************************************/ +create PROCEDURE stp_dateProxScadenze +( + @dataMin DATETIME +) +AS + SELECT * + FROM v_dateEsecuzione + WHERE (Data >= CAST(@dataMin AS datetime)) + ORDER BY Data + +RETURN +go + +commit; +go + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(135, GETDATE()) +GO diff --git a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_140.sql b/XPS_data/SqlScript/V 1.2/sqlUpdate_140.sql similarity index 94% rename from project/XPS_data/SqlScript/V 1.2/sqlUpdate_140.sql rename to XPS_data/SqlScript/V 1.2/sqlUpdate_140.sql index a5db598..907461b 100644 --- a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_140.sql +++ b/XPS_data/SqlScript/V 1.2/sqlUpdate_140.sql @@ -1,27 +1,27 @@ - -USE [Equa_XPS] -GO -CREATE NONCLUSTERED INDEX [i_LivelloIdxObjMamma] -ON [dbo].[IstObj] ([Livello],[IdxObjMamma]) - -GO - - -USE [Equa_XPS] -GO -CREATE NONCLUSTERED INDEX [i_idxObjLivelloIdxMamma] -ON [dbo].[IstObj] ([Livello],[IdxObjMamma]) - - - -USE [Equa_XPS_prod] -GO -CREATE NONCLUSTERED INDEX [i_idxMamma] -ON [dbo].[IstObj] ([IdxObjMamma]) - - - - --- registro versione... -INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(140, GETDATE()) -GO + +USE [Equa_XPS] +GO +CREATE NONCLUSTERED INDEX [i_LivelloIdxObjMamma] +ON [dbo].[IstObj] ([Livello],[IdxObjMamma]) + +GO + + +USE [Equa_XPS] +GO +CREATE NONCLUSTERED INDEX [i_idxObjLivelloIdxMamma] +ON [dbo].[IstObj] ([Livello],[IdxObjMamma]) + + + +USE [Equa_XPS_prod] +GO +CREATE NONCLUSTERED INDEX [i_idxMamma] +ON [dbo].[IstObj] ([IdxObjMamma]) + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(140, GETDATE()) +GO diff --git a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_150.sql b/XPS_data/SqlScript/V 1.2/sqlUpdate_150.sql similarity index 95% rename from project/XPS_data/SqlScript/V 1.2/sqlUpdate_150.sql rename to XPS_data/SqlScript/V 1.2/sqlUpdate_150.sql index 9da917c..12c4bde 100644 --- a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_150.sql +++ b/XPS_data/SqlScript/V 1.2/sqlUpdate_150.sql @@ -1,523 +1,523 @@ -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -/************************************* -* STORED PROCEDURE sp_schedaIdent -* restituisce i dati x stampare 1 scheda di identificazione -* -* modif.: S.E.L. -* il: 2012.02.13 -**************************************/ -alter PROCEDURE sp_schedaIdent -( - @IdxObj VARCHAR(50) -) -AS - -SELECT Cod AS IdxObj, CodCliente, Cliente, DDT, DataDDT AS DDT_del, DataArrivo, descrizione AS CodProdotto, DataPrevista AS ConsegnaPrevista, Peso, - CASE CodCli WHEN 'Fosf' THEN 'X' ELSE ' ' END AS FosfManganese, CASE CodCli WHEN 'Brun' THEN 'X' ELSE ' ' END AS Brunitura, - CASE CodCli WHEN 'Fosf_Tefl' THEN 'X' ELSE ' ' END AS FosfTeflon, CASE CodCli WHEN 'Sabb' THEN 'X' ELSE ' ' END AS Sabbiatura, ' ' AS F1, ' ' AS F2, - ' ' AS FosfZinco, ' ' AS Teflon, ' ' AS FosfPreVern, ' ' AS PzRoto, ' ' AS Zinchlorex, ' ' AS PeekVicote, CodCli -FROM v_ULP -WHERE (Cod = @IdxObj) - -RETURN -go - -commit; -go - -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -/*--------------------------------------------------------- -* TRIGGER controllo aggiornamento extKey -* -* - in caso di cambio extKey (ciclo lavorazione), SE è Obj master, -* aggiorna a cascata i child ----------------------------------------------------------*/ - -create TRIGGER trg_extKeyUpd -ON IstObj -FOR UPDATE - -AS -IF UPDATE (ExtKey) - -DECLARE @isMasterObj BIT -SET @isMasterObj = ( SELECT CASE WHEN SUBSTRING(IdxObj, LEN(idxobj),1) = 'D' THEN 1 ELSE 0 END FROM inserted ) - --- verifico se sia un obj master (=finisce x "D") -IF(@isMasterObj = 1) -BEGIN - DECLARE @IdxObj NVARCHAR(50) - DECLARE @ExtKey NVARCHAR(50) - - SELECT @IdxObj = IdxObj, @ExtKey = ExtKey FROM inserted - - -- aggiorno child! - UPDATE IstObj - SET ExtKey = @ExtKey - WHERE IdxObj LIKE REPLACE(@IdxObj,'D','')+'%' AND IdxObj <> @IdxObj - -END -go - -commit; -go - - -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -/*--------------------------------------------------------- -* TRIGGER controllo aggiornamento extKey -* -* - in caso di cambio extKey (ciclo lavorazione), SE è Obj master, -* aggiorna a cascata i child ----------------------------------------------------------*/ - -alter TRIGGER trg_extKeyUpd -ON IstObj -FOR UPDATE - -AS -IF UPDATE (ExtKey) - -DECLARE @isMasterObj BIT -SET @isMasterObj = ( SELECT CASE WHEN SUBSTRING(IdxObj, LEN(idxobj),1) = 'D' THEN 1 ELSE 0 END FROM inserted ) - --- verifico se sia un obj master (=finisce x "D") -IF(@isMasterObj = 1) -BEGIN - DECLARE @IdxObj NVARCHAR(50) - DECLARE @ExtKey NVARCHAR(50) - DECLARE @dataMod DATETIME - - -- calcolo valori - SET @dataMod = GETDATE() - SELECT @IdxObj = IdxObj, @ExtKey = ExtKey FROM inserted - - -- aggiorno child! - UPDATE IstObj - SET ExtKey = @ExtKey, - dataMod = @dataMod - WHERE IdxObj LIKE REPLACE(@IdxObj,'D','')+'%' AND IdxObj <> @IdxObj - -END -go - -commit; -go - - -set xact_abort on; -go - -begin transaction; -go - -alter table IstObj add - emailReq bit constraint DF_IstObj_emailReq default ((0)), - emailSent datetime; -go - - -RETURN -go - -commit; -go - - -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -/*--------------------------------------------------------- -* TRIGGER controllo aggiornamento extKey -* -* - in caso di cambio extKey (ciclo lavorazione), SE è Obj master, -* aggiorna a cascata i child ----------------------------------------------------------*/ -alter TRIGGER trg_extKeyUpd -ON IstObj -FOR UPDATE - -AS -IF UPDATE (ExtKey) - -UPDATE child -SET ExtKey = mother.ExtKey, - dataMod = mother.dataMod -FROM inserted AS mother INNER JOIN IstObj as child ON mother.IdxObj = child.IdxObjMamma -WHERE mother.IdxObjMamma IS NULL -go - -commit; -go - - ---- update emailReq a zero x esistenti... -update IstObj -set emailReq = 0 -where emailReq is null - - -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -/************************************* -* STORED PROCEDURE sp_creaSetObj -* crea un set iniziale di valori da tracciare x la commessa -* -* modif.: S.E.L. -* il: 2008.10.17 -**************************************/ -alter PROCEDURE sp_creaSetObj -( - @IdxObj VARCHAR(50), - @CodSet VARCHAR(50), - @CodCliente VARCHAR(50), - @NumDDT VARCHAR(50), - @dataDDT as DATETIME, - @Nome VARCHAR(50), - @UserName VARCHAR(50), - @note VARCHAR(50), - @emailReq BIT -) -AS - -DECLARE @livello VARCHAR(50) -DECLARE @IdxObjMamma VARCHAR(50) -DECLARE @numRow INT -DECLARE @adesso DATETIME -DECLARE @depth INT - -BEGIN tran - -/* creazione oggetti in qta minima */ - - SET @adesso = GETDATE() - SET @depth = 1 - -- parto da obj top #. - SET @livello = '#.' - INSERT INTO IstObj(IdxObj, Livello,ExtKey , DataRif, Rev,CodObj, Posizione,Nome ,UserCreaz,DataCreaz,UserMod,DataMod,CodStato,Note,CodCliente,emailReq) - SELECT @IdxObj + Object2Set.CodObj AS idx, @depth, @Nome, @dataDDT, 0, Object2Set.CodObj, 1, @NumDDT AS nome, - @UserName AS userCreaz, @adesso AS Expr6, @UserName AS userMod, @adesso AS Expr8, V_statoStartFam.CodStato,@note,@CodCliente, @emailReq - FROM AnagFamStati INNER JOIN - AnagObj ON AnagFamStati.FamStato = AnagObj.FamStato INNER JOIN - Object2Set ON AnagObj.CodObj = Object2Set.CodObj INNER JOIN - V_statoStartFam ON AnagFamStati.FamStato = V_statoStartFam.FamStato - WHERE (Object2Set.Posizione = @livello) - -- salvo idx mamma... - SET @IdxObjMamma = (SELECT IdxObj FROM IstObj WHERE DataCreaz=@adesso AND Livello=@depth) - -- ora creo gli obj dei livelli successivi... aggiungo "#." al livello e conto se ce ne solo con ciclo while... - SET @livello = @livello + '#.' - SET @numRow = (SELECT count(IdxSet) - FROM Object2Set - WHERE (Posizione = @livello)) - WHILE(@numRow > 0) - BEGIN - SET @depth = @depth +1 - -- inserisco valori child - INSERT INTO IstObj(IdxObj, Livello, ExtKey, DataRif, Rev,CodObj, Posizione, Nome,UserCreaz,DataCreaz,UserMod,DataMod,CodStato,Note,CodCliente, IdxObjMamma, emailReq) - SELECT @IdxObj + Object2Set.CodObj +'01' AS idx, @depth, @Nome, @dataDDT, 0, Object2Set.CodObj, 1, @NumDDT , - @UserName AS Expr5, @adesso, @UserName AS Expr7, @adesso AS Expr8, v_statoStartFam.CodStato,@note,@CodCliente, @IdxObjMamma, @emailReq - FROM AnagFamStati INNER JOIN - AnagObj ON AnagFamStati.FamStato = AnagObj.FamStato INNER JOIN - Object2Set ON AnagObj.CodObj = Object2Set.CodObj INNER JOIN - v_statoStartFam ON AnagFamStati.FamStato = v_statoStartFam.FamStato - WHERE (Object2Set.Posizione = @livello) - -- salvo idx mamma... - SET @IdxObjMamma = (SELECT IdxObj FROM IstObj WHERE DataCreaz=@adesso AND Livello=@depth) - -- aggiorno conteggio... - SET @livello = @livello + '#.' - SET @numRow = (SELECT count(IdxSet) - FROM Object2Set - WHERE (Posizione = @livello)) - END - -/* creazione fasi std per ogni oggetto creato */ - - -COMMIT tran - -RETURN -go - -commit; -go - - -set xact_abort on; -go - -begin transaction; -go - -alter table AnagClienti add - email nvarchar(500) constraint DF_AnagClienti_email default (''); -go - -update AnagClienti set email=(''); -go - -commit; -go - - -set xact_abort on; -go - -begin transaction; -go - -alter table IstObj drop - constraint FK_IstObj_AnagClienti ; -go - -alter table AnagClienti drop - constraint DF_AnagClienti_email ; -go - -exec sp_rename 'PK_AnagClienti', 'tmp__PK_AnagClienti', 'OBJECT'; -go - -exec sp_rename 'AnagClienti', 'tmp__AnagClienti_0', 'OBJECT'; -go - -create table AnagClienti( - CodCliente nvarchar(50) not null constraint PK_AnagClienti primary key, - RagioneSociale nvarchar(50), - piva nvarchar(20), - email nvarchar(500) constraint DF_AnagClienti_email default (''), - indirizzo nvarchar(50), - cap nvarchar(5), - localita nvarchar(50), - provincia nvarchar(5) -); -go - -insert into AnagClienti(CodCliente,RagioneSociale,email) select CodCliente,RagioneSociale,email from tmp__AnagClienti_0; -go - -drop table tmp__AnagClienti_0; -go - -alter table IstObj add - constraint FK_IstObj_AnagClienti foreign key(CodCliente) references AnagClienti(CodCliente); -go - -commit; -go - - -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -/*************************************** -* STORED stp_AnagCliUpdate -* -* aggiorna dati anagrafica clienti -* -* Steamware, S.E.L. -* mod: 2012.07.12 -* -****************************************/ -create PROCEDURE stp_AnagCliUpdate -( - @Original_CodCliente NVARCHAR(50), - @RagioneSociale NVARCHAR(50), - @piva NVARCHAR(20), - @email NVARCHAR(500), - @indirizzo NVARCHAR(50), - @cap NVARCHAR(5), - @localita NVARCHAR(50), - @provincia NVARCHAR(5) -) -AS - -UPDATE dbo.AnagClienti -SET RagioneSociale = @RagioneSociale, - piva = @piva, - email = @email, - indirizzo = @indirizzo, - cap = @cap, - localita = @localita, - provincia = @provincia -WHERE (CodCliente = @Original_CodCliente) - -RETURN -go - -commit; -go - -set xact_abort on -go - -begin transaction -go - -INSERT INTO dbo.Eventi - VALUES (N'07', N'BC', N'Invio email', N'act') -go - -commit transaction -go - - -set xact_abort on -go - -begin transaction -go - -INSERT INTO dbo.TraEv2Stati - VALUES (N'E_BC', N'BC', N'05', N'07', N'*', N'07', N'sendMail', N'Invia Email') -go - -commit transaction -go - - -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -/*************************************** -* STORED stp_AnagCliGetByKey -* -* ottiene record anagrafica clienti da chiave -* -* Steamware, S.E.L. -* mod: 2012.07.12 -* -****************************************/ -create PROCEDURE stp_AnagCliGetByKey -( - @CodCliente NVARCHAR(50) -) -AS - -SELECT * -FROM AnagClienti -WHERE CodCliente = @CodCliente - -RETURN -go - -commit; -go - - -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -/*************************************** -* STORED stp_IstObj_updateEmailSent -* -* aggiorna email sent con data/ora correnti -* -* Steamware, S.E.L. -* mod: 2011.10.27 -* -****************************************/ -create PROCEDURE stp_IstObj_updateEmailSent -( - @IdxObj NVARCHAR(50) -) -AS - -UPDATE IstObj -SET emailsent = GETDATE() -WHERE IdxObj = @IdxObj - -RETURN -go - -commit; -go - - - - - --- update email a Vuota! -update AnagClienti set email='' -where email is null - - - - - - - - - - - - - - - - - - - - - - - - - --- registro versione... -INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(150, GETDATE()) -GO +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/************************************* +* STORED PROCEDURE sp_schedaIdent +* restituisce i dati x stampare 1 scheda di identificazione +* +* modif.: S.E.L. +* il: 2012.02.13 +**************************************/ +alter PROCEDURE sp_schedaIdent +( + @IdxObj VARCHAR(50) +) +AS + +SELECT Cod AS IdxObj, CodCliente, Cliente, DDT, DataDDT AS DDT_del, DataArrivo, descrizione AS CodProdotto, DataPrevista AS ConsegnaPrevista, Peso, + CASE CodCli WHEN 'Fosf' THEN 'X' ELSE ' ' END AS FosfManganese, CASE CodCli WHEN 'Brun' THEN 'X' ELSE ' ' END AS Brunitura, + CASE CodCli WHEN 'Fosf_Tefl' THEN 'X' ELSE ' ' END AS FosfTeflon, CASE CodCli WHEN 'Sabb' THEN 'X' ELSE ' ' END AS Sabbiatura, ' ' AS F1, ' ' AS F2, + ' ' AS FosfZinco, ' ' AS Teflon, ' ' AS FosfPreVern, ' ' AS PzRoto, ' ' AS Zinchlorex, ' ' AS PeekVicote, CodCli +FROM v_ULP +WHERE (Cod = @IdxObj) + +RETURN +go + +commit; +go + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*--------------------------------------------------------- +* TRIGGER controllo aggiornamento extKey +* +* - in caso di cambio extKey (ciclo lavorazione), SE è Obj master, +* aggiorna a cascata i child +---------------------------------------------------------*/ + +create TRIGGER trg_extKeyUpd +ON IstObj +FOR UPDATE + +AS +IF UPDATE (ExtKey) + +DECLARE @isMasterObj BIT +SET @isMasterObj = ( SELECT CASE WHEN SUBSTRING(IdxObj, LEN(idxobj),1) = 'D' THEN 1 ELSE 0 END FROM inserted ) + +-- verifico se sia un obj master (=finisce x "D") +IF(@isMasterObj = 1) +BEGIN + DECLARE @IdxObj NVARCHAR(50) + DECLARE @ExtKey NVARCHAR(50) + + SELECT @IdxObj = IdxObj, @ExtKey = ExtKey FROM inserted + + -- aggiorno child! + UPDATE IstObj + SET ExtKey = @ExtKey + WHERE IdxObj LIKE REPLACE(@IdxObj,'D','')+'%' AND IdxObj <> @IdxObj + +END +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*--------------------------------------------------------- +* TRIGGER controllo aggiornamento extKey +* +* - in caso di cambio extKey (ciclo lavorazione), SE è Obj master, +* aggiorna a cascata i child +---------------------------------------------------------*/ + +alter TRIGGER trg_extKeyUpd +ON IstObj +FOR UPDATE + +AS +IF UPDATE (ExtKey) + +DECLARE @isMasterObj BIT +SET @isMasterObj = ( SELECT CASE WHEN SUBSTRING(IdxObj, LEN(idxobj),1) = 'D' THEN 1 ELSE 0 END FROM inserted ) + +-- verifico se sia un obj master (=finisce x "D") +IF(@isMasterObj = 1) +BEGIN + DECLARE @IdxObj NVARCHAR(50) + DECLARE @ExtKey NVARCHAR(50) + DECLARE @dataMod DATETIME + + -- calcolo valori + SET @dataMod = GETDATE() + SELECT @IdxObj = IdxObj, @ExtKey = ExtKey FROM inserted + + -- aggiorno child! + UPDATE IstObj + SET ExtKey = @ExtKey, + dataMod = @dataMod + WHERE IdxObj LIKE REPLACE(@IdxObj,'D','')+'%' AND IdxObj <> @IdxObj + +END +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +alter table IstObj add + emailReq bit constraint DF_IstObj_emailReq default ((0)), + emailSent datetime; +go + + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*--------------------------------------------------------- +* TRIGGER controllo aggiornamento extKey +* +* - in caso di cambio extKey (ciclo lavorazione), SE è Obj master, +* aggiorna a cascata i child +---------------------------------------------------------*/ +alter TRIGGER trg_extKeyUpd +ON IstObj +FOR UPDATE + +AS +IF UPDATE (ExtKey) + +UPDATE child +SET ExtKey = mother.ExtKey, + dataMod = mother.dataMod +FROM inserted AS mother INNER JOIN IstObj as child ON mother.IdxObj = child.IdxObjMamma +WHERE mother.IdxObjMamma IS NULL +go + +commit; +go + + +--- update emailReq a zero x esistenti... +update IstObj +set emailReq = 0 +where emailReq is null + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/************************************* +* STORED PROCEDURE sp_creaSetObj +* crea un set iniziale di valori da tracciare x la commessa +* +* modif.: S.E.L. +* il: 2008.10.17 +**************************************/ +alter PROCEDURE sp_creaSetObj +( + @IdxObj VARCHAR(50), + @CodSet VARCHAR(50), + @CodCliente VARCHAR(50), + @NumDDT VARCHAR(50), + @dataDDT as DATETIME, + @Nome VARCHAR(50), + @UserName VARCHAR(50), + @note VARCHAR(50), + @emailReq BIT +) +AS + +DECLARE @livello VARCHAR(50) +DECLARE @IdxObjMamma VARCHAR(50) +DECLARE @numRow INT +DECLARE @adesso DATETIME +DECLARE @depth INT + +BEGIN tran + +/* creazione oggetti in qta minima */ + + SET @adesso = GETDATE() + SET @depth = 1 + -- parto da obj top #. + SET @livello = '#.' + INSERT INTO IstObj(IdxObj, Livello,ExtKey , DataRif, Rev,CodObj, Posizione,Nome ,UserCreaz,DataCreaz,UserMod,DataMod,CodStato,Note,CodCliente,emailReq) + SELECT @IdxObj + Object2Set.CodObj AS idx, @depth, @Nome, @dataDDT, 0, Object2Set.CodObj, 1, @NumDDT AS nome, + @UserName AS userCreaz, @adesso AS Expr6, @UserName AS userMod, @adesso AS Expr8, V_statoStartFam.CodStato,@note,@CodCliente, @emailReq + FROM AnagFamStati INNER JOIN + AnagObj ON AnagFamStati.FamStato = AnagObj.FamStato INNER JOIN + Object2Set ON AnagObj.CodObj = Object2Set.CodObj INNER JOIN + V_statoStartFam ON AnagFamStati.FamStato = V_statoStartFam.FamStato + WHERE (Object2Set.Posizione = @livello) + -- salvo idx mamma... + SET @IdxObjMamma = (SELECT IdxObj FROM IstObj WHERE DataCreaz=@adesso AND Livello=@depth) + -- ora creo gli obj dei livelli successivi... aggiungo "#." al livello e conto se ce ne solo con ciclo while... + SET @livello = @livello + '#.' + SET @numRow = (SELECT count(IdxSet) + FROM Object2Set + WHERE (Posizione = @livello)) + WHILE(@numRow > 0) + BEGIN + SET @depth = @depth +1 + -- inserisco valori child + INSERT INTO IstObj(IdxObj, Livello, ExtKey, DataRif, Rev,CodObj, Posizione, Nome,UserCreaz,DataCreaz,UserMod,DataMod,CodStato,Note,CodCliente, IdxObjMamma, emailReq) + SELECT @IdxObj + Object2Set.CodObj +'01' AS idx, @depth, @Nome, @dataDDT, 0, Object2Set.CodObj, 1, @NumDDT , + @UserName AS Expr5, @adesso, @UserName AS Expr7, @adesso AS Expr8, v_statoStartFam.CodStato,@note,@CodCliente, @IdxObjMamma, @emailReq + FROM AnagFamStati INNER JOIN + AnagObj ON AnagFamStati.FamStato = AnagObj.FamStato INNER JOIN + Object2Set ON AnagObj.CodObj = Object2Set.CodObj INNER JOIN + v_statoStartFam ON AnagFamStati.FamStato = v_statoStartFam.FamStato + WHERE (Object2Set.Posizione = @livello) + -- salvo idx mamma... + SET @IdxObjMamma = (SELECT IdxObj FROM IstObj WHERE DataCreaz=@adesso AND Livello=@depth) + -- aggiorno conteggio... + SET @livello = @livello + '#.' + SET @numRow = (SELECT count(IdxSet) + FROM Object2Set + WHERE (Posizione = @livello)) + END + +/* creazione fasi std per ogni oggetto creato */ + + +COMMIT tran + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +alter table AnagClienti add + email nvarchar(500) constraint DF_AnagClienti_email default (''); +go + +update AnagClienti set email=(''); +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +alter table IstObj drop + constraint FK_IstObj_AnagClienti ; +go + +alter table AnagClienti drop + constraint DF_AnagClienti_email ; +go + +exec sp_rename 'PK_AnagClienti', 'tmp__PK_AnagClienti', 'OBJECT'; +go + +exec sp_rename 'AnagClienti', 'tmp__AnagClienti_0', 'OBJECT'; +go + +create table AnagClienti( + CodCliente nvarchar(50) not null constraint PK_AnagClienti primary key, + RagioneSociale nvarchar(50), + piva nvarchar(20), + email nvarchar(500) constraint DF_AnagClienti_email default (''), + indirizzo nvarchar(50), + cap nvarchar(5), + localita nvarchar(50), + provincia nvarchar(5) +); +go + +insert into AnagClienti(CodCliente,RagioneSociale,email) select CodCliente,RagioneSociale,email from tmp__AnagClienti_0; +go + +drop table tmp__AnagClienti_0; +go + +alter table IstObj add + constraint FK_IstObj_AnagClienti foreign key(CodCliente) references AnagClienti(CodCliente); +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_AnagCliUpdate +* +* aggiorna dati anagrafica clienti +* +* Steamware, S.E.L. +* mod: 2012.07.12 +* +****************************************/ +create PROCEDURE stp_AnagCliUpdate +( + @Original_CodCliente NVARCHAR(50), + @RagioneSociale NVARCHAR(50), + @piva NVARCHAR(20), + @email NVARCHAR(500), + @indirizzo NVARCHAR(50), + @cap NVARCHAR(5), + @localita NVARCHAR(50), + @provincia NVARCHAR(5) +) +AS + +UPDATE dbo.AnagClienti +SET RagioneSociale = @RagioneSociale, + piva = @piva, + email = @email, + indirizzo = @indirizzo, + cap = @cap, + localita = @localita, + provincia = @provincia +WHERE (CodCliente = @Original_CodCliente) + +RETURN +go + +commit; +go + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Eventi + VALUES (N'07', N'BC', N'Invio email', N'act') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.TraEv2Stati + VALUES (N'E_BC', N'BC', N'05', N'07', N'*', N'07', N'sendMail', N'Invia Email') +go + +commit transaction +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_AnagCliGetByKey +* +* ottiene record anagrafica clienti da chiave +* +* Steamware, S.E.L. +* mod: 2012.07.12 +* +****************************************/ +create PROCEDURE stp_AnagCliGetByKey +( + @CodCliente NVARCHAR(50) +) +AS + +SELECT * +FROM AnagClienti +WHERE CodCliente = @CodCliente + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_IstObj_updateEmailSent +* +* aggiorna email sent con data/ora correnti +* +* Steamware, S.E.L. +* mod: 2011.10.27 +* +****************************************/ +create PROCEDURE stp_IstObj_updateEmailSent +( + @IdxObj NVARCHAR(50) +) +AS + +UPDATE IstObj +SET emailsent = GETDATE() +WHERE IdxObj = @IdxObj + +RETURN +go + +commit; +go + + + + + +-- update email a Vuota! +update AnagClienti set email='' +where email is null + + + + + + + + + + + + + + + + + + + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(150, GETDATE()) +GO diff --git a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_151.sql b/XPS_data/SqlScript/V 1.2/sqlUpdate_151.sql similarity index 95% rename from project/XPS_data/SqlScript/V 1.2/sqlUpdate_151.sql rename to XPS_data/SqlScript/V 1.2/sqlUpdate_151.sql index b288820..33b9fea 100644 --- a/project/XPS_data/SqlScript/V 1.2/sqlUpdate_151.sql +++ b/XPS_data/SqlScript/V 1.2/sqlUpdate_151.sql @@ -1,56 +1,56 @@ -set xact_abort on; -go - -begin transaction; -go - -set ANSI_NULLS on; -go - -/************************************* -* STORED PROCEDURE sp_schedaIdent -* restituisce i dati x stampare 1 scheda di identificazione -* -* modif.: S.E.L. -* il: 2012.02.13 -**************************************/ -alter PROCEDURE sp_schedaIdent -( - @IdxObj VARCHAR(50) -) -AS - -SELECT Cod AS IdxObj, CodCliente, Cliente, DDT, DataDDT AS DDT_del, DataArrivo, descrizione AS CodProdotto, DataPrevista AS ConsegnaPrevista, Peso, Qta, - CASE CodCli WHEN 'Fosf' THEN 'X' ELSE ' ' END AS FosfManganese, CASE CodCli WHEN 'Brun' THEN 'X' ELSE ' ' END AS Brunitura, - CASE CodCli WHEN 'Fosf_Tefl' THEN 'X' ELSE ' ' END AS FosfTeflon, CASE CodCli WHEN 'Sabb' THEN 'X' ELSE ' ' END AS Sabbiatura, ' ' AS F1, ' ' AS F2, - ' ' AS FosfZinco, ' ' AS Teflon, ' ' AS FosfPreVern, ' ' AS PzRoto, ' ' AS Zinchlorex, ' ' AS PeekVicote, CodCli -FROM v_ULP -WHERE (Cod = @IdxObj) - -RETURN -go - -commit; -go - - - - - - - - - - - - - - - - - - - --- registro versione... -INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(151, GETDATE()) -GO +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/************************************* +* STORED PROCEDURE sp_schedaIdent +* restituisce i dati x stampare 1 scheda di identificazione +* +* modif.: S.E.L. +* il: 2012.02.13 +**************************************/ +alter PROCEDURE sp_schedaIdent +( + @IdxObj VARCHAR(50) +) +AS + +SELECT Cod AS IdxObj, CodCliente, Cliente, DDT, DataDDT AS DDT_del, DataArrivo, descrizione AS CodProdotto, DataPrevista AS ConsegnaPrevista, Peso, Qta, + CASE CodCli WHEN 'Fosf' THEN 'X' ELSE ' ' END AS FosfManganese, CASE CodCli WHEN 'Brun' THEN 'X' ELSE ' ' END AS Brunitura, + CASE CodCli WHEN 'Fosf_Tefl' THEN 'X' ELSE ' ' END AS FosfTeflon, CASE CodCli WHEN 'Sabb' THEN 'X' ELSE ' ' END AS Sabbiatura, ' ' AS F1, ' ' AS F2, + ' ' AS FosfZinco, ' ' AS Teflon, ' ' AS FosfPreVern, ' ' AS PzRoto, ' ' AS Zinchlorex, ' ' AS PeekVicote, CodCli +FROM v_ULP +WHERE (Cod = @IdxObj) + +RETURN +go + +commit; +go + + + + + + + + + + + + + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(151, GETDATE()) +GO diff --git a/project/XPS_data/SqlScript/V 1.3/sqlUpdate_175.sql b/XPS_data/SqlScript/V 1.3/sqlUpdate_175.sql similarity index 100% rename from project/XPS_data/SqlScript/V 1.3/sqlUpdate_175.sql rename to XPS_data/SqlScript/V 1.3/sqlUpdate_175.sql diff --git a/project/XPS_data/XPS.cs b/XPS_data/XPS.cs similarity index 97% rename from project/XPS_data/XPS.cs rename to XPS_data/XPS.cs index 33dd7db..0bf92a0 100644 --- a/project/XPS_data/XPS.cs +++ b/XPS_data/XPS.cs @@ -1,124 +1,124 @@ -using System; -using System.Collections.Generic; -using System.Web; -using SteamWare; - -namespace XPS_data -{ - /// - /// Summary description for XPS - /// - public class XPS - { - #region classe principale - - /// - /// avvio classe - /// - protected XPS() - { - avvioTA(); - setupConnectionStringBase(); - } - /// - /// avvia table adapters - /// - private void avvioTA() - { - // avvio i table adapters... - taObj = new DS_applicazioneTableAdapters.IstObjTableAdapter(); - taSP = new DS_applicazioneTableAdapters.SP(); - taSchedaIdent = new DS_applicazioneTableAdapters.sp_schedaIdentTableAdapter(); - taDdt = new DS_applicazioneTableAdapters.sp_ddtTableAdapter(); - taRec4day = new XPS_data.DS_applicazioneTableAdapters.sp_rec4DayTableAdapter(); - taComm = new XPS_data.DS_applicazioneTableAdapters.v_commesseTableAdapter(); - taAnCli = new XPS_data.DS_applicazioneTableAdapters.AnagClientiTableAdapter(); - } - /// - /// effettua setup dei connection strings da web.config delal singola applicazione - /// - protected virtual void setupConnectionStringBase() - { - string connString = memLayer.ML.confReadString("XPSConnectionString"); - // connections strings del db - taObj.Connection.ConnectionString = connString; - //taSP.Connection.ConnectionString = connString; - taSchedaIdent.Connection.ConnectionString = connString; - taDdt.Connection.ConnectionString = connString; - taRec4day.Connection.ConnectionString = connString; - taComm.Connection.ConnectionString = connString; - taAnCli.Connection.ConnectionString = connString; - } - /// - /// singleton classe - /// - public static XPS obj = new XPS(); - - #endregion - - #region area pubblica - - #region table adapters - - public DS_applicazioneTableAdapters.IstObjTableAdapter taObj; - public DS_applicazioneTableAdapters.SP taSP; - public DS_applicazioneTableAdapters.sp_schedaIdentTableAdapter taSchedaIdent; - public DS_applicazioneTableAdapters.sp_ddtTableAdapter taDdt; - public DS_applicazioneTableAdapters.sp_rec4DayTableAdapter taRec4day; - public DS_applicazioneTableAdapters.v_commesseTableAdapter taComm; - public DS_applicazioneTableAdapters.AnagClientiTableAdapter taAnCli; - - #endregion - - /// - /// restituisce l'url formattato del report x stampare etichette e moduli con barcode - /// - /// - /// tipo di report (label, module ...) - /// tipo di output richiesto (PDF / anteprima) - /// - public string urlReport(object Cod, string tipoReport, string outputRich) - { - string url, urlFormat, opzPdf, nomeRep; - try - { - urlFormat = SteamWare.memLayer.ML.confReadString("urlReporting"); - if (outputRich == "PDF") - { - opzPdf = SteamWare.memLayer.ML.confReadString("reportOpzPdf"); - } - else - { - opzPdf = ""; - } - if (tipoReport == "label") - { - nomeRep = SteamWare.memLayer.ML.confReadString("reportName_lbl"); - } - else // (tipoReport == "module") - { - nomeRep = SteamWare.memLayer.ML.confReadString("reportName_mod"); - } - url = string.Format(urlFormat, SteamWare.memLayer.ML.confReadString("reportingServerAddress"), SteamWare.memLayer.ML.confReadString("reportDir"), nomeRep, Cod, opzPdf); - } - catch - { - url = ""; - } - return url; - } - - #endregion - } - /// - /// modalità utente XPS Equa - /// - public enum modoXPS_Equa - { - magazzino, - spedizioni, - segreteria, - produzione, - direzione - } +using System; +using System.Collections.Generic; +using System.Web; +using SteamWare; + +namespace XPS_data +{ + /// + /// Summary description for XPS + /// + public class XPS + { + #region classe principale + + /// + /// avvio classe + /// + protected XPS() + { + avvioTA(); + setupConnectionStringBase(); + } + /// + /// avvia table adapters + /// + private void avvioTA() + { + // avvio i table adapters... + taObj = new DS_applicazioneTableAdapters.IstObjTableAdapter(); + taSP = new DS_applicazioneTableAdapters.SP(); + taSchedaIdent = new DS_applicazioneTableAdapters.sp_schedaIdentTableAdapter(); + taDdt = new DS_applicazioneTableAdapters.sp_ddtTableAdapter(); + taRec4day = new XPS_data.DS_applicazioneTableAdapters.sp_rec4DayTableAdapter(); + taComm = new XPS_data.DS_applicazioneTableAdapters.v_commesseTableAdapter(); + taAnCli = new XPS_data.DS_applicazioneTableAdapters.AnagClientiTableAdapter(); + } + /// + /// effettua setup dei connection strings da web.config delal singola applicazione + /// + protected virtual void setupConnectionStringBase() + { + string connString = memLayer.ML.confReadString("XPSConnectionString"); + // connections strings del db + taObj.Connection.ConnectionString = connString; + //taSP.Connection.ConnectionString = connString; + taSchedaIdent.Connection.ConnectionString = connString; + taDdt.Connection.ConnectionString = connString; + taRec4day.Connection.ConnectionString = connString; + taComm.Connection.ConnectionString = connString; + taAnCli.Connection.ConnectionString = connString; + } + /// + /// singleton classe + /// + public static XPS obj = new XPS(); + + #endregion + + #region area pubblica + + #region table adapters + + public DS_applicazioneTableAdapters.IstObjTableAdapter taObj; + public DS_applicazioneTableAdapters.SP taSP; + public DS_applicazioneTableAdapters.sp_schedaIdentTableAdapter taSchedaIdent; + public DS_applicazioneTableAdapters.sp_ddtTableAdapter taDdt; + public DS_applicazioneTableAdapters.sp_rec4DayTableAdapter taRec4day; + public DS_applicazioneTableAdapters.v_commesseTableAdapter taComm; + public DS_applicazioneTableAdapters.AnagClientiTableAdapter taAnCli; + + #endregion + + /// + /// restituisce l'url formattato del report x stampare etichette e moduli con barcode + /// + /// + /// tipo di report (label, module ...) + /// tipo di output richiesto (PDF / anteprima) + /// + public string urlReport(object Cod, string tipoReport, string outputRich) + { + string url, urlFormat, opzPdf, nomeRep; + try + { + urlFormat = SteamWare.memLayer.ML.confReadString("urlReporting"); + if (outputRich == "PDF") + { + opzPdf = SteamWare.memLayer.ML.confReadString("reportOpzPdf"); + } + else + { + opzPdf = ""; + } + if (tipoReport == "label") + { + nomeRep = SteamWare.memLayer.ML.confReadString("reportName_lbl"); + } + else // (tipoReport == "module") + { + nomeRep = SteamWare.memLayer.ML.confReadString("reportName_mod"); + } + url = string.Format(urlFormat, SteamWare.memLayer.ML.confReadString("reportingServerAddress"), SteamWare.memLayer.ML.confReadString("reportDir"), nomeRep, Cod, opzPdf); + } + catch + { + url = ""; + } + return url; + } + + #endregion + } + /// + /// modalità utente XPS Equa + /// + public enum modoXPS_Equa + { + magazzino, + spedizioni, + segreteria, + produzione, + direzione + } } \ No newline at end of file diff --git a/project/XPS_data/XPS_data.csproj b/XPS_data/XPS_data.csproj similarity index 96% rename from project/XPS_data/XPS_data.csproj rename to XPS_data/XPS_data.csproj index c06583c..e9cfcb4 100644 --- a/project/XPS_data/XPS_data.csproj +++ b/XPS_data/XPS_data.csproj @@ -1,231 +1,231 @@ - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF} - Library - Properties - XPS_data - XPS_data - v3.5 - 512 - - - 3.5 - - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - AllRules.ruleset - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - AllRules.ruleset - - - bin\EQUA\ - TRACE - true - pdbonly - AnyCPU - bin\Release\XPS_data.dll.CodeAnalysisLog.xml - true - GlobalSuppressions.cs - prompt - AllRules.ruleset - ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets - ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules - false - false - - - - - - 3.5 - - - - - 3.5 - - - 3.5 - - - - - - - True - True - DS_applicazione.xsd - - - True - True - DS_import.xsd - - - True - True - DS_utility.xsd - - - True - True - DS_XPS.xsd - - - Code - - - - True - True - Settings.settings - - - Code - - - Code - - - Code - - - Code - - - - - - DS_applicazione.xsd - - - Designer - MSDataSetGenerator - DS_applicazione.Designer.cs - - - DS_applicazione.xsd - - - DS_import.xsd - - - Designer - MSDataSetGenerator - DS_import.Designer.cs - - - DS_import.xsd - - - DS_utility.xsd - - - Designer - MSDataSetGenerator - DS_utility.Designer.cs - - - DS_utility.xsd - - - DS_XPS.xsd - - - Designer - MSDataSetGenerator - DS_XPS.Designer.cs - - - DS_XPS.xsd - - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - - Always - - - - - - - - - - - - - - - - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - true - - - False - Windows Installer 3.1 - true - - - - - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5} - SteamWare - - - - + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF} + Library + Properties + XPS_data + XPS_data + v3.5 + 512 + + + 3.5 + + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + AllRules.ruleset + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + AllRules.ruleset + + + bin\EQUA\ + TRACE + true + pdbonly + AnyCPU + bin\Release\XPS_data.dll.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + false + false + + + + + + 3.5 + + + + + 3.5 + + + 3.5 + + + + + + + True + True + DS_applicazione.xsd + + + True + True + DS_import.xsd + + + True + True + DS_utility.xsd + + + True + True + DS_XPS.xsd + + + Code + + + + True + True + Settings.settings + + + Code + + + Code + + + Code + + + Code + + + + + + DS_applicazione.xsd + + + Designer + MSDataSetGenerator + DS_applicazione.Designer.cs + + + DS_applicazione.xsd + + + DS_import.xsd + + + Designer + MSDataSetGenerator + DS_import.Designer.cs + + + DS_import.xsd + + + DS_utility.xsd + + + Designer + MSDataSetGenerator + DS_utility.Designer.cs + + + DS_utility.xsd + + + DS_XPS.xsd + + + Designer + MSDataSetGenerator + DS_XPS.Designer.cs + + + DS_XPS.xsd + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + Always + + + + + + + + + + + + + + + + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + true + + + False + Windows Installer 3.1 + true + + + + + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5} + SteamWare + + + + \ No newline at end of file diff --git a/project/XPS_data/XPS_data.csproj.user b/XPS_data/XPS_data.csproj.user similarity index 100% rename from project/XPS_data/XPS_data.csproj.user rename to XPS_data/XPS_data.csproj.user diff --git a/project/XPS_data/app.config b/XPS_data/app.config similarity index 98% rename from project/XPS_data/app.config rename to XPS_data/app.config index 7504868..8fbf4aa 100644 --- a/project/XPS_data/app.config +++ b/XPS_data/app.config @@ -1,16 +1,16 @@ - - - - - - - - - + + + + + + + + + \ No newline at end of file diff --git a/project/XPS_data/extSync.cs b/XPS_data/extSync.cs similarity index 97% rename from project/XPS_data/extSync.cs rename to XPS_data/extSync.cs index 60ba2c0..dcf268c 100644 --- a/project/XPS_data/extSync.cs +++ b/XPS_data/extSync.cs @@ -1,180 +1,180 @@ -using System; -using System.Collections.Generic; -using System.Web; - - -namespace XPS_data -{ - /// - /// Summary description for extSync - /// - public class extSync - { - #region area tableAdapter - - DS_importTableAdapters.aclTableAdapter taACL_orig; - DS_applicazioneTableAdapters.AnagClientiTableAdapter taAnagCli; - - private void caricaTA() - { - taAnagCli = new DS_applicazioneTableAdapters.AnagClientiTableAdapter(); - taACL_orig = new DS_importTableAdapters.aclTableAdapter(); - } - - #endregion - - protected extSync() - { - // avvio tableAdapters - caricaTA(); - } - - public static extSync obj = new extSync(); - - /// - /// - /// - /// - public string caricaClienti() - { - // inizializzo stringa output - string ragSocNotImp = "...sync completato!

"; - // procedura vecchia in c# -#if false - // carico tab clienti access - DS_import.aclDataTable tabOrig = taACL_orig.GetData(); - // carico tab clienti MSSQL - DS_applicazione.AnagClientiDataTable tabDest = taAnagCli.GetData(); - DS_applicazione.AnagClientiRow rigaDest; - string ragioneSociale; - // verifico uno ad uno i clienti... - string ragSoc, indirizzo, localita, cap, prov, piva, email; - int errori; - int nonImportati = 0; - foreach (DS_import.aclRow riga in tabOrig) - { - errori = 0; - // calcolo i singoli valori... - try - { - ragSoc = riga.clragd; - } - catch - { - ragSoc = "rag.soc. nd"; - errori++; - } - try - { - indirizzo = riga.clindi; - } - catch - { - indirizzo = "indir. nd"; - errori++; - } - try - { - localita = riga.clloca; - } - catch - { - localita = "local. nd"; - errori++; - } - try - { - cap = riga.clcapo; - } - catch - { - cap = "cap nd"; - errori++; - } - try - { - prov = riga.clprov; - } - catch - { - prov = "prov. nd"; - errori++; - } - try - { - piva = riga.clcdpiva; - } - catch - { - piva = ""; - errori++; - } - try - { - email = riga.clemail; - } - catch - { - email = ""; - errori++; - } - // compongo stringa descrittiva - //ragioneSociale = string.Format("{0}, {1} {2} {3} {4}", ragSoc, indirizzo, cap, localita, prov); - ragioneSociale = string.Format("{0}", ragSoc); - // inserisco SOLO se non mancano + di 3 valori... - if (errori < 4) - { - // controllo se eccedo i 50 char... - if (ragioneSociale.Length > 50) - { - ragioneSociale = ragioneSociale.Substring(0, 47) + "..."; - } - try - { - rigaDest = tabDest.FindByCodCliente(riga.clcodcn); - if (rigaDest != null) - { - // se c'è faccio update... - taAnagCli.updateQuery(rigaDest.CodCliente, ragioneSociale, piva, email, indirizzo, cap, localita, prov); - } - else - { - // se manca aggiungo... - taAnagCli.Insert(riga.clcodcn, ragioneSociale, piva, email, indirizzo, cap, localita, prov); - } - } - catch - { - SteamWare.logger.lg.scriviLog(string.Format("errore inserimento per cod cliente {0}", riga.clcodcn), SteamWare.tipoLog.EXCEPTION); - } - } - else - { - // mancano + di 2 valori, NON IMPORTO!!!! - nonImportati++; - ragSocNotImp += string.Format("
Non ho importato la ragione sociale collegata all'id {0} poiché i dati mancanti sono troppi: {1}", riga.clcodcn, ragioneSociale); - SteamWare.logger.lg.scriviLog(string.Format("errore inserimento per cod cliente {0}", riga.clcodcn), SteamWare.tipoLog.INFO); - } - } -#endif - string esito = ""; - // chiamo stored x caricare anag clienti + email - //DS_importTableAdapters.caricaSwingData taSwing = new DS_importTableAdapters.caricaSwingData(); - //taSwing.stp_CaricaAnagCliSwing(ref esito); - SteamWare.logger.lg.scriviLog("Richiesto refresh dati anagrafiche", SteamWare.tipoLog.INFO); - try - { - XPS_data.DS_XPSTableAdapters.SP taSP = new XPS_data.DS_XPSTableAdapters.SP(); - taSP.stp_CaricaAnagCliSwing(ref esito); - SteamWare.logger.lg.scriviLog(string.Format("Effettuato caricamento dati anagrafiche, esito: {0}{1}", Environment.NewLine, esito), SteamWare.tipoLog.INFO); - } - catch (Exception exc) - { - SteamWare.logger.lg.scriviLog(string.Format("Errore in caricamento dati anagrafiche: {0}{1}", Environment.NewLine, exc), SteamWare.tipoLog.INFO); - } - ragSocNotImp += esito; - // return messaggio - return ragSocNotImp; - } - } +using System; +using System.Collections.Generic; +using System.Web; + + +namespace XPS_data +{ + /// + /// Summary description for extSync + /// + public class extSync + { + #region area tableAdapter + + DS_importTableAdapters.aclTableAdapter taACL_orig; + DS_applicazioneTableAdapters.AnagClientiTableAdapter taAnagCli; + + private void caricaTA() + { + taAnagCli = new DS_applicazioneTableAdapters.AnagClientiTableAdapter(); + taACL_orig = new DS_importTableAdapters.aclTableAdapter(); + } + + #endregion + + protected extSync() + { + // avvio tableAdapters + caricaTA(); + } + + public static extSync obj = new extSync(); + + /// + /// + /// + /// + public string caricaClienti() + { + // inizializzo stringa output + string ragSocNotImp = "...sync completato!

"; + // procedura vecchia in c# +#if false + // carico tab clienti access + DS_import.aclDataTable tabOrig = taACL_orig.GetData(); + // carico tab clienti MSSQL + DS_applicazione.AnagClientiDataTable tabDest = taAnagCli.GetData(); + DS_applicazione.AnagClientiRow rigaDest; + string ragioneSociale; + // verifico uno ad uno i clienti... + string ragSoc, indirizzo, localita, cap, prov, piva, email; + int errori; + int nonImportati = 0; + foreach (DS_import.aclRow riga in tabOrig) + { + errori = 0; + // calcolo i singoli valori... + try + { + ragSoc = riga.clragd; + } + catch + { + ragSoc = "rag.soc. nd"; + errori++; + } + try + { + indirizzo = riga.clindi; + } + catch + { + indirizzo = "indir. nd"; + errori++; + } + try + { + localita = riga.clloca; + } + catch + { + localita = "local. nd"; + errori++; + } + try + { + cap = riga.clcapo; + } + catch + { + cap = "cap nd"; + errori++; + } + try + { + prov = riga.clprov; + } + catch + { + prov = "prov. nd"; + errori++; + } + try + { + piva = riga.clcdpiva; + } + catch + { + piva = ""; + errori++; + } + try + { + email = riga.clemail; + } + catch + { + email = ""; + errori++; + } + // compongo stringa descrittiva + //ragioneSociale = string.Format("{0}, {1} {2} {3} {4}", ragSoc, indirizzo, cap, localita, prov); + ragioneSociale = string.Format("{0}", ragSoc); + // inserisco SOLO se non mancano + di 3 valori... + if (errori < 4) + { + // controllo se eccedo i 50 char... + if (ragioneSociale.Length > 50) + { + ragioneSociale = ragioneSociale.Substring(0, 47) + "..."; + } + try + { + rigaDest = tabDest.FindByCodCliente(riga.clcodcn); + if (rigaDest != null) + { + // se c'è faccio update... + taAnagCli.updateQuery(rigaDest.CodCliente, ragioneSociale, piva, email, indirizzo, cap, localita, prov); + } + else + { + // se manca aggiungo... + taAnagCli.Insert(riga.clcodcn, ragioneSociale, piva, email, indirizzo, cap, localita, prov); + } + } + catch + { + SteamWare.logger.lg.scriviLog(string.Format("errore inserimento per cod cliente {0}", riga.clcodcn), SteamWare.tipoLog.EXCEPTION); + } + } + else + { + // mancano + di 2 valori, NON IMPORTO!!!! + nonImportati++; + ragSocNotImp += string.Format("
Non ho importato la ragione sociale collegata all'id {0} poiché i dati mancanti sono troppi: {1}", riga.clcodcn, ragioneSociale); + SteamWare.logger.lg.scriviLog(string.Format("errore inserimento per cod cliente {0}", riga.clcodcn), SteamWare.tipoLog.INFO); + } + } +#endif + string esito = ""; + // chiamo stored x caricare anag clienti + email + //DS_importTableAdapters.caricaSwingData taSwing = new DS_importTableAdapters.caricaSwingData(); + //taSwing.stp_CaricaAnagCliSwing(ref esito); + SteamWare.logger.lg.scriviLog("Richiesto refresh dati anagrafiche", SteamWare.tipoLog.INFO); + try + { + XPS_data.DS_XPSTableAdapters.SP taSP = new XPS_data.DS_XPSTableAdapters.SP(); + taSP.stp_CaricaAnagCliSwing(ref esito); + SteamWare.logger.lg.scriviLog(string.Format("Effettuato caricamento dati anagrafiche, esito: {0}{1}", Environment.NewLine, esito), SteamWare.tipoLog.INFO); + } + catch (Exception exc) + { + SteamWare.logger.lg.scriviLog(string.Format("Errore in caricamento dati anagrafiche: {0}{1}", Environment.NewLine, exc), SteamWare.tipoLog.INFO); + } + ragSocNotImp += esito; + // return messaggio + return ragSocNotImp; + } + } } \ No newline at end of file diff --git a/project/XPS_data/reportPrinter.cs b/XPS_data/reportPrinter.cs similarity index 97% rename from project/XPS_data/reportPrinter.cs rename to XPS_data/reportPrinter.cs index d969640..78a724b 100644 --- a/project/XPS_data/reportPrinter.cs +++ b/XPS_data/reportPrinter.cs @@ -1,196 +1,196 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.IO; -using System.Data; -using System.Drawing.Imaging; -using System.Drawing.Printing; -using System.Windows.Forms; -using Microsoft.Reporting.WinForms; -using System.Configuration; -using SteamWare; - -namespace XPS_data -{ - /// - /// Summary description for reportPrinter - /// - public class reportPrinter - { - - #region area codice da non modificare - - - private int m_currentPageIndex; - private IList m_streams; - /// - /// ciclo da fornire al renderizzatore dei report, per salvare 1 immagine da ogni pagina del report - /// - /// - /// - /// - /// - /// - /// - private Stream CreateStream(string name, string fileNameExtension, Encoding encoding, string mimeType, bool willSeek) - { - string filePath = SteamWare.SteamwareStrings.getFilePath(@"~\tmp\" + name + "." + fileNameExtension); - Stream stream = new FileStream(filePath, FileMode.Create); - m_streams.Add(stream); - return stream; - } - /// - /// Handler per PrintPageEvents - /// - /// - /// - private void PrintPage(object sender, PrintPageEventArgs ev) - { - Metafile pageImage = new Metafile(m_streams[m_currentPageIndex]); - ev.Graphics.DrawImage(pageImage, ev.PageBounds); - m_currentPageIndex++; - ev.HasMorePages = (m_currentPageIndex < m_streams.Count); - } - /// - /// funzione di stampa... - /// - private void Print(string printerName) - { - //const string printerName = "Microsoft Office Document Image Writer"; - //const string printerName = "Brother HL-2170W series"; - logger.lg.scriviLog(string.Format("inizio print su {0}", printerName), tipoLog.INFO); - if (m_streams == null || m_streams.Count == 0) - return; - PrintDocument printDoc = new PrintDocument(); - printDoc.PrinterSettings.PrinterName = printerName; - if (!printDoc.PrinterSettings.IsValid) - { - string msg = String.Format("Can't find printer \"{0}\".", printerName); - MessageBox.Show(msg, "Print Error"); - return; - } - printDoc.PrintPage += new PrintPageEventHandler(PrintPage); - printDoc.Print(); - logger.lg.scriviLog("Fine print", tipoLog.INFO); - } - /// - /// Export del report come EMF (Enhanced Metafile) file. - /// - /// - private void Export(LocalReport report, string deviceInfo) - { - Warning[] warnings; - m_streams = new List(); - report.Render("Image", deviceInfo, CreateStream, out warnings); - foreach (Stream stream in m_streams) stream.Position = 0; - } - /// - /// dispone l'applicazione e rilascia le risorse - /// - public void Dispose() - { - if (m_streams != null) - { - foreach (Stream stream in m_streams) - stream.Close(); - m_streams = null; - } - } - - #endregion - - #region area codice da modificare - - /// - /// carica i dati richiesti dal report dalla StoredProcedure (filtrando quindi...) - /// - /// - /// - private DataTable caricaDati(reportRichiesto tipoReport, string idxObj) - { - DataTable tab = new DataTable(); - switch (tipoReport) - { - case reportRichiesto.Barcode: - tab = (DataTable)XPS.obj.taDdt.GetData(idxObj); - break; - case reportRichiesto.SchedaIdentificazione: - tab = (DataTable)XPS.obj.taSchedaIdent.GetData(idxObj); - break; - default: - break; - } - return tab; - } - /// - /// Crea un report locale da file rdlc, carica i dati, esporta report come EMF file e quindi lo invia alla stampante - /// - /// - /// - public void printReport(reportRichiesto tipoReport, string printerName, string parametro) - { - LocalReport report = new LocalReport(); - string outForm = ""; - string pagWidth = ""; - string pagHeigth = ""; - string margin = ""; - // carico i dati del report da web.config - outForm = "EMF"; - pagWidth = memLayer.ML.confReadString(string.Format("PageWidth{0}", tipoReport)); - pagHeigth = memLayer.ML.confReadString(string.Format("PageHeight{0}", tipoReport)); - margin = memLayer.ML.confReadString(string.Format("Margin{0}", tipoReport)); - // compongo parametri stampa - devInfoParam deviceInfoPar = new devInfoParam(outForm, pagHeigth, pagWidth, margin, margin, margin, margin); - // path rdlc report - report.ReportPath = string.Format(@".\Reports\{0}", memLayer.ML.confReadString(string.Format("rdlc{0}", tipoReport))); - switch (tipoReport) - { - case reportRichiesto.Barcode: - report.ReportPath = @".\Reports\LabelEqua.rdlc"; - report.DataSources.Add(new ReportDataSource("Equa", caricaDati(tipoReport, parametro))); // OCCHIO!!! va messa sorgente dati CORRETTA - break; - case reportRichiesto.SchedaIdentificazione: - report.ReportPath = @".\Reports\ReportSchedaIdentificazione.rdlc"; - report.DataSources.Add(new ReportDataSource("Equa", caricaDati(tipoReport, parametro))); - break; - default: - break; - } - // setting parametro... - int numFields = 1; - ReportParameter[] rParam = new ReportParameter[numFields]; - rParam[0] = new ReportParameter("IdxObj", parametro); - report.SetParameters(rParam); - // export in EMF - Export(report, deviceInfoPar.xmlParam); - m_currentPageIndex = 0; - // stampo - Print(printerName); - // do dispose? - Dispose(); - } - /// - /// oggetto protected - /// - /// - protected reportPrinter() - { - // - } - /// - /// singleton pubblico - /// - public static reportPrinter obj = new reportPrinter(); - - #endregion - } - /// - /// tipologia di report ammessi alla stampa... - /// - public enum reportRichiesto - { - Barcode, - SchedaIdentificazione - } +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.IO; +using System.Data; +using System.Drawing.Imaging; +using System.Drawing.Printing; +using System.Windows.Forms; +using Microsoft.Reporting.WinForms; +using System.Configuration; +using SteamWare; + +namespace XPS_data +{ + /// + /// Summary description for reportPrinter + /// + public class reportPrinter + { + + #region area codice da non modificare + + + private int m_currentPageIndex; + private IList m_streams; + /// + /// ciclo da fornire al renderizzatore dei report, per salvare 1 immagine da ogni pagina del report + /// + /// + /// + /// + /// + /// + /// + private Stream CreateStream(string name, string fileNameExtension, Encoding encoding, string mimeType, bool willSeek) + { + string filePath = SteamWare.SteamwareStrings.getFilePath(@"~\tmp\" + name + "." + fileNameExtension); + Stream stream = new FileStream(filePath, FileMode.Create); + m_streams.Add(stream); + return stream; + } + /// + /// Handler per PrintPageEvents + /// + /// + /// + private void PrintPage(object sender, PrintPageEventArgs ev) + { + Metafile pageImage = new Metafile(m_streams[m_currentPageIndex]); + ev.Graphics.DrawImage(pageImage, ev.PageBounds); + m_currentPageIndex++; + ev.HasMorePages = (m_currentPageIndex < m_streams.Count); + } + /// + /// funzione di stampa... + /// + private void Print(string printerName) + { + //const string printerName = "Microsoft Office Document Image Writer"; + //const string printerName = "Brother HL-2170W series"; + logger.lg.scriviLog(string.Format("inizio print su {0}", printerName), tipoLog.INFO); + if (m_streams == null || m_streams.Count == 0) + return; + PrintDocument printDoc = new PrintDocument(); + printDoc.PrinterSettings.PrinterName = printerName; + if (!printDoc.PrinterSettings.IsValid) + { + string msg = String.Format("Can't find printer \"{0}\".", printerName); + MessageBox.Show(msg, "Print Error"); + return; + } + printDoc.PrintPage += new PrintPageEventHandler(PrintPage); + printDoc.Print(); + logger.lg.scriviLog("Fine print", tipoLog.INFO); + } + /// + /// Export del report come EMF (Enhanced Metafile) file. + /// + /// + private void Export(LocalReport report, string deviceInfo) + { + Warning[] warnings; + m_streams = new List(); + report.Render("Image", deviceInfo, CreateStream, out warnings); + foreach (Stream stream in m_streams) stream.Position = 0; + } + /// + /// dispone l'applicazione e rilascia le risorse + /// + public void Dispose() + { + if (m_streams != null) + { + foreach (Stream stream in m_streams) + stream.Close(); + m_streams = null; + } + } + + #endregion + + #region area codice da modificare + + /// + /// carica i dati richiesti dal report dalla StoredProcedure (filtrando quindi...) + /// + /// + /// + private DataTable caricaDati(reportRichiesto tipoReport, string idxObj) + { + DataTable tab = new DataTable(); + switch (tipoReport) + { + case reportRichiesto.Barcode: + tab = (DataTable)XPS.obj.taDdt.GetData(idxObj); + break; + case reportRichiesto.SchedaIdentificazione: + tab = (DataTable)XPS.obj.taSchedaIdent.GetData(idxObj); + break; + default: + break; + } + return tab; + } + /// + /// Crea un report locale da file rdlc, carica i dati, esporta report come EMF file e quindi lo invia alla stampante + /// + /// + /// + public void printReport(reportRichiesto tipoReport, string printerName, string parametro) + { + LocalReport report = new LocalReport(); + string outForm = ""; + string pagWidth = ""; + string pagHeigth = ""; + string margin = ""; + // carico i dati del report da web.config + outForm = "EMF"; + pagWidth = memLayer.ML.confReadString(string.Format("PageWidth{0}", tipoReport)); + pagHeigth = memLayer.ML.confReadString(string.Format("PageHeight{0}", tipoReport)); + margin = memLayer.ML.confReadString(string.Format("Margin{0}", tipoReport)); + // compongo parametri stampa + devInfoParam deviceInfoPar = new devInfoParam(outForm, pagHeigth, pagWidth, margin, margin, margin, margin); + // path rdlc report + report.ReportPath = string.Format(@".\Reports\{0}", memLayer.ML.confReadString(string.Format("rdlc{0}", tipoReport))); + switch (tipoReport) + { + case reportRichiesto.Barcode: + report.ReportPath = @".\Reports\LabelEqua.rdlc"; + report.DataSources.Add(new ReportDataSource("Equa", caricaDati(tipoReport, parametro))); // OCCHIO!!! va messa sorgente dati CORRETTA + break; + case reportRichiesto.SchedaIdentificazione: + report.ReportPath = @".\Reports\ReportSchedaIdentificazione.rdlc"; + report.DataSources.Add(new ReportDataSource("Equa", caricaDati(tipoReport, parametro))); + break; + default: + break; + } + // setting parametro... + int numFields = 1; + ReportParameter[] rParam = new ReportParameter[numFields]; + rParam[0] = new ReportParameter("IdxObj", parametro); + report.SetParameters(rParam); + // export in EMF + Export(report, deviceInfoPar.xmlParam); + m_currentPageIndex = 0; + // stampo + Print(printerName); + // do dispose? + Dispose(); + } + /// + /// oggetto protected + /// + /// + protected reportPrinter() + { + // + } + /// + /// singleton pubblico + /// + public static reportPrinter obj = new reportPrinter(); + + #endregion + } + /// + /// tipologia di report ammessi alla stampa... + /// + public enum reportRichiesto + { + Barcode, + SchedaIdentificazione + } } \ No newline at end of file diff --git a/project/XPS_data/selData.cs b/XPS_data/selData.cs similarity index 96% rename from project/XPS_data/selData.cs rename to XPS_data/selData.cs index df87c07..638d9ba 100644 --- a/project/XPS_data/selData.cs +++ b/XPS_data/selData.cs @@ -1,51 +1,51 @@ -using SteamWare; - -/// -/// Classe gestione metodi di accesso ai dati embeddati -/// -public class selData : selettori -{ - /// - /// classe accesso tabelle selettori - /// - public selData() - { - } - - /// - /// tabella vocabolario - /// - /// - public SteamWare.DataLayer_generic.VocabolarioDataTable getVocabolario() - { - return SteamWare.DataWrap.DW.taVocabolario.GetData(); - } - /// - /// tabella lingue - /// - /// - public SteamWare.DataLayer_generic.LingueDataTable getLingue() - { - return SteamWare.DataWrap.DW.taLingue.GetData(); - } - /// - /// faccio update del lemma indicato... - /// - /// - /// - /// - public void updateLemmaVoc(string Traduzione, string Original_Lingua, string Original_Lemma) - { - SteamWare.DataWrap.DW.taVocabolario.UpdateQuery(Traduzione, Original_Lingua, Original_Lemma); - } - /// - /// cancella il lemma indicato - /// - /// - /// - public void deleteLemmaVoc(string Original_Lingua, string Original_Lemma) - { - SteamWare.DataWrap.DW.taVocabolario.DeleteQuery(Original_Lingua, Original_Lemma); - } - -} +using SteamWare; + +/// +/// Classe gestione metodi di accesso ai dati embeddati +/// +public class selData : selettori +{ + /// + /// classe accesso tabelle selettori + /// + public selData() + { + } + + /// + /// tabella vocabolario + /// + /// + public SteamWare.DataLayer_generic.VocabolarioDataTable getVocabolario() + { + return SteamWare.DataWrap.DW.taVocabolario.GetData(); + } + /// + /// tabella lingue + /// + /// + public SteamWare.DataLayer_generic.LingueDataTable getLingue() + { + return SteamWare.DataWrap.DW.taLingue.GetData(); + } + /// + /// faccio update del lemma indicato... + /// + /// + /// + /// + public void updateLemmaVoc(string Traduzione, string Original_Lingua, string Original_Lemma) + { + SteamWare.DataWrap.DW.taVocabolario.UpdateQuery(Traduzione, Original_Lingua, Original_Lemma); + } + /// + /// cancella il lemma indicato + /// + /// + /// + public void deleteLemmaVoc(string Original_Lingua, string Original_Lemma) + { + SteamWare.DataWrap.DW.taVocabolario.DeleteQuery(Original_Lingua, Original_Lemma); + } + +} diff --git a/project/XPS_data/stateMachine.cs b/XPS_data/stateMachine.cs similarity index 97% rename from project/XPS_data/stateMachine.cs rename to XPS_data/stateMachine.cs index 8d097ca..7699de9 100644 --- a/project/XPS_data/stateMachine.cs +++ b/XPS_data/stateMachine.cs @@ -1,135 +1,135 @@ -using System; -using System.Collections.Generic; -using System.Web; -using SteamWare; - -namespace XPS_data -{ - /// - /// macchina di gestione degli stati - /// - public class stateMachine - { - protected DS_applicazioneTableAdapters.EventiTableAdapter taEv; - private DS_applicazioneTableAdapters.TraEv2StatiTableAdapter taEv2St; - private DS_applicazioneTableAdapters.IstObjTableAdapter taIstObj; - protected stateMachine() - { - avvioTA(); - setupConnectionStringBase(); - } - /// - /// avvia table adapters - /// - private void avvioTA() - { - taEv = new DS_applicazioneTableAdapters.EventiTableAdapter(); - taEv2St = new DS_applicazioneTableAdapters.TraEv2StatiTableAdapter(); - taIstObj = new DS_applicazioneTableAdapters.IstObjTableAdapter(); - } - /// - /// effettua setup dei connection strings da web.config delal singola applicazione - /// - protected virtual void setupConnectionStringBase() - { - string connString = memLayer.ML.confReadString("XPSConnectionString"); - // connections strings del db - taEv.Connection.ConnectionString = connString; - taEv2St.Connection.ConnectionString = connString; - taIstObj.Connection.ConnectionString = connString; - } - public static stateMachine st = new stateMachine(); - /// - /// restituisce il tipo di comando associato... - /// - /// - /// - public tipoAzione azioneComando(inputComando comando) - { - tipoAzione _azione = tipoAzione.noAct; - string toDo = ""; - try - { - toDo = taEv.getByCodEvento(comando.currCmdIn)[0].Action; - } - catch - { } - switch (toDo) - { - case "ok": - _azione = tipoAzione.conferma; - break; - case "ko": - _azione = tipoAzione.annulla; - break; - case "act": - _azione = tipoAzione.esegui; - break; - default: - _azione = tipoAzione.noAct; - break; - } - return _azione; - } - /// - /// verifica se sia possibile, dagli input segnalati, eseguire un comando secondo la tab transizione stati e restituisce adeguato output su esecuzione/errore e eventuali messaggi - /// - /// mappa di riferimento - /// oggetto di riferimento - /// stato corrente - /// evento - /// oggetto di risposta x esito ok/ko - public tipoEsito doAction(string codMappa, string idxObj, string codStato, string codEvento) - { - tipoEsito answ = tipoEsito.undef; - string codTipoObj = ""; // di default pongo a vuoto... - try - { - codTipoObj = taIstObj.getByIdxObj(idxObj)[0].CodObj; - } - catch - { } - // controllo su tab se ci sia riga con transizione - DS_applicazione.TraEv2StatiDataTable tabEv2St = taEv2St.getByKey(codMappa, codTipoObj, codStato, codEvento); - if (tabEv2St.Rows.Count > 0) - { - switch (codTipoObj) - { - case "U": - // aggiorno singolo obj - XPS.obj.taObj.updateStato(tabEv2St[0].NextCodStato, user_std.UtSn.utente, DateTime.Now, idxObj); - // chiamo update stato obj ancestors: - XPS.obj.taSP.sp_updateAncestorState(string.Format("{0}%", idxObj.Substring(0, 8))); - break; - case "D": - // sto scannando il DDT aggiorno tutto il tree... - string codObjCommon = idxObj.Replace("D", "%"); - XPS.obj.taObj.updateStatoTree(tabEv2St[0].NextCodStato, user_std.UtSn.utente, DateTime.Now, codObjCommon); - break; - } - // salvo esito - answ = tipoEsito.ok; - } - else - { - // non c'è, segnalo errore... - answ = tipoEsito.error; - } - return answ; - } - } - - public enum tipoAzione - { - annulla, - conferma, - esegui, - noAct - } - public enum tipoEsito - { - error, - ok, - undef - } +using System; +using System.Collections.Generic; +using System.Web; +using SteamWare; + +namespace XPS_data +{ + /// + /// macchina di gestione degli stati + /// + public class stateMachine + { + protected DS_applicazioneTableAdapters.EventiTableAdapter taEv; + private DS_applicazioneTableAdapters.TraEv2StatiTableAdapter taEv2St; + private DS_applicazioneTableAdapters.IstObjTableAdapter taIstObj; + protected stateMachine() + { + avvioTA(); + setupConnectionStringBase(); + } + /// + /// avvia table adapters + /// + private void avvioTA() + { + taEv = new DS_applicazioneTableAdapters.EventiTableAdapter(); + taEv2St = new DS_applicazioneTableAdapters.TraEv2StatiTableAdapter(); + taIstObj = new DS_applicazioneTableAdapters.IstObjTableAdapter(); + } + /// + /// effettua setup dei connection strings da web.config delal singola applicazione + /// + protected virtual void setupConnectionStringBase() + { + string connString = memLayer.ML.confReadString("XPSConnectionString"); + // connections strings del db + taEv.Connection.ConnectionString = connString; + taEv2St.Connection.ConnectionString = connString; + taIstObj.Connection.ConnectionString = connString; + } + public static stateMachine st = new stateMachine(); + /// + /// restituisce il tipo di comando associato... + /// + /// + /// + public tipoAzione azioneComando(inputComando comando) + { + tipoAzione _azione = tipoAzione.noAct; + string toDo = ""; + try + { + toDo = taEv.getByCodEvento(comando.currCmdIn)[0].Action; + } + catch + { } + switch (toDo) + { + case "ok": + _azione = tipoAzione.conferma; + break; + case "ko": + _azione = tipoAzione.annulla; + break; + case "act": + _azione = tipoAzione.esegui; + break; + default: + _azione = tipoAzione.noAct; + break; + } + return _azione; + } + /// + /// verifica se sia possibile, dagli input segnalati, eseguire un comando secondo la tab transizione stati e restituisce adeguato output su esecuzione/errore e eventuali messaggi + /// + /// mappa di riferimento + /// oggetto di riferimento + /// stato corrente + /// evento + /// oggetto di risposta x esito ok/ko + public tipoEsito doAction(string codMappa, string idxObj, string codStato, string codEvento) + { + tipoEsito answ = tipoEsito.undef; + string codTipoObj = ""; // di default pongo a vuoto... + try + { + codTipoObj = taIstObj.getByIdxObj(idxObj)[0].CodObj; + } + catch + { } + // controllo su tab se ci sia riga con transizione + DS_applicazione.TraEv2StatiDataTable tabEv2St = taEv2St.getByKey(codMappa, codTipoObj, codStato, codEvento); + if (tabEv2St.Rows.Count > 0) + { + switch (codTipoObj) + { + case "U": + // aggiorno singolo obj + XPS.obj.taObj.updateStato(tabEv2St[0].NextCodStato, user_std.UtSn.utente, DateTime.Now, idxObj); + // chiamo update stato obj ancestors: + XPS.obj.taSP.sp_updateAncestorState(string.Format("{0}%", idxObj.Substring(0, 8))); + break; + case "D": + // sto scannando il DDT aggiorno tutto il tree... + string codObjCommon = idxObj.Replace("D", "%"); + XPS.obj.taObj.updateStatoTree(tabEv2St[0].NextCodStato, user_std.UtSn.utente, DateTime.Now, codObjCommon); + break; + } + // salvo esito + answ = tipoEsito.ok; + } + else + { + // non c'è, segnalo errore... + answ = tipoEsito.error; + } + return answ; + } + } + + public enum tipoAzione + { + annulla, + conferma, + esegui, + noAct + } + public enum tipoEsito + { + error, + ok, + undef + } } \ No newline at end of file diff --git a/project/XPS_data/bin/Debug/Flesk.ViewState.dll b/project/XPS_data/bin/Debug/Flesk.ViewState.dll deleted file mode 100644 index 862a6ac..0000000 Binary files a/project/XPS_data/bin/Debug/Flesk.ViewState.dll and /dev/null differ diff --git a/project/XPS_data/bin/Debug/ICSharpCode.SharpZipLib.dll b/project/XPS_data/bin/Debug/ICSharpCode.SharpZipLib.dll deleted file mode 100644 index a2a6f25..0000000 Binary files a/project/XPS_data/bin/Debug/ICSharpCode.SharpZipLib.dll and /dev/null differ diff --git a/project/XPS_data/bin/Debug/MDB_Data/si_dt30.mdb b/project/XPS_data/bin/Debug/MDB_Data/si_dt30.mdb deleted file mode 100644 index 64e2ef0..0000000 Binary files a/project/XPS_data/bin/Debug/MDB_Data/si_dt30.mdb and /dev/null differ diff --git a/project/XPS_data/bin/Debug/SteamWare.dll b/project/XPS_data/bin/Debug/SteamWare.dll deleted file mode 100644 index d8a899b..0000000 Binary files a/project/XPS_data/bin/Debug/SteamWare.dll and /dev/null differ diff --git a/project/XPS_data/bin/Debug/SteamWare.xml b/project/XPS_data/bin/Debug/SteamWare.xml deleted file mode 100644 index 34fef45..0000000 --- a/project/XPS_data/bin/Debug/SteamWare.xml +++ /dev/null @@ -1,3781 +0,0 @@ - - - - SteamWare - - - - - Pagina base applicazioni SteamWare da cui derivare le altre - - - - - Iniziazlizzazione void (non fa nulla) - - - - - Metodo MAIN: viene eseguita al caricamento ed effettua delle routines per il controllo utente e istanzia l'oggetto memLayer - - - - - - - rimanda alla pagina di Work In Progress salvando in session un titolo ed una descrizione che al pagina wip poi mostrerà all'utente - - titolo da mostrare nella pagina WIP - descrizione da mostrare nella pagina WIP - - - - wrapper per log con salvataggio dell'IP del chiamante - - - - - - - wrapper per log con salvataggio dell'IP del chiamante - - - - - - - Base class for every user control in the application, containing some common - behaviour and utility methods. - It is not meant to be be used directly. - - - - - tipo id controllo con classi di base comune da cui derivare gli *.asmx - - - - - nome della pagina correntemente caricata - - - - - memorizza la pagina precedente (ovvero la corrente ma non da page-object ma in session... - - - - - stringa con CDC in (...) dei cdc abilitati (da permesso gerarchicamente a discendere...) - - - - - stringa con elenco CDC abilitati (da permesso gerarchicamente a discendere...) - - - - - tabella diritti - - - - - tabella di tutti i cdc - - - - - tipo di anagrafica usata - - - - - importo il tipo di vista del modulo - - - - - elenco testuale csv dei cdc accessibili all'utente (x filtri tipo IN(...)) - - - - - numero di righe standard x i datagrid - - - - - numero di righe standard x i datagrid di anagrafica - - - - - numero di righe standard x i datagrid lunghi - - - - - numero di righe standard x i datagrid medi - - - - - numero di righe standard x i datagrid su mezza pagina - - - - - numero di righe standard x i selettori popup - - - - - indirizzo email dell'admin applicativo cui vanno le email in caso di anomalie... - - - - - indirizzo email dell'applicativo da cui partono le email in caso di anomalie... - - - - - indirizzo server SMTP - - - - - elenco delle pagine "safe" ovvero da non autorizzare - da web.config - - - - - elenco delle pagine "common" ovvero da autorizzare ma senza bisogno diritti in anagrafica - da web.config - - - - - valore che determina se è possibile forzare impersonificazioen utente... - - - - - livello di log (1-->5) - - - - - dir di logging - - - - - MAIN: esecuzione al caricamento del modulo delle routines di controllo utente e creazione pagina - - - - - - - predisposizione dati x pagina da cache/database a seconda della disponibilità in cache o refresh (B.1.4) - - - - - popola gli oggetti e le labels... (B.1.6) - - - - - disegna la pagina: prima i controlli poi il datagrid - - - - - aggiunge i link x i selettori - - - - - sistema i vari controlli della pagina - - - - - aggiorna eventuali datalist e datagrid - - - - - sistema tutte le labels traducendo i lemmi nella lingua utente ed in inglese - - - - - calcola come percentuale la radio dividendo/divisore - - - - - - - - limita una stringa al numero max di caratteri imposto - - - - - - - - Reads data from a stream until the end is reached. The - data is returned as a byte array. An IOException is - thrown if any of the underlying IO calls fail. - - The stream to read data from - The initial buffer length - - - - converte una data in formato aaaammgg in stringa gg/mm/aaaa - - - - - - - converte una data in formato aaaammgg in stringa aaaa-mm-gg - - - - - - - converte una stringa in formato gg/mm/aaaa in stringa(intero data) in formato aaaammgg - - - - - - - converte una datetime in un intero tipo yyyymmddhhmmss - - - - - - - formatta la data in formato dateTime in una data formato italiano come stringa gg/mm/aaaa - - - - - - - invia un alert jscript con messaggio indicato... - - messaggio dell'alert da mandare - - - - scrive immediatamente sulla pagina web il messaggio di avanzamento... - - - - - - restituisce una scringa formattata in testa e coda x essere un corretto comando javascript - - - - - - - invio email senza log - - - - - - - - - - invio email con log - - - - - - - - - - caricamento dati applicazione da sessione (B.1.3) - - - - - setup datamanagers... - - - - - reset update del modulo corrente - - - - - (ri)carica i dataset del modulo - - - - - verifica se tutti i dataset richiesti sono disponibili i cache - - - - - - salva nella cache i dataset caricati - - - - - carica dalla cache i dataset necessari - - - - - legge i valori standard x dataset e parametri - - - - - leggi i parametri di configurazione standard dell'applicativo - - - - - genera la stringa dei cdc autorizzati dell'utente - - - - - legge il dataset dei CdC - - - - - caricamento dati user da sessione (B.1.1) - - - - - verifica che l'utente abbia almeno un permesso per la pagina corrente altrimenti redirect ad unauthorized - - - - - salva in variabile pagina il nome della pagina corrente - - - - - selezione delle posizioni cdc autorizzate come stringa di filtraggio su POSIZIONE LIKE, se non ce ne fossero redirige su unauthorized.aspx - - - - - - risponde alla domanda se l'utente abbia permesso tipo writable (S) nel permessi2funzione - - - - - - verifica la condizione booleana e formatta di conseguenza la stringa di filtraggio da accodare al filtro x CdC autorizzati - - condizione - tipo di eguaglianza - nome parametro - valore parametro - - - - - crea la stringa di filtraggio x data secondo modalità tipo inizio/fine/durante... - - - - - - crea la stringa di filtraggio x data secondo modalità tipo minoreUguale / uguale / maggioreUguale... - - - - - - verifica la condizione booleana e formatta di conseguenza la stringa di filtraggio tipo LIKE x i campi inseriti separati da # SE valParam !="" - - - - - - - - esegue la ricerca dei cdc nelle posizioni indicate dal filtro e restituisce elenco distinct degli stessi - - filtro con cui cercare i cdc (del tipo " (POSIZIONE LIKE 'T.1.2.3%') OR ... " - stringa di filtraggio ricostruita per l'elenco dei cdc fino a quel momento trovati - ultimo cdc trovato - cdc corrente - - - - - restituisce il cdc dell'utente data la sua matricola - - - - - - - restituisce l'utente AS dall'utente win - - - - - - - restituisce la descr del CdC - - - - - - - invia la stringa jscript di conferma pre-cancellazione - - - - - - restituisce la stringa del path corretto per l'immagine richiesta nel formato "~/images/{0}{1}" - - verrà usato x posizione {0}, tipo "view" - verrà usato x posizione {1}, tipo "_s.png" - - - - - restituisce la stringa del path corretto per l'immagine richiesta nel formato "~/images/{0}{1}" - - verrà usato x posizione {0}, tipo "view" - verrà usato x posizione {1}, tipo "_s.png" - tipo del file richiesto..." - - - - - effettua traduzione del lemma - - - - - - - effettua traduzione in inglese del lemma - - - - - - - definisce visibilità - - - - - - - effettua la registrazione degli eventi - - - - - effettua l'inserimento vero e proprio dell'evento letto dai valori in session x l'utente corrente... - - evento da loggare - valori originali - nuovi valori - filtro associato - - - - salva in sessione i valori indicati - - dictionary dei valori vecchi - dictionary dei valori nuovi - bool su abilitazione al log dell'oggetto - descrizione evento da loggare - filtro associato all'evento - restituisce il numero di elementi contenuti, -1 significa nessuna differenza... - - - - salva in sessione i valori per un oggetto che sta x essere eliminato - - dictionary dei valori vecchi - bool su abilitazione al log dell'oggetto - descrizione evento da loggare - filtro associato all'evento - restituisce il numero di elementi contenuti, -1 significa nessuna differenza... - - - - wrapper per log con salvataggio dell'IP del chiamante - - - - - - - wrapper per log con salvataggio dell'IP del chiamante - - - - - - - imposto il tipo di anagrafica del controlloS - - - - - variabile salvata in view state x la stringa di sorting - dg 2 - - - - - variabile salvata in view state x la stringa di sorting - dg 2 - - - - - legge e scrive in viewState la stringa di filtraggio... - - - - - variabile salvata in viewstate x la direzione del sorting - - - - - genera la stringa filtro x i cdc autorizzati x l'user - - - - - - tipo di vista del modulo - - - - - classe gestione auth - - - - - init dei table adapters - - - - - effettua setup dei connection strings da web.config delal singola applicazione - - - - - Singleton accesso a authProxy - - - - - Tenta autologin con autoriconoscimento Dominio/username by cookie - - - - - - - formatta il secret code - - - - - - - - - - - crea un nuovo record device e salva un nuovo cookie su db x il dispositivo e l'utente richiesti - - - - - - - - - - - - - - rimuove device da DB e toglie il cookie - - secret associata al device - - - - - rimuove device da DB e toglie il cookie - - Nome Device - - - - - imuove device da DB e toglie il cookie - - - - - - - - classe con funzioni specifiche di calcolo - - - - - inizializzazione classe - - - - - elenco dei caratteri base 36: 0..9A..Z - - - - - - converte da base di dimensione nBase a valore intero - - valore in formato nBase - base, max 36 (0..9A..Z) - - - - - metodo di accesso singleton - - - - - classe per effettuare confronto tra valori disomogeneri per tipo e costruire diff testuali - - - - - valore originale - - - - - nuovo valore - - - - - dictionary dei parametri vecchi - - - - - dictionary dei parametri nuovi - - - - - inizializzazione classe - - - - - valorizza i diff dei valori old e new - - - - - calcola solo il vettore dei valori old (x delete) - - - - - oggetto statico per il confronto valori - - - - - stringa diff dei valori originali modificati - - - - - stringa diff dei valori nuovi modificati - - - - - dictionary dei parametri old - - - - - dictionary dei parametri new - - - - - classe di gestione lettura - - - - - esegue parsing fornendo dati ed headers - - - - - - - - esegue parsing fornendo dati - - - - - - - esegue parsing fornendo dati come stream - - - - - - - esegue parsing fornendo dati come stream ed headers - - - - - - - - Represents a strongly typed in-memory cache of data. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents a strongly typed in-memory cache of data. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - classe di wrap verso i TableAdapter impiegati - - - - - metodo protected di avvio della classe - - - - - procedura di avvio dei tableAdapter - - - - - procedura di avvio dei tableAdapter - - - - - effettua setup dei connection strings da web.config delal singola applicazione - - - - - effettua setup dei connection strings da web.config delal singola applicazione - - - - - setup delle tabelle vocabolario - - - - - prende l'oggetto tabVocabolario in ram e lo trasforma in dictionary - - - - - - tableAdapter diritti - - - - - tableAdapter permessi - - - - - tableAdapter funzione - - - - - tableAdapter permessi2funzione - - - - - tableAdapter CdC - - - - - tableAdapter utenti - - - - - tableAdapter userData (user/pwd) - - - - - tableAdapter userDataExt (user/pwd) - - - - - table adapter lingue - - - - - table adapter vocabolario - - - - - table adapter versione vocabolario - - - - - table adapter versione anagrafica - - - - - table adapter Devices utente - - - - - oggetto vocabolario organizzato come dizionario con chiave lang#lemma e valore la traduzione - - - - - resetta il vocabolario rileggendo i dati... - - - - - crea nel db corrente il lemma richiesto e lo valorizza come "--{0}--" - - - - - - - classe singleton x la gestione dei tableadapters - - - - - elenco lingue ammesse da vocabolario... - - - - - classe di gestione dei db x creazione/update alla versione richiesta - - - - - oggetto connessione - - - - - stringa di connessione - - - - - dir che contiene gli script da eseguire... - - - - - formato del file SQL impiegato (nel senso di formato come iFormat del tipo "App_{0:0000}.sql" --> da App_0001.sql ad App_9999.sql) - - - - - avvio protected della classe - - - - - esegue gli script di sql di update dal file richiesto - - - - - - - - Aggiorna il db eseguendo gli script dalla versione di partenza a quella di arrivo - - NB: per definizione rev 0 = resetta svuotando DB, rev 1 crea tabelle iniziali, rev 2 inserisce i valori di default - - nome DB di cui cercare script - revisione di partenza - revisione di arrivo - timeout max per ogni operazione - - - - - verifica se il db indicato esiste o meno... - - - - - - - - crea il db indicato con i parametri di connessione specificati - - - - - - - - classe gestione parametri deviceper stampa - - - - - creazione oggetto parametri per stampa - - - - - - - - - - - - formato output - - - - - altezza - - - - - larghezza - - - - - margine Sx - - - - - margine Dx - - - - - margine Top - - - - - margine Bottom - - - - - helper x raccolta dati di diagnostica - - - - - calcolo uptime in formato timespan - - - - - - elenco devices USB - - - - - - registra esito ping ad un dato IP/hostname - - IPaddress / host name. - - - - restituisce contenuto di una pagina web (per testing) - - - - - - - uptime macchina (formattato) - - - - - restituisce elenco dischi con utilizzo (formattato) - - - - - - mostra elenco interfacce di rete e loro conf - - - - - fornisce elenco dispositivi USB collegati - - - - - - - elenco porte seriali - - - - - classe definizione info oggetti USB - - - - - Represents a strongly typed in-memory cache of data. - - - - - Represents the strongly named DataTable class. - - - - - Represents strongly named DataRow class. - - - - - Row event argument class - - - - - Represents the connection and commands used to retrieve and save data. - - - - - TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios - - - - - Update rows in top-down order. - - - - - Insert rows in top-down order. - - - - - Delete rows in bottom-up order. - - - - - Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first - - - - - Update all changes to the dataset. - - - - - Update Order Option - - - - - Used to sort self-referenced table's rows - - - - - Represents a strongly typed in-memory cache of data. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - enumeratore modalità login - - - - - login AD normale - - - - - forza utente fornendo password - - - - - forza ad un utente standard scelto dall'elenco - - - - - enumeratore modalità scrittura tag siteMap - - - - - nodo di tipo iniziale - apertura - - - - - nodo di tipo foglia - - - - - nodo di tipo finale - chiusura - - - - - enumeratore tipi di anagrafica - - - - - tipo di anagrafica Brembo - - - - - tipo di anagrafica generica - - - - - tipo di vista del modulo - - - - - modalità selezione - - - - - modalità editing - - - - - modalità inserting nuovo valore - - - - - tipologia di file immagine - - - - - formato gif (no alpha channel) - - - - - formato jpeg - - - - - formato png - - - - - tipo di immagini usate per le icone di comando in web applications - - - - - icona annulla (croce rossa) - - - - - icona approva (simbolo coccarda) - - - - - icona barcode in campo bianco - - - - - icona barcode in campo arancio - - - - - icona clona (magic wand) - - - - - icona converma (spunta verde) - - - - - icona elimina (cestino) - - - - - icona modifica (matita) - - - - - icona notepad (blocco note) - - - - - icona notepad + pdf (blocco note) - - - - - icona nuovo (segno +) - - - - - icona seleziona (lente) - - - - - icona semaforo giallo - - - - - icona semaforo rosso - - - - - icona semaforo verde - - - - - icona stampa (printer) - - - - - dimensione immagini usate per le icone di comando in web applications - - - - - formato piccolo - - - - - formato medio - - - - - formato grande - - - - - modalità di esecuzione applicativi - - - - - modalità normale - - - - - modalità debug - - - - - salvataggio di tutti i lemmi tradotti - - - - - Accesso in lettura e scrittura al filesystem per gestione files upload e download - - - - - path di lavoro dei metodi leggi/scrivi - - - - - verifica esistenza directory ed eventualmente crea restituendo nome completo di "/" finale - - - - - - - restituisce una tab di files dato l'elenco dei files - - - - - - - setta le directory - - - - - - oggetto WebClient - - - - - inizializza il metodo alla cartella indicata - - - non serve +... x retrocompatibilità... - - - - metodo di avvio empty - - - - - cerca di caricare il fileinfo o da httpcontext-application re-position o direttamente come workpath + nomefile - - - - - - - cerca di caricare il fileinfo o da httpcontext-application re-position o direttamente come workpath + nomefile - - - - - - - - cerca di caricare la directoryInfo o da httpcontext-application re-position o direttamente come workpath - - - - - - - Legge i dati da uno stream fino a quando arriva alla fine. - I dati sono restituiti come un byte[] array. un eccezione IOException è - sollevata se una delle chiamate IO sottostanti fallisce. - - Lo stream da cui leggere - Lunghezza buffer iniziale (-1 = default 32k) - - - - verifica esistenza directory, eventualmente crea e restituisce controllo DirectoryInfo - - - - - - ottiene il dataset dei files presenti nella directory indicata esplicitamente - - dir da indicizzare... già mappata! ( es SteamwareStrings.getFilePath(...) ) - - - - - ottiene il dataset dei files presenti nella directory indicata all'istanziazione dell'oggetto - - - - - - ottiene il dataset dei files DEL TIPO "like {param}" presenti nella directory indicata all'istanziazione dell'oggetto - - - - - - elenco dei files come array di oggetti FileInfo - - - - - - elenco dei files come array di oggetti FileInfo filtrati per parametro - - - - - - - elimina la directory di lavoro se è dir virtuale mappata - - - - - - elimina tutti i files con la regexp indicata da una directory, true se cancellato almeno uno - - regexp selezione files in dir (* = tutti!!!) - - - - - verifica se il file indicato esista in workDir - - - - - - - elimina il file indicato dalla directory di lavoro - - - - - - - restituisce lo stream del file richiesto - - - - - - - restituisce la stringa letta dal file richiesto - - - - - - - scrive il file dallo stream byte[] inviato - - - - - - - - scrive il file dalla stringa inviata - - - - - - - - converte una string in un byte[] - - - - - - - converte un byte[] in una string - - - - - - - sposta il file da From a To... - - - - - - - - - copia il file da From a To... - - - - - - - - - copia il file da From a To... - - - - - - - - - - imposta la dir di lavoro - - - - - - imposta la dir di lavoro - - - non serve +... x retrocompatibilità... - - - - imposta la dir di lavoro impostandola dal mapPath corretto della web app... - - - - - - esegue un comando in shell - - - - - - - - - esegue un comando in shell - - - - - - - - - Scarica un file dall'url fornito nella directory indicata x il filemover col nome richiesto - - url del file - nome con cui salvare il file - - - - - comprime zip il file indicato - - - - - - - comprime zip i files corrispondenti alla RegExp indicata nella dir corrente - - Espressione ricerca, come *.txt - Nome del file zip da creare - - - - - scompatta tutto il contenuto di un file zip - - - - - - - scompatta uno specifico file contenuto in un file zip - - - - - - - elimina il file indicato - - - - - - - calcola la dim della directory corrente... - - - - - - - elimina il file + vecchio - - - - - - - versione statica (singleton) del'oggetto fileMover - - - - - struttura di comando da input utente (es: via barcode) - - - - - definisce se il comando sia valido o no - - - - - testo da mostrare dato il comando - - - - - comando registrato - - - - - comando precedentemente inserito - - - - - descrizione del comando - - - - - descrizione del comando precedente - - - - - valore del comando - - - - - valore tradotto del comando - - - - - costruttore del metodo... - - - - - gestione licenze applicativi - - - - - numero di licenze attive per cliente/applicativo - - - - - - - - Fornisce chiave MD5 x un cliente/applicativo/expiryDate - - - - - - - - - - restituisce data decodificata da authKey + applicazione + cliente... - - - - - - - - - - classe gestione logging esteso di eventi e note utente (correlabili) - - - - - TableAdapter di accesso alla tabella anagrafica filtraggi - - - - - TableAdapter di accesso alla tabella anagrafica record - - - - - TableAdapter di accesso alla tabella logging record di eventi - - - - - TableAdapter di accesso alla tabella logging utente - - - - - TableAdapter di accesso alla vista logging eventi - - - - - TableAdapter di accesso alla vista logging utente - - - - - effettua setup dei connection strings da web.config delal singola applicazione - - - - - avvio i tari tableAdapters - - - - - avvio della classe istanziando db e - - - - - oggetto statico di accesso ai metodi della classe... - - - - - tabella eventi - - - - - - tabella note - - - - - - tabella eventi secondo filtro - - filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento - - - - - tabella note secondo filtro - - filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento - - - - - tabella eventi secondo filtro e condizione ulteriore WHERE esplicitata - - filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento - ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}" - - - - - tabella note secondo filtro e condizione ulteriore WHERE esplicitata - - filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento - ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}" - - - - - tabella note secondo filtro - - filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento - - - - - inserisce l'evento indicato dai parametri - - user che ha generato l'evento - pagina/form applicaizone in cui l'evento si è generato - valore originale(se c'è) - valore nuovo/modificato - descrizione evento (poi gestita con anagrafica interna) - filtro logico evento (poi gestita con anagrafica interna) - - - - inserisce la nota utente indicata dai parametri, restituisce idx della nota creata... - - user che ha inserito la nota - testo della nota - valore ulteriore da associare alla nota (es: label, codice, versione, ...) - filtro logico evento (poi gestita con anagrafica interna) - intero dell'idx della nota creata - - - - associa l'evento e la nota indicati - - idx del record da associare - idx chiave della nota da associare - - - - associa l'ultimo evento del filtro indicato alla nota - - filtro associato all'ultimo evento... - idx chiave della nota da associare - - - - segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati - - utente generatore dell'evento - - - - segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati - - utente generatore dell'evento - - - - Elimina gli eventi cestinati generati dall'utente indicato - - utente generatore dell'evento - - - - Elimina gli eventi cestinati anteriori alla data selezionata - - dataOra dell'evento - - - - effettua la registrazione dell'evento in session - - - - - metodo di comportamento del controllo di logging - - - - - nasconde pannello log - - - - - memorizza log inserito - - - - - mostra pannello log - - - - - metodo di comportamento del controllo di logging - - - - - indica il primo step del doppio livello di approvazione (completamento) - - - - - SOLO con incremento indice di revisione dell'oggetto approvato - - - - - SOLO mantenendo indice di revisione corrente - - - - - permette SIA con revisione che senza (e anche rev -1) - - - - - classe gesione log files applicazioni - - - - - directory base x logs - - - - - nome del file corrente - - - - - max mb di log da accumulare - - - - - controlla se si debba mantenere sotto controllo la dimensioen della cartella logs - - - - - singleton del logger - - - - - avvio del logger nella dir desiderata - - - - - avvio del logger nella dir desiderata - - - - - avvio del logger nella dir desiderata con il max di dati indicato - - - - - resetta il logfile odierno - - - - - scrive sul file log di default il valore della variabile string passata su una riga... (tab delim?!?) - - testo iniziale del log - - - - - scrive un messaggio di log con etichetta pre - - testo messaggio - tipo di log da registrare (etichetta [...]) - - - - - scrive su log un dump di diagnostica - - Causale diagnostica - target per test PING - target x download www page - - - - formatta un blococ di diagnostica (titolo, contenuto / eccezione) - - - - - - - - fornisce il nome del file in cui loggare (ed eventualmente crea...) - - - - - provvede a verificare la dim della cartella dei log e cancella i + vecchi fino a restare a dim inferiori a _logMaxMb - - - - - fornisce il file + vecchio - - - - - - - livello di log applicazione (da web.config, chiave '_logLevel') - - - - - tipo di log ammesso - - - - - informazioni di debug - - - - - dump diagnostica - - - - - errori - - - - - eccezioni nell'esecuzione try/catch - - - - - errori fatali - - - - - informazioni opzionali - - - - - log dei lemmi invocati per traduzione da vocabolario - - - - - fase di avvio componente - - - - - avvisi - - - - - layer gestione vari tipi di memoria: cache, session... - - - - - lettore file configurazione - - - - - oggetto singleton x accesso al layer di memoria - - - - - classe gestione accessi a Session, cache, viewstate, configuration... - - - - - legge dalla config un valore bool - - - - - - - legge dalla config un valore string - - - - - - - legge dalla config un valore int - - - - - - - carica dalla sessione un dato di tipo object generico - - - - - - - carica dalla sessione un dato di tipo boolean (se vuoto false) - - - - - - - carica dalla sessione un dato di tipo string - - - - - - - carica dalla sessione un dato di tipo long - - - - - - - carica dalla sessione un dato di tipo int - - - - - - - inserisce in session un valore - - - - - - - inserisce in session un valore - - nome della variabile - valore associato - indica se debba sopravvivere ad update (inserita in elenco valSess2SurvUpd) - - - - - svuota una variabile dalla session - - - - - - restituisce true se è presente in session l'oggetto richiesto - - - - - - - restituisco un valore da cookie - - - - - - - salvo un valore come cookie - - - - - - - - salvo un valore come cookie con expiry date esplicita - - - - - - - - - elimina un cookie - - - - - - carica dalla Cache un dato di tipo object generico - - - - - - - carica dalla Cachee un dato di tipo boolean (se vuoto false) - - - - - - - carica dalla Cachee un dato di tipo string - - - - - - - inserisce in Cache un valore - - nome della variabile - valore - - - - inserisce in Cache un valore e su richiesta regitra tra le tab in cache da svuotare on update.. - - nome della variabile - valore - da registrare come tabella da svuotare on update? - - - - - svuota una variabile dalla Cache - - - - - - restituisce true se è presente in cache l'oggetto richiesto - - - - - - - aggiunge la stringa corrente nel dictionary delle tabelle messe in cache e da aggiornare su comando update - - - - - - aggiunge la stringa corrente nel dictionary delle tabelle messe in session che vanno preservate da comando update (es: oggetto selezionato...) - - - - - - - forza lo svuotamento delel tabelle indicate come in cache... - - - - - elenco dictionary delle tab in cache da aggiornare con update svuotando da cache... - - - - - elenco dictionary dei valori in session da NON aggiornare con update... - - - - - tipo di chart (2D/3D) - - - - - 2D - - - - - 3D - - - - - web control che disegna un grafico a torta - - - - - altezza di default - - - - - larghezza di default - - - - - padding di default - - - - - legenda visibile di default - - - - - soglia minima 5% per mostrare il dato - - - - - renderizza il contenuto - - - - - - disegna la leggenda html laterale... - - - - - - disegna piechart 2-dim - - - - - - disegna piechart 3d ellittica - - - - - - traduce la stringa colore in oggetto colore - - - - - - - converte intero a stringa esadecimale - - - - - - - converte stringa esadecimale a intero - - - - - - - tipo di grafico (2D/3D) - - - - - ampiezza del grafico - - - - - altezza del grafico - - - - - padding grafico/container - - - - - boolean se si debba mostrale la legenda - - - - - percentuale minima da mostrare - - - - - serie di dati (tipizzata) ma mostrare - - - - - testo associato al controllo - - - - - Summary description for selettori - - - - - - - - - - - - - - - carica i dati CdC se in cache o da TableAdapter - - - - - restituisce l'elenco di tutti i cdc - - - - - - restituisce l'elenco di tutti i cdc della gerarchia dell'utente - - - - - - classe gestione utente: auth e permission/ruoli - versione GENERICA - - - - - cancella da session l'utente - - - - - carica la riga dati utente - - - - - carica la riga dati utente da SOLO USERNAME - - - - - Carica la tabella diritti dell'utente da db e salva in session - - - - - Carica la tabella diritti dell'utente da db e salva in session - - - - - Carica la tabella diritti dell'utente da db e salva in session SOLO per il CDC indicato - - - - - - Effettua setup dei permessi una volta salvati i diritti - - - - - imposta la lingua utente dal valore della riga DB - - - - - costruisce la mappa del sito per l'utente - - - - - formatta un nodo in modo corretto dai dati indicati - - - - - - - - - inizializza la gestione utente... - - - - - restituisce riga utente data la matricola... - - matricola - - - - - traduce il lemma nella lingua dell'user corrente - - - - - - - traduce il lemma in inglese - - - - - - - traduce il lemma nella lingua richiesta - - - - - - - traduce il lemma nella lingua dell'user e in inglese tra parentesi - - - - - - - LogOff utente con reset dati - - - - - - - - Procedura da chiamare DOPO aver messo in session i dati utente/dominio x caricare gli altri dati - - - - - - - - Procedura da chiamare DOPO aver messo in session i dati utente/dominio x caricare gli altri dati - - - - - - - - controllo utente/pwd da tab - - - - - - - - Procedura da chiamare DOPO aver messo in session i dati utente/dominio x caricare gli altri dati CON I DIRITTI SOLO per il CDC indicato - - - - - - - - - salva dati accessori quali il cdc dell'utente... - - - - - verifica nella tab diritti se l'utente abbia il right richiesto e fornisce bool in risposta - - - - - - - verifica le credenziali AD dell'utente... - - - - - - - - conta il numero di permessi utente per la pagina attuale e restituisce true se ne trova almeno 1 - - - - - - - verifica se il permesso utente per la pagina attuale sia write per almeno 1 diritto assegnato (restituisce true se ne trova almeno 1 con permessi2funzione.readwrite='S') - - - - - - - ricarica e ri-traduce la mappa sito per l'utente... - - - - - retituisce il nome apgina dai permessi utente - - - - - - restituisce cognome e nome di un utente dato username... - - username - - - - - restituisce cognome e nome di un utente data la matricola... - - matricola - - - - - restituisce cognome e nome di un utente dato username e dominio... - - username - dominio - - - - - restituisce cognome e nome di un utente dato username... - - username - - - - - restituisce cognome e nome di un utente dato username e dominio... - - username - dominio - - - - - restituisce cognome e nome di un utente dato username eventualmente comprensivo di dominio... - - {dominio\}userName - - - - - restituisce l'elenco delle funzioni abilitate dato modulo ed username partendo dalla radice dell'albero dei diritti - - - - - - - - restituisce l'elenco degli utenti dato i diritti che devono avere come modulo/funzione - - nome del modulo - nome della funzione - tabella utenti - - - - restituisce l'elenco delle email degli utenti dato i diritti che devono avere come modulo/funzione - - nome del modulo - nome della funzione - stringa di email separate da "," - - - - crea un nuovo utente con le credenziali indicate - - - - - - - - - - - - assegna il diritto all'utente indicato - - - - - - - - - - - toglier il diritto all'utente indicato - - - - - - - - - - - restituisce la tabella (per utente corrente) dei CDC abilitati per l'applicazione attuale da sessione (se non c'è salva...) - - modulo di cui si testano i diritti - - - - - versione statica della classe utente come singleton UtenTeSignletoN - - - - - restituisce la tabella diritti da session - - - - - tabella dei permessi utente - - - - - tabella dei permessi utente di tipo "WRITE" enabled - - - - - retituisce username AD - - - - - oggetto utente con metodi get/set - - - - - oggetto password con metodi get/set - - - - - oggetto dominio con metodi get/set - - - - - oggetto modulo (applicazione) con metodi get/set - - - - - oggetto lingua utente con metodi get/set - - - - - oggetto runMode corrente - - - - - restituisce true se utente forzato da forceUser.aspx - - - - - restituisce i valori della riga utente da db - - - - - restituisce una stringa formattata con cognome, nome e matricola - - - - - restituisce una stringa della sigla dell'utente - - - - - restituisce una stringa formattata con cognome e nome - - - - - restituisce una stringa formattata con cognome - - - - - restituisce una stringa formattata con nome - - - - - fornisce un file XML della mappa del sito abilitato per l'utente... - - - - - è un boolean che indica se in session ci siano user/dominio e quindi utente autenticato in rpecedenza... - - - - - struttura che definisce i parametri di un turno di lavoro - - - - - definisce un intervalo di 2 date - - - - - data inizio - - - - - data fine - - - - - indica se sia valido il dato, ovvero inizio e fine > 0 e FINE >= INIZIO - - - - - struttura orario ordinarie/strordinarie - - - - - ore ordinarie - - - - - ore straordinarie - - - - - classe di funzioni inerenti le date - - - - - inizializzazione empty - - - - - calcola il turno di riferimento data una data di riferimento - - - - - - - costruisce un oggetto intervallo date - - - - - - - - effettua l'operazione di intersezione tra 2 intervali di date restituendo ulteriore intervallo: NB se sono intervali disgiunti restituisce 9/9/9999 x inizio e fine - - - - - - - - oggetto mese precedente alla dataLilmite - - - - - - oggetto mese corrente fino alla dataLilmite - - - - - - confronta le date e restituisce true se le date sono nello stesso mese - - - - - - - - restituisce l'intervallo del giorno completo che comprende la data indicata - - - - - - - restituisce l'intervallo di N giorni fino alla data indicata - - - - - - - - restituisce l'intervallo della settimana corrente per la data indicata - - - - - - - restituisce l'intervallo del mese corrente per la data indicata (dal giorno 1 all'indomani delal data indicata) - - - - - - - restituisce l'intervallo del mese che comprende la data indicata (dal primo all'ultimo giorno) - - - - - - - restituisce l'intervallo dell'anno corrente per la data indicata - - - - - - - oggetto singleton - - - - - classe di gestione delle email - - - - - stringa del nome DNS o dell'ip del server SMTP - - - - - stringa username x server SMTP - - - - - stringa pwd x server SMTP - - - - - metodo static per la gestione delle email - - - - - - metodo static per la gestione delle email - - - - - - - - metodo static per la gestione delle email - - - - - - - procedura invio email - - email mittente - email destinatario - oggetto dell'email - corpo del messaggio - - - - procedura invio email + scrittura in log! - - email mittente - email destinatario - oggetto dell'email - corpo del messaggio - - - - metodo singleton gestione email... - - - - - metodo singleton gestione email CON AUTH utente... - - - - - Tipo di comparazione, Binary == CaseSensitive, Text = insensitive - - - - - tipo controllo : binario - - - - - tipo controllo : text - - - - - Funzione di splitting compatibile con multi-character e multi-line - - - - - stringa da splittare - - - - - Delimiter con cui splittare - - - - - Costruttore dello Splitter - - - - - comparatore case sensitive - - - - - - - - comparatore case insensitive - - - - - - - - parte principale dello splitter - - stringa da splittare - delimitatore ricercato - true=il delimiter è un blocco unico, false=qualsiasi oggetto del delimiter fa split (come split base) - - 0 -> Binary=CaseSensitive, 1 -> Text=case insensitive - - - - - elimina dal nome file il tipo (desinenza) - - - - - - - Classe di metodi che estendono quelli base applicati alle string - - - - - Trasforma in MAIUSCOLo il primo carattere della stringa - - stringa da processare - stringa processata - - - - restituisce la stringa completa e corretta del filepath del server (anche con vDir) - - path relativo alla cartella iis dell'applicativo - path fisico tradotto - - - - effettua escape di stringhe di ricerca di tipo filtro per apici e altri caratteri non ammessi - - - - - - - restituisce una stringa uguale all'originale + terminazione newline - - - - - - - formatta un titolo - - Titolo da scrivere - carattere x padding titolo - larghezza caratteri (x pad) - - - - - formatta una riga di caratteri - - carattere da utilizzare - larghezza caratteri (x pad) - - - - - fornisce dati di base per l'utente - - - - - fornisce cognome e nome utente formattati a partire dall'username e dalla tabella UTENTE - - - - - - - restituisce la riga completa dall'username richiesto - - - - - - - - calcola il nome del computer dato l'IP - - - - - - - scarica una pagina da URL e fornisce testo string - - Indirizzo pagina (completo) - username (se necessario) - password (se necessaria) - - - - - manda pacchetto ARP - - - - - - - - - - fornisce mac address dato nome/IP - - - - - - - utils x cifrature e Crypto - - - - - cifra un messaggio con una password - - - - - - - - decifra un messaggio con una password - - - - - - - diff --git a/project/XPS_data/bin/Debug/XPS_data.dll b/project/XPS_data/bin/Debug/XPS_data.dll deleted file mode 100644 index 20308b4..0000000 Binary files a/project/XPS_data/bin/Debug/XPS_data.dll and /dev/null differ diff --git a/project/XPS_data/bin/Debug/XPS_data.dll.config b/project/XPS_data/bin/Debug/XPS_data.dll.config deleted file mode 100644 index 7504868..0000000 --- a/project/XPS_data/bin/Debug/XPS_data.dll.config +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/project/XPS_data/bin/Release/Flesk.ViewState.dll b/project/XPS_data/bin/Release/Flesk.ViewState.dll deleted file mode 100644 index 862a6ac..0000000 Binary files a/project/XPS_data/bin/Release/Flesk.ViewState.dll and /dev/null differ diff --git a/project/XPS_data/bin/Release/ICSharpCode.SharpZipLib.dll b/project/XPS_data/bin/Release/ICSharpCode.SharpZipLib.dll deleted file mode 100644 index a2a6f25..0000000 Binary files a/project/XPS_data/bin/Release/ICSharpCode.SharpZipLib.dll and /dev/null differ diff --git a/project/XPS_data/bin/Release/MDB_Data/si_dt30.mdb b/project/XPS_data/bin/Release/MDB_Data/si_dt30.mdb deleted file mode 100644 index 64e2ef0..0000000 Binary files a/project/XPS_data/bin/Release/MDB_Data/si_dt30.mdb and /dev/null differ diff --git a/project/XPS_data/bin/Release/SteamWare.dll b/project/XPS_data/bin/Release/SteamWare.dll deleted file mode 100644 index a6de61f..0000000 Binary files a/project/XPS_data/bin/Release/SteamWare.dll and /dev/null differ diff --git a/project/XPS_data/bin/Release/XPS_data.dll b/project/XPS_data/bin/Release/XPS_data.dll deleted file mode 100644 index 4a07f9a..0000000 Binary files a/project/XPS_data/bin/Release/XPS_data.dll and /dev/null differ diff --git a/project/XPS_data/bin/Release/XPS_data.dll.config b/project/XPS_data/bin/Release/XPS_data.dll.config deleted file mode 100644 index 7504868..0000000 --- a/project/XPS_data/bin/Release/XPS_data.dll.config +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/project/XPS_data/obj/Debug/Refactor/XPS_data.dll b/project/XPS_data/obj/Debug/Refactor/XPS_data.dll deleted file mode 100644 index 246d390..0000000 Binary files a/project/XPS_data/obj/Debug/Refactor/XPS_data.dll and /dev/null differ diff --git a/project/XPS_data/obj/Debug/ResolveAssemblyReference.cache b/project/XPS_data/obj/Debug/ResolveAssemblyReference.cache deleted file mode 100644 index 3e750de..0000000 Binary files a/project/XPS_data/obj/Debug/ResolveAssemblyReference.cache and /dev/null differ diff --git a/project/XPS_data/obj/Debug/TempPE/DS_XPS.Designer.cs.dll b/project/XPS_data/obj/Debug/TempPE/DS_XPS.Designer.cs.dll deleted file mode 100644 index 8b2b626..0000000 Binary files a/project/XPS_data/obj/Debug/TempPE/DS_XPS.Designer.cs.dll and /dev/null differ diff --git a/project/XPS_data/obj/Debug/TempPE/DS_applicazione.Designer.cs.dll b/project/XPS_data/obj/Debug/TempPE/DS_applicazione.Designer.cs.dll deleted file mode 100644 index 7f9a0e1..0000000 Binary files a/project/XPS_data/obj/Debug/TempPE/DS_applicazione.Designer.cs.dll and /dev/null differ diff --git a/project/XPS_data/obj/Debug/TempPE/DS_import.Designer.cs.dll b/project/XPS_data/obj/Debug/TempPE/DS_import.Designer.cs.dll deleted file mode 100644 index 701aa92..0000000 Binary files a/project/XPS_data/obj/Debug/TempPE/DS_import.Designer.cs.dll and /dev/null differ diff --git a/project/XPS_data/obj/Debug/TempPE/DS_utility.Designer.cs.dll b/project/XPS_data/obj/Debug/TempPE/DS_utility.Designer.cs.dll deleted file mode 100644 index 23aef61..0000000 Binary files a/project/XPS_data/obj/Debug/TempPE/DS_utility.Designer.cs.dll and /dev/null differ diff --git a/project/XPS_data/obj/Debug/TempPE/MDB_Data.si_dt30DataSet.Designer.cs.dll b/project/XPS_data/obj/Debug/TempPE/MDB_Data.si_dt30DataSet.Designer.cs.dll deleted file mode 100644 index 8922e62..0000000 Binary files a/project/XPS_data/obj/Debug/TempPE/MDB_Data.si_dt30DataSet.Designer.cs.dll and /dev/null differ diff --git a/project/XPS_data/obj/Debug/XPS_data.csproj.FileListAbsolute.txt b/project/XPS_data/obj/Debug/XPS_data.csproj.FileListAbsolute.txt deleted file mode 100644 index e67cb25..0000000 --- a/project/XPS_data/obj/Debug/XPS_data.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,39 +0,0 @@ -c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\bin\Debug\MDB_Data\si_dt30.mdb -c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\bin\Debug\XPS_data.dll.config -c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\bin\Debug\XPS_data.dll -c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\bin\Debug\XPS_data.pdb -c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\bin\Debug\SteamWare.dll -c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\bin\Debug\Flesk.ViewState.dll -c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\bin\Debug\ICSharpCode.SharpZipLib.dll -c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\bin\Debug\SteamWare.pdb -c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\bin\Debug\SteamWare.xml -c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\obj\Debug\ResolveAssemblyReference.cache -c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\obj\Debug\XPS_data.dll -c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\obj\Debug\XPS_data.pdb -c:\svn\XPS\trunk\project\XPS_data\obj\Debug\ResolveAssemblyReference.cache -c:\svn\XPS\trunk\project\XPS_data\obj\Debug\XPS_data.dll -c:\svn\XPS\trunk\project\XPS_data\obj\Debug\XPS_data.pdb -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\obj\Debug\XPS_data.csprojResolveAssemblyReference.cache -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\obj\Debug\XPS_data.dll -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\MDB_Data\si_dt30.mdb -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\XPS_data.dll.config -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\XPS_data.dll -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\XPS_data.pdb -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\SteamWare.dll -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\Flesk.ViewState.dll -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\ICSharpCode.SharpZipLib.dll -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\SteamWare.pdb -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\SteamWare.xml -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\obj\Debug\XPS_data.pdb -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\MDB_Data\si_dt30.mdb -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\XPS_data.dll.config -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\XPS_data.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\XPS_data.pdb -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\SteamWare.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\Flesk.ViewState.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\ICSharpCode.SharpZipLib.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\SteamWare.pdb -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Debug\SteamWare.xml -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\obj\Debug\XPS_data.csprojResolveAssemblyReference.cache -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\obj\Debug\XPS_data.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\obj\Debug\XPS_data.pdb diff --git a/project/XPS_data/obj/Debug/XPS_data.dll b/project/XPS_data/obj/Debug/XPS_data.dll deleted file mode 100644 index 20308b4..0000000 Binary files a/project/XPS_data/obj/Debug/XPS_data.dll and /dev/null differ diff --git a/project/XPS_data/obj/Release/ResolveAssemblyReference.cache b/project/XPS_data/obj/Release/ResolveAssemblyReference.cache deleted file mode 100644 index dd0d5d7..0000000 Binary files a/project/XPS_data/obj/Release/ResolveAssemblyReference.cache and /dev/null differ diff --git a/project/XPS_data/obj/Release/TempPE/DS_XPS.Designer.cs.dll b/project/XPS_data/obj/Release/TempPE/DS_XPS.Designer.cs.dll deleted file mode 100644 index 298ded7..0000000 Binary files a/project/XPS_data/obj/Release/TempPE/DS_XPS.Designer.cs.dll and /dev/null differ diff --git a/project/XPS_data/obj/Release/TempPE/DS_applicazione.Designer.cs.dll b/project/XPS_data/obj/Release/TempPE/DS_applicazione.Designer.cs.dll deleted file mode 100644 index 46578ff..0000000 Binary files a/project/XPS_data/obj/Release/TempPE/DS_applicazione.Designer.cs.dll and /dev/null differ diff --git a/project/XPS_data/obj/Release/TempPE/DS_import.Designer.cs.dll b/project/XPS_data/obj/Release/TempPE/DS_import.Designer.cs.dll deleted file mode 100644 index a22bfe1..0000000 Binary files a/project/XPS_data/obj/Release/TempPE/DS_import.Designer.cs.dll and /dev/null differ diff --git a/project/XPS_data/obj/Release/TempPE/DS_utility.Designer.cs.dll b/project/XPS_data/obj/Release/TempPE/DS_utility.Designer.cs.dll deleted file mode 100644 index c590ef7..0000000 Binary files a/project/XPS_data/obj/Release/TempPE/DS_utility.Designer.cs.dll and /dev/null differ diff --git a/project/XPS_data/obj/Release/XPS_data.csproj.FileListAbsolute.txt b/project/XPS_data/obj/Release/XPS_data.csproj.FileListAbsolute.txt deleted file mode 100644 index 194a86d..0000000 --- a/project/XPS_data/obj/Release/XPS_data.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,30 +0,0 @@ -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\bin\Release\MDB_Data\si_dt30.mdb -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\bin\Release\XPS_data.dll.config -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\bin\Release\XPS_data.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\bin\Release\XPS_data.pdb -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\bin\Release\SteamWare.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\bin\Release\Flesk.ViewState.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\bin\Release\ICSharpCode.SharpZipLib.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\obj\Release\ResolveAssemblyReference.cache -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\obj\Release\XPS_data.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\obj\Release\XPS_data.pdb -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Release\MDB_Data\si_dt30.mdb -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Release\XPS_data.dll.config -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Release\XPS_data.dll -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Release\XPS_data.pdb -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Release\SteamWare.dll -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Release\Flesk.ViewState.dll -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Release\ICSharpCode.SharpZipLib.dll -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\obj\Release\XPS_data.csprojResolveAssemblyReference.cache -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\obj\Release\XPS_data.dll -C:\Users\samuele\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\obj\Release\XPS_data.pdb -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Release\MDB_Data\si_dt30.mdb -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Release\XPS_data.dll.config -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Release\XPS_data.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Release\XPS_data.pdb -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Release\SteamWare.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Release\Flesk.ViewState.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\bin\Release\ICSharpCode.SharpZipLib.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\obj\Release\XPS_data.csprojResolveAssemblyReference.cache -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\obj\Release\XPS_data.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPS_data\obj\Release\XPS_data.pdb diff --git a/project/XPS_data/obj/Release/XPS_data.dll b/project/XPS_data/obj/Release/XPS_data.dll deleted file mode 100644 index 4a07f9a..0000000 Binary files a/project/XPS_data/obj/Release/XPS_data.dll and /dev/null differ