diff --git a/CMS-SC-Data/CMS-SC-Data.csproj b/CMS-SC-Data/CMS-SC-Data.csproj
index 42ca0d7..5571831 100644
--- a/CMS-SC-Data/CMS-SC-Data.csproj
+++ b/CMS-SC-Data/CMS-SC-Data.csproj
@@ -48,7 +48,7 @@
-
+
True
True
DS_Applicazione.xsd
diff --git a/CMS-SC-Data/DS_Applicazione.xsd b/CMS-SC-Data/DS_Applicazione.xsd
index 06878cd..84eb5b8 100644
--- a/CMS-SC-Data/DS_Applicazione.xsd
+++ b/CMS-SC-Data/DS_Applicazione.xsd
@@ -9,49 +9,20 @@
-
-
-
- DELETE FROM [dbo].[ElencoFamMacc] WHERE (([CodFam] = @Original_CodFam) AND ([DescrFam] = @Original_DescrFam))
-
-
-
-
-
-
-
-
- INSERT INTO [dbo].[ElencoFamMacc] ([CodFam], [DescrFam]) VALUES (@CodFam, @DescrFam);
-SELECT CodFam, DescrFam FROM ElencoFamMacc WHERE (CodFam = @CodFam)
-
-
-
-
-
-
+
-
- SELECT CodFam, DescrFam FROM dbo.ElencoFamMacc
+
+ SELECT *
+FROM v_ElencoFamMacc
-
-
- UPDATE [dbo].[ElencoFamMacc] SET [CodFam] = @CodFam, [DescrFam] = @DescrFam WHERE (([CodFam] = @Original_CodFam) AND ([DescrFam] = @Original_DescrFam));
-SELECT CodFam, DescrFam FROM ElencoFamMacc WHERE (CodFam = @CodFam)
-
-
-
-
-
-
-
-
+
@@ -1392,7 +1363,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)
-
+
@@ -1409,10 +1380,11 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)
+
-
+
@@ -1449,7 +1421,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)
-
+
@@ -1469,7 +1441,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)
-
+
@@ -1511,7 +1483,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)
-
+
@@ -1560,7 +1532,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)
-
+
@@ -1585,7 +1557,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)
-
+
@@ -1642,7 +1614,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)
-
+
@@ -1688,7 +1660,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)
-
+
@@ -1725,7 +1697,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)
-
+
@@ -1818,7 +1790,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)
-
+
@@ -1932,7 +1904,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)
-
+
@@ -1952,7 +1924,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)
-
+
@@ -2042,18 +2014,18 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/CMS-SC-Data/DS_Applicazione.xss b/CMS-SC-Data/DS_Applicazione.xss
index b5e94fa..6e660b8 100644
--- a/CMS-SC-Data/DS_Applicazione.xss
+++ b/CMS-SC-Data/DS_Applicazione.xss
@@ -6,7 +6,7 @@
-->
-
+
@@ -36,12 +36,12 @@
- 902
- 53
+ 847
+ 42
1029
- 53
+ 42
@@ -72,12 +72,12 @@
- 602
- 39
+ 598
+ 28
367
- 39
+ 28
diff --git a/CMS-SC-Data/DS_Applicazione.Designer.cs b/CMS-SC-Data/DS_Applicazione1.Designer.cs
similarity index 83%
rename from CMS-SC-Data/DS_Applicazione.Designer.cs
rename to CMS-SC-Data/DS_Applicazione1.Designer.cs
index b127a51..e84e0c9 100644
--- a/CMS-SC-Data/DS_Applicazione.Designer.cs
+++ b/CMS-SC-Data/DS_Applicazione1.Designer.cs
@@ -10,10 +10,9 @@
#pragma warning disable 1591
-namespace CMS_SC_Data
-{
-
-
+namespace CMS_SC_Data {
+
+
///
///Represents a strongly typed in-memory cache of data.
///
@@ -23,65 +22,63 @@ namespace CMS_SC_Data
[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
- {
-
+ public partial class DS_Applicazione : global::System.Data.DataSet {
+
private ElencoFamMaccDataTable tableElencoFamMacc;
-
+
private ElencoMacchineCNDataTable tableElencoMacchineCN;
-
+
private AnagFasiDataTable tableAnagFasi;
-
+
private AnagSchedeDataTable tableAnagSchede;
-
+
private DettSchedaDataTable tableDettScheda;
-
+
private ValidValDataTable tableValidVal;
-
+
private SchemaCollFamMaccDataTable tableSchemaCollFamMacc;
-
+
private ElencoDossierDataTable tableElencoDossier;
-
+
private SchemaCollMaccDataTable tableSchemaCollMacc;
-
+
private MisureDataTable tableMisure;
-
+
private ReportDataDataTable tableReportData;
-
+
private Tags2MacchineDataTable tableTags2Macchine;
-
+
private AnagTagsDataTable tableAnagTags;
-
+
private global::System.Data.DataRelation relationFK_DettScheda_AnagSchede1;
-
+
private global::System.Data.DataRelation relationFK_ElencoMacchineCN_ElencoFamMacc;
-
+
private global::System.Data.DataRelation relationFK_ValidVal_DettScheda;
-
+
private global::System.Data.DataRelation relationFK_SchemaCollFamMacc_AnagSchede1;
-
+
private global::System.Data.DataRelation relationFK_SchemaCollFamMacc_ElencoFamMacc;
-
+
private global::System.Data.DataRelation relationFK_ElencoDossier_ElencoMacchineCN;
-
+
private global::System.Data.DataRelation relationFK_SchemaCollMacc_AnagSchede;
-
+
private global::System.Data.DataRelation relationFK_SchemaCollMacc_ElencoDossier;
-
+
private global::System.Data.DataRelation relationFK_IstanzeMisura_AnagFasi1;
-
+
private global::System.Data.DataRelation relationFK_Misure_SchemaCollMacc1;
-
+
private global::System.Data.DataRelation relationFK_Tags2Macchine_ElencoMacchineCN;
-
+
private global::System.Data.DataRelation relationFK_Tags2Macchine_AnagTags;
-
+
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()
- {
+ public DS_Applicazione() {
this.BeginInit();
this.InitClass();
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
@@ -89,14 +86,12 @@ namespace CMS_SC_Data
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))
- {
+ 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;
@@ -104,60 +99,46 @@ namespace CMS_SC_Data
return;
}
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
- if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema))
- {
+ 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["ElencoFamMacc"] != null))
- {
+ if ((ds.Tables["ElencoFamMacc"] != null)) {
base.Tables.Add(new ElencoFamMaccDataTable(ds.Tables["ElencoFamMacc"]));
}
- if ((ds.Tables["ElencoMacchineCN"] != null))
- {
+ if ((ds.Tables["ElencoMacchineCN"] != null)) {
base.Tables.Add(new ElencoMacchineCNDataTable(ds.Tables["ElencoMacchineCN"]));
}
- if ((ds.Tables["AnagFasi"] != null))
- {
+ if ((ds.Tables["AnagFasi"] != null)) {
base.Tables.Add(new AnagFasiDataTable(ds.Tables["AnagFasi"]));
}
- if ((ds.Tables["AnagSchede"] != null))
- {
+ if ((ds.Tables["AnagSchede"] != null)) {
base.Tables.Add(new AnagSchedeDataTable(ds.Tables["AnagSchede"]));
}
- if ((ds.Tables["DettScheda"] != null))
- {
+ if ((ds.Tables["DettScheda"] != null)) {
base.Tables.Add(new DettSchedaDataTable(ds.Tables["DettScheda"]));
}
- if ((ds.Tables["ValidVal"] != null))
- {
+ if ((ds.Tables["ValidVal"] != null)) {
base.Tables.Add(new ValidValDataTable(ds.Tables["ValidVal"]));
}
- if ((ds.Tables["SchemaCollFamMacc"] != null))
- {
+ if ((ds.Tables["SchemaCollFamMacc"] != null)) {
base.Tables.Add(new SchemaCollFamMaccDataTable(ds.Tables["SchemaCollFamMacc"]));
}
- if ((ds.Tables["ElencoDossier"] != null))
- {
+ if ((ds.Tables["ElencoDossier"] != null)) {
base.Tables.Add(new ElencoDossierDataTable(ds.Tables["ElencoDossier"]));
}
- if ((ds.Tables["SchemaCollMacc"] != null))
- {
+ if ((ds.Tables["SchemaCollMacc"] != null)) {
base.Tables.Add(new SchemaCollMaccDataTable(ds.Tables["SchemaCollMacc"]));
}
- if ((ds.Tables["Misure"] != null))
- {
+ if ((ds.Tables["Misure"] != null)) {
base.Tables.Add(new MisureDataTable(ds.Tables["Misure"]));
}
- if ((ds.Tables["ReportData"] != null))
- {
+ if ((ds.Tables["ReportData"] != null)) {
base.Tables.Add(new ReportDataDataTable(ds.Tables["ReportData"]));
}
- if ((ds.Tables["Tags2Macchine"] != null))
- {
+ if ((ds.Tables["Tags2Macchine"] != null)) {
base.Tables.Add(new Tags2MacchineDataTable(ds.Tables["Tags2Macchine"]));
}
- if ((ds.Tables["AnagTags"] != null))
- {
+ if ((ds.Tables["AnagTags"] != null)) {
base.Tables.Add(new AnagTagsDataTable(ds.Tables["AnagTags"]));
}
this.DataSetName = ds.DataSetName;
@@ -169,8 +150,7 @@ namespace CMS_SC_Data
this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
this.InitVars();
}
- else
- {
+ else {
this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
}
this.GetSerializationData(info, context);
@@ -178,293 +158,241 @@ namespace CMS_SC_Data
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 ElencoFamMaccDataTable ElencoFamMacc
- {
- get
- {
+ public ElencoFamMaccDataTable ElencoFamMacc {
+ get {
return this.tableElencoFamMacc;
}
}
-
+
[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 ElencoMacchineCNDataTable ElencoMacchineCN
- {
- get
- {
+ public ElencoMacchineCNDataTable ElencoMacchineCN {
+ get {
return this.tableElencoMacchineCN;
}
}
-
+
[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 AnagFasiDataTable AnagFasi
- {
- get
- {
+ public AnagFasiDataTable AnagFasi {
+ get {
return this.tableAnagFasi;
}
}
-
+
[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 AnagSchedeDataTable AnagSchede
- {
- get
- {
+ public AnagSchedeDataTable AnagSchede {
+ get {
return this.tableAnagSchede;
}
}
-
+
[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 DettSchedaDataTable DettScheda
- {
- get
- {
+ public DettSchedaDataTable DettScheda {
+ get {
return this.tableDettScheda;
}
}
-
+
[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 ValidValDataTable ValidVal
- {
- get
- {
+ public ValidValDataTable ValidVal {
+ get {
return this.tableValidVal;
}
}
-
+
[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 SchemaCollFamMaccDataTable SchemaCollFamMacc
- {
- get
- {
+ public SchemaCollFamMaccDataTable SchemaCollFamMacc {
+ get {
return this.tableSchemaCollFamMacc;
}
}
-
+
[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 ElencoDossierDataTable ElencoDossier
- {
- get
- {
+ public ElencoDossierDataTable ElencoDossier {
+ get {
return this.tableElencoDossier;
}
}
-
+
[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 SchemaCollMaccDataTable SchemaCollMacc
- {
- get
- {
+ public SchemaCollMaccDataTable SchemaCollMacc {
+ get {
return this.tableSchemaCollMacc;
}
}
-
+
[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 MisureDataTable Misure
- {
- get
- {
+ public MisureDataTable Misure {
+ get {
return this.tableMisure;
}
}
-
+
[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 ReportDataDataTable ReportData
- {
- get
- {
+ public ReportDataDataTable ReportData {
+ get {
return this.tableReportData;
}
}
-
+
[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 Tags2MacchineDataTable Tags2Macchine
- {
- get
- {
+ public Tags2MacchineDataTable Tags2Macchine {
+ get {
return this.tableTags2Macchine;
}
}
-
+
[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 AnagTagsDataTable AnagTags
- {
- get
- {
+ public AnagTagsDataTable AnagTags {
+ get {
return this.tableAnagTags;
}
}
-
+
[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
- {
+ public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
+ get {
return this._schemaSerializationMode;
}
- set
- {
+ 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
- {
+ 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
- {
+ 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()
- {
+ 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()
- {
+ 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()
- {
+ 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()
- {
+ 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))
- {
+ 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["ElencoFamMacc"] != null))
- {
+ if ((ds.Tables["ElencoFamMacc"] != null)) {
base.Tables.Add(new ElencoFamMaccDataTable(ds.Tables["ElencoFamMacc"]));
}
- if ((ds.Tables["ElencoMacchineCN"] != null))
- {
+ if ((ds.Tables["ElencoMacchineCN"] != null)) {
base.Tables.Add(new ElencoMacchineCNDataTable(ds.Tables["ElencoMacchineCN"]));
}
- if ((ds.Tables["AnagFasi"] != null))
- {
+ if ((ds.Tables["AnagFasi"] != null)) {
base.Tables.Add(new AnagFasiDataTable(ds.Tables["AnagFasi"]));
}
- if ((ds.Tables["AnagSchede"] != null))
- {
+ if ((ds.Tables["AnagSchede"] != null)) {
base.Tables.Add(new AnagSchedeDataTable(ds.Tables["AnagSchede"]));
}
- if ((ds.Tables["DettScheda"] != null))
- {
+ if ((ds.Tables["DettScheda"] != null)) {
base.Tables.Add(new DettSchedaDataTable(ds.Tables["DettScheda"]));
}
- if ((ds.Tables["ValidVal"] != null))
- {
+ if ((ds.Tables["ValidVal"] != null)) {
base.Tables.Add(new ValidValDataTable(ds.Tables["ValidVal"]));
}
- if ((ds.Tables["SchemaCollFamMacc"] != null))
- {
+ if ((ds.Tables["SchemaCollFamMacc"] != null)) {
base.Tables.Add(new SchemaCollFamMaccDataTable(ds.Tables["SchemaCollFamMacc"]));
}
- if ((ds.Tables["ElencoDossier"] != null))
- {
+ if ((ds.Tables["ElencoDossier"] != null)) {
base.Tables.Add(new ElencoDossierDataTable(ds.Tables["ElencoDossier"]));
}
- if ((ds.Tables["SchemaCollMacc"] != null))
- {
+ if ((ds.Tables["SchemaCollMacc"] != null)) {
base.Tables.Add(new SchemaCollMaccDataTable(ds.Tables["SchemaCollMacc"]));
}
- if ((ds.Tables["Misure"] != null))
- {
+ if ((ds.Tables["Misure"] != null)) {
base.Tables.Add(new MisureDataTable(ds.Tables["Misure"]));
}
- if ((ds.Tables["ReportData"] != null))
- {
+ if ((ds.Tables["ReportData"] != null)) {
base.Tables.Add(new ReportDataDataTable(ds.Tables["ReportData"]));
}
- if ((ds.Tables["Tags2Macchine"] != null))
- {
+ if ((ds.Tables["Tags2Macchine"] != null)) {
base.Tables.Add(new Tags2MacchineDataTable(ds.Tables["Tags2Macchine"]));
}
- if ((ds.Tables["AnagTags"] != null))
- {
+ if ((ds.Tables["AnagTags"] != null)) {
base.Tables.Add(new AnagTagsDataTable(ds.Tables["AnagTags"]));
}
this.DataSetName = ds.DataSetName;
@@ -476,135 +404,105 @@ namespace CMS_SC_Data
this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
this.InitVars();
}
- else
- {
+ 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()
- {
+ 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()
- {
+ 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)
- {
+ internal void InitVars(bool initTable) {
this.tableElencoFamMacc = ((ElencoFamMaccDataTable)(base.Tables["ElencoFamMacc"]));
- if ((initTable == true))
- {
- if ((this.tableElencoFamMacc != null))
- {
+ if ((initTable == true)) {
+ if ((this.tableElencoFamMacc != null)) {
this.tableElencoFamMacc.InitVars();
}
}
this.tableElencoMacchineCN = ((ElencoMacchineCNDataTable)(base.Tables["ElencoMacchineCN"]));
- if ((initTable == true))
- {
- if ((this.tableElencoMacchineCN != null))
- {
+ if ((initTable == true)) {
+ if ((this.tableElencoMacchineCN != null)) {
this.tableElencoMacchineCN.InitVars();
}
}
this.tableAnagFasi = ((AnagFasiDataTable)(base.Tables["AnagFasi"]));
- if ((initTable == true))
- {
- if ((this.tableAnagFasi != null))
- {
+ if ((initTable == true)) {
+ if ((this.tableAnagFasi != null)) {
this.tableAnagFasi.InitVars();
}
}
this.tableAnagSchede = ((AnagSchedeDataTable)(base.Tables["AnagSchede"]));
- if ((initTable == true))
- {
- if ((this.tableAnagSchede != null))
- {
+ if ((initTable == true)) {
+ if ((this.tableAnagSchede != null)) {
this.tableAnagSchede.InitVars();
}
}
this.tableDettScheda = ((DettSchedaDataTable)(base.Tables["DettScheda"]));
- if ((initTable == true))
- {
- if ((this.tableDettScheda != null))
- {
+ if ((initTable == true)) {
+ if ((this.tableDettScheda != null)) {
this.tableDettScheda.InitVars();
}
}
this.tableValidVal = ((ValidValDataTable)(base.Tables["ValidVal"]));
- if ((initTable == true))
- {
- if ((this.tableValidVal != null))
- {
+ if ((initTable == true)) {
+ if ((this.tableValidVal != null)) {
this.tableValidVal.InitVars();
}
}
this.tableSchemaCollFamMacc = ((SchemaCollFamMaccDataTable)(base.Tables["SchemaCollFamMacc"]));
- if ((initTable == true))
- {
- if ((this.tableSchemaCollFamMacc != null))
- {
+ if ((initTable == true)) {
+ if ((this.tableSchemaCollFamMacc != null)) {
this.tableSchemaCollFamMacc.InitVars();
}
}
this.tableElencoDossier = ((ElencoDossierDataTable)(base.Tables["ElencoDossier"]));
- if ((initTable == true))
- {
- if ((this.tableElencoDossier != null))
- {
+ if ((initTable == true)) {
+ if ((this.tableElencoDossier != null)) {
this.tableElencoDossier.InitVars();
}
}
this.tableSchemaCollMacc = ((SchemaCollMaccDataTable)(base.Tables["SchemaCollMacc"]));
- if ((initTable == true))
- {
- if ((this.tableSchemaCollMacc != null))
- {
+ if ((initTable == true)) {
+ if ((this.tableSchemaCollMacc != null)) {
this.tableSchemaCollMacc.InitVars();
}
}
this.tableMisure = ((MisureDataTable)(base.Tables["Misure"]));
- if ((initTable == true))
- {
- if ((this.tableMisure != null))
- {
+ if ((initTable == true)) {
+ if ((this.tableMisure != null)) {
this.tableMisure.InitVars();
}
}
this.tableReportData = ((ReportDataDataTable)(base.Tables["ReportData"]));
- if ((initTable == true))
- {
- if ((this.tableReportData != null))
- {
+ if ((initTable == true)) {
+ if ((this.tableReportData != null)) {
this.tableReportData.InitVars();
}
}
this.tableTags2Macchine = ((Tags2MacchineDataTable)(base.Tables["Tags2Macchine"]));
- if ((initTable == true))
- {
- if ((this.tableTags2Macchine != null))
- {
+ if ((initTable == true)) {
+ if ((this.tableTags2Macchine != null)) {
this.tableTags2Macchine.InitVars();
}
}
this.tableAnagTags = ((AnagTagsDataTable)(base.Tables["AnagTags"]));
- if ((initTable == true))
- {
- if ((this.tableAnagTags != null))
- {
+ if ((initTable == true)) {
+ if ((this.tableAnagTags != null)) {
this.tableAnagTags.InitVars();
}
}
@@ -621,11 +519,10 @@ namespace CMS_SC_Data
this.relationFK_Tags2Macchine_ElencoMacchineCN = this.Relations["FK_Tags2Macchine_ElencoMacchineCN"];
this.relationFK_Tags2Macchine_AnagTags = this.Relations["FK_Tags2Macchine_AnagTags"];
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass()
- {
+ private void InitClass() {
this.DataSetName = "DS_Applicazione";
this.Prefix = "";
this.Namespace = "http://tempuri.org/DS_Applicazione.xsd";
@@ -722,112 +619,96 @@ namespace CMS_SC_Data
this.tableTags2Macchine.TagCodeColumn}, false);
this.Relations.Add(this.relationFK_Tags2Macchine_AnagTags);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeElencoFamMacc()
- {
+ private bool ShouldSerializeElencoFamMacc() {
return false;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeElencoMacchineCN()
- {
+ private bool ShouldSerializeElencoMacchineCN() {
return false;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeAnagFasi()
- {
+ private bool ShouldSerializeAnagFasi() {
return false;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeAnagSchede()
- {
+ private bool ShouldSerializeAnagSchede() {
return false;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeDettScheda()
- {
+ private bool ShouldSerializeDettScheda() {
return false;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeValidVal()
- {
+ private bool ShouldSerializeValidVal() {
return false;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeSchemaCollFamMacc()
- {
+ private bool ShouldSerializeSchemaCollFamMacc() {
return false;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeElencoDossier()
- {
+ private bool ShouldSerializeElencoDossier() {
return false;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeSchemaCollMacc()
- {
+ private bool ShouldSerializeSchemaCollMacc() {
return false;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeMisure()
- {
+ private bool ShouldSerializeMisure() {
return false;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeReportData()
- {
+ private bool ShouldSerializeReportData() {
return false;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeTags2Macchine()
- {
+ private bool ShouldSerializeTags2Macchine() {
return false;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeAnagTags()
- {
+ private bool ShouldSerializeAnagTags() {
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))
- {
+ 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)
- {
+ 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();
@@ -836,43 +717,34 @@ namespace CMS_SC_Data
sequence.Items.Add(any);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace))
- {
+ 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
- {
+ try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();)
- {
+ 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))
- {
+ if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte()));)
- {
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
;
}
- if ((s1.Position == s1.Length))
- {
+ if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
- finally
- {
- if ((s1 != null))
- {
+ finally {
+ if ((s1 != null)) {
s1.Close();
}
- if ((s2 != null))
- {
+ if ((s2 != null)) {
s2.Close();
}
}
@@ -880,210 +752,202 @@ namespace CMS_SC_Data
xs.Add(dsSchema);
return type;
}
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void ElencoFamMaccRowChangeEventHandler(object sender, ElencoFamMaccRowChangeEvent e);
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void ElencoMacchineCNRowChangeEventHandler(object sender, ElencoMacchineCNRowChangeEvent e);
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void AnagFasiRowChangeEventHandler(object sender, AnagFasiRowChangeEvent e);
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void AnagSchedeRowChangeEventHandler(object sender, AnagSchedeRowChangeEvent e);
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void DettSchedaRowChangeEventHandler(object sender, DettSchedaRowChangeEvent e);
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void ValidValRowChangeEventHandler(object sender, ValidValRowChangeEvent e);
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void SchemaCollFamMaccRowChangeEventHandler(object sender, SchemaCollFamMaccRowChangeEvent e);
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void ElencoDossierRowChangeEventHandler(object sender, ElencoDossierRowChangeEvent e);
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void SchemaCollMaccRowChangeEventHandler(object sender, SchemaCollMaccRowChangeEvent e);
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void MisureRowChangeEventHandler(object sender, MisureRowChangeEvent e);
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void ReportDataRowChangeEventHandler(object sender, ReportDataRowChangeEvent e);
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void Tags2MacchineRowChangeEventHandler(object sender, Tags2MacchineRowChangeEvent e);
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void AnagTagsRowChangeEventHandler(object sender, AnagTagsRowChangeEvent e);
-
+
///
///Represents the strongly named DataTable class.
///
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class ElencoFamMaccDataTable : global::System.Data.TypedTableBase
- {
-
+ public partial class ElencoFamMaccDataTable : global::System.Data.TypedTableBase {
+
private global::System.Data.DataColumn columnCodFam;
-
+
private global::System.Data.DataColumn columnDescrFam;
-
+
+ private global::System.Data.DataColumn columnnumRowChild;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoFamMaccDataTable()
- {
+ public ElencoFamMaccDataTable() {
this.TableName = "ElencoFamMacc";
this.BeginInit();
this.InitClass();
this.EndInit();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal ElencoFamMaccDataTable(global::System.Data.DataTable table)
- {
+ internal ElencoFamMaccDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive))
- {
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString()))
- {
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
- if ((table.Namespace != table.DataSet.Namespace))
- {
+ 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 ElencoFamMaccDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context)
- {
+ protected ElencoFamMaccDataTable(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 CodFamColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodFamColumn {
+ get {
return this.columnCodFam;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn DescrFamColumn
- {
- get
- {
+ public global::System.Data.DataColumn DescrFamColumn {
+ get {
return this.columnDescrFam;
}
}
-
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn numRowChildColumn {
+ get {
+ return this.columnnumRowChild;
+ }
+ }
+
[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
- {
+ 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 ElencoFamMaccRow this[int index]
- {
- get
- {
+ public ElencoFamMaccRow this[int index] {
+ get {
return ((ElencoFamMaccRow)(this.Rows[index]));
}
}
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ElencoFamMaccRowChangeEventHandler ElencoFamMaccRowChanging;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ElencoFamMaccRowChangeEventHandler ElencoFamMaccRowChanged;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ElencoFamMaccRowChangeEventHandler ElencoFamMaccRowDeleting;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ElencoFamMaccRowChangeEventHandler ElencoFamMaccRowDeleted;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddElencoFamMaccRow(ElencoFamMaccRow row)
- {
+ public void AddElencoFamMaccRow(ElencoFamMaccRow row) {
this.Rows.Add(row);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoFamMaccRow AddElencoFamMaccRow(string CodFam, string DescrFam)
- {
+ public ElencoFamMaccRow AddElencoFamMaccRow(string CodFam, string DescrFam, int numRowChild) {
ElencoFamMaccRow rowElencoFamMaccRow = ((ElencoFamMaccRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
CodFam,
- DescrFam};
+ DescrFam,
+ numRowChild};
rowElencoFamMaccRow.ItemArray = columnValuesArray;
this.Rows.Add(rowElencoFamMaccRow);
return rowElencoFamMaccRow;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoFamMaccRow FindByCodFam(string CodFam)
- {
+ public ElencoFamMaccRow FindByCodFam(string CodFam) {
return ((ElencoFamMaccRow)(this.Rows.Find(new object[] {
CodFam})));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone()
- {
+ public override global::System.Data.DataTable Clone() {
ElencoFamMaccDataTable cln = ((ElencoFamMaccDataTable)(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()
- {
+ protected override global::System.Data.DataTable CreateInstance() {
return new ElencoFamMaccDataTable();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars()
- {
+ internal void InitVars() {
this.columnCodFam = base.Columns["CodFam"];
this.columnDescrFam = base.Columns["DescrFam"];
+ this.columnnumRowChild = base.Columns["numRowChild"];
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass()
- {
+ private void InitClass() {
this.columnCodFam = new global::System.Data.DataColumn("CodFam", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodFam);
this.columnDescrFam = new global::System.Data.DataColumn("DescrFam", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescrFam);
+ this.columnnumRowChild = new global::System.Data.DataColumn("numRowChild", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnnumRowChild);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnCodFam}, true));
this.columnCodFam.AllowDBNull = false;
@@ -1092,83 +956,70 @@ namespace CMS_SC_Data
this.columnDescrFam.AllowDBNull = false;
this.columnDescrFam.MaxLength = 250;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoFamMaccRow NewElencoFamMaccRow()
- {
+ public ElencoFamMaccRow NewElencoFamMaccRow() {
return ((ElencoFamMaccRow)(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)
- {
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new ElencoFamMaccRow(builder);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Type GetRowType()
- {
+ protected override global::System.Type GetRowType() {
return typeof(ElencoFamMaccRow);
}
-
+
[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)
- {
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
- if ((this.ElencoFamMaccRowChanged != null))
- {
+ if ((this.ElencoFamMaccRowChanged != null)) {
this.ElencoFamMaccRowChanged(this, new ElencoFamMaccRowChangeEvent(((ElencoFamMaccRow)(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)
- {
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
- if ((this.ElencoFamMaccRowChanging != null))
- {
+ if ((this.ElencoFamMaccRowChanging != null)) {
this.ElencoFamMaccRowChanging(this, new ElencoFamMaccRowChangeEvent(((ElencoFamMaccRow)(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)
- {
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
- if ((this.ElencoFamMaccRowDeleted != null))
- {
+ if ((this.ElencoFamMaccRowDeleted != null)) {
this.ElencoFamMaccRowDeleted(this, new ElencoFamMaccRowChangeEvent(((ElencoFamMaccRow)(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)
- {
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
- if ((this.ElencoFamMaccRowDeleting != null))
- {
+ if ((this.ElencoFamMaccRowDeleting != null)) {
this.ElencoFamMaccRowDeleting(this, new ElencoFamMaccRowChangeEvent(((ElencoFamMaccRow)(e.Row)), e.Action));
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemoveElencoFamMaccRow(ElencoFamMaccRow row)
- {
+ public void RemoveElencoFamMaccRow(ElencoFamMaccRow 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)
- {
+ 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();
@@ -1193,43 +1044,34 @@ namespace CMS_SC_Data
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace))
- {
+ 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
- {
+ try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();)
- {
+ 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))
- {
+ if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte()));)
- {
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
;
}
- if ((s1.Position == s1.Length))
- {
+ if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
- finally
- {
- if ((s1 != null))
- {
+ finally {
+ if ((s1 != null)) {
s1.Close();
}
- if ((s2 != null))
- {
+ if ((s2 != null)) {
s2.Close();
}
}
@@ -1238,182 +1080,155 @@ namespace CMS_SC_Data
return type;
}
}
-
+
///
///Represents the strongly named DataTable class.
///
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class ElencoMacchineCNDataTable : global::System.Data.TypedTableBase
- {
-
+ public partial class ElencoMacchineCNDataTable : global::System.Data.TypedTableBase {
+
private global::System.Data.DataColumn columnMatricola;
-
+
private global::System.Data.DataColumn columnDescrizione;
-
+
private global::System.Data.DataColumn columnCliente;
-
+
private global::System.Data.DataColumn columnCodFam;
-
+
private global::System.Data.DataColumn columnCorsaX;
-
+
private global::System.Data.DataColumn columnCorsaY;
-
+
private global::System.Data.DataColumn columnCorsaZ;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoMacchineCNDataTable()
- {
+ public ElencoMacchineCNDataTable() {
this.TableName = "ElencoMacchineCN";
this.BeginInit();
this.InitClass();
this.EndInit();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal ElencoMacchineCNDataTable(global::System.Data.DataTable table)
- {
+ internal ElencoMacchineCNDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive))
- {
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString()))
- {
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
- if ((table.Namespace != table.DataSet.Namespace))
- {
+ 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 ElencoMacchineCNDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context)
- {
+ protected ElencoMacchineCNDataTable(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 MatricolaColumn
- {
- get
- {
+ 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 DescrizioneColumn
- {
- get
- {
+ 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 ClienteColumn
- {
- get
- {
+ 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 CodFamColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodFamColumn {
+ get {
return this.columnCodFam;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CorsaXColumn
- {
- get
- {
+ public global::System.Data.DataColumn CorsaXColumn {
+ get {
return this.columnCorsaX;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CorsaYColumn
- {
- get
- {
+ public global::System.Data.DataColumn CorsaYColumn {
+ get {
return this.columnCorsaY;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CorsaZColumn
- {
- get
- {
+ public global::System.Data.DataColumn CorsaZColumn {
+ get {
return this.columnCorsaZ;
}
}
-
+
[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
- {
+ 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 ElencoMacchineCNRow this[int index]
- {
- get
- {
+ public ElencoMacchineCNRow this[int index] {
+ get {
return ((ElencoMacchineCNRow)(this.Rows[index]));
}
}
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ElencoMacchineCNRowChangeEventHandler ElencoMacchineCNRowChanging;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ElencoMacchineCNRowChangeEventHandler ElencoMacchineCNRowChanged;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ElencoMacchineCNRowChangeEventHandler ElencoMacchineCNRowDeleting;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ElencoMacchineCNRowChangeEventHandler ElencoMacchineCNRowDeleted;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddElencoMacchineCNRow(ElencoMacchineCNRow row)
- {
+ public void AddElencoMacchineCNRow(ElencoMacchineCNRow row) {
this.Rows.Add(row);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoMacchineCNRow AddElencoMacchineCNRow(string Matricola, string Descrizione, string Cliente, ElencoFamMaccRow parentElencoFamMaccRowByFK_ElencoMacchineCN_ElencoFamMacc, int CorsaX, int CorsaY, int CorsaZ)
- {
+ public ElencoMacchineCNRow AddElencoMacchineCNRow(string Matricola, string Descrizione, string Cliente, ElencoFamMaccRow parentElencoFamMaccRowByFK_ElencoMacchineCN_ElencoFamMacc, int CorsaX, int CorsaY, int CorsaZ) {
ElencoMacchineCNRow rowElencoMacchineCNRow = ((ElencoMacchineCNRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
Matricola,
@@ -1423,43 +1238,38 @@ namespace CMS_SC_Data
CorsaX,
CorsaY,
CorsaZ};
- if ((parentElencoFamMaccRowByFK_ElencoMacchineCN_ElencoFamMacc != null))
- {
+ if ((parentElencoFamMaccRowByFK_ElencoMacchineCN_ElencoFamMacc != null)) {
columnValuesArray[3] = parentElencoFamMaccRowByFK_ElencoMacchineCN_ElencoFamMacc[0];
}
rowElencoMacchineCNRow.ItemArray = columnValuesArray;
this.Rows.Add(rowElencoMacchineCNRow);
return rowElencoMacchineCNRow;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoMacchineCNRow FindByMatricola(string Matricola)
- {
+ public ElencoMacchineCNRow FindByMatricola(string Matricola) {
return ((ElencoMacchineCNRow)(this.Rows.Find(new object[] {
Matricola})));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone()
- {
+ public override global::System.Data.DataTable Clone() {
ElencoMacchineCNDataTable cln = ((ElencoMacchineCNDataTable)(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()
- {
+ protected override global::System.Data.DataTable CreateInstance() {
return new ElencoMacchineCNDataTable();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars()
- {
+ internal void InitVars() {
this.columnMatricola = base.Columns["Matricola"];
this.columnDescrizione = base.Columns["Descrizione"];
this.columnCliente = base.Columns["Cliente"];
@@ -1468,11 +1278,10 @@ namespace CMS_SC_Data
this.columnCorsaY = base.Columns["CorsaY"];
this.columnCorsaZ = base.Columns["CorsaZ"];
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass()
- {
+ private void InitClass() {
this.columnMatricola = new global::System.Data.DataColumn("Matricola", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMatricola);
this.columnDescrizione = new global::System.Data.DataColumn("Descrizione", typeof(string), null, global::System.Data.MappingType.Element);
@@ -1502,83 +1311,70 @@ namespace CMS_SC_Data
this.columnCorsaY.AllowDBNull = false;
this.columnCorsaZ.AllowDBNull = false;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoMacchineCNRow NewElencoMacchineCNRow()
- {
+ public ElencoMacchineCNRow NewElencoMacchineCNRow() {
return ((ElencoMacchineCNRow)(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)
- {
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new ElencoMacchineCNRow(builder);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Type GetRowType()
- {
+ protected override global::System.Type GetRowType() {
return typeof(ElencoMacchineCNRow);
}
-
+
[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)
- {
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
- if ((this.ElencoMacchineCNRowChanged != null))
- {
+ if ((this.ElencoMacchineCNRowChanged != null)) {
this.ElencoMacchineCNRowChanged(this, new ElencoMacchineCNRowChangeEvent(((ElencoMacchineCNRow)(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)
- {
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
- if ((this.ElencoMacchineCNRowChanging != null))
- {
+ if ((this.ElencoMacchineCNRowChanging != null)) {
this.ElencoMacchineCNRowChanging(this, new ElencoMacchineCNRowChangeEvent(((ElencoMacchineCNRow)(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)
- {
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
- if ((this.ElencoMacchineCNRowDeleted != null))
- {
+ if ((this.ElencoMacchineCNRowDeleted != null)) {
this.ElencoMacchineCNRowDeleted(this, new ElencoMacchineCNRowChangeEvent(((ElencoMacchineCNRow)(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)
- {
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
- if ((this.ElencoMacchineCNRowDeleting != null))
- {
+ if ((this.ElencoMacchineCNRowDeleting != null)) {
this.ElencoMacchineCNRowDeleting(this, new ElencoMacchineCNRowChangeEvent(((ElencoMacchineCNRow)(e.Row)), e.Action));
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemoveElencoMacchineCNRow(ElencoMacchineCNRow row)
- {
+ public void RemoveElencoMacchineCNRow(ElencoMacchineCNRow 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)
- {
+ 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();
@@ -1603,43 +1399,34 @@ namespace CMS_SC_Data
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace))
- {
+ 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
- {
+ try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();)
- {
+ 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))
- {
+ if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte()));)
- {
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
;
}
- if ((s1.Position == s1.Length))
- {
+ if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
- finally
- {
- if ((s1 != null))
- {
+ finally {
+ if ((s1 != null)) {
s1.Close();
}
- if ((s2 != null))
- {
+ if ((s2 != null)) {
s2.Close();
}
}
@@ -1648,122 +1435,105 @@ namespace CMS_SC_Data
return type;
}
}
-
+
///
///Represents the strongly named DataTable class.
///
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class AnagFasiDataTable : global::System.Data.TypedTableBase
- {
-
+ public partial class AnagFasiDataTable : global::System.Data.TypedTableBase {
+
private global::System.Data.DataColumn columnFase;
-
+
private global::System.Data.DataColumn columnDescrizione;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public AnagFasiDataTable()
- {
+ public AnagFasiDataTable() {
this.TableName = "AnagFasi";
this.BeginInit();
this.InitClass();
this.EndInit();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal AnagFasiDataTable(global::System.Data.DataTable table)
- {
+ internal AnagFasiDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive))
- {
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString()))
- {
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
- if ((table.Namespace != table.DataSet.Namespace))
- {
+ 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 AnagFasiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context)
- {
+ protected AnagFasiDataTable(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 FaseColumn
- {
- get
- {
+ public global::System.Data.DataColumn FaseColumn {
+ get {
return this.columnFase;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn DescrizioneColumn
- {
- get
- {
+ 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")]
[global::System.ComponentModel.Browsable(false)]
- public int Count
- {
- get
- {
+ 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 AnagFasiRow this[int index]
- {
- get
- {
+ public AnagFasiRow this[int index] {
+ get {
return ((AnagFasiRow)(this.Rows[index]));
}
}
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event AnagFasiRowChangeEventHandler AnagFasiRowChanging;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event AnagFasiRowChangeEventHandler AnagFasiRowChanged;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event AnagFasiRowChangeEventHandler AnagFasiRowDeleting;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event AnagFasiRowChangeEventHandler AnagFasiRowDeleted;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddAnagFasiRow(AnagFasiRow row)
- {
+ public void AddAnagFasiRow(AnagFasiRow row) {
this.Rows.Add(row);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public AnagFasiRow AddAnagFasiRow(string Fase, string Descrizione)
- {
+ public AnagFasiRow AddAnagFasiRow(string Fase, string Descrizione) {
AnagFasiRow rowAnagFasiRow = ((AnagFasiRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
Fase,
@@ -1772,43 +1542,38 @@ namespace CMS_SC_Data
this.Rows.Add(rowAnagFasiRow);
return rowAnagFasiRow;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public AnagFasiRow FindByFase(string Fase)
- {
+ public AnagFasiRow FindByFase(string Fase) {
return ((AnagFasiRow)(this.Rows.Find(new object[] {
Fase})));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone()
- {
+ public override global::System.Data.DataTable Clone() {
AnagFasiDataTable cln = ((AnagFasiDataTable)(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()
- {
+ protected override global::System.Data.DataTable CreateInstance() {
return new AnagFasiDataTable();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars()
- {
+ internal void InitVars() {
this.columnFase = base.Columns["Fase"];
this.columnDescrizione = base.Columns["Descrizione"];
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass()
- {
+ private void InitClass() {
this.columnFase = new global::System.Data.DataColumn("Fase", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFase);
this.columnDescrizione = new global::System.Data.DataColumn("Descrizione", typeof(string), null, global::System.Data.MappingType.Element);
@@ -1820,83 +1585,70 @@ namespace CMS_SC_Data
this.columnFase.MaxLength = 50;
this.columnDescrizione.MaxLength = 50;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public AnagFasiRow NewAnagFasiRow()
- {
+ public AnagFasiRow NewAnagFasiRow() {
return ((AnagFasiRow)(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)
- {
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new AnagFasiRow(builder);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Type GetRowType()
- {
+ protected override global::System.Type GetRowType() {
return typeof(AnagFasiRow);
}
-
+
[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)
- {
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
- if ((this.AnagFasiRowChanged != null))
- {
+ if ((this.AnagFasiRowChanged != null)) {
this.AnagFasiRowChanged(this, new AnagFasiRowChangeEvent(((AnagFasiRow)(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)
- {
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
- if ((this.AnagFasiRowChanging != null))
- {
+ if ((this.AnagFasiRowChanging != null)) {
this.AnagFasiRowChanging(this, new AnagFasiRowChangeEvent(((AnagFasiRow)(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)
- {
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
- if ((this.AnagFasiRowDeleted != null))
- {
+ if ((this.AnagFasiRowDeleted != null)) {
this.AnagFasiRowDeleted(this, new AnagFasiRowChangeEvent(((AnagFasiRow)(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)
- {
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
- if ((this.AnagFasiRowDeleting != null))
- {
+ if ((this.AnagFasiRowDeleting != null)) {
this.AnagFasiRowDeleting(this, new AnagFasiRowChangeEvent(((AnagFasiRow)(e.Row)), e.Action));
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemoveAnagFasiRow(AnagFasiRow row)
- {
+ public void RemoveAnagFasiRow(AnagFasiRow 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)
- {
+ 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();
@@ -1921,43 +1673,34 @@ namespace CMS_SC_Data
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace))
- {
+ 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
- {
+ try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();)
- {
+ 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))
- {
+ if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte()));)
- {
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
;
}
- if ((s1.Position == s1.Length))
- {
+ if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
- finally
- {
- if ((s1 != null))
- {
+ finally {
+ if ((s1 != null)) {
s1.Close();
}
- if ((s2 != null))
- {
+ if ((s2 != null)) {
s2.Close();
}
}
@@ -1966,170 +1709,145 @@ namespace CMS_SC_Data
return type;
}
}
-
+
///
///Represents the strongly named DataTable class.
///
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class AnagSchedeDataTable : global::System.Data.TypedTableBase
- {
-
+ public partial class AnagSchedeDataTable : global::System.Data.TypedTableBase {
+
private global::System.Data.DataColumn columnCodScheda;
-
+
private global::System.Data.DataColumn columnVers;
-
+
private global::System.Data.DataColumn columnDescrizione;
-
+
private global::System.Data.DataColumn columnPath;
-
+
private global::System.Data.DataColumn columnFasiEnab;
-
+
private global::System.Data.DataColumn columnCodVisib;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public AnagSchedeDataTable()
- {
+ public AnagSchedeDataTable() {
this.TableName = "AnagSchede";
this.BeginInit();
this.InitClass();
this.EndInit();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal AnagSchedeDataTable(global::System.Data.DataTable table)
- {
+ internal AnagSchedeDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive))
- {
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString()))
- {
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
- if ((table.Namespace != table.DataSet.Namespace))
- {
+ 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 AnagSchedeDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context)
- {
+ protected AnagSchedeDataTable(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 CodSchedaColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodSchedaColumn {
+ get {
return this.columnCodScheda;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn VersColumn
- {
- get
- {
+ public global::System.Data.DataColumn VersColumn {
+ get {
return this.columnVers;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn DescrizioneColumn
- {
- get
- {
+ 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 PathColumn
- {
- get
- {
+ public global::System.Data.DataColumn PathColumn {
+ get {
return this.columnPath;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn FasiEnabColumn
- {
- get
- {
+ public global::System.Data.DataColumn FasiEnabColumn {
+ get {
return this.columnFasiEnab;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CodVisibColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodVisibColumn {
+ get {
return this.columnCodVisib;
}
}
-
+
[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
- {
+ 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 AnagSchedeRow this[int index]
- {
- get
- {
+ public AnagSchedeRow this[int index] {
+ get {
return ((AnagSchedeRow)(this.Rows[index]));
}
}
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event AnagSchedeRowChangeEventHandler AnagSchedeRowChanging;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event AnagSchedeRowChangeEventHandler AnagSchedeRowChanged;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event AnagSchedeRowChangeEventHandler AnagSchedeRowDeleting;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event AnagSchedeRowChangeEventHandler AnagSchedeRowDeleted;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddAnagSchedeRow(AnagSchedeRow row)
- {
+ public void AddAnagSchedeRow(AnagSchedeRow row) {
this.Rows.Add(row);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public AnagSchedeRow AddAnagSchedeRow(string CodScheda, int Vers, string Descrizione, string Path, string FasiEnab, string CodVisib)
- {
+ public AnagSchedeRow AddAnagSchedeRow(string CodScheda, int Vers, string Descrizione, string Path, string FasiEnab, string CodVisib) {
AnagSchedeRow rowAnagSchedeRow = ((AnagSchedeRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
CodScheda,
@@ -2142,36 +1860,32 @@ namespace CMS_SC_Data
this.Rows.Add(rowAnagSchedeRow);
return rowAnagSchedeRow;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public AnagSchedeRow FindByVersCodScheda(int Vers, string CodScheda)
- {
+ public AnagSchedeRow FindByVersCodScheda(int Vers, string CodScheda) {
return ((AnagSchedeRow)(this.Rows.Find(new object[] {
Vers,
CodScheda})));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone()
- {
+ public override global::System.Data.DataTable Clone() {
AnagSchedeDataTable cln = ((AnagSchedeDataTable)(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()
- {
+ protected override global::System.Data.DataTable CreateInstance() {
return new AnagSchedeDataTable();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars()
- {
+ internal void InitVars() {
this.columnCodScheda = base.Columns["CodScheda"];
this.columnVers = base.Columns["Vers"];
this.columnDescrizione = base.Columns["Descrizione"];
@@ -2179,11 +1893,10 @@ namespace CMS_SC_Data
this.columnFasiEnab = base.Columns["FasiEnab"];
this.columnCodVisib = base.Columns["CodVisib"];
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass()
- {
+ private void InitClass() {
this.columnCodScheda = new global::System.Data.DataColumn("CodScheda", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodScheda);
this.columnVers = new global::System.Data.DataColumn("Vers", typeof(int), null, global::System.Data.MappingType.Element);
@@ -2211,83 +1924,70 @@ namespace CMS_SC_Data
this.columnCodVisib.AllowDBNull = false;
this.columnCodVisib.MaxLength = 50;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public AnagSchedeRow NewAnagSchedeRow()
- {
+ public AnagSchedeRow NewAnagSchedeRow() {
return ((AnagSchedeRow)(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)
- {
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new AnagSchedeRow(builder);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Type GetRowType()
- {
+ protected override global::System.Type GetRowType() {
return typeof(AnagSchedeRow);
}
-
+
[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)
- {
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
- if ((this.AnagSchedeRowChanged != null))
- {
+ if ((this.AnagSchedeRowChanged != null)) {
this.AnagSchedeRowChanged(this, new AnagSchedeRowChangeEvent(((AnagSchedeRow)(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)
- {
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
- if ((this.AnagSchedeRowChanging != null))
- {
+ if ((this.AnagSchedeRowChanging != null)) {
this.AnagSchedeRowChanging(this, new AnagSchedeRowChangeEvent(((AnagSchedeRow)(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)
- {
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
- if ((this.AnagSchedeRowDeleted != null))
- {
+ if ((this.AnagSchedeRowDeleted != null)) {
this.AnagSchedeRowDeleted(this, new AnagSchedeRowChangeEvent(((AnagSchedeRow)(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)
- {
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
- if ((this.AnagSchedeRowDeleting != null))
- {
+ if ((this.AnagSchedeRowDeleting != null)) {
this.AnagSchedeRowDeleting(this, new AnagSchedeRowChangeEvent(((AnagSchedeRow)(e.Row)), e.Action));
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemoveAnagSchedeRow(AnagSchedeRow row)
- {
+ public void RemoveAnagSchedeRow(AnagSchedeRow 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)
- {
+ 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();
@@ -2312,43 +2012,34 @@ namespace CMS_SC_Data
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace))
- {
+ 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
- {
+ try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();)
- {
+ 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))
- {
+ if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte()));)
- {
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
;
}
- if ((s1.Position == s1.Length))
- {
+ if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
- finally
- {
- if ((s1 != null))
- {
+ finally {
+ if ((s1 != null)) {
s1.Close();
}
- if ((s2 != null))
- {
+ if ((s2 != null)) {
s2.Close();
}
}
@@ -2357,182 +2048,155 @@ namespace CMS_SC_Data
return type;
}
}
-
+
///
///Represents the strongly named DataTable class.
///
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class DettSchedaDataTable : global::System.Data.TypedTableBase
- {
-
+ public partial class DettSchedaDataTable : global::System.Data.TypedTableBase {
+
private global::System.Data.DataColumn columnCodScheda;
-
+
private global::System.Data.DataColumn columnVers;
-
+
private global::System.Data.DataColumn columnCodMisura;
-
+
private global::System.Data.DataColumn columnNomeMisura;
-
+
private global::System.Data.DataColumn columnTipoValMisura;
-
+
private global::System.Data.DataColumn columnNomePar;
-
+
private global::System.Data.DataColumn columnCodVisib;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public DettSchedaDataTable()
- {
+ public DettSchedaDataTable() {
this.TableName = "DettScheda";
this.BeginInit();
this.InitClass();
this.EndInit();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal DettSchedaDataTable(global::System.Data.DataTable table)
- {
+ internal DettSchedaDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive))
- {
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString()))
- {
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
- if ((table.Namespace != table.DataSet.Namespace))
- {
+ 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 DettSchedaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context)
- {
+ protected DettSchedaDataTable(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 CodSchedaColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodSchedaColumn {
+ get {
return this.columnCodScheda;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn VersColumn
- {
- get
- {
+ public global::System.Data.DataColumn VersColumn {
+ get {
return this.columnVers;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CodMisuraColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodMisuraColumn {
+ get {
return this.columnCodMisura;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn NomeMisuraColumn
- {
- get
- {
+ public global::System.Data.DataColumn NomeMisuraColumn {
+ get {
return this.columnNomeMisura;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn TipoValMisuraColumn
- {
- get
- {
+ public global::System.Data.DataColumn TipoValMisuraColumn {
+ get {
return this.columnTipoValMisura;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn NomeParColumn
- {
- get
- {
+ public global::System.Data.DataColumn NomeParColumn {
+ get {
return this.columnNomePar;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CodVisibColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodVisibColumn {
+ get {
return this.columnCodVisib;
}
}
-
+
[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
- {
+ 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 DettSchedaRow this[int index]
- {
- get
- {
+ public DettSchedaRow this[int index] {
+ get {
return ((DettSchedaRow)(this.Rows[index]));
}
}
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event DettSchedaRowChangeEventHandler DettSchedaRowChanging;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event DettSchedaRowChangeEventHandler DettSchedaRowChanged;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event DettSchedaRowChangeEventHandler DettSchedaRowDeleting;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event DettSchedaRowChangeEventHandler DettSchedaRowDeleted;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddDettSchedaRow(DettSchedaRow row)
- {
+ public void AddDettSchedaRow(DettSchedaRow row) {
this.Rows.Add(row);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public DettSchedaRow AddDettSchedaRow(string CodScheda, int Vers, string CodMisura, string NomeMisura, string TipoValMisura, string NomePar, string CodVisib)
- {
+ public DettSchedaRow AddDettSchedaRow(string CodScheda, int Vers, string CodMisura, string NomeMisura, string TipoValMisura, string NomePar, string CodVisib) {
DettSchedaRow rowDettSchedaRow = ((DettSchedaRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
CodScheda,
@@ -2546,37 +2210,33 @@ namespace CMS_SC_Data
this.Rows.Add(rowDettSchedaRow);
return rowDettSchedaRow;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public DettSchedaRow FindByCodSchedaVersCodMisura(string CodScheda, int Vers, string CodMisura)
- {
+ public DettSchedaRow FindByCodSchedaVersCodMisura(string CodScheda, int Vers, string CodMisura) {
return ((DettSchedaRow)(this.Rows.Find(new object[] {
CodScheda,
Vers,
CodMisura})));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone()
- {
+ public override global::System.Data.DataTable Clone() {
DettSchedaDataTable cln = ((DettSchedaDataTable)(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()
- {
+ protected override global::System.Data.DataTable CreateInstance() {
return new DettSchedaDataTable();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars()
- {
+ internal void InitVars() {
this.columnCodScheda = base.Columns["CodScheda"];
this.columnVers = base.Columns["Vers"];
this.columnCodMisura = base.Columns["CodMisura"];
@@ -2585,11 +2245,10 @@ namespace CMS_SC_Data
this.columnNomePar = base.Columns["NomePar"];
this.columnCodVisib = base.Columns["CodVisib"];
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass()
- {
+ private void InitClass() {
this.columnCodScheda = new global::System.Data.DataColumn("CodScheda", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodScheda);
this.columnVers = new global::System.Data.DataColumn("Vers", typeof(int), null, global::System.Data.MappingType.Element);
@@ -2622,83 +2281,70 @@ namespace CMS_SC_Data
this.columnCodVisib.AllowDBNull = false;
this.columnCodVisib.MaxLength = 50;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public DettSchedaRow NewDettSchedaRow()
- {
+ public DettSchedaRow NewDettSchedaRow() {
return ((DettSchedaRow)(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)
- {
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new DettSchedaRow(builder);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Type GetRowType()
- {
+ protected override global::System.Type GetRowType() {
return typeof(DettSchedaRow);
}
-
+
[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)
- {
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
- if ((this.DettSchedaRowChanged != null))
- {
+ if ((this.DettSchedaRowChanged != null)) {
this.DettSchedaRowChanged(this, new DettSchedaRowChangeEvent(((DettSchedaRow)(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)
- {
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
- if ((this.DettSchedaRowChanging != null))
- {
+ if ((this.DettSchedaRowChanging != null)) {
this.DettSchedaRowChanging(this, new DettSchedaRowChangeEvent(((DettSchedaRow)(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)
- {
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
- if ((this.DettSchedaRowDeleted != null))
- {
+ if ((this.DettSchedaRowDeleted != null)) {
this.DettSchedaRowDeleted(this, new DettSchedaRowChangeEvent(((DettSchedaRow)(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)
- {
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
- if ((this.DettSchedaRowDeleting != null))
- {
+ if ((this.DettSchedaRowDeleting != null)) {
this.DettSchedaRowDeleting(this, new DettSchedaRowChangeEvent(((DettSchedaRow)(e.Row)), e.Action));
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemoveDettSchedaRow(DettSchedaRow row)
- {
+ public void RemoveDettSchedaRow(DettSchedaRow 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)
- {
+ 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();
@@ -2723,43 +2369,34 @@ namespace CMS_SC_Data
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace))
- {
+ 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
- {
+ try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();)
- {
+ 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))
- {
+ if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte()));)
- {
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
;
}
- if ((s1.Position == s1.Length))
- {
+ if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
- finally
- {
- if ((s1 != null))
- {
+ finally {
+ if ((s1 != null)) {
s1.Close();
}
- if ((s2 != null))
- {
+ if ((s2 != null)) {
s2.Close();
}
}
@@ -2768,182 +2405,155 @@ namespace CMS_SC_Data
return type;
}
}
-
+
///
///Represents the strongly named DataTable class.
///
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class ValidValDataTable : global::System.Data.TypedTableBase
- {
-
+ public partial class ValidValDataTable : global::System.Data.TypedTableBase {
+
private global::System.Data.DataColumn columnCodScheda;
-
+
private global::System.Data.DataColumn columnVers;
-
+
private global::System.Data.DataColumn columnCodMisura;
-
+
private global::System.Data.DataColumn columnMinPar;
-
+
private global::System.Data.DataColumn columnMaxPar;
-
+
private global::System.Data.DataColumn columnLIVal;
-
+
private global::System.Data.DataColumn columnLSVal;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ValidValDataTable()
- {
+ public ValidValDataTable() {
this.TableName = "ValidVal";
this.BeginInit();
this.InitClass();
this.EndInit();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal ValidValDataTable(global::System.Data.DataTable table)
- {
+ internal ValidValDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive))
- {
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString()))
- {
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
- if ((table.Namespace != table.DataSet.Namespace))
- {
+ 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 ValidValDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context)
- {
+ protected ValidValDataTable(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 CodSchedaColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodSchedaColumn {
+ get {
return this.columnCodScheda;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn VersColumn
- {
- get
- {
+ public global::System.Data.DataColumn VersColumn {
+ get {
return this.columnVers;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CodMisuraColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodMisuraColumn {
+ get {
return this.columnCodMisura;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn MinParColumn
- {
- get
- {
+ public global::System.Data.DataColumn MinParColumn {
+ get {
return this.columnMinPar;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn MaxParColumn
- {
- get
- {
+ public global::System.Data.DataColumn MaxParColumn {
+ get {
return this.columnMaxPar;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn LIValColumn
- {
- get
- {
+ public global::System.Data.DataColumn LIValColumn {
+ get {
return this.columnLIVal;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn LSValColumn
- {
- get
- {
+ public global::System.Data.DataColumn LSValColumn {
+ get {
return this.columnLSVal;
}
}
-
+
[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
- {
+ 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 ValidValRow this[int index]
- {
- get
- {
+ public ValidValRow this[int index] {
+ get {
return ((ValidValRow)(this.Rows[index]));
}
}
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ValidValRowChangeEventHandler ValidValRowChanging;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ValidValRowChangeEventHandler ValidValRowChanged;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ValidValRowChangeEventHandler ValidValRowDeleting;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ValidValRowChangeEventHandler ValidValRowDeleted;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddValidValRow(ValidValRow row)
- {
+ public void AddValidValRow(ValidValRow row) {
this.Rows.Add(row);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ValidValRow AddValidValRow(string CodScheda, int Vers, string CodMisura, double MinPar, double MaxPar, double LIVal, double LSVal)
- {
+ public ValidValRow AddValidValRow(string CodScheda, int Vers, string CodMisura, double MinPar, double MaxPar, double LIVal, double LSVal) {
ValidValRow rowValidValRow = ((ValidValRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
CodScheda,
@@ -2957,38 +2567,34 @@ namespace CMS_SC_Data
this.Rows.Add(rowValidValRow);
return rowValidValRow;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ValidValRow FindByCodSchedaVersCodMisuraMinPar(string CodScheda, int Vers, string CodMisura, double MinPar)
- {
+ public ValidValRow FindByCodSchedaVersCodMisuraMinPar(string CodScheda, int Vers, string CodMisura, double MinPar) {
return ((ValidValRow)(this.Rows.Find(new object[] {
CodScheda,
Vers,
CodMisura,
MinPar})));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone()
- {
+ public override global::System.Data.DataTable Clone() {
ValidValDataTable cln = ((ValidValDataTable)(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()
- {
+ protected override global::System.Data.DataTable CreateInstance() {
return new ValidValDataTable();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars()
- {
+ internal void InitVars() {
this.columnCodScheda = base.Columns["CodScheda"];
this.columnVers = base.Columns["Vers"];
this.columnCodMisura = base.Columns["CodMisura"];
@@ -2997,11 +2603,10 @@ namespace CMS_SC_Data
this.columnLIVal = base.Columns["LIVal"];
this.columnLSVal = base.Columns["LSVal"];
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass()
- {
+ private void InitClass() {
this.columnCodScheda = new global::System.Data.DataColumn("CodScheda", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodScheda);
this.columnVers = new global::System.Data.DataColumn("Vers", typeof(int), null, global::System.Data.MappingType.Element);
@@ -3031,83 +2636,70 @@ namespace CMS_SC_Data
this.columnLIVal.AllowDBNull = false;
this.columnLSVal.AllowDBNull = false;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ValidValRow NewValidValRow()
- {
+ public ValidValRow NewValidValRow() {
return ((ValidValRow)(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)
- {
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new ValidValRow(builder);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Type GetRowType()
- {
+ protected override global::System.Type GetRowType() {
return typeof(ValidValRow);
}
-
+
[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)
- {
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
- if ((this.ValidValRowChanged != null))
- {
+ if ((this.ValidValRowChanged != null)) {
this.ValidValRowChanged(this, new ValidValRowChangeEvent(((ValidValRow)(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)
- {
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
- if ((this.ValidValRowChanging != null))
- {
+ if ((this.ValidValRowChanging != null)) {
this.ValidValRowChanging(this, new ValidValRowChangeEvent(((ValidValRow)(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)
- {
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
- if ((this.ValidValRowDeleted != null))
- {
+ if ((this.ValidValRowDeleted != null)) {
this.ValidValRowDeleted(this, new ValidValRowChangeEvent(((ValidValRow)(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)
- {
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
- if ((this.ValidValRowDeleting != null))
- {
+ if ((this.ValidValRowDeleting != null)) {
this.ValidValRowDeleting(this, new ValidValRowChangeEvent(((ValidValRow)(e.Row)), e.Action));
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemoveValidValRow(ValidValRow row)
- {
+ public void RemoveValidValRow(ValidValRow 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)
- {
+ 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();
@@ -3132,43 +2724,34 @@ namespace CMS_SC_Data
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace))
- {
+ 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
- {
+ try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();)
- {
+ 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))
- {
+ if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte()));)
- {
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
;
}
- if ((s1.Position == s1.Length))
- {
+ if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
- finally
- {
- if ((s1 != null))
- {
+ finally {
+ if ((s1 != null)) {
s1.Close();
}
- if ((s2 != null))
- {
+ if ((s2 != null)) {
s2.Close();
}
}
@@ -3177,206 +2760,175 @@ namespace CMS_SC_Data
return type;
}
}
-
+
///
///Represents the strongly named DataTable class.
///
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class SchemaCollFamMaccDataTable : global::System.Data.TypedTableBase
- {
-
+ public partial class SchemaCollFamMaccDataTable : global::System.Data.TypedTableBase {
+
private global::System.Data.DataColumn columnCodFam;
-
+
private global::System.Data.DataColumn columnCodScheda;
-
+
private global::System.Data.DataColumn columnVers;
-
+
private global::System.Data.DataColumn columnCodSchedaVers;
-
+
private global::System.Data.DataColumn columnDescrScheda;
-
+
private global::System.Data.DataColumn columnPath;
-
+
private global::System.Data.DataColumn columnNumSchede;
-
+
private global::System.Data.DataColumn columnDescrizione;
-
+
private global::System.Data.DataColumn columnopz;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public SchemaCollFamMaccDataTable()
- {
+ public SchemaCollFamMaccDataTable() {
this.TableName = "SchemaCollFamMacc";
this.BeginInit();
this.InitClass();
this.EndInit();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal SchemaCollFamMaccDataTable(global::System.Data.DataTable table)
- {
+ internal SchemaCollFamMaccDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive))
- {
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString()))
- {
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
- if ((table.Namespace != table.DataSet.Namespace))
- {
+ 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 SchemaCollFamMaccDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context)
- {
+ protected SchemaCollFamMaccDataTable(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 CodFamColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodFamColumn {
+ get {
return this.columnCodFam;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CodSchedaColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodSchedaColumn {
+ get {
return this.columnCodScheda;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn VersColumn
- {
- get
- {
+ public global::System.Data.DataColumn VersColumn {
+ get {
return this.columnVers;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CodSchedaVersColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodSchedaVersColumn {
+ get {
return this.columnCodSchedaVers;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn DescrSchedaColumn
- {
- get
- {
+ public global::System.Data.DataColumn DescrSchedaColumn {
+ get {
return this.columnDescrScheda;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn PathColumn
- {
- get
- {
+ public global::System.Data.DataColumn PathColumn {
+ get {
return this.columnPath;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn NumSchedeColumn
- {
- get
- {
+ public global::System.Data.DataColumn NumSchedeColumn {
+ get {
return this.columnNumSchede;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn DescrizioneColumn
- {
- get
- {
+ 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 opzColumn
- {
- get
- {
+ public global::System.Data.DataColumn opzColumn {
+ get {
return this.columnopz;
}
}
-
+
[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
- {
+ 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 SchemaCollFamMaccRow this[int index]
- {
- get
- {
+ public SchemaCollFamMaccRow this[int index] {
+ get {
return ((SchemaCollFamMaccRow)(this.Rows[index]));
}
}
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event SchemaCollFamMaccRowChangeEventHandler SchemaCollFamMaccRowChanging;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event SchemaCollFamMaccRowChangeEventHandler SchemaCollFamMaccRowChanged;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event SchemaCollFamMaccRowChangeEventHandler SchemaCollFamMaccRowDeleting;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event SchemaCollFamMaccRowChangeEventHandler SchemaCollFamMaccRowDeleted;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddSchemaCollFamMaccRow(SchemaCollFamMaccRow row)
- {
+ public void AddSchemaCollFamMaccRow(SchemaCollFamMaccRow row) {
this.Rows.Add(row);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public SchemaCollFamMaccRow AddSchemaCollFamMaccRow(ElencoFamMaccRow parentElencoFamMaccRowByFK_SchemaCollFamMacc_ElencoFamMacc, string CodScheda, int Vers, string CodSchedaVers, string DescrScheda, string Path, int NumSchede, string Descrizione, string opz)
- {
+ public SchemaCollFamMaccRow AddSchemaCollFamMaccRow(ElencoFamMaccRow parentElencoFamMaccRowByFK_SchemaCollFamMacc_ElencoFamMacc, string CodScheda, int Vers, string CodSchedaVers, string DescrScheda, string Path, int NumSchede, string Descrizione, string opz) {
SchemaCollFamMaccRow rowSchemaCollFamMaccRow = ((SchemaCollFamMaccRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -3388,45 +2940,40 @@ namespace CMS_SC_Data
NumSchede,
Descrizione,
opz};
- if ((parentElencoFamMaccRowByFK_SchemaCollFamMacc_ElencoFamMacc != null))
- {
+ if ((parentElencoFamMaccRowByFK_SchemaCollFamMacc_ElencoFamMacc != null)) {
columnValuesArray[0] = parentElencoFamMaccRowByFK_SchemaCollFamMacc_ElencoFamMacc[0];
}
rowSchemaCollFamMaccRow.ItemArray = columnValuesArray;
this.Rows.Add(rowSchemaCollFamMaccRow);
return rowSchemaCollFamMaccRow;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public SchemaCollFamMaccRow FindByCodFamCodSchedaVers(string CodFam, string CodScheda, int Vers)
- {
+ public SchemaCollFamMaccRow FindByCodFamCodSchedaVers(string CodFam, string CodScheda, int Vers) {
return ((SchemaCollFamMaccRow)(this.Rows.Find(new object[] {
CodFam,
CodScheda,
Vers})));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone()
- {
+ public override global::System.Data.DataTable Clone() {
SchemaCollFamMaccDataTable cln = ((SchemaCollFamMaccDataTable)(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()
- {
+ protected override global::System.Data.DataTable CreateInstance() {
return new SchemaCollFamMaccDataTable();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars()
- {
+ internal void InitVars() {
this.columnCodFam = base.Columns["CodFam"];
this.columnCodScheda = base.Columns["CodScheda"];
this.columnVers = base.Columns["Vers"];
@@ -3437,11 +2984,10 @@ namespace CMS_SC_Data
this.columnDescrizione = base.Columns["Descrizione"];
this.columnopz = base.Columns["opz"];
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass()
- {
+ private void InitClass() {
this.columnCodFam = new global::System.Data.DataColumn("CodFam", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodFam);
this.columnCodScheda = new global::System.Data.DataColumn("CodScheda", typeof(string), null, global::System.Data.MappingType.Element);
@@ -3480,83 +3026,70 @@ namespace CMS_SC_Data
this.columnopz.AllowDBNull = false;
this.columnopz.MaxLength = 50;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public SchemaCollFamMaccRow NewSchemaCollFamMaccRow()
- {
+ public SchemaCollFamMaccRow NewSchemaCollFamMaccRow() {
return ((SchemaCollFamMaccRow)(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)
- {
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new SchemaCollFamMaccRow(builder);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Type GetRowType()
- {
+ protected override global::System.Type GetRowType() {
return typeof(SchemaCollFamMaccRow);
}
-
+
[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)
- {
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
- if ((this.SchemaCollFamMaccRowChanged != null))
- {
+ if ((this.SchemaCollFamMaccRowChanged != null)) {
this.SchemaCollFamMaccRowChanged(this, new SchemaCollFamMaccRowChangeEvent(((SchemaCollFamMaccRow)(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)
- {
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
- if ((this.SchemaCollFamMaccRowChanging != null))
- {
+ if ((this.SchemaCollFamMaccRowChanging != null)) {
this.SchemaCollFamMaccRowChanging(this, new SchemaCollFamMaccRowChangeEvent(((SchemaCollFamMaccRow)(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)
- {
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
- if ((this.SchemaCollFamMaccRowDeleted != null))
- {
+ if ((this.SchemaCollFamMaccRowDeleted != null)) {
this.SchemaCollFamMaccRowDeleted(this, new SchemaCollFamMaccRowChangeEvent(((SchemaCollFamMaccRow)(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)
- {
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
- if ((this.SchemaCollFamMaccRowDeleting != null))
- {
+ if ((this.SchemaCollFamMaccRowDeleting != null)) {
this.SchemaCollFamMaccRowDeleting(this, new SchemaCollFamMaccRowChangeEvent(((SchemaCollFamMaccRow)(e.Row)), e.Action));
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemoveSchemaCollFamMaccRow(SchemaCollFamMaccRow row)
- {
+ public void RemoveSchemaCollFamMaccRow(SchemaCollFamMaccRow 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)
- {
+ 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();
@@ -3581,43 +3114,34 @@ namespace CMS_SC_Data
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace))
- {
+ 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
- {
+ try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();)
- {
+ 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))
- {
+ if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte()));)
- {
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
;
}
- if ((s1.Position == s1.Length))
- {
+ if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
- finally
- {
- if ((s1 != null))
- {
+ finally {
+ if ((s1 != null)) {
s1.Close();
}
- if ((s2 != null))
- {
+ if ((s2 != null)) {
s2.Close();
}
}
@@ -3626,218 +3150,185 @@ namespace CMS_SC_Data
return type;
}
}
-
+
///
///Represents the strongly named DataTable class.
///
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class ElencoDossierDataTable : global::System.Data.TypedTableBase
- {
-
+ public partial class ElencoDossierDataTable : global::System.Data.TypedTableBase {
+
private global::System.Data.DataColumn columnIdxDossier;
-
+
private global::System.Data.DataColumn columnMatricola;
-
+
private global::System.Data.DataColumn columnDataCreazione;
-
+
private global::System.Data.DataColumn columnUserCreazione;
-
+
private global::System.Data.DataColumn columnNumSchede;
-
+
private global::System.Data.DataColumn columnNumMisReq;
-
+
private global::System.Data.DataColumn columnNumMisEff;
-
+
private global::System.Data.DataColumn columnStato;
-
+
private global::System.Data.DataColumn columnDescrMacchina;
-
+
private global::System.Data.DataColumn columnNote;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoDossierDataTable()
- {
+ public ElencoDossierDataTable() {
this.TableName = "ElencoDossier";
this.BeginInit();
this.InitClass();
this.EndInit();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal ElencoDossierDataTable(global::System.Data.DataTable table)
- {
+ internal ElencoDossierDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive))
- {
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString()))
- {
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
- if ((table.Namespace != table.DataSet.Namespace))
- {
+ 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 ElencoDossierDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context)
- {
+ protected ElencoDossierDataTable(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 IdxDossierColumn
- {
- get
- {
+ public global::System.Data.DataColumn IdxDossierColumn {
+ get {
return this.columnIdxDossier;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn MatricolaColumn
- {
- get
- {
+ 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 DataCreazioneColumn
- {
- get
- {
+ public global::System.Data.DataColumn DataCreazioneColumn {
+ get {
return this.columnDataCreazione;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn UserCreazioneColumn
- {
- get
- {
+ public global::System.Data.DataColumn UserCreazioneColumn {
+ get {
return this.columnUserCreazione;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn NumSchedeColumn
- {
- get
- {
+ public global::System.Data.DataColumn NumSchedeColumn {
+ get {
return this.columnNumSchede;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn NumMisReqColumn
- {
- get
- {
+ public global::System.Data.DataColumn NumMisReqColumn {
+ get {
return this.columnNumMisReq;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn NumMisEffColumn
- {
- get
- {
+ public global::System.Data.DataColumn NumMisEffColumn {
+ get {
return this.columnNumMisEff;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn StatoColumn
- {
- get
- {
+ 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 DescrMacchinaColumn
- {
- get
- {
+ public global::System.Data.DataColumn DescrMacchinaColumn {
+ get {
return this.columnDescrMacchina;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn NoteColumn
- {
- get
- {
+ 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
- {
+ 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 ElencoDossierRow this[int index]
- {
- get
- {
+ public ElencoDossierRow this[int index] {
+ get {
return ((ElencoDossierRow)(this.Rows[index]));
}
}
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ElencoDossierRowChangeEventHandler ElencoDossierRowChanging;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ElencoDossierRowChangeEventHandler ElencoDossierRowChanged;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ElencoDossierRowChangeEventHandler ElencoDossierRowDeleting;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ElencoDossierRowChangeEventHandler ElencoDossierRowDeleted;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddElencoDossierRow(ElencoDossierRow row)
- {
+ public void AddElencoDossierRow(ElencoDossierRow row) {
this.Rows.Add(row);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoDossierRow AddElencoDossierRow(ElencoMacchineCNRow parentElencoMacchineCNRowByFK_ElencoDossier_ElencoMacchineCN, System.DateTime DataCreazione, string UserCreazione, int NumSchede, int NumMisReq, int NumMisEff, string Stato, string DescrMacchina, string Note)
- {
+ public ElencoDossierRow AddElencoDossierRow(ElencoMacchineCNRow parentElencoMacchineCNRowByFK_ElencoDossier_ElencoMacchineCN, System.DateTime DataCreazione, string UserCreazione, int NumSchede, int NumMisReq, int NumMisEff, string Stato, string DescrMacchina, string Note) {
ElencoDossierRow rowElencoDossierRow = ((ElencoDossierRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -3850,43 +3341,38 @@ namespace CMS_SC_Data
Stato,
DescrMacchina,
Note};
- if ((parentElencoMacchineCNRowByFK_ElencoDossier_ElencoMacchineCN != null))
- {
+ if ((parentElencoMacchineCNRowByFK_ElencoDossier_ElencoMacchineCN != null)) {
columnValuesArray[1] = parentElencoMacchineCNRowByFK_ElencoDossier_ElencoMacchineCN[0];
}
rowElencoDossierRow.ItemArray = columnValuesArray;
this.Rows.Add(rowElencoDossierRow);
return rowElencoDossierRow;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoDossierRow FindByIdxDossier(int IdxDossier)
- {
+ public ElencoDossierRow FindByIdxDossier(int IdxDossier) {
return ((ElencoDossierRow)(this.Rows.Find(new object[] {
IdxDossier})));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone()
- {
+ public override global::System.Data.DataTable Clone() {
ElencoDossierDataTable cln = ((ElencoDossierDataTable)(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()
- {
+ protected override global::System.Data.DataTable CreateInstance() {
return new ElencoDossierDataTable();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars()
- {
+ internal void InitVars() {
this.columnIdxDossier = base.Columns["IdxDossier"];
this.columnMatricola = base.Columns["Matricola"];
this.columnDataCreazione = base.Columns["DataCreazione"];
@@ -3898,11 +3384,10 @@ namespace CMS_SC_Data
this.columnDescrMacchina = base.Columns["DescrMacchina"];
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()
- {
+ private void InitClass() {
this.columnIdxDossier = new global::System.Data.DataColumn("IdxDossier", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnIdxDossier);
this.columnMatricola = new global::System.Data.DataColumn("Matricola", typeof(string), null, global::System.Data.MappingType.Element);
@@ -3944,83 +3429,70 @@ namespace CMS_SC_Data
this.columnNote.ReadOnly = true;
this.columnNote.MaxLength = 2147483647;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoDossierRow NewElencoDossierRow()
- {
+ public ElencoDossierRow NewElencoDossierRow() {
return ((ElencoDossierRow)(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)
- {
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new ElencoDossierRow(builder);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Type GetRowType()
- {
+ protected override global::System.Type GetRowType() {
return typeof(ElencoDossierRow);
}
-
+
[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)
- {
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
- if ((this.ElencoDossierRowChanged != null))
- {
+ if ((this.ElencoDossierRowChanged != null)) {
this.ElencoDossierRowChanged(this, new ElencoDossierRowChangeEvent(((ElencoDossierRow)(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)
- {
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
- if ((this.ElencoDossierRowChanging != null))
- {
+ if ((this.ElencoDossierRowChanging != null)) {
this.ElencoDossierRowChanging(this, new ElencoDossierRowChangeEvent(((ElencoDossierRow)(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)
- {
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
- if ((this.ElencoDossierRowDeleted != null))
- {
+ if ((this.ElencoDossierRowDeleted != null)) {
this.ElencoDossierRowDeleted(this, new ElencoDossierRowChangeEvent(((ElencoDossierRow)(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)
- {
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
- if ((this.ElencoDossierRowDeleting != null))
- {
+ if ((this.ElencoDossierRowDeleting != null)) {
this.ElencoDossierRowDeleting(this, new ElencoDossierRowChangeEvent(((ElencoDossierRow)(e.Row)), e.Action));
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemoveElencoDossierRow(ElencoDossierRow row)
- {
+ public void RemoveElencoDossierRow(ElencoDossierRow 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)
- {
+ 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();
@@ -4045,43 +3517,34 @@ namespace CMS_SC_Data
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace))
- {
+ 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
- {
+ try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();)
- {
+ 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))
- {
+ if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte()));)
- {
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
;
}
- if ((s1.Position == s1.Length))
- {
+ if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
- finally
- {
- if ((s1 != null))
- {
+ finally {
+ if ((s1 != null)) {
s1.Close();
}
- if ((s2 != null))
- {
+ if ((s2 != null)) {
s2.Close();
}
}
@@ -4090,182 +3553,155 @@ namespace CMS_SC_Data
return type;
}
}
-
+
///
///Represents the strongly named DataTable class.
///
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class SchemaCollMaccDataTable : global::System.Data.TypedTableBase
- {
-
+ public partial class SchemaCollMaccDataTable : global::System.Data.TypedTableBase {
+
private global::System.Data.DataColumn columnIdxDossier;
-
+
private global::System.Data.DataColumn columnCodScheda;
-
+
private global::System.Data.DataColumn columnVers;
-
+
private global::System.Data.DataColumn columnNumScheda;
-
+
private global::System.Data.DataColumn columnDescrizione;
-
+
private global::System.Data.DataColumn columnopz;
-
+
private global::System.Data.DataColumn columnFasiEnab;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public SchemaCollMaccDataTable()
- {
+ public SchemaCollMaccDataTable() {
this.TableName = "SchemaCollMacc";
this.BeginInit();
this.InitClass();
this.EndInit();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal SchemaCollMaccDataTable(global::System.Data.DataTable table)
- {
+ internal SchemaCollMaccDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive))
- {
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString()))
- {
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
- if ((table.Namespace != table.DataSet.Namespace))
- {
+ 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 SchemaCollMaccDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context)
- {
+ protected SchemaCollMaccDataTable(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 IdxDossierColumn
- {
- get
- {
+ public global::System.Data.DataColumn IdxDossierColumn {
+ get {
return this.columnIdxDossier;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CodSchedaColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodSchedaColumn {
+ get {
return this.columnCodScheda;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn VersColumn
- {
- get
- {
+ public global::System.Data.DataColumn VersColumn {
+ get {
return this.columnVers;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn NumSchedaColumn
- {
- get
- {
+ public global::System.Data.DataColumn NumSchedaColumn {
+ get {
return this.columnNumScheda;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn DescrizioneColumn
- {
- get
- {
+ 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 opzColumn
- {
- get
- {
+ public global::System.Data.DataColumn opzColumn {
+ get {
return this.columnopz;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn FasiEnabColumn
- {
- get
- {
+ public global::System.Data.DataColumn FasiEnabColumn {
+ get {
return this.columnFasiEnab;
}
}
-
+
[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
- {
+ 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 SchemaCollMaccRow this[int index]
- {
- get
- {
+ public SchemaCollMaccRow this[int index] {
+ get {
return ((SchemaCollMaccRow)(this.Rows[index]));
}
}
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event SchemaCollMaccRowChangeEventHandler SchemaCollMaccRowChanging;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event SchemaCollMaccRowChangeEventHandler SchemaCollMaccRowChanged;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event SchemaCollMaccRowChangeEventHandler SchemaCollMaccRowDeleting;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event SchemaCollMaccRowChangeEventHandler SchemaCollMaccRowDeleted;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddSchemaCollMaccRow(SchemaCollMaccRow row)
- {
+ public void AddSchemaCollMaccRow(SchemaCollMaccRow row) {
this.Rows.Add(row);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public SchemaCollMaccRow AddSchemaCollMaccRow(ElencoDossierRow parentElencoDossierRowByFK_SchemaCollMacc_ElencoDossier, string CodScheda, int Vers, int NumScheda, string Descrizione, string opz, string FasiEnab)
- {
+ public SchemaCollMaccRow AddSchemaCollMaccRow(ElencoDossierRow parentElencoDossierRowByFK_SchemaCollMacc_ElencoDossier, string CodScheda, int Vers, int NumScheda, string Descrizione, string opz, string FasiEnab) {
SchemaCollMaccRow rowSchemaCollMaccRow = ((SchemaCollMaccRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -4275,46 +3711,41 @@ namespace CMS_SC_Data
Descrizione,
opz,
FasiEnab};
- if ((parentElencoDossierRowByFK_SchemaCollMacc_ElencoDossier != null))
- {
+ if ((parentElencoDossierRowByFK_SchemaCollMacc_ElencoDossier != null)) {
columnValuesArray[0] = parentElencoDossierRowByFK_SchemaCollMacc_ElencoDossier[0];
}
rowSchemaCollMaccRow.ItemArray = columnValuesArray;
this.Rows.Add(rowSchemaCollMaccRow);
return rowSchemaCollMaccRow;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public SchemaCollMaccRow FindByIdxDossierCodSchedaVersNumScheda(int IdxDossier, string CodScheda, int Vers, int NumScheda)
- {
+ public SchemaCollMaccRow FindByIdxDossierCodSchedaVersNumScheda(int IdxDossier, string CodScheda, int Vers, int NumScheda) {
return ((SchemaCollMaccRow)(this.Rows.Find(new object[] {
IdxDossier,
CodScheda,
Vers,
NumScheda})));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone()
- {
+ public override global::System.Data.DataTable Clone() {
SchemaCollMaccDataTable cln = ((SchemaCollMaccDataTable)(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()
- {
+ protected override global::System.Data.DataTable CreateInstance() {
return new SchemaCollMaccDataTable();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars()
- {
+ internal void InitVars() {
this.columnIdxDossier = base.Columns["IdxDossier"];
this.columnCodScheda = base.Columns["CodScheda"];
this.columnVers = base.Columns["Vers"];
@@ -4323,11 +3754,10 @@ namespace CMS_SC_Data
this.columnopz = base.Columns["opz"];
this.columnFasiEnab = base.Columns["FasiEnab"];
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass()
- {
+ private void InitClass() {
this.columnIdxDossier = new global::System.Data.DataColumn("IdxDossier", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnIdxDossier);
this.columnCodScheda = new global::System.Data.DataColumn("CodScheda", typeof(string), null, global::System.Data.MappingType.Element);
@@ -4358,83 +3788,70 @@ namespace CMS_SC_Data
this.columnFasiEnab.AllowDBNull = false;
this.columnFasiEnab.MaxLength = 2147483647;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public SchemaCollMaccRow NewSchemaCollMaccRow()
- {
+ public SchemaCollMaccRow NewSchemaCollMaccRow() {
return ((SchemaCollMaccRow)(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)
- {
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new SchemaCollMaccRow(builder);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Type GetRowType()
- {
+ protected override global::System.Type GetRowType() {
return typeof(SchemaCollMaccRow);
}
-
+
[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)
- {
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
- if ((this.SchemaCollMaccRowChanged != null))
- {
+ if ((this.SchemaCollMaccRowChanged != null)) {
this.SchemaCollMaccRowChanged(this, new SchemaCollMaccRowChangeEvent(((SchemaCollMaccRow)(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)
- {
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
- if ((this.SchemaCollMaccRowChanging != null))
- {
+ if ((this.SchemaCollMaccRowChanging != null)) {
this.SchemaCollMaccRowChanging(this, new SchemaCollMaccRowChangeEvent(((SchemaCollMaccRow)(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)
- {
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
- if ((this.SchemaCollMaccRowDeleted != null))
- {
+ if ((this.SchemaCollMaccRowDeleted != null)) {
this.SchemaCollMaccRowDeleted(this, new SchemaCollMaccRowChangeEvent(((SchemaCollMaccRow)(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)
- {
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
- if ((this.SchemaCollMaccRowDeleting != null))
- {
+ if ((this.SchemaCollMaccRowDeleting != null)) {
this.SchemaCollMaccRowDeleting(this, new SchemaCollMaccRowChangeEvent(((SchemaCollMaccRow)(e.Row)), e.Action));
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemoveSchemaCollMaccRow(SchemaCollMaccRow row)
- {
+ public void RemoveSchemaCollMaccRow(SchemaCollMaccRow 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)
- {
+ 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();
@@ -4459,43 +3876,34 @@ namespace CMS_SC_Data
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace))
- {
+ 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
- {
+ try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();)
- {
+ 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))
- {
+ if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte()));)
- {
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
;
}
- if ((s1.Position == s1.Length))
- {
+ if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
- finally
- {
- if ((s1 != null))
- {
+ finally {
+ if ((s1 != null)) {
s1.Close();
}
- if ((s2 != null))
- {
+ if ((s2 != null)) {
s2.Close();
}
}
@@ -4504,371 +3912,316 @@ namespace CMS_SC_Data
return type;
}
}
-
+
///
///Represents the strongly named DataTable class.
///
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class MisureDataTable : global::System.Data.TypedTableBase
- {
-
+ public partial class MisureDataTable : global::System.Data.TypedTableBase {
+
private global::System.Data.DataColumn columnIdxDossier;
-
+
private global::System.Data.DataColumn columnCodScheda;
-
+
private global::System.Data.DataColumn columnVers;
-
+
private global::System.Data.DataColumn columnNumScheda;
-
+
private global::System.Data.DataColumn columnCodMisura;
-
+
private global::System.Data.DataColumn columnFase;
-
+
private global::System.Data.DataColumn columnOperatore;
-
+
private global::System.Data.DataColumn columnDataOra;
-
+
private global::System.Data.DataColumn columnValorePar;
-
+
private global::System.Data.DataColumn columnValoreMis;
-
+
private global::System.Data.DataColumn columnOkValMis;
-
+
private global::System.Data.DataColumn columnCodDeroga;
-
+
private global::System.Data.DataColumn columnNomeMisura;
-
+
private global::System.Data.DataColumn columnTipoValMisura;
-
+
private global::System.Data.DataColumn columnNomePar;
-
+
private global::System.Data.DataColumn columnMinPar;
-
+
private global::System.Data.DataColumn columnMaxPar;
-
+
private global::System.Data.DataColumn columnLIVal;
-
+
private global::System.Data.DataColumn columnLSVal;
-
+
private global::System.Data.DataColumn columnCodSchedaVersNum;
-
+
private global::System.Data.DataColumn columnCodVisib;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public MisureDataTable()
- {
+ public MisureDataTable() {
this.TableName = "Misure";
this.BeginInit();
this.InitClass();
this.EndInit();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal MisureDataTable(global::System.Data.DataTable table)
- {
+ internal MisureDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive))
- {
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString()))
- {
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
- if ((table.Namespace != table.DataSet.Namespace))
- {
+ 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 MisureDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context)
- {
+ protected MisureDataTable(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 IdxDossierColumn
- {
- get
- {
+ public global::System.Data.DataColumn IdxDossierColumn {
+ get {
return this.columnIdxDossier;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CodSchedaColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodSchedaColumn {
+ get {
return this.columnCodScheda;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn VersColumn
- {
- get
- {
+ public global::System.Data.DataColumn VersColumn {
+ get {
return this.columnVers;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn NumSchedaColumn
- {
- get
- {
+ public global::System.Data.DataColumn NumSchedaColumn {
+ get {
return this.columnNumScheda;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CodMisuraColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodMisuraColumn {
+ get {
return this.columnCodMisura;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn FaseColumn
- {
- get
- {
+ public global::System.Data.DataColumn FaseColumn {
+ get {
return this.columnFase;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn OperatoreColumn
- {
- get
- {
+ public global::System.Data.DataColumn OperatoreColumn {
+ get {
return this.columnOperatore;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn DataOraColumn
- {
- get
- {
+ 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 ValoreParColumn
- {
- get
- {
+ public global::System.Data.DataColumn ValoreParColumn {
+ get {
return this.columnValorePar;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn ValoreMisColumn
- {
- get
- {
+ public global::System.Data.DataColumn ValoreMisColumn {
+ get {
return this.columnValoreMis;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn OkValMisColumn
- {
- get
- {
+ public global::System.Data.DataColumn OkValMisColumn {
+ get {
return this.columnOkValMis;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CodDerogaColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodDerogaColumn {
+ get {
return this.columnCodDeroga;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn NomeMisuraColumn
- {
- get
- {
+ public global::System.Data.DataColumn NomeMisuraColumn {
+ get {
return this.columnNomeMisura;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn TipoValMisuraColumn
- {
- get
- {
+ public global::System.Data.DataColumn TipoValMisuraColumn {
+ get {
return this.columnTipoValMisura;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn NomeParColumn
- {
- get
- {
+ public global::System.Data.DataColumn NomeParColumn {
+ get {
return this.columnNomePar;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn MinParColumn
- {
- get
- {
+ public global::System.Data.DataColumn MinParColumn {
+ get {
return this.columnMinPar;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn MaxParColumn
- {
- get
- {
+ public global::System.Data.DataColumn MaxParColumn {
+ get {
return this.columnMaxPar;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn LIValColumn
- {
- get
- {
+ public global::System.Data.DataColumn LIValColumn {
+ get {
return this.columnLIVal;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn LSValColumn
- {
- get
- {
+ public global::System.Data.DataColumn LSValColumn {
+ get {
return this.columnLSVal;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CodSchedaVersNumColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodSchedaVersNumColumn {
+ get {
return this.columnCodSchedaVersNum;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CodVisibColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodVisibColumn {
+ get {
return this.columnCodVisib;
}
}
-
+
[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
- {
+ 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 MisureRow this[int index]
- {
- get
- {
+ public MisureRow this[int index] {
+ get {
return ((MisureRow)(this.Rows[index]));
}
}
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event MisureRowChangeEventHandler MisureRowChanging;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event MisureRowChangeEventHandler MisureRowChanged;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event MisureRowChangeEventHandler MisureRowDeleting;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event MisureRowChangeEventHandler MisureRowDeleted;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddMisureRow(MisureRow row)
- {
+ public void AddMisureRow(MisureRow row) {
this.Rows.Add(row);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public MisureRow AddMisureRow(
- int IdxDossier,
- string CodScheda,
- int Vers,
- int NumScheda,
- string CodMisura,
- AnagFasiRow parentAnagFasiRowByFK_IstanzeMisura_AnagFasi1,
- string Operatore,
- System.DateTime DataOra,
- double ValorePar,
- string ValoreMis,
- bool OkValMis,
- string CodDeroga,
- string NomeMisura,
- string TipoValMisura,
- string NomePar,
- double MinPar,
- double MaxPar,
- double LIVal,
- double LSVal,
- string CodSchedaVersNum,
- string CodVisib)
- {
+ int IdxDossier,
+ string CodScheda,
+ int Vers,
+ int NumScheda,
+ string CodMisura,
+ AnagFasiRow parentAnagFasiRowByFK_IstanzeMisura_AnagFasi1,
+ string Operatore,
+ System.DateTime DataOra,
+ double ValorePar,
+ string ValoreMis,
+ bool OkValMis,
+ string CodDeroga,
+ string NomeMisura,
+ string TipoValMisura,
+ string NomePar,
+ double MinPar,
+ double MaxPar,
+ double LIVal,
+ double LSVal,
+ string CodSchedaVersNum,
+ string CodVisib) {
MisureRow rowMisureRow = ((MisureRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
IdxDossier,
@@ -4892,19 +4245,17 @@ namespace CMS_SC_Data
LSVal,
CodSchedaVersNum,
CodVisib};
- if ((parentAnagFasiRowByFK_IstanzeMisura_AnagFasi1 != null))
- {
+ if ((parentAnagFasiRowByFK_IstanzeMisura_AnagFasi1 != null)) {
columnValuesArray[5] = parentAnagFasiRowByFK_IstanzeMisura_AnagFasi1[0];
}
rowMisureRow.ItemArray = columnValuesArray;
this.Rows.Add(rowMisureRow);
return rowMisureRow;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public MisureRow FindByIdxDossierCodSchedaVersNumSchedaCodMisuraFase(int IdxDossier, string CodScheda, int Vers, int NumScheda, string CodMisura, string Fase)
- {
+ public MisureRow FindByIdxDossierCodSchedaVersNumSchedaCodMisuraFase(int IdxDossier, string CodScheda, int Vers, int NumScheda, string CodMisura, string Fase) {
return ((MisureRow)(this.Rows.Find(new object[] {
IdxDossier,
CodScheda,
@@ -4913,27 +4264,24 @@ namespace CMS_SC_Data
CodMisura,
Fase})));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone()
- {
+ public override global::System.Data.DataTable Clone() {
MisureDataTable cln = ((MisureDataTable)(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()
- {
+ protected override global::System.Data.DataTable CreateInstance() {
return new MisureDataTable();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars()
- {
+ internal void InitVars() {
this.columnIdxDossier = base.Columns["IdxDossier"];
this.columnCodScheda = base.Columns["CodScheda"];
this.columnVers = base.Columns["Vers"];
@@ -4956,11 +4304,10 @@ namespace CMS_SC_Data
this.columnCodSchedaVersNum = base.Columns["CodSchedaVersNum"];
this.columnCodVisib = base.Columns["CodVisib"];
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass()
- {
+ private void InitClass() {
this.columnIdxDossier = new global::System.Data.DataColumn("IdxDossier", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnIdxDossier);
this.columnCodScheda = new global::System.Data.DataColumn("CodScheda", typeof(string), null, global::System.Data.MappingType.Element);
@@ -5039,83 +4386,70 @@ namespace CMS_SC_Data
this.columnCodVisib.AllowDBNull = false;
this.columnCodVisib.MaxLength = 50;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public MisureRow NewMisureRow()
- {
+ public MisureRow NewMisureRow() {
return ((MisureRow)(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)
- {
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new MisureRow(builder);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Type GetRowType()
- {
+ protected override global::System.Type GetRowType() {
return typeof(MisureRow);
}
-
+
[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)
- {
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
- if ((this.MisureRowChanged != null))
- {
+ if ((this.MisureRowChanged != null)) {
this.MisureRowChanged(this, new MisureRowChangeEvent(((MisureRow)(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)
- {
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
- if ((this.MisureRowChanging != null))
- {
+ if ((this.MisureRowChanging != null)) {
this.MisureRowChanging(this, new MisureRowChangeEvent(((MisureRow)(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)
- {
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
- if ((this.MisureRowDeleted != null))
- {
+ if ((this.MisureRowDeleted != null)) {
this.MisureRowDeleted(this, new MisureRowChangeEvent(((MisureRow)(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)
- {
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
- if ((this.MisureRowDeleting != null))
- {
+ if ((this.MisureRowDeleting != null)) {
this.MisureRowDeleting(this, new MisureRowChangeEvent(((MisureRow)(e.Row)), e.Action));
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemoveMisureRow(MisureRow row)
- {
+ public void RemoveMisureRow(MisureRow 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)
- {
+ 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();
@@ -5140,43 +4474,34 @@ namespace CMS_SC_Data
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace))
- {
+ 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
- {
+ try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();)
- {
+ 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))
- {
+ if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte()));)
- {
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
;
}
- if ((s1.Position == s1.Length))
- {
+ if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
- finally
- {
- if ((s1 != null))
- {
+ finally {
+ if ((s1 != null)) {
s1.Close();
}
- if ((s2 != null))
- {
+ if ((s2 != null)) {
s2.Close();
}
}
@@ -5185,410 +4510,349 @@ namespace CMS_SC_Data
return type;
}
}
-
+
///
///Represents the strongly named DataTable class.
///
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class ReportDataDataTable : global::System.Data.TypedTableBase
- {
-
+ public partial class ReportDataDataTable : global::System.Data.TypedTableBase {
+
private global::System.Data.DataColumn columnIdxDossier;
-
+
private global::System.Data.DataColumn columnCodSchedaVersNum;
-
+
private global::System.Data.DataColumn columnCodScheda;
-
+
private global::System.Data.DataColumn columnVers;
-
+
private global::System.Data.DataColumn columnNumScheda;
-
+
private global::System.Data.DataColumn columnCodMisura;
-
+
private global::System.Data.DataColumn columnFase;
-
+
private global::System.Data.DataColumn columnOperatore;
-
+
private global::System.Data.DataColumn columnDataOra;
-
+
private global::System.Data.DataColumn columnValorePar;
-
+
private global::System.Data.DataColumn columnValoreMis;
-
+
private global::System.Data.DataColumn columnOkValMis;
-
+
private global::System.Data.DataColumn columnCodDeroga;
-
+
private global::System.Data.DataColumn columnNomeMisura;
-
+
private global::System.Data.DataColumn columnTipoValMisura;
-
+
private global::System.Data.DataColumn columnNomePar;
-
+
private global::System.Data.DataColumn columnMinPar;
-
+
private global::System.Data.DataColumn columnMaxPar;
-
+
private global::System.Data.DataColumn columnLIVal;
-
+
private global::System.Data.DataColumn columnLSVal;
-
+
private global::System.Data.DataColumn columnDescFase;
-
+
private global::System.Data.DataColumn columnCliente;
-
+
private global::System.Data.DataColumn columnMatrMacchina;
-
+
private global::System.Data.DataColumn columnDescMacchina;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ReportDataDataTable()
- {
+ public ReportDataDataTable() {
this.TableName = "ReportData";
this.BeginInit();
this.InitClass();
this.EndInit();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal ReportDataDataTable(global::System.Data.DataTable table)
- {
+ internal ReportDataDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive))
- {
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString()))
- {
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
- if ((table.Namespace != table.DataSet.Namespace))
- {
+ 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 ReportDataDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context)
- {
+ protected ReportDataDataTable(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 IdxDossierColumn
- {
- get
- {
+ public global::System.Data.DataColumn IdxDossierColumn {
+ get {
return this.columnIdxDossier;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CodSchedaVersNumColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodSchedaVersNumColumn {
+ get {
return this.columnCodSchedaVersNum;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CodSchedaColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodSchedaColumn {
+ get {
return this.columnCodScheda;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn VersColumn
- {
- get
- {
+ public global::System.Data.DataColumn VersColumn {
+ get {
return this.columnVers;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn NumSchedaColumn
- {
- get
- {
+ public global::System.Data.DataColumn NumSchedaColumn {
+ get {
return this.columnNumScheda;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CodMisuraColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodMisuraColumn {
+ get {
return this.columnCodMisura;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn FaseColumn
- {
- get
- {
+ public global::System.Data.DataColumn FaseColumn {
+ get {
return this.columnFase;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn OperatoreColumn
- {
- get
- {
+ public global::System.Data.DataColumn OperatoreColumn {
+ get {
return this.columnOperatore;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn DataOraColumn
- {
- get
- {
+ 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 ValoreParColumn
- {
- get
- {
+ public global::System.Data.DataColumn ValoreParColumn {
+ get {
return this.columnValorePar;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn ValoreMisColumn
- {
- get
- {
+ public global::System.Data.DataColumn ValoreMisColumn {
+ get {
return this.columnValoreMis;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn OkValMisColumn
- {
- get
- {
+ public global::System.Data.DataColumn OkValMisColumn {
+ get {
return this.columnOkValMis;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CodDerogaColumn
- {
- get
- {
+ public global::System.Data.DataColumn CodDerogaColumn {
+ get {
return this.columnCodDeroga;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn NomeMisuraColumn
- {
- get
- {
+ public global::System.Data.DataColumn NomeMisuraColumn {
+ get {
return this.columnNomeMisura;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn TipoValMisuraColumn
- {
- get
- {
+ public global::System.Data.DataColumn TipoValMisuraColumn {
+ get {
return this.columnTipoValMisura;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn NomeParColumn
- {
- get
- {
+ public global::System.Data.DataColumn NomeParColumn {
+ get {
return this.columnNomePar;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn MinParColumn
- {
- get
- {
+ public global::System.Data.DataColumn MinParColumn {
+ get {
return this.columnMinPar;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn MaxParColumn
- {
- get
- {
+ public global::System.Data.DataColumn MaxParColumn {
+ get {
return this.columnMaxPar;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn LIValColumn
- {
- get
- {
+ public global::System.Data.DataColumn LIValColumn {
+ get {
return this.columnLIVal;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn LSValColumn
- {
- get
- {
+ public global::System.Data.DataColumn LSValColumn {
+ get {
return this.columnLSVal;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn DescFaseColumn
- {
- get
- {
+ public global::System.Data.DataColumn DescFaseColumn {
+ get {
return this.columnDescFase;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn ClienteColumn
- {
- get
- {
+ 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 MatrMacchinaColumn
- {
- get
- {
+ public global::System.Data.DataColumn MatrMacchinaColumn {
+ get {
return this.columnMatrMacchina;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn DescMacchinaColumn
- {
- get
- {
+ public global::System.Data.DataColumn DescMacchinaColumn {
+ get {
return this.columnDescMacchina;
}
}
-
+
[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
- {
+ 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 ReportDataRow this[int index]
- {
- get
- {
+ public ReportDataRow this[int index] {
+ get {
return ((ReportDataRow)(this.Rows[index]));
}
}
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ReportDataRowChangeEventHandler ReportDataRowChanging;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ReportDataRowChangeEventHandler ReportDataRowChanged;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ReportDataRowChangeEventHandler ReportDataRowDeleting;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event ReportDataRowChangeEventHandler ReportDataRowDeleted;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddReportDataRow(ReportDataRow row)
- {
+ public void AddReportDataRow(ReportDataRow row) {
this.Rows.Add(row);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public ReportDataRow AddReportDataRow(
- int IdxDossier,
- string CodSchedaVersNum,
- string CodScheda,
- int Vers,
- int NumScheda,
- string CodMisura,
- string Fase,
- string Operatore,
- System.DateTime DataOra,
- double ValorePar,
- string ValoreMis,
- bool OkValMis,
- string CodDeroga,
- string NomeMisura,
- string TipoValMisura,
- string NomePar,
- double MinPar,
- double MaxPar,
- double LIVal,
- double LSVal,
- string DescFase,
- string Cliente,
- string MatrMacchina,
- string DescMacchina)
- {
+ int IdxDossier,
+ string CodSchedaVersNum,
+ string CodScheda,
+ int Vers,
+ int NumScheda,
+ string CodMisura,
+ string Fase,
+ string Operatore,
+ System.DateTime DataOra,
+ double ValorePar,
+ string ValoreMis,
+ bool OkValMis,
+ string CodDeroga,
+ string NomeMisura,
+ string TipoValMisura,
+ string NomePar,
+ double MinPar,
+ double MaxPar,
+ double LIVal,
+ double LSVal,
+ string DescFase,
+ string Cliente,
+ string MatrMacchina,
+ string DescMacchina) {
ReportDataRow rowReportDataRow = ((ReportDataRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
IdxDossier,
@@ -5619,27 +4883,24 @@ namespace CMS_SC_Data
this.Rows.Add(rowReportDataRow);
return rowReportDataRow;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone()
- {
+ public override global::System.Data.DataTable Clone() {
ReportDataDataTable cln = ((ReportDataDataTable)(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()
- {
+ protected override global::System.Data.DataTable CreateInstance() {
return new ReportDataDataTable();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars()
- {
+ internal void InitVars() {
this.columnIdxDossier = base.Columns["IdxDossier"];
this.columnCodSchedaVersNum = base.Columns["CodSchedaVersNum"];
this.columnCodScheda = base.Columns["CodScheda"];
@@ -5665,11 +4926,10 @@ namespace CMS_SC_Data
this.columnMatrMacchina = base.Columns["MatrMacchina"];
this.columnDescMacchina = base.Columns["DescMacchina"];
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass()
- {
+ private void InitClass() {
this.columnIdxDossier = new global::System.Data.DataColumn("IdxDossier", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnIdxDossier);
this.columnCodSchedaVersNum = new global::System.Data.DataColumn("CodSchedaVersNum", typeof(string), null, global::System.Data.MappingType.Element);
@@ -5752,83 +5012,70 @@ namespace CMS_SC_Data
this.columnDescMacchina.AllowDBNull = false;
this.columnDescMacchina.MaxLength = 50;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ReportDataRow NewReportDataRow()
- {
+ public ReportDataRow NewReportDataRow() {
return ((ReportDataRow)(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)
- {
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new ReportDataRow(builder);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Type GetRowType()
- {
+ protected override global::System.Type GetRowType() {
return typeof(ReportDataRow);
}
-
+
[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)
- {
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
- if ((this.ReportDataRowChanged != null))
- {
+ if ((this.ReportDataRowChanged != null)) {
this.ReportDataRowChanged(this, new ReportDataRowChangeEvent(((ReportDataRow)(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)
- {
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
- if ((this.ReportDataRowChanging != null))
- {
+ if ((this.ReportDataRowChanging != null)) {
this.ReportDataRowChanging(this, new ReportDataRowChangeEvent(((ReportDataRow)(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)
- {
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
- if ((this.ReportDataRowDeleted != null))
- {
+ if ((this.ReportDataRowDeleted != null)) {
this.ReportDataRowDeleted(this, new ReportDataRowChangeEvent(((ReportDataRow)(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)
- {
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
- if ((this.ReportDataRowDeleting != null))
- {
+ if ((this.ReportDataRowDeleting != null)) {
this.ReportDataRowDeleting(this, new ReportDataRowChangeEvent(((ReportDataRow)(e.Row)), e.Action));
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemoveReportDataRow(ReportDataRow row)
- {
+ public void RemoveReportDataRow(ReportDataRow 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)
- {
+ 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();
@@ -5853,43 +5100,34 @@ namespace CMS_SC_Data
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace))
- {
+ 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
- {
+ try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();)
- {
+ 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))
- {
+ if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte()));)
- {
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
;
}
- if ((s1.Position == s1.Length))
- {
+ if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
- finally
- {
- if ((s1 != null))
- {
+ finally {
+ if ((s1 != null)) {
s1.Close();
}
- if ((s2 != null))
- {
+ if ((s2 != null)) {
s2.Close();
}
}
@@ -5898,176 +5136,152 @@ namespace CMS_SC_Data
return type;
}
}
-
+
///
///Represents the strongly named DataTable class.
///
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class Tags2MacchineDataTable : global::System.Data.TypedTableBase
- {
-
+ public partial class Tags2MacchineDataTable : global::System.Data.TypedTableBase {
+
private global::System.Data.DataColumn columnMatricola;
-
+
private global::System.Data.DataColumn columnTagCode;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public Tags2MacchineDataTable()
- {
+ public Tags2MacchineDataTable() {
this.TableName = "Tags2Macchine";
this.BeginInit();
this.InitClass();
this.EndInit();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal Tags2MacchineDataTable(global::System.Data.DataTable table)
- {
+ internal Tags2MacchineDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive))
- {
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString()))
- {
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
- if ((table.Namespace != table.DataSet.Namespace))
- {
+ 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 Tags2MacchineDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context)
- {
+ protected Tags2MacchineDataTable(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 MatricolaColumn
- {
- get
- {
+ 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 TagCodeColumn
- {
- get
- {
+ public global::System.Data.DataColumn TagCodeColumn {
+ get {
return this.columnTagCode;
}
}
-
+
[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
- {
+ 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 Tags2MacchineRow this[int index]
- {
- get
- {
+ public Tags2MacchineRow this[int index] {
+ get {
return ((Tags2MacchineRow)(this.Rows[index]));
}
}
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event Tags2MacchineRowChangeEventHandler Tags2MacchineRowChanging;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event Tags2MacchineRowChangeEventHandler Tags2MacchineRowChanged;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event Tags2MacchineRowChangeEventHandler Tags2MacchineRowDeleting;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event Tags2MacchineRowChangeEventHandler Tags2MacchineRowDeleted;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddTags2MacchineRow(Tags2MacchineRow row)
- {
+ public void AddTags2MacchineRow(Tags2MacchineRow row) {
this.Rows.Add(row);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public Tags2MacchineRow AddTags2MacchineRow(ElencoMacchineCNRow parentElencoMacchineCNRowByFK_Tags2Macchine_ElencoMacchineCN, AnagTagsRow parentAnagTagsRowByFK_Tags2Macchine_AnagTags)
- {
+ public Tags2MacchineRow AddTags2MacchineRow(ElencoMacchineCNRow parentElencoMacchineCNRowByFK_Tags2Macchine_ElencoMacchineCN, AnagTagsRow parentAnagTagsRowByFK_Tags2Macchine_AnagTags) {
Tags2MacchineRow rowTags2MacchineRow = ((Tags2MacchineRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
null};
- if ((parentElencoMacchineCNRowByFK_Tags2Macchine_ElencoMacchineCN != null))
- {
+ if ((parentElencoMacchineCNRowByFK_Tags2Macchine_ElencoMacchineCN != null)) {
columnValuesArray[0] = parentElencoMacchineCNRowByFK_Tags2Macchine_ElencoMacchineCN[0];
}
- if ((parentAnagTagsRowByFK_Tags2Macchine_AnagTags != null))
- {
+ if ((parentAnagTagsRowByFK_Tags2Macchine_AnagTags != null)) {
columnValuesArray[1] = parentAnagTagsRowByFK_Tags2Macchine_AnagTags[0];
}
rowTags2MacchineRow.ItemArray = columnValuesArray;
this.Rows.Add(rowTags2MacchineRow);
return rowTags2MacchineRow;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public Tags2MacchineRow FindByMatricolaTagCode(string Matricola, string TagCode)
- {
+ public Tags2MacchineRow FindByMatricolaTagCode(string Matricola, string TagCode) {
return ((Tags2MacchineRow)(this.Rows.Find(new object[] {
Matricola,
TagCode})));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone()
- {
+ public override global::System.Data.DataTable Clone() {
Tags2MacchineDataTable cln = ((Tags2MacchineDataTable)(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()
- {
+ protected override global::System.Data.DataTable CreateInstance() {
return new Tags2MacchineDataTable();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars()
- {
+ internal void InitVars() {
this.columnMatricola = base.Columns["Matricola"];
this.columnTagCode = base.Columns["TagCode"];
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass()
- {
+ private void InitClass() {
this.columnMatricola = new global::System.Data.DataColumn("Matricola", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMatricola);
this.columnTagCode = new global::System.Data.DataColumn("TagCode", typeof(string), null, global::System.Data.MappingType.Element);
@@ -6080,83 +5294,70 @@ namespace CMS_SC_Data
this.columnTagCode.AllowDBNull = false;
this.columnTagCode.MaxLength = 50;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public Tags2MacchineRow NewTags2MacchineRow()
- {
+ public Tags2MacchineRow NewTags2MacchineRow() {
return ((Tags2MacchineRow)(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)
- {
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new Tags2MacchineRow(builder);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Type GetRowType()
- {
+ protected override global::System.Type GetRowType() {
return typeof(Tags2MacchineRow);
}
-
+
[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)
- {
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
- if ((this.Tags2MacchineRowChanged != null))
- {
+ if ((this.Tags2MacchineRowChanged != null)) {
this.Tags2MacchineRowChanged(this, new Tags2MacchineRowChangeEvent(((Tags2MacchineRow)(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)
- {
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
- if ((this.Tags2MacchineRowChanging != null))
- {
+ if ((this.Tags2MacchineRowChanging != null)) {
this.Tags2MacchineRowChanging(this, new Tags2MacchineRowChangeEvent(((Tags2MacchineRow)(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)
- {
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
- if ((this.Tags2MacchineRowDeleted != null))
- {
+ if ((this.Tags2MacchineRowDeleted != null)) {
this.Tags2MacchineRowDeleted(this, new Tags2MacchineRowChangeEvent(((Tags2MacchineRow)(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)
- {
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
- if ((this.Tags2MacchineRowDeleting != null))
- {
+ if ((this.Tags2MacchineRowDeleting != null)) {
this.Tags2MacchineRowDeleting(this, new Tags2MacchineRowChangeEvent(((Tags2MacchineRow)(e.Row)), e.Action));
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemoveTags2MacchineRow(Tags2MacchineRow row)
- {
+ public void RemoveTags2MacchineRow(Tags2MacchineRow 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)
- {
+ 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();
@@ -6181,43 +5382,34 @@ namespace CMS_SC_Data
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace))
- {
+ 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
- {
+ try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();)
- {
+ 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))
- {
+ if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte()));)
- {
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
;
}
- if ((s1.Position == s1.Length))
- {
+ if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
- finally
- {
- if ((s1 != null))
- {
+ finally {
+ if ((s1 != null)) {
s1.Close();
}
- if ((s2 != null))
- {
+ if ((s2 != null)) {
s2.Close();
}
}
@@ -6226,122 +5418,105 @@ namespace CMS_SC_Data
return type;
}
}
-
+
///
///Represents the strongly named DataTable class.
///
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class AnagTagsDataTable : global::System.Data.TypedTableBase
- {
-
+ public partial class AnagTagsDataTable : global::System.Data.TypedTableBase {
+
private global::System.Data.DataColumn columnTagCode;
-
+
private global::System.Data.DataColumn columnDescrTag;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public AnagTagsDataTable()
- {
+ public AnagTagsDataTable() {
this.TableName = "AnagTags";
this.BeginInit();
this.InitClass();
this.EndInit();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal AnagTagsDataTable(global::System.Data.DataTable table)
- {
+ internal AnagTagsDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive))
- {
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString()))
- {
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
- if ((table.Namespace != table.DataSet.Namespace))
- {
+ 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 AnagTagsDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context)
- {
+ protected AnagTagsDataTable(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 TagCodeColumn
- {
- get
- {
+ public global::System.Data.DataColumn TagCodeColumn {
+ get {
return this.columnTagCode;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn DescrTagColumn
- {
- get
- {
+ public global::System.Data.DataColumn DescrTagColumn {
+ get {
return this.columnDescrTag;
}
}
-
+
[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
- {
+ 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 AnagTagsRow this[int index]
- {
- get
- {
+ public AnagTagsRow this[int index] {
+ get {
return ((AnagTagsRow)(this.Rows[index]));
}
}
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event AnagTagsRowChangeEventHandler AnagTagsRowChanging;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event AnagTagsRowChangeEventHandler AnagTagsRowChanged;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event AnagTagsRowChangeEventHandler AnagTagsRowDeleting;
-
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event AnagTagsRowChangeEventHandler AnagTagsRowDeleted;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddAnagTagsRow(AnagTagsRow row)
- {
+ public void AddAnagTagsRow(AnagTagsRow row) {
this.Rows.Add(row);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public AnagTagsRow AddAnagTagsRow(string TagCode, string DescrTag)
- {
+ public AnagTagsRow AddAnagTagsRow(string TagCode, string DescrTag) {
AnagTagsRow rowAnagTagsRow = ((AnagTagsRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
TagCode,
@@ -6350,43 +5525,38 @@ namespace CMS_SC_Data
this.Rows.Add(rowAnagTagsRow);
return rowAnagTagsRow;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public AnagTagsRow FindByTagCode(string TagCode)
- {
+ public AnagTagsRow FindByTagCode(string TagCode) {
return ((AnagTagsRow)(this.Rows.Find(new object[] {
TagCode})));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone()
- {
+ public override global::System.Data.DataTable Clone() {
AnagTagsDataTable cln = ((AnagTagsDataTable)(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()
- {
+ protected override global::System.Data.DataTable CreateInstance() {
return new AnagTagsDataTable();
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars()
- {
+ internal void InitVars() {
this.columnTagCode = base.Columns["TagCode"];
this.columnDescrTag = base.Columns["DescrTag"];
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass()
- {
+ private void InitClass() {
this.columnTagCode = new global::System.Data.DataColumn("TagCode", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnTagCode);
this.columnDescrTag = new global::System.Data.DataColumn("DescrTag", typeof(string), null, global::System.Data.MappingType.Element);
@@ -6398,83 +5568,70 @@ namespace CMS_SC_Data
this.columnTagCode.MaxLength = 50;
this.columnDescrTag.MaxLength = 250;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public AnagTagsRow NewAnagTagsRow()
- {
+ public AnagTagsRow NewAnagTagsRow() {
return ((AnagTagsRow)(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)
- {
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new AnagTagsRow(builder);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Type GetRowType()
- {
+ protected override global::System.Type GetRowType() {
return typeof(AnagTagsRow);
}
-
+
[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)
- {
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
- if ((this.AnagTagsRowChanged != null))
- {
+ if ((this.AnagTagsRowChanged != null)) {
this.AnagTagsRowChanged(this, new AnagTagsRowChangeEvent(((AnagTagsRow)(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)
- {
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
- if ((this.AnagTagsRowChanging != null))
- {
+ if ((this.AnagTagsRowChanging != null)) {
this.AnagTagsRowChanging(this, new AnagTagsRowChangeEvent(((AnagTagsRow)(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)
- {
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
- if ((this.AnagTagsRowDeleted != null))
- {
+ if ((this.AnagTagsRowDeleted != null)) {
this.AnagTagsRowDeleted(this, new AnagTagsRowChangeEvent(((AnagTagsRow)(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)
- {
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
- if ((this.AnagTagsRowDeleting != null))
- {
+ if ((this.AnagTagsRowDeleting != null)) {
this.AnagTagsRowDeleting(this, new AnagTagsRowChangeEvent(((AnagTagsRow)(e.Row)), e.Action));
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemoveAnagTagsRow(AnagTagsRow row)
- {
+ public void RemoveAnagTagsRow(AnagTagsRow 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)
- {
+ 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();
@@ -6499,43 +5656,34 @@ namespace CMS_SC_Data
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace))
- {
+ 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
- {
+ try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();)
- {
+ 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))
- {
+ if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte()));)
- {
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
;
}
- if ((s1.Position == s1.Length))
- {
+ if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
- finally
- {
- if ((s1 != null))
- {
+ finally {
+ if ((s1 != null)) {
s1.Close();
}
- if ((s2 != null))
- {
+ if ((s2 != null)) {
s2.Close();
}
}
@@ -6544,3056 +5692,2497 @@ namespace CMS_SC_Data
return type;
}
}
-
+
///
///Represents strongly named DataRow class.
///
- public partial class ElencoFamMaccRow : global::System.Data.DataRow
- {
-
+ public partial class ElencoFamMaccRow : global::System.Data.DataRow {
+
private ElencoFamMaccDataTable tableElencoFamMacc;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal ElencoFamMaccRow(global::System.Data.DataRowBuilder rb) :
- base(rb)
- {
+ internal ElencoFamMaccRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
this.tableElencoFamMacc = ((ElencoFamMaccDataTable)(this.Table));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodFam
- {
- get
- {
+ public string CodFam {
+ get {
return ((string)(this[this.tableElencoFamMacc.CodFamColumn]));
}
- set
- {
+ set {
this[this.tableElencoFamMacc.CodFamColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string DescrFam
- {
- get
- {
+ public string DescrFam {
+ get {
return ((string)(this[this.tableElencoFamMacc.DescrFamColumn]));
}
- set
- {
+ set {
this[this.tableElencoFamMacc.DescrFamColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoMacchineCNRow[] GetElencoMacchineCNRows()
- {
- if ((this.Table.ChildRelations["FK_ElencoMacchineCN_ElencoFamMacc"] == null))
- {
+ public int numRowChild {
+ get {
+ try {
+ return ((int)(this[this.tableElencoFamMacc.numRowChildColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'numRowChild\' in table \'ElencoFamMacc\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoFamMacc.numRowChildColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsnumRowChildNull() {
+ return this.IsNull(this.tableElencoFamMacc.numRowChildColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetnumRowChildNull() {
+ this[this.tableElencoFamMacc.numRowChildColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoMacchineCNRow[] GetElencoMacchineCNRows() {
+ if ((this.Table.ChildRelations["FK_ElencoMacchineCN_ElencoFamMacc"] == null)) {
return new ElencoMacchineCNRow[0];
}
- else
- {
+ else {
return ((ElencoMacchineCNRow[])(base.GetChildRows(this.Table.ChildRelations["FK_ElencoMacchineCN_ElencoFamMacc"])));
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public SchemaCollFamMaccRow[] GetSchemaCollFamMaccRows()
- {
- if ((this.Table.ChildRelations["FK_SchemaCollFamMacc_ElencoFamMacc"] == null))
- {
+ public SchemaCollFamMaccRow[] GetSchemaCollFamMaccRows() {
+ if ((this.Table.ChildRelations["FK_SchemaCollFamMacc_ElencoFamMacc"] == null)) {
return new SchemaCollFamMaccRow[0];
}
- else
- {
+ else {
return ((SchemaCollFamMaccRow[])(base.GetChildRows(this.Table.ChildRelations["FK_SchemaCollFamMacc_ElencoFamMacc"])));
}
}
}
-
+
///
///Represents strongly named DataRow class.
///
- public partial class ElencoMacchineCNRow : global::System.Data.DataRow
- {
-
+ public partial class ElencoMacchineCNRow : global::System.Data.DataRow {
+
private ElencoMacchineCNDataTable tableElencoMacchineCN;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal ElencoMacchineCNRow(global::System.Data.DataRowBuilder rb) :
- base(rb)
- {
+ internal ElencoMacchineCNRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
this.tableElencoMacchineCN = ((ElencoMacchineCNDataTable)(this.Table));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Matricola
- {
- get
- {
+ public string Matricola {
+ get {
return ((string)(this[this.tableElencoMacchineCN.MatricolaColumn]));
}
- set
- {
+ set {
this[this.tableElencoMacchineCN.MatricolaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Descrizione
- {
- get
- {
+ public string Descrizione {
+ get {
return ((string)(this[this.tableElencoMacchineCN.DescrizioneColumn]));
}
- set
- {
+ set {
this[this.tableElencoMacchineCN.DescrizioneColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Cliente
- {
- get
- {
+ public string Cliente {
+ get {
return ((string)(this[this.tableElencoMacchineCN.ClienteColumn]));
}
- set
- {
+ set {
this[this.tableElencoMacchineCN.ClienteColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodFam
- {
- get
- {
+ public string CodFam {
+ get {
return ((string)(this[this.tableElencoMacchineCN.CodFamColumn]));
}
- set
- {
+ set {
this[this.tableElencoMacchineCN.CodFamColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int CorsaX
- {
- get
- {
+ public int CorsaX {
+ get {
return ((int)(this[this.tableElencoMacchineCN.CorsaXColumn]));
}
- set
- {
+ set {
this[this.tableElencoMacchineCN.CorsaXColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int CorsaY
- {
- get
- {
+ public int CorsaY {
+ get {
return ((int)(this[this.tableElencoMacchineCN.CorsaYColumn]));
}
- set
- {
+ set {
this[this.tableElencoMacchineCN.CorsaYColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int CorsaZ
- {
- get
- {
+ public int CorsaZ {
+ get {
return ((int)(this[this.tableElencoMacchineCN.CorsaZColumn]));
}
- set
- {
+ set {
this[this.tableElencoMacchineCN.CorsaZColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoFamMaccRow ElencoFamMaccRow
- {
- get
- {
+ public ElencoFamMaccRow ElencoFamMaccRow {
+ get {
return ((ElencoFamMaccRow)(this.GetParentRow(this.Table.ParentRelations["FK_ElencoMacchineCN_ElencoFamMacc"])));
}
- set
- {
+ set {
this.SetParentRow(value, this.Table.ParentRelations["FK_ElencoMacchineCN_ElencoFamMacc"]);
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoDossierRow[] GetElencoDossierRows()
- {
- if ((this.Table.ChildRelations["FK_ElencoDossier_ElencoMacchineCN"] == null))
- {
+ public ElencoDossierRow[] GetElencoDossierRows() {
+ if ((this.Table.ChildRelations["FK_ElencoDossier_ElencoMacchineCN"] == null)) {
return new ElencoDossierRow[0];
}
- else
- {
+ else {
return ((ElencoDossierRow[])(base.GetChildRows(this.Table.ChildRelations["FK_ElencoDossier_ElencoMacchineCN"])));
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public Tags2MacchineRow[] GetTags2MacchineRows()
- {
- if ((this.Table.ChildRelations["FK_Tags2Macchine_ElencoMacchineCN"] == null))
- {
+ public Tags2MacchineRow[] GetTags2MacchineRows() {
+ if ((this.Table.ChildRelations["FK_Tags2Macchine_ElencoMacchineCN"] == null)) {
return new Tags2MacchineRow[0];
}
- else
- {
+ else {
return ((Tags2MacchineRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Tags2Macchine_ElencoMacchineCN"])));
}
}
}
-
+
///
///Represents strongly named DataRow class.
///
- public partial class AnagFasiRow : global::System.Data.DataRow
- {
-
+ public partial class AnagFasiRow : global::System.Data.DataRow {
+
private AnagFasiDataTable tableAnagFasi;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal AnagFasiRow(global::System.Data.DataRowBuilder rb) :
- base(rb)
- {
+ internal AnagFasiRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
this.tableAnagFasi = ((AnagFasiDataTable)(this.Table));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Fase
- {
- get
- {
+ public string Fase {
+ get {
return ((string)(this[this.tableAnagFasi.FaseColumn]));
}
- set
- {
+ set {
this[this.tableAnagFasi.FaseColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Descrizione
- {
- get
- {
- try
- {
+ public string Descrizione {
+ get {
+ try {
return ((string)(this[this.tableAnagFasi.DescrizioneColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'Descrizione\' in table \'AnagFasi\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableAnagFasi.DescrizioneColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsDescrizioneNull()
- {
+ public bool IsDescrizioneNull() {
return this.IsNull(this.tableAnagFasi.DescrizioneColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetDescrizioneNull()
- {
+ public void SetDescrizioneNull() {
this[this.tableAnagFasi.DescrizioneColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public MisureRow[] GetMisureRows()
- {
- if ((this.Table.ChildRelations["FK_IstanzeMisura_AnagFasi1"] == null))
- {
+ public MisureRow[] GetMisureRows() {
+ if ((this.Table.ChildRelations["FK_IstanzeMisura_AnagFasi1"] == null)) {
return new MisureRow[0];
}
- else
- {
+ else {
return ((MisureRow[])(base.GetChildRows(this.Table.ChildRelations["FK_IstanzeMisura_AnagFasi1"])));
}
}
}
-
+
///
///Represents strongly named DataRow class.
///
- public partial class AnagSchedeRow : global::System.Data.DataRow
- {
-
+ public partial class AnagSchedeRow : global::System.Data.DataRow {
+
private AnagSchedeDataTable tableAnagSchede;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal AnagSchedeRow(global::System.Data.DataRowBuilder rb) :
- base(rb)
- {
+ internal AnagSchedeRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
this.tableAnagSchede = ((AnagSchedeDataTable)(this.Table));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodScheda
- {
- get
- {
+ public string CodScheda {
+ get {
return ((string)(this[this.tableAnagSchede.CodSchedaColumn]));
}
- set
- {
+ set {
this[this.tableAnagSchede.CodSchedaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int Vers
- {
- get
- {
+ public int Vers {
+ get {
return ((int)(this[this.tableAnagSchede.VersColumn]));
}
- set
- {
+ set {
this[this.tableAnagSchede.VersColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Descrizione
- {
- get
- {
+ public string Descrizione {
+ get {
return ((string)(this[this.tableAnagSchede.DescrizioneColumn]));
}
- set
- {
+ set {
this[this.tableAnagSchede.DescrizioneColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Path
- {
- get
- {
+ public string Path {
+ get {
return ((string)(this[this.tableAnagSchede.PathColumn]));
}
- set
- {
+ set {
this[this.tableAnagSchede.PathColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string FasiEnab
- {
- get
- {
+ public string FasiEnab {
+ get {
return ((string)(this[this.tableAnagSchede.FasiEnabColumn]));
}
- set
- {
+ set {
this[this.tableAnagSchede.FasiEnabColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodVisib
- {
- get
- {
+ public string CodVisib {
+ get {
return ((string)(this[this.tableAnagSchede.CodVisibColumn]));
}
- set
- {
+ set {
this[this.tableAnagSchede.CodVisibColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public DettSchedaRow[] GetDettSchedaRows()
- {
- if ((this.Table.ChildRelations["FK_DettScheda_AnagSchede1"] == null))
- {
+ public DettSchedaRow[] GetDettSchedaRows() {
+ if ((this.Table.ChildRelations["FK_DettScheda_AnagSchede1"] == null)) {
return new DettSchedaRow[0];
}
- else
- {
+ else {
return ((DettSchedaRow[])(base.GetChildRows(this.Table.ChildRelations["FK_DettScheda_AnagSchede1"])));
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public SchemaCollFamMaccRow[] GetSchemaCollFamMaccRows()
- {
- if ((this.Table.ChildRelations["FK_SchemaCollFamMacc_AnagSchede1"] == null))
- {
+ public SchemaCollFamMaccRow[] GetSchemaCollFamMaccRows() {
+ if ((this.Table.ChildRelations["FK_SchemaCollFamMacc_AnagSchede1"] == null)) {
return new SchemaCollFamMaccRow[0];
}
- else
- {
+ else {
return ((SchemaCollFamMaccRow[])(base.GetChildRows(this.Table.ChildRelations["FK_SchemaCollFamMacc_AnagSchede1"])));
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public SchemaCollMaccRow[] GetSchemaCollMaccRows()
- {
- if ((this.Table.ChildRelations["FK_SchemaCollMacc_AnagSchede"] == null))
- {
+ public SchemaCollMaccRow[] GetSchemaCollMaccRows() {
+ if ((this.Table.ChildRelations["FK_SchemaCollMacc_AnagSchede"] == null)) {
return new SchemaCollMaccRow[0];
}
- else
- {
+ else {
return ((SchemaCollMaccRow[])(base.GetChildRows(this.Table.ChildRelations["FK_SchemaCollMacc_AnagSchede"])));
}
}
}
-
+
///
///Represents strongly named DataRow class.
///
- public partial class DettSchedaRow : global::System.Data.DataRow
- {
-
+ public partial class DettSchedaRow : global::System.Data.DataRow {
+
private DettSchedaDataTable tableDettScheda;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal DettSchedaRow(global::System.Data.DataRowBuilder rb) :
- base(rb)
- {
+ internal DettSchedaRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
this.tableDettScheda = ((DettSchedaDataTable)(this.Table));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodScheda
- {
- get
- {
+ public string CodScheda {
+ get {
return ((string)(this[this.tableDettScheda.CodSchedaColumn]));
}
- set
- {
+ set {
this[this.tableDettScheda.CodSchedaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int Vers
- {
- get
- {
+ public int Vers {
+ get {
return ((int)(this[this.tableDettScheda.VersColumn]));
}
- set
- {
+ set {
this[this.tableDettScheda.VersColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodMisura
- {
- get
- {
+ public string CodMisura {
+ get {
return ((string)(this[this.tableDettScheda.CodMisuraColumn]));
}
- set
- {
+ set {
this[this.tableDettScheda.CodMisuraColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string NomeMisura
- {
- get
- {
+ public string NomeMisura {
+ get {
return ((string)(this[this.tableDettScheda.NomeMisuraColumn]));
}
- set
- {
+ set {
this[this.tableDettScheda.NomeMisuraColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string TipoValMisura
- {
- get
- {
+ public string TipoValMisura {
+ get {
return ((string)(this[this.tableDettScheda.TipoValMisuraColumn]));
}
- set
- {
+ set {
this[this.tableDettScheda.TipoValMisuraColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string NomePar
- {
- get
- {
+ public string NomePar {
+ get {
return ((string)(this[this.tableDettScheda.NomeParColumn]));
}
- set
- {
+ set {
this[this.tableDettScheda.NomeParColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodVisib
- {
- get
- {
+ public string CodVisib {
+ get {
return ((string)(this[this.tableDettScheda.CodVisibColumn]));
}
- set
- {
+ set {
this[this.tableDettScheda.CodVisibColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public AnagSchedeRow AnagSchedeRowParent
- {
- get
- {
+ public AnagSchedeRow AnagSchedeRowParent {
+ get {
return ((AnagSchedeRow)(this.GetParentRow(this.Table.ParentRelations["FK_DettScheda_AnagSchede1"])));
}
- set
- {
+ set {
this.SetParentRow(value, this.Table.ParentRelations["FK_DettScheda_AnagSchede1"]);
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ValidValRow[] GetValidValRows()
- {
- if ((this.Table.ChildRelations["FK_ValidVal_DettScheda"] == null))
- {
+ public ValidValRow[] GetValidValRows() {
+ if ((this.Table.ChildRelations["FK_ValidVal_DettScheda"] == null)) {
return new ValidValRow[0];
}
- else
- {
+ else {
return ((ValidValRow[])(base.GetChildRows(this.Table.ChildRelations["FK_ValidVal_DettScheda"])));
}
}
}
-
+
///
///Represents strongly named DataRow class.
///
- public partial class ValidValRow : global::System.Data.DataRow
- {
-
+ public partial class ValidValRow : global::System.Data.DataRow {
+
private ValidValDataTable tableValidVal;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal ValidValRow(global::System.Data.DataRowBuilder rb) :
- base(rb)
- {
+ internal ValidValRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
this.tableValidVal = ((ValidValDataTable)(this.Table));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodScheda
- {
- get
- {
+ public string CodScheda {
+ get {
return ((string)(this[this.tableValidVal.CodSchedaColumn]));
}
- set
- {
+ set {
this[this.tableValidVal.CodSchedaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int Vers
- {
- get
- {
+ public int Vers {
+ get {
return ((int)(this[this.tableValidVal.VersColumn]));
}
- set
- {
+ set {
this[this.tableValidVal.VersColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodMisura
- {
- get
- {
+ public string CodMisura {
+ get {
return ((string)(this[this.tableValidVal.CodMisuraColumn]));
}
- set
- {
+ set {
this[this.tableValidVal.CodMisuraColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public double MinPar
- {
- get
- {
+ public double MinPar {
+ get {
return ((double)(this[this.tableValidVal.MinParColumn]));
}
- set
- {
+ set {
this[this.tableValidVal.MinParColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public double MaxPar
- {
- get
- {
+ public double MaxPar {
+ get {
return ((double)(this[this.tableValidVal.MaxParColumn]));
}
- set
- {
+ set {
this[this.tableValidVal.MaxParColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public double LIVal
- {
- get
- {
+ public double LIVal {
+ get {
return ((double)(this[this.tableValidVal.LIValColumn]));
}
- set
- {
+ set {
this[this.tableValidVal.LIValColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public double LSVal
- {
- get
- {
+ public double LSVal {
+ get {
return ((double)(this[this.tableValidVal.LSValColumn]));
}
- set
- {
+ set {
this[this.tableValidVal.LSValColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public DettSchedaRow DettSchedaRowParent
- {
- get
- {
+ public DettSchedaRow DettSchedaRowParent {
+ get {
return ((DettSchedaRow)(this.GetParentRow(this.Table.ParentRelations["FK_ValidVal_DettScheda"])));
}
- set
- {
+ set {
this.SetParentRow(value, this.Table.ParentRelations["FK_ValidVal_DettScheda"]);
}
}
}
-
+
///
///Represents strongly named DataRow class.
///
- public partial class SchemaCollFamMaccRow : global::System.Data.DataRow
- {
-
+ public partial class SchemaCollFamMaccRow : global::System.Data.DataRow {
+
private SchemaCollFamMaccDataTable tableSchemaCollFamMacc;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal SchemaCollFamMaccRow(global::System.Data.DataRowBuilder rb) :
- base(rb)
- {
+ internal SchemaCollFamMaccRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
this.tableSchemaCollFamMacc = ((SchemaCollFamMaccDataTable)(this.Table));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodFam
- {
- get
- {
+ public string CodFam {
+ get {
return ((string)(this[this.tableSchemaCollFamMacc.CodFamColumn]));
}
- set
- {
+ set {
this[this.tableSchemaCollFamMacc.CodFamColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodScheda
- {
- get
- {
+ public string CodScheda {
+ get {
return ((string)(this[this.tableSchemaCollFamMacc.CodSchedaColumn]));
}
- set
- {
+ set {
this[this.tableSchemaCollFamMacc.CodSchedaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int Vers
- {
- get
- {
+ public int Vers {
+ get {
return ((int)(this[this.tableSchemaCollFamMacc.VersColumn]));
}
- set
- {
+ set {
this[this.tableSchemaCollFamMacc.VersColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodSchedaVers
- {
- get
- {
- try
- {
+ public string CodSchedaVers {
+ get {
+ try {
return ((string)(this[this.tableSchemaCollFamMacc.CodSchedaVersColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'CodSchedaVers\' in table \'SchemaCollFamMacc\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableSchemaCollFamMacc.CodSchedaVersColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string DescrScheda
- {
- get
- {
+ public string DescrScheda {
+ get {
return ((string)(this[this.tableSchemaCollFamMacc.DescrSchedaColumn]));
}
- set
- {
+ set {
this[this.tableSchemaCollFamMacc.DescrSchedaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Path
- {
- get
- {
+ public string Path {
+ get {
return ((string)(this[this.tableSchemaCollFamMacc.PathColumn]));
}
- set
- {
+ set {
this[this.tableSchemaCollFamMacc.PathColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int NumSchede
- {
- get
- {
+ public int NumSchede {
+ get {
return ((int)(this[this.tableSchemaCollFamMacc.NumSchedeColumn]));
}
- set
- {
+ set {
this[this.tableSchemaCollFamMacc.NumSchedeColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Descrizione
- {
- get
- {
- try
- {
+ public string Descrizione {
+ get {
+ try {
return ((string)(this[this.tableSchemaCollFamMacc.DescrizioneColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'Descrizione\' in table \'SchemaCollFamMacc\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableSchemaCollFamMacc.DescrizioneColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string opz
- {
- get
- {
+ public string opz {
+ get {
return ((string)(this[this.tableSchemaCollFamMacc.opzColumn]));
}
- set
- {
+ set {
this[this.tableSchemaCollFamMacc.opzColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public AnagSchedeRow AnagSchedeRowParent
- {
- get
- {
+ public AnagSchedeRow AnagSchedeRowParent {
+ get {
return ((AnagSchedeRow)(this.GetParentRow(this.Table.ParentRelations["FK_SchemaCollFamMacc_AnagSchede1"])));
}
- set
- {
+ set {
this.SetParentRow(value, this.Table.ParentRelations["FK_SchemaCollFamMacc_AnagSchede1"]);
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoFamMaccRow ElencoFamMaccRow
- {
- get
- {
+ public ElencoFamMaccRow ElencoFamMaccRow {
+ get {
return ((ElencoFamMaccRow)(this.GetParentRow(this.Table.ParentRelations["FK_SchemaCollFamMacc_ElencoFamMacc"])));
}
- set
- {
+ set {
this.SetParentRow(value, this.Table.ParentRelations["FK_SchemaCollFamMacc_ElencoFamMacc"]);
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsCodSchedaVersNull()
- {
+ public bool IsCodSchedaVersNull() {
return this.IsNull(this.tableSchemaCollFamMacc.CodSchedaVersColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetCodSchedaVersNull()
- {
+ public void SetCodSchedaVersNull() {
this[this.tableSchemaCollFamMacc.CodSchedaVersColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsDescrizioneNull()
- {
+ public bool IsDescrizioneNull() {
return this.IsNull(this.tableSchemaCollFamMacc.DescrizioneColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetDescrizioneNull()
- {
+ public void SetDescrizioneNull() {
this[this.tableSchemaCollFamMacc.DescrizioneColumn] = global::System.Convert.DBNull;
}
}
-
+
///
///Represents strongly named DataRow class.
///
- public partial class ElencoDossierRow : global::System.Data.DataRow
- {
-
+ public partial class ElencoDossierRow : global::System.Data.DataRow {
+
private ElencoDossierDataTable tableElencoDossier;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal ElencoDossierRow(global::System.Data.DataRowBuilder rb) :
- base(rb)
- {
+ internal ElencoDossierRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
this.tableElencoDossier = ((ElencoDossierDataTable)(this.Table));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int IdxDossier
- {
- get
- {
+ public int IdxDossier {
+ get {
return ((int)(this[this.tableElencoDossier.IdxDossierColumn]));
}
- set
- {
+ set {
this[this.tableElencoDossier.IdxDossierColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Matricola
- {
- get
- {
+ public string Matricola {
+ get {
return ((string)(this[this.tableElencoDossier.MatricolaColumn]));
}
- set
- {
+ set {
this[this.tableElencoDossier.MatricolaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public System.DateTime DataCreazione
- {
- get
- {
- try
- {
+ public System.DateTime DataCreazione {
+ get {
+ try {
return ((global::System.DateTime)(this[this.tableElencoDossier.DataCreazioneColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DataCreazione\' in table \'ElencoDossier\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableElencoDossier.DataCreazioneColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string UserCreazione
- {
- get
- {
- try
- {
+ public string UserCreazione {
+ get {
+ try {
return ((string)(this[this.tableElencoDossier.UserCreazioneColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'UserCreazione\' in table \'ElencoDossier\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableElencoDossier.UserCreazioneColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int NumSchede
- {
- get
- {
- try
- {
+ public int NumSchede {
+ get {
+ try {
return ((int)(this[this.tableElencoDossier.NumSchedeColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'NumSchede\' in table \'ElencoDossier\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableElencoDossier.NumSchedeColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int NumMisReq
- {
- get
- {
- try
- {
+ public int NumMisReq {
+ get {
+ try {
return ((int)(this[this.tableElencoDossier.NumMisReqColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'NumMisReq\' in table \'ElencoDossier\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableElencoDossier.NumMisReqColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int NumMisEff
- {
- get
- {
- try
- {
+ public int NumMisEff {
+ get {
+ try {
return ((int)(this[this.tableElencoDossier.NumMisEffColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'NumMisEff\' in table \'ElencoDossier\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableElencoDossier.NumMisEffColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Stato
- {
- get
- {
+ public string Stato {
+ get {
return ((string)(this[this.tableElencoDossier.StatoColumn]));
}
- set
- {
+ set {
this[this.tableElencoDossier.StatoColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string DescrMacchina
- {
- get
- {
- try
- {
+ public string DescrMacchina {
+ get {
+ try {
return ((string)(this[this.tableElencoDossier.DescrMacchinaColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DescrMacchina\' in table \'ElencoDossier\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableElencoDossier.DescrMacchinaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Note
- {
- get
- {
- try
- {
+ public string Note {
+ get {
+ try {
return ((string)(this[this.tableElencoDossier.NoteColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'ElencoDossier\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableElencoDossier.NoteColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoMacchineCNRow ElencoMacchineCNRow
- {
- get
- {
+ public ElencoMacchineCNRow ElencoMacchineCNRow {
+ get {
return ((ElencoMacchineCNRow)(this.GetParentRow(this.Table.ParentRelations["FK_ElencoDossier_ElencoMacchineCN"])));
}
- set
- {
+ set {
this.SetParentRow(value, this.Table.ParentRelations["FK_ElencoDossier_ElencoMacchineCN"]);
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsDataCreazioneNull()
- {
+ public bool IsDataCreazioneNull() {
return this.IsNull(this.tableElencoDossier.DataCreazioneColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetDataCreazioneNull()
- {
+ public void SetDataCreazioneNull() {
this[this.tableElencoDossier.DataCreazioneColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsUserCreazioneNull()
- {
+ public bool IsUserCreazioneNull() {
return this.IsNull(this.tableElencoDossier.UserCreazioneColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetUserCreazioneNull()
- {
+ public void SetUserCreazioneNull() {
this[this.tableElencoDossier.UserCreazioneColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsNumSchedeNull()
- {
+ public bool IsNumSchedeNull() {
return this.IsNull(this.tableElencoDossier.NumSchedeColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetNumSchedeNull()
- {
+ public void SetNumSchedeNull() {
this[this.tableElencoDossier.NumSchedeColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsNumMisReqNull()
- {
+ public bool IsNumMisReqNull() {
return this.IsNull(this.tableElencoDossier.NumMisReqColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetNumMisReqNull()
- {
+ public void SetNumMisReqNull() {
this[this.tableElencoDossier.NumMisReqColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsNumMisEffNull()
- {
+ public bool IsNumMisEffNull() {
return this.IsNull(this.tableElencoDossier.NumMisEffColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetNumMisEffNull()
- {
+ public void SetNumMisEffNull() {
this[this.tableElencoDossier.NumMisEffColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsDescrMacchinaNull()
- {
+ public bool IsDescrMacchinaNull() {
return this.IsNull(this.tableElencoDossier.DescrMacchinaColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetDescrMacchinaNull()
- {
+ public void SetDescrMacchinaNull() {
this[this.tableElencoDossier.DescrMacchinaColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsNoteNull()
- {
+ public bool IsNoteNull() {
return this.IsNull(this.tableElencoDossier.NoteColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetNoteNull()
- {
+ public void SetNoteNull() {
this[this.tableElencoDossier.NoteColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public SchemaCollMaccRow[] GetSchemaCollMaccRows()
- {
- if ((this.Table.ChildRelations["FK_SchemaCollMacc_ElencoDossier"] == null))
- {
+ public SchemaCollMaccRow[] GetSchemaCollMaccRows() {
+ if ((this.Table.ChildRelations["FK_SchemaCollMacc_ElencoDossier"] == null)) {
return new SchemaCollMaccRow[0];
}
- else
- {
+ else {
return ((SchemaCollMaccRow[])(base.GetChildRows(this.Table.ChildRelations["FK_SchemaCollMacc_ElencoDossier"])));
}
}
}
-
+
///
///Represents strongly named DataRow class.
///
- public partial class SchemaCollMaccRow : global::System.Data.DataRow
- {
-
+ public partial class SchemaCollMaccRow : global::System.Data.DataRow {
+
private SchemaCollMaccDataTable tableSchemaCollMacc;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal SchemaCollMaccRow(global::System.Data.DataRowBuilder rb) :
- base(rb)
- {
+ internal SchemaCollMaccRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
this.tableSchemaCollMacc = ((SchemaCollMaccDataTable)(this.Table));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int IdxDossier
- {
- get
- {
+ public int IdxDossier {
+ get {
return ((int)(this[this.tableSchemaCollMacc.IdxDossierColumn]));
}
- set
- {
+ set {
this[this.tableSchemaCollMacc.IdxDossierColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodScheda
- {
- get
- {
+ public string CodScheda {
+ get {
return ((string)(this[this.tableSchemaCollMacc.CodSchedaColumn]));
}
- set
- {
+ set {
this[this.tableSchemaCollMacc.CodSchedaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int Vers
- {
- get
- {
+ public int Vers {
+ get {
return ((int)(this[this.tableSchemaCollMacc.VersColumn]));
}
- set
- {
+ set {
this[this.tableSchemaCollMacc.VersColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int NumScheda
- {
- get
- {
+ public int NumScheda {
+ get {
return ((int)(this[this.tableSchemaCollMacc.NumSchedaColumn]));
}
- set
- {
+ set {
this[this.tableSchemaCollMacc.NumSchedaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Descrizione
- {
- get
- {
- try
- {
+ public string Descrizione {
+ get {
+ try {
return ((string)(this[this.tableSchemaCollMacc.DescrizioneColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'Descrizione\' in table \'SchemaCollMacc\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableSchemaCollMacc.DescrizioneColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string opz
- {
- get
- {
+ public string opz {
+ get {
return ((string)(this[this.tableSchemaCollMacc.opzColumn]));
}
- set
- {
+ set {
this[this.tableSchemaCollMacc.opzColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string FasiEnab
- {
- get
- {
+ public string FasiEnab {
+ get {
return ((string)(this[this.tableSchemaCollMacc.FasiEnabColumn]));
}
- set
- {
+ set {
this[this.tableSchemaCollMacc.FasiEnabColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public AnagSchedeRow AnagSchedeRowParent
- {
- get
- {
+ public AnagSchedeRow AnagSchedeRowParent {
+ get {
return ((AnagSchedeRow)(this.GetParentRow(this.Table.ParentRelations["FK_SchemaCollMacc_AnagSchede"])));
}
- set
- {
+ set {
this.SetParentRow(value, this.Table.ParentRelations["FK_SchemaCollMacc_AnagSchede"]);
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoDossierRow ElencoDossierRow
- {
- get
- {
+ public ElencoDossierRow ElencoDossierRow {
+ get {
return ((ElencoDossierRow)(this.GetParentRow(this.Table.ParentRelations["FK_SchemaCollMacc_ElencoDossier"])));
}
- set
- {
+ set {
this.SetParentRow(value, this.Table.ParentRelations["FK_SchemaCollMacc_ElencoDossier"]);
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsDescrizioneNull()
- {
+ public bool IsDescrizioneNull() {
return this.IsNull(this.tableSchemaCollMacc.DescrizioneColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetDescrizioneNull()
- {
+ public void SetDescrizioneNull() {
this[this.tableSchemaCollMacc.DescrizioneColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public MisureRow[] GetMisureRows()
- {
- if ((this.Table.ChildRelations["FK_Misure_SchemaCollMacc1"] == null))
- {
+ public MisureRow[] GetMisureRows() {
+ if ((this.Table.ChildRelations["FK_Misure_SchemaCollMacc1"] == null)) {
return new MisureRow[0];
}
- else
- {
+ else {
return ((MisureRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Misure_SchemaCollMacc1"])));
}
}
}
-
+
///
///Represents strongly named DataRow class.
///
- public partial class MisureRow : global::System.Data.DataRow
- {
-
+ public partial class MisureRow : global::System.Data.DataRow {
+
private MisureDataTable tableMisure;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal MisureRow(global::System.Data.DataRowBuilder rb) :
- base(rb)
- {
+ internal MisureRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
this.tableMisure = ((MisureDataTable)(this.Table));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int IdxDossier
- {
- get
- {
+ public int IdxDossier {
+ get {
return ((int)(this[this.tableMisure.IdxDossierColumn]));
}
- set
- {
+ set {
this[this.tableMisure.IdxDossierColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodScheda
- {
- get
- {
+ public string CodScheda {
+ get {
return ((string)(this[this.tableMisure.CodSchedaColumn]));
}
- set
- {
+ set {
this[this.tableMisure.CodSchedaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int Vers
- {
- get
- {
+ public int Vers {
+ get {
return ((int)(this[this.tableMisure.VersColumn]));
}
- set
- {
+ set {
this[this.tableMisure.VersColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int NumScheda
- {
- get
- {
+ public int NumScheda {
+ get {
return ((int)(this[this.tableMisure.NumSchedaColumn]));
}
- set
- {
+ set {
this[this.tableMisure.NumSchedaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodMisura
- {
- get
- {
+ public string CodMisura {
+ get {
return ((string)(this[this.tableMisure.CodMisuraColumn]));
}
- set
- {
+ set {
this[this.tableMisure.CodMisuraColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Fase
- {
- get
- {
+ public string Fase {
+ get {
return ((string)(this[this.tableMisure.FaseColumn]));
}
- set
- {
+ set {
this[this.tableMisure.FaseColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Operatore
- {
- get
- {
+ public string Operatore {
+ get {
return ((string)(this[this.tableMisure.OperatoreColumn]));
}
- set
- {
+ set {
this[this.tableMisure.OperatoreColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public System.DateTime DataOra
- {
- get
- {
+ public System.DateTime DataOra {
+ get {
return ((global::System.DateTime)(this[this.tableMisure.DataOraColumn]));
}
- set
- {
+ set {
this[this.tableMisure.DataOraColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public double ValorePar
- {
- get
- {
+ public double ValorePar {
+ get {
return ((double)(this[this.tableMisure.ValoreParColumn]));
}
- set
- {
+ set {
this[this.tableMisure.ValoreParColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string ValoreMis
- {
- get
- {
+ public string ValoreMis {
+ get {
return ((string)(this[this.tableMisure.ValoreMisColumn]));
}
- set
- {
+ set {
this[this.tableMisure.ValoreMisColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool OkValMis
- {
- get
- {
+ public bool OkValMis {
+ get {
return ((bool)(this[this.tableMisure.OkValMisColumn]));
}
- set
- {
+ set {
this[this.tableMisure.OkValMisColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodDeroga
- {
- get
- {
+ public string CodDeroga {
+ get {
return ((string)(this[this.tableMisure.CodDerogaColumn]));
}
- set
- {
+ set {
this[this.tableMisure.CodDerogaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string NomeMisura
- {
- get
- {
+ public string NomeMisura {
+ get {
return ((string)(this[this.tableMisure.NomeMisuraColumn]));
}
- set
- {
+ set {
this[this.tableMisure.NomeMisuraColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string TipoValMisura
- {
- get
- {
+ public string TipoValMisura {
+ get {
return ((string)(this[this.tableMisure.TipoValMisuraColumn]));
}
- set
- {
+ set {
this[this.tableMisure.TipoValMisuraColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string NomePar
- {
- get
- {
+ public string NomePar {
+ get {
return ((string)(this[this.tableMisure.NomeParColumn]));
}
- set
- {
+ set {
this[this.tableMisure.NomeParColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public double MinPar
- {
- get
- {
- try
- {
+ public double MinPar {
+ get {
+ try {
return ((double)(this[this.tableMisure.MinParColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'MinPar\' in table \'Misure\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableMisure.MinParColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public double MaxPar
- {
- get
- {
- try
- {
+ public double MaxPar {
+ get {
+ try {
return ((double)(this[this.tableMisure.MaxParColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'MaxPar\' in table \'Misure\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableMisure.MaxParColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public double LIVal
- {
- get
- {
- try
- {
+ public double LIVal {
+ get {
+ try {
return ((double)(this[this.tableMisure.LIValColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'LIVal\' in table \'Misure\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableMisure.LIValColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public double LSVal
- {
- get
- {
- try
- {
+ public double LSVal {
+ get {
+ try {
return ((double)(this[this.tableMisure.LSValColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'LSVal\' in table \'Misure\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableMisure.LSValColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodSchedaVersNum
- {
- get
- {
- try
- {
+ public string CodSchedaVersNum {
+ get {
+ try {
return ((string)(this[this.tableMisure.CodSchedaVersNumColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'CodSchedaVersNum\' in table \'Misure\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableMisure.CodSchedaVersNumColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodVisib
- {
- get
- {
+ public string CodVisib {
+ get {
return ((string)(this[this.tableMisure.CodVisibColumn]));
}
- set
- {
+ set {
this[this.tableMisure.CodVisibColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public AnagFasiRow AnagFasiRow
- {
- get
- {
+ public AnagFasiRow AnagFasiRow {
+ get {
return ((AnagFasiRow)(this.GetParentRow(this.Table.ParentRelations["FK_IstanzeMisura_AnagFasi1"])));
}
- set
- {
+ set {
this.SetParentRow(value, this.Table.ParentRelations["FK_IstanzeMisura_AnagFasi1"]);
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public SchemaCollMaccRow SchemaCollMaccRowParent
- {
- get
- {
+ public SchemaCollMaccRow SchemaCollMaccRowParent {
+ get {
return ((SchemaCollMaccRow)(this.GetParentRow(this.Table.ParentRelations["FK_Misure_SchemaCollMacc1"])));
}
- set
- {
+ set {
this.SetParentRow(value, this.Table.ParentRelations["FK_Misure_SchemaCollMacc1"]);
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsMinParNull()
- {
+ public bool IsMinParNull() {
return this.IsNull(this.tableMisure.MinParColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetMinParNull()
- {
+ public void SetMinParNull() {
this[this.tableMisure.MinParColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsMaxParNull()
- {
+ public bool IsMaxParNull() {
return this.IsNull(this.tableMisure.MaxParColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetMaxParNull()
- {
+ public void SetMaxParNull() {
this[this.tableMisure.MaxParColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsLIValNull()
- {
+ public bool IsLIValNull() {
return this.IsNull(this.tableMisure.LIValColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetLIValNull()
- {
+ public void SetLIValNull() {
this[this.tableMisure.LIValColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsLSValNull()
- {
+ public bool IsLSValNull() {
return this.IsNull(this.tableMisure.LSValColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetLSValNull()
- {
+ public void SetLSValNull() {
this[this.tableMisure.LSValColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsCodSchedaVersNumNull()
- {
+ public bool IsCodSchedaVersNumNull() {
return this.IsNull(this.tableMisure.CodSchedaVersNumColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetCodSchedaVersNumNull()
- {
+ public void SetCodSchedaVersNumNull() {
this[this.tableMisure.CodSchedaVersNumColumn] = global::System.Convert.DBNull;
}
}
-
+
///
///Represents strongly named DataRow class.
///
- public partial class ReportDataRow : global::System.Data.DataRow
- {
-
+ public partial class ReportDataRow : global::System.Data.DataRow {
+
private ReportDataDataTable tableReportData;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal ReportDataRow(global::System.Data.DataRowBuilder rb) :
- base(rb)
- {
+ internal ReportDataRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
this.tableReportData = ((ReportDataDataTable)(this.Table));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int IdxDossier
- {
- get
- {
+ public int IdxDossier {
+ get {
return ((int)(this[this.tableReportData.IdxDossierColumn]));
}
- set
- {
+ set {
this[this.tableReportData.IdxDossierColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodSchedaVersNum
- {
- get
- {
- try
- {
+ public string CodSchedaVersNum {
+ get {
+ try {
return ((string)(this[this.tableReportData.CodSchedaVersNumColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'CodSchedaVersNum\' in table \'ReportData\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableReportData.CodSchedaVersNumColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodScheda
- {
- get
- {
+ public string CodScheda {
+ get {
return ((string)(this[this.tableReportData.CodSchedaColumn]));
}
- set
- {
+ set {
this[this.tableReportData.CodSchedaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int Vers
- {
- get
- {
+ public int Vers {
+ get {
return ((int)(this[this.tableReportData.VersColumn]));
}
- set
- {
+ set {
this[this.tableReportData.VersColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int NumScheda
- {
- get
- {
+ public int NumScheda {
+ get {
return ((int)(this[this.tableReportData.NumSchedaColumn]));
}
- set
- {
+ set {
this[this.tableReportData.NumSchedaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodMisura
- {
- get
- {
+ public string CodMisura {
+ get {
return ((string)(this[this.tableReportData.CodMisuraColumn]));
}
- set
- {
+ set {
this[this.tableReportData.CodMisuraColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Fase
- {
- get
- {
+ public string Fase {
+ get {
return ((string)(this[this.tableReportData.FaseColumn]));
}
- set
- {
+ set {
this[this.tableReportData.FaseColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Operatore
- {
- get
- {
+ public string Operatore {
+ get {
return ((string)(this[this.tableReportData.OperatoreColumn]));
}
- set
- {
+ set {
this[this.tableReportData.OperatoreColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public System.DateTime DataOra
- {
- get
- {
+ public System.DateTime DataOra {
+ get {
return ((global::System.DateTime)(this[this.tableReportData.DataOraColumn]));
}
- set
- {
+ set {
this[this.tableReportData.DataOraColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public double ValorePar
- {
- get
- {
+ public double ValorePar {
+ get {
return ((double)(this[this.tableReportData.ValoreParColumn]));
}
- set
- {
+ set {
this[this.tableReportData.ValoreParColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string ValoreMis
- {
- get
- {
+ public string ValoreMis {
+ get {
return ((string)(this[this.tableReportData.ValoreMisColumn]));
}
- set
- {
+ set {
this[this.tableReportData.ValoreMisColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool OkValMis
- {
- get
- {
+ public bool OkValMis {
+ get {
return ((bool)(this[this.tableReportData.OkValMisColumn]));
}
- set
- {
+ set {
this[this.tableReportData.OkValMisColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodDeroga
- {
- get
- {
+ public string CodDeroga {
+ get {
return ((string)(this[this.tableReportData.CodDerogaColumn]));
}
- set
- {
+ set {
this[this.tableReportData.CodDerogaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string NomeMisura
- {
- get
- {
+ public string NomeMisura {
+ get {
return ((string)(this[this.tableReportData.NomeMisuraColumn]));
}
- set
- {
+ set {
this[this.tableReportData.NomeMisuraColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string TipoValMisura
- {
- get
- {
+ public string TipoValMisura {
+ get {
return ((string)(this[this.tableReportData.TipoValMisuraColumn]));
}
- set
- {
+ set {
this[this.tableReportData.TipoValMisuraColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string NomePar
- {
- get
- {
+ public string NomePar {
+ get {
return ((string)(this[this.tableReportData.NomeParColumn]));
}
- set
- {
+ set {
this[this.tableReportData.NomeParColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public double MinPar
- {
- get
- {
- try
- {
+ public double MinPar {
+ get {
+ try {
return ((double)(this[this.tableReportData.MinParColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'MinPar\' in table \'ReportData\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableReportData.MinParColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public double MaxPar
- {
- get
- {
- try
- {
+ public double MaxPar {
+ get {
+ try {
return ((double)(this[this.tableReportData.MaxParColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'MaxPar\' in table \'ReportData\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableReportData.MaxParColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public double LIVal
- {
- get
- {
- try
- {
+ public double LIVal {
+ get {
+ try {
return ((double)(this[this.tableReportData.LIValColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'LIVal\' in table \'ReportData\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableReportData.LIValColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public double LSVal
- {
- get
- {
- try
- {
+ public double LSVal {
+ get {
+ try {
return ((double)(this[this.tableReportData.LSValColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'LSVal\' in table \'ReportData\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableReportData.LSValColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string DescFase
- {
- get
- {
- try
- {
+ public string DescFase {
+ get {
+ try {
return ((string)(this[this.tableReportData.DescFaseColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DescFase\' in table \'ReportData\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableReportData.DescFaseColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Cliente
- {
- get
- {
+ public string Cliente {
+ get {
return ((string)(this[this.tableReportData.ClienteColumn]));
}
- set
- {
+ set {
this[this.tableReportData.ClienteColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string MatrMacchina
- {
- get
- {
+ public string MatrMacchina {
+ get {
return ((string)(this[this.tableReportData.MatrMacchinaColumn]));
}
- set
- {
+ set {
this[this.tableReportData.MatrMacchinaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string DescMacchina
- {
- get
- {
+ public string DescMacchina {
+ get {
return ((string)(this[this.tableReportData.DescMacchinaColumn]));
}
- set
- {
+ set {
this[this.tableReportData.DescMacchinaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsCodSchedaVersNumNull()
- {
+ public bool IsCodSchedaVersNumNull() {
return this.IsNull(this.tableReportData.CodSchedaVersNumColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetCodSchedaVersNumNull()
- {
+ public void SetCodSchedaVersNumNull() {
this[this.tableReportData.CodSchedaVersNumColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsMinParNull()
- {
+ public bool IsMinParNull() {
return this.IsNull(this.tableReportData.MinParColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetMinParNull()
- {
+ public void SetMinParNull() {
this[this.tableReportData.MinParColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsMaxParNull()
- {
+ public bool IsMaxParNull() {
return this.IsNull(this.tableReportData.MaxParColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetMaxParNull()
- {
+ public void SetMaxParNull() {
this[this.tableReportData.MaxParColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsLIValNull()
- {
+ public bool IsLIValNull() {
return this.IsNull(this.tableReportData.LIValColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetLIValNull()
- {
+ public void SetLIValNull() {
this[this.tableReportData.LIValColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsLSValNull()
- {
+ public bool IsLSValNull() {
return this.IsNull(this.tableReportData.LSValColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetLSValNull()
- {
+ public void SetLSValNull() {
this[this.tableReportData.LSValColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsDescFaseNull()
- {
+ public bool IsDescFaseNull() {
return this.IsNull(this.tableReportData.DescFaseColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetDescFaseNull()
- {
+ public void SetDescFaseNull() {
this[this.tableReportData.DescFaseColumn] = global::System.Convert.DBNull;
}
}
-
+
///
///Represents strongly named DataRow class.
///
- public partial class Tags2MacchineRow : global::System.Data.DataRow
- {
-
+ public partial class Tags2MacchineRow : global::System.Data.DataRow {
+
private Tags2MacchineDataTable tableTags2Macchine;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal Tags2MacchineRow(global::System.Data.DataRowBuilder rb) :
- base(rb)
- {
+ internal Tags2MacchineRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
this.tableTags2Macchine = ((Tags2MacchineDataTable)(this.Table));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string Matricola
- {
- get
- {
+ public string Matricola {
+ get {
return ((string)(this[this.tableTags2Macchine.MatricolaColumn]));
}
- set
- {
+ set {
this[this.tableTags2Macchine.MatricolaColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string TagCode
- {
- get
- {
+ public string TagCode {
+ get {
return ((string)(this[this.tableTags2Macchine.TagCodeColumn]));
}
- set
- {
+ set {
this[this.tableTags2Macchine.TagCodeColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoMacchineCNRow ElencoMacchineCNRow
- {
- get
- {
+ public ElencoMacchineCNRow ElencoMacchineCNRow {
+ get {
return ((ElencoMacchineCNRow)(this.GetParentRow(this.Table.ParentRelations["FK_Tags2Macchine_ElencoMacchineCN"])));
}
- set
- {
+ set {
this.SetParentRow(value, this.Table.ParentRelations["FK_Tags2Macchine_ElencoMacchineCN"]);
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public AnagTagsRow AnagTagsRow
- {
- get
- {
+ public AnagTagsRow AnagTagsRow {
+ get {
return ((AnagTagsRow)(this.GetParentRow(this.Table.ParentRelations["FK_Tags2Macchine_AnagTags"])));
}
- set
- {
+ set {
this.SetParentRow(value, this.Table.ParentRelations["FK_Tags2Macchine_AnagTags"]);
}
}
}
-
+
///
///Represents strongly named DataRow class.
///
- public partial class AnagTagsRow : global::System.Data.DataRow
- {
-
+ public partial class AnagTagsRow : global::System.Data.DataRow {
+
private AnagTagsDataTable tableAnagTags;
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal AnagTagsRow(global::System.Data.DataRowBuilder rb) :
- base(rb)
- {
+ internal AnagTagsRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
this.tableAnagTags = ((AnagTagsDataTable)(this.Table));
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string TagCode
- {
- get
- {
+ public string TagCode {
+ get {
return ((string)(this[this.tableAnagTags.TagCodeColumn]));
}
- set
- {
+ set {
this[this.tableAnagTags.TagCodeColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string DescrTag
- {
- get
- {
- try
- {
+ public string DescrTag {
+ get {
+ try {
return ((string)(this[this.tableAnagTags.DescrTagColumn]));
}
- catch (global::System.InvalidCastException e)
- {
+ catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DescrTag\' in table \'AnagTags\' is DBNull.", e);
}
}
- set
- {
+ set {
this[this.tableAnagTags.DescrTagColumn] = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsDescrTagNull()
- {
+ public bool IsDescrTagNull() {
return this.IsNull(this.tableAnagTags.DescrTagColumn);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetDescrTagNull()
- {
+ public void SetDescrTagNull() {
this[this.tableAnagTags.DescrTagColumn] = global::System.Convert.DBNull;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public Tags2MacchineRow[] GetTags2MacchineRows()
- {
- if ((this.Table.ChildRelations["FK_Tags2Macchine_AnagTags"] == null))
- {
+ public Tags2MacchineRow[] GetTags2MacchineRows() {
+ if ((this.Table.ChildRelations["FK_Tags2Macchine_AnagTags"] == null)) {
return new Tags2MacchineRow[0];
}
- else
- {
+ else {
return ((Tags2MacchineRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Tags2Macchine_AnagTags"])));
}
}
}
-
+
///
///Row event argument class
///
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public class ElencoFamMaccRowChangeEvent : global::System.EventArgs
- {
-
+ public class ElencoFamMaccRowChangeEvent : global::System.EventArgs {
+
private ElencoFamMaccRow 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 ElencoFamMaccRowChangeEvent(ElencoFamMaccRow row, global::System.Data.DataRowAction action)
- {
+ public ElencoFamMaccRowChangeEvent(ElencoFamMaccRow 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 ElencoFamMaccRow Row
- {
- get
- {
+ public ElencoFamMaccRow 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
- {
+ 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 ElencoMacchineCNRowChangeEvent : global::System.EventArgs
- {
-
+ public class ElencoMacchineCNRowChangeEvent : global::System.EventArgs {
+
private ElencoMacchineCNRow 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 ElencoMacchineCNRowChangeEvent(ElencoMacchineCNRow row, global::System.Data.DataRowAction action)
- {
+ public ElencoMacchineCNRowChangeEvent(ElencoMacchineCNRow 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 ElencoMacchineCNRow Row
- {
- get
- {
+ public ElencoMacchineCNRow 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
- {
+ 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 AnagFasiRowChangeEvent : global::System.EventArgs
- {
-
+ public class AnagFasiRowChangeEvent : global::System.EventArgs {
+
private AnagFasiRow 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 AnagFasiRowChangeEvent(AnagFasiRow row, global::System.Data.DataRowAction action)
- {
+ public AnagFasiRowChangeEvent(AnagFasiRow 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 AnagFasiRow Row
- {
- get
- {
+ public AnagFasiRow 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
- {
+ 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 AnagSchedeRowChangeEvent : global::System.EventArgs
- {
-
+ public class AnagSchedeRowChangeEvent : global::System.EventArgs {
+
private AnagSchedeRow 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 AnagSchedeRowChangeEvent(AnagSchedeRow row, global::System.Data.DataRowAction action)
- {
+ public AnagSchedeRowChangeEvent(AnagSchedeRow 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 AnagSchedeRow Row
- {
- get
- {
+ public AnagSchedeRow 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
- {
+ 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 DettSchedaRowChangeEvent : global::System.EventArgs
- {
-
+ public class DettSchedaRowChangeEvent : global::System.EventArgs {
+
private DettSchedaRow 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 DettSchedaRowChangeEvent(DettSchedaRow row, global::System.Data.DataRowAction action)
- {
+ public DettSchedaRowChangeEvent(DettSchedaRow 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 DettSchedaRow Row
- {
- get
- {
+ public DettSchedaRow 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
- {
+ 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 ValidValRowChangeEvent : global::System.EventArgs
- {
-
+ public class ValidValRowChangeEvent : global::System.EventArgs {
+
private ValidValRow 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 ValidValRowChangeEvent(ValidValRow row, global::System.Data.DataRowAction action)
- {
+ public ValidValRowChangeEvent(ValidValRow 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 ValidValRow Row
- {
- get
- {
+ public ValidValRow 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
- {
+ 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 SchemaCollFamMaccRowChangeEvent : global::System.EventArgs
- {
-
+ public class SchemaCollFamMaccRowChangeEvent : global::System.EventArgs {
+
private SchemaCollFamMaccRow 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 SchemaCollFamMaccRowChangeEvent(SchemaCollFamMaccRow row, global::System.Data.DataRowAction action)
- {
+ public SchemaCollFamMaccRowChangeEvent(SchemaCollFamMaccRow 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 SchemaCollFamMaccRow Row
- {
- get
- {
+ public SchemaCollFamMaccRow 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
- {
+ 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 ElencoDossierRowChangeEvent : global::System.EventArgs
- {
-
+ public class ElencoDossierRowChangeEvent : global::System.EventArgs {
+
private ElencoDossierRow 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 ElencoDossierRowChangeEvent(ElencoDossierRow row, global::System.Data.DataRowAction action)
- {
+ public ElencoDossierRowChangeEvent(ElencoDossierRow 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 ElencoDossierRow Row
- {
- get
- {
+ public ElencoDossierRow 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
- {
+ 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 SchemaCollMaccRowChangeEvent : global::System.EventArgs
- {
-
+ public class SchemaCollMaccRowChangeEvent : global::System.EventArgs {
+
private SchemaCollMaccRow 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 SchemaCollMaccRowChangeEvent(SchemaCollMaccRow row, global::System.Data.DataRowAction action)
- {
+ public SchemaCollMaccRowChangeEvent(SchemaCollMaccRow 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 SchemaCollMaccRow Row
- {
- get
- {
+ public SchemaCollMaccRow 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
- {
+ 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 MisureRowChangeEvent : global::System.EventArgs
- {
-
+ public class MisureRowChangeEvent : global::System.EventArgs {
+
private MisureRow 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 MisureRowChangeEvent(MisureRow row, global::System.Data.DataRowAction action)
- {
+ public MisureRowChangeEvent(MisureRow 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 MisureRow Row
- {
- get
- {
+ public MisureRow 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
- {
+ 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 ReportDataRowChangeEvent : global::System.EventArgs
- {
-
+ public class ReportDataRowChangeEvent : global::System.EventArgs {
+
private ReportDataRow 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 ReportDataRowChangeEvent(ReportDataRow row, global::System.Data.DataRowAction action)
- {
+ public ReportDataRowChangeEvent(ReportDataRow 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 ReportDataRow Row
- {
- get
- {
+ public ReportDataRow 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
- {
+ 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 Tags2MacchineRowChangeEvent : global::System.EventArgs
- {
-
+ public class Tags2MacchineRowChangeEvent : global::System.EventArgs {
+
private Tags2MacchineRow 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 Tags2MacchineRowChangeEvent(Tags2MacchineRow row, global::System.Data.DataRowAction action)
- {
+ public Tags2MacchineRowChangeEvent(Tags2MacchineRow 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 Tags2MacchineRow Row
- {
- get
- {
+ public Tags2MacchineRow 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
- {
+ 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 AnagTagsRowChangeEvent : global::System.EventArgs
- {
-
+ public class AnagTagsRowChangeEvent : global::System.EventArgs {
+
private AnagTagsRow 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 AnagTagsRowChangeEvent(AnagTagsRow row, global::System.Data.DataRowAction action)
- {
+ public AnagTagsRowChangeEvent(AnagTagsRow 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 AnagTagsRow Row
- {
- get
- {
+ public AnagTagsRow 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
- {
+ public global::System.Data.DataRowAction Action {
+ get {
return this.eventAction;
}
}
}
}
}
-namespace CMS_SC_Data.DS_ApplicazioneTableAdapters
-{
-
-
+namespace CMS_SC_Data.DS_ApplicazioneTableAdapters {
+
+
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -9603,191 +8192,138 @@ namespace CMS_SC_Data.DS_ApplicazioneTableAdapters
[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 ElencoFamMaccTableAdapter : global::System.ComponentModel.Component
- {
-
+ public partial class ElencoFamMaccTableAdapter : 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 ElencoFamMaccTableAdapter()
- {
+ public ElencoFamMaccTableAdapter() {
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))
- {
+ 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))
- {
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
- set
- {
+ set {
this._connection = value;
- if ((this.Adapter.InsertCommand != null))
- {
+ if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
- if ((this.Adapter.DeleteCommand != null))
- {
+ if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
- if ((this.Adapter.UpdateCommand != null))
- {
+ 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))
- {
+ 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
- {
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
return this._transaction;
}
- set
- {
+ set {
this._transaction = value;
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1))
- {
+ 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)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.InsertCommand != null)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.UpdateCommand != null)))
- {
+ 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))
- {
+ 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
- {
+ public bool ClearBeforeFill {
+ get {
return this._clearBeforeFill;
}
- set
- {
+ set {
this._clearBeforeFill = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitAdapter()
- {
+ 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 = "ElencoFamMacc";
tableMapping.ColumnMappings.Add("CodFam", "CodFam");
tableMapping.ColumnMappings.Add("DescrFam", "DescrFam");
+ tableMapping.ColumnMappings.Add("numRowChild", "numRowChild");
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].[ElencoFamMacc] WHERE (([CodFam] = @Original_CodFam) AND ([Desc" +
- "rFam] = @Original_DescrFam))";
- this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFam", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFam", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrFam", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrFam", 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].[ElencoFamMacc] ([CodFam], [DescrFam]) VALUES (@CodFam, @DescrF" +
- "am);\r\nSELECT CodFam, DescrFam FROM ElencoFamMacc WHERE (CodFam = @CodFam)";
- this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFam", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFam", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrFam", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrFam", 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].[ElencoFamMacc] SET [CodFam] = @CodFam, [DescrFam] = @DescrFam WHERE" +
- " (([CodFam] = @Original_CodFam) AND ([DescrFam] = @Original_DescrFam));\r\nSELECT " +
- "CodFam, DescrFam FROM ElencoFamMacc WHERE (CodFam = @CodFam)";
- this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFam", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFam", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrFam", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrFam", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFam", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFam", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrFam", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrFam", 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()
- {
+ private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::CMS_SC_Data.Properties.Settings.Default.CMS_SCConnectionString;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitCommandCollection()
- {
+ private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
- this._commandCollection[0].CommandText = "SELECT CodFam, DescrFam FROM dbo.ElencoFamMacc";
+ this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_ElencoFamMacc";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
@@ -9811,351 +8347,137 @@ namespace CMS_SC_Data.DS_ApplicazioneTableAdapters
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrFam", global::System.Data.SqlDbType.NVarChar, 250, 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("@Original_CodFam", 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.ElencoFamMaccDataTable dataTable)
- {
+ public virtual int Fill(DS_Applicazione.ElencoFamMaccDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((this.ClearBeforeFill == true))
- {
+ 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.ElencoFamMaccDataTable GetData()
- {
+ public virtual DS_Applicazione.ElencoFamMaccDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Applicazione.ElencoFamMaccDataTable dataTable = new DS_Applicazione.ElencoFamMaccDataTable();
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.ElencoFamMaccDataTable 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, "ElencoFamMacc");
- }
-
- [global::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_CodFam, string Original_DescrFam)
- {
- if ((Original_CodFam == null))
- {
- throw new global::System.ArgumentNullException("Original_CodFam");
- }
- else
- {
- this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodFam));
- }
- if ((Original_DescrFam == null))
- {
- throw new global::System.ArgumentNullException("Original_DescrFam");
- }
- else
- {
- this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_DescrFam));
- }
- 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 CodFam, string DescrFam)
- {
- if ((CodFam == null))
- {
- throw new global::System.ArgumentNullException("CodFam");
- }
- else
- {
- this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodFam));
- }
- if ((DescrFam == null))
- {
- throw new global::System.ArgumentNullException("DescrFam");
- }
- else
- {
- this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrFam));
- }
- 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 CodFam, string DescrFam, string Original_CodFam, string Original_DescrFam)
- {
- if ((CodFam == null))
- {
- throw new global::System.ArgumentNullException("CodFam");
- }
- else
- {
- this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodFam));
- }
- if ((DescrFam == null))
- {
- throw new global::System.ArgumentNullException("DescrFam");
- }
- else
- {
- this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrFam));
- }
- if ((Original_CodFam == null))
- {
- throw new global::System.ArgumentNullException("Original_CodFam");
- }
- else
- {
- this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_CodFam));
- }
- if ((Original_DescrFam == null))
- {
- throw new global::System.ArgumentNullException("Original_DescrFam");
- }
- else
- {
- this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_DescrFam));
- }
- 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 DescrFam, string Original_CodFam, string Original_DescrFam)
- {
- return this.Update(Original_CodFam, DescrFam, Original_CodFam, Original_DescrFam);
- }
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("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_CodFam)
- {
+ public virtual int deleteQuery(string Original_CodFam) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
- if ((Original_CodFam == null))
- {
+ if ((Original_CodFam == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(Original_CodFam));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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.Insert, false)]
- public virtual int insertQuery(string CodFam, string DescrFam)
- {
+ public virtual int insertQuery(string CodFam, string DescrFam) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
- if ((CodFam == null))
- {
+ if ((CodFam == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(CodFam));
}
- if ((DescrFam == null))
- {
+ if ((DescrFam == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(DescrFam));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 CodFam, string DescrFam, string Original_CodFam)
- {
+ public virtual int updateQuery(string CodFam, string DescrFam, string Original_CodFam) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
- if ((CodFam == null))
- {
+ if ((CodFam == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(CodFam));
}
- if ((DescrFam == null))
- {
+ if ((DescrFam == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(DescrFam));
}
- if ((Original_CodFam == null))
- {
+ if ((Original_CodFam == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[3].Value = ((string)(Original_CodFam));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
-
+
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -10165,142 +8487,114 @@ namespace CMS_SC_Data.DS_ApplicazioneTableAdapters
[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 ElencoMacchineCNTableAdapter : global::System.ComponentModel.Component
- {
-
+ public partial class ElencoMacchineCNTableAdapter : 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 ElencoMacchineCNTableAdapter()
- {
+ public ElencoMacchineCNTableAdapter() {
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))
- {
+ 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))
- {
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
- set
- {
+ set {
this._connection = value;
- if ((this.Adapter.InsertCommand != null))
- {
+ if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
- if ((this.Adapter.DeleteCommand != null))
- {
+ if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
- if ((this.Adapter.UpdateCommand != null))
- {
+ 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))
- {
+ 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
- {
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
return this._transaction;
}
- set
- {
+ set {
this._transaction = value;
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1))
- {
+ 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)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.InsertCommand != null)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.UpdateCommand != null)))
- {
+ 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))
- {
+ 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
- {
+ public bool ClearBeforeFill {
+ get {
return this._clearBeforeFill;
}
- set
- {
+ set {
this._clearBeforeFill = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitAdapter()
- {
+ 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";
@@ -10356,19 +8650,17 @@ SELECT Matricola, Descrizione, Cliente, CodFam, CorsaX, CorsaY, CorsaZ FROM Elen
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CorsaY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CorsaY", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CorsaZ", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CorsaZ", 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()
- {
+ private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::CMS_SC_Data.Properties.Settings.Default.CMS_SCConnectionString;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitCommandCollection()
- {
+ private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
@@ -10406,507 +8698,405 @@ SELECT Matricola, Descrizione, Cliente, CodFam, CorsaX, CorsaY, CorsaZ FROM Elen
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CorsaZ", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Matricola", 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.ElencoMacchineCNDataTable dataTable)
- {
+ public virtual int Fill(DS_Applicazione.ElencoMacchineCNDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((this.ClearBeforeFill == true))
- {
+ 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.ElencoMacchineCNDataTable GetData()
- {
+ public virtual DS_Applicazione.ElencoMacchineCNDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Applicazione.ElencoMacchineCNDataTable dataTable = new DS_Applicazione.ElencoMacchineCNDataTable();
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.ElencoMacchineCNDataTable dataTable)
- {
+ public virtual int Update(DS_Applicazione.ElencoMacchineCNDataTable 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)
- {
+ public virtual int Update(DS_Applicazione dataSet) {
return this.Adapter.Update(dataSet, "ElencoMacchineCN");
}
-
+
[global::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)
- {
+ 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)
- {
+ 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_Matricola, string Original_Descrizione, string Original_Cliente, string Original_CodFam, int Original_CorsaX, int Original_CorsaY, int Original_CorsaZ)
- {
- if ((Original_Matricola == null))
- {
+ public virtual int Delete(string Original_Matricola, string Original_Descrizione, string Original_Cliente, string Original_CodFam, int Original_CorsaX, int Original_CorsaY, int Original_CorsaZ) {
+ if ((Original_Matricola == null)) {
throw new global::System.ArgumentNullException("Original_Matricola");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_Matricola));
}
- if ((Original_Descrizione == null))
- {
+ if ((Original_Descrizione == null)) {
throw new global::System.ArgumentNullException("Original_Descrizione");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Descrizione));
}
- if ((Original_Cliente == null))
- {
+ if ((Original_Cliente == null)) {
throw new global::System.ArgumentNullException("Original_Cliente");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Cliente));
}
- if ((Original_CodFam == null))
- {
+ if ((Original_CodFam == null)) {
throw new global::System.ArgumentNullException("Original_CodFam");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CodFam));
}
this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_CorsaX));
this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_CorsaY));
this.Adapter.DeleteCommand.Parameters[6].Value = ((int)(Original_CorsaZ));
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))
- {
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 Matricola, string Descrizione, string Cliente, string CodFam, int CorsaX, int CorsaY, int CorsaZ)
- {
- if ((Matricola == null))
- {
+ public virtual int Insert(string Matricola, string Descrizione, string Cliente, string CodFam, int CorsaX, int CorsaY, int CorsaZ) {
+ if ((Matricola == null)) {
throw new global::System.ArgumentNullException("Matricola");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Matricola));
}
- if ((Descrizione == null))
- {
+ if ((Descrizione == null)) {
throw new global::System.ArgumentNullException("Descrizione");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Descrizione));
}
- if ((Cliente == null))
- {
+ if ((Cliente == null)) {
throw new global::System.ArgumentNullException("Cliente");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Cliente));
}
- if ((CodFam == null))
- {
+ if ((CodFam == null)) {
throw new global::System.ArgumentNullException("CodFam");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodFam));
}
this.Adapter.InsertCommand.Parameters[4].Value = ((int)(CorsaX));
this.Adapter.InsertCommand.Parameters[5].Value = ((int)(CorsaY));
this.Adapter.InsertCommand.Parameters[6].Value = ((int)(CorsaZ));
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))
- {
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 Matricola, string Descrizione, string Cliente, string CodFam, int CorsaX, int CorsaY, int CorsaZ, string Original_Matricola, string Original_Descrizione, string Original_Cliente, string Original_CodFam, int Original_CorsaX, int Original_CorsaY, int Original_CorsaZ)
- {
- if ((Matricola == null))
- {
+ public virtual int Update(string Matricola, string Descrizione, string Cliente, string CodFam, int CorsaX, int CorsaY, int CorsaZ, string Original_Matricola, string Original_Descrizione, string Original_Cliente, string Original_CodFam, int Original_CorsaX, int Original_CorsaY, int Original_CorsaZ) {
+ if ((Matricola == null)) {
throw new global::System.ArgumentNullException("Matricola");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Matricola));
}
- if ((Descrizione == null))
- {
+ if ((Descrizione == null)) {
throw new global::System.ArgumentNullException("Descrizione");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Descrizione));
}
- if ((Cliente == null))
- {
+ if ((Cliente == null)) {
throw new global::System.ArgumentNullException("Cliente");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Cliente));
}
- if ((CodFam == null))
- {
+ if ((CodFam == null)) {
throw new global::System.ArgumentNullException("CodFam");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodFam));
}
this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(CorsaX));
this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(CorsaY));
this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(CorsaZ));
- if ((Original_Matricola == null))
- {
+ if ((Original_Matricola == null)) {
throw new global::System.ArgumentNullException("Original_Matricola");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_Matricola));
}
- if ((Original_Descrizione == null))
- {
+ if ((Original_Descrizione == null)) {
throw new global::System.ArgumentNullException("Original_Descrizione");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_Descrizione));
}
- if ((Original_Cliente == null))
- {
+ if ((Original_Cliente == null)) {
throw new global::System.ArgumentNullException("Original_Cliente");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_Cliente));
}
- if ((Original_CodFam == null))
- {
+ if ((Original_CodFam == null)) {
throw new global::System.ArgumentNullException("Original_CodFam");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_CodFam));
}
this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_CorsaX));
this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(Original_CorsaY));
this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_CorsaZ));
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))
- {
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 Descrizione, string Cliente, string CodFam, int CorsaX, int CorsaY, int CorsaZ, string Original_Matricola, string Original_Descrizione, string Original_Cliente, string Original_CodFam, int Original_CorsaX, int Original_CorsaY, int Original_CorsaZ)
- {
+ public virtual int Update(string Descrizione, string Cliente, string CodFam, int CorsaX, int CorsaY, int CorsaZ, string Original_Matricola, string Original_Descrizione, string Original_Cliente, string Original_CodFam, int Original_CorsaX, int Original_CorsaY, int Original_CorsaZ) {
return this.Update(Original_Matricola, Descrizione, Cliente, CodFam, CorsaX, CorsaY, CorsaZ, Original_Matricola, Original_Descrizione, Original_Cliente, Original_CodFam, Original_CorsaX, Original_CorsaY, Original_CorsaZ);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("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_Matricola)
- {
+ public virtual int deleteQuery(string Original_Matricola) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
- if ((Original_Matricola == null))
- {
+ if ((Original_Matricola == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(Original_Matricola));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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.Insert, false)]
- public virtual int insertQuery(string Matricola, string Descrizione, string Cliente, string CodFam, global::System.Nullable CorsaX, global::System.Nullable CorsaY, global::System.Nullable CorsaZ)
- {
+ public virtual int insertQuery(string Matricola, string Descrizione, string Cliente, string CodFam, global::System.Nullable CorsaX, global::System.Nullable CorsaY, global::System.Nullable CorsaZ) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
- if ((Matricola == null))
- {
+ if ((Matricola == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(Matricola));
}
- if ((Descrizione == null))
- {
+ if ((Descrizione == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(Descrizione));
}
- if ((Cliente == null))
- {
+ if ((Cliente == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[3].Value = ((string)(Cliente));
}
- if ((CodFam == null))
- {
+ if ((CodFam == null)) {
command.Parameters[4].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[4].Value = ((string)(CodFam));
}
- if ((CorsaX.HasValue == true))
- {
+ if ((CorsaX.HasValue == true)) {
command.Parameters[5].Value = ((int)(CorsaX.Value));
}
- else
- {
+ else {
command.Parameters[5].Value = global::System.DBNull.Value;
}
- if ((CorsaY.HasValue == true))
- {
+ if ((CorsaY.HasValue == true)) {
command.Parameters[6].Value = ((int)(CorsaY.Value));
}
- else
- {
+ else {
command.Parameters[6].Value = global::System.DBNull.Value;
}
- if ((CorsaZ.HasValue == true))
- {
+ if ((CorsaZ.HasValue == true)) {
command.Parameters[7].Value = ((int)(CorsaZ.Value));
}
- else
- {
+ else {
command.Parameters[7].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))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 Matricola, string Descrizione, string Cliente, string CodFam, global::System.Nullable CorsaX, global::System.Nullable CorsaY, global::System.Nullable CorsaZ, string Original_Matricola)
- {
+ public virtual int updateQuery(string Matricola, string Descrizione, string Cliente, string CodFam, global::System.Nullable CorsaX, global::System.Nullable CorsaY, global::System.Nullable CorsaZ, string Original_Matricola) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
- if ((Matricola == null))
- {
+ if ((Matricola == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(Matricola));
}
- if ((Descrizione == null))
- {
+ if ((Descrizione == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(Descrizione));
}
- if ((Cliente == null))
- {
+ if ((Cliente == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[3].Value = ((string)(Cliente));
}
- if ((CodFam == null))
- {
+ if ((CodFam == null)) {
command.Parameters[4].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[4].Value = ((string)(CodFam));
}
- if ((CorsaX.HasValue == true))
- {
+ if ((CorsaX.HasValue == true)) {
command.Parameters[5].Value = ((int)(CorsaX.Value));
}
- else
- {
+ else {
command.Parameters[5].Value = global::System.DBNull.Value;
}
- if ((CorsaY.HasValue == true))
- {
+ if ((CorsaY.HasValue == true)) {
command.Parameters[6].Value = ((int)(CorsaY.Value));
}
- else
- {
+ else {
command.Parameters[6].Value = global::System.DBNull.Value;
}
- if ((CorsaZ.HasValue == true))
- {
+ if ((CorsaZ.HasValue == true)) {
command.Parameters[7].Value = ((int)(CorsaZ.Value));
}
- else
- {
+ else {
command.Parameters[7].Value = global::System.DBNull.Value;
}
- if ((Original_Matricola == null))
- {
+ if ((Original_Matricola == null)) {
command.Parameters[8].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[8].Value = ((string)(Original_Matricola));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
-
+
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -10916,142 +9106,114 @@ SELECT Matricola, Descrizione, Cliente, CodFam, CorsaX, CorsaY, CorsaZ FROM Elen
[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 AnagFasiTableAdapter : global::System.ComponentModel.Component
- {
-
+ public partial class AnagFasiTableAdapter : 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 AnagFasiTableAdapter()
- {
+ public AnagFasiTableAdapter() {
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))
- {
+ 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))
- {
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
- set
- {
+ set {
this._connection = value;
- if ((this.Adapter.InsertCommand != null))
- {
+ if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
- if ((this.Adapter.DeleteCommand != null))
- {
+ if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
- if ((this.Adapter.UpdateCommand != null))
- {
+ 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))
- {
+ 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
- {
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
return this._transaction;
}
- set
- {
+ set {
this._transaction = value;
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1))
- {
+ 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)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.InsertCommand != null)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.UpdateCommand != null)))
- {
+ 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))
- {
+ 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
- {
+ public bool ClearBeforeFill {
+ get {
return this._clearBeforeFill;
}
- set
- {
+ set {
this._clearBeforeFill = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitAdapter()
- {
+ 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";
@@ -11086,19 +9248,17 @@ SELECT Fase, Descrizione FROM AnagFasi WHERE (Fase = @Fase)";
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Descrizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", 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()
- {
+ private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::CMS_SC_Data.Properties.Settings.Default.CMS_SCConnectionString;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitCommandCollection()
- {
+ private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
@@ -11126,355 +9286,289 @@ SELECT Fase, Descrizione FROM AnagFasi WHERE (Fase = @Fase)";
this._commandCollection[3].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, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Fase", 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.AnagFasiDataTable dataTable)
- {
+ public virtual int Fill(DS_Applicazione.AnagFasiDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((this.ClearBeforeFill == true))
- {
+ 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.AnagFasiDataTable GetData()
- {
+ public virtual DS_Applicazione.AnagFasiDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Applicazione.AnagFasiDataTable dataTable = new DS_Applicazione.AnagFasiDataTable();
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.AnagFasiDataTable dataTable)
- {
+ public virtual int Update(DS_Applicazione.AnagFasiDataTable 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)
- {
+ public virtual int Update(DS_Applicazione dataSet) {
return this.Adapter.Update(dataSet, "AnagFasi");
}
-
+
[global::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)
- {
+ 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)
- {
+ 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_Fase, string Original_Descrizione)
- {
- if ((Original_Fase == null))
- {
+ public virtual int Delete(string Original_Fase, string Original_Descrizione) {
+ if ((Original_Fase == null)) {
throw new global::System.ArgumentNullException("Original_Fase");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_Fase));
}
- if ((Original_Descrizione == null))
- {
+ if ((Original_Descrizione == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Descrizione));
}
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))
- {
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 Fase, string Descrizione)
- {
- if ((Fase == null))
- {
+ public virtual int Insert(string Fase, string Descrizione) {
+ if ((Fase == null)) {
throw new global::System.ArgumentNullException("Fase");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Fase));
}
- if ((Descrizione == null))
- {
+ if ((Descrizione == null)) {
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Descrizione));
}
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))
- {
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 Fase, string Descrizione, string Original_Fase, string Original_Descrizione)
- {
- if ((Fase == null))
- {
+ public virtual int Update(string Fase, string Descrizione, string Original_Fase, string Original_Descrizione) {
+ if ((Fase == null)) {
throw new global::System.ArgumentNullException("Fase");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Fase));
}
- if ((Descrizione == null))
- {
+ if ((Descrizione == null)) {
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Descrizione));
}
- if ((Original_Fase == null))
- {
+ if ((Original_Fase == null)) {
throw new global::System.ArgumentNullException("Original_Fase");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_Fase));
}
- if ((Original_Descrizione == null))
- {
+ if ((Original_Descrizione == null)) {
this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_Descrizione));
}
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))
- {
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 Descrizione, string Original_Fase, string Original_Descrizione)
- {
+ public virtual int Update(string Descrizione, string Original_Fase, string Original_Descrizione) {
return this.Update(Original_Fase, Descrizione, Original_Fase, Original_Descrizione);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("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_Fase)
- {
+ public virtual int deleteQuery(string Original_Fase) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
- if ((Original_Fase == null))
- {
+ if ((Original_Fase == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(Original_Fase));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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.Insert, false)]
- public virtual int insertQuery(string Fase, string Descrizione)
- {
+ public virtual int insertQuery(string Fase, string Descrizione) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
- if ((Fase == null))
- {
+ if ((Fase == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(Fase));
}
- if ((Descrizione == null))
- {
+ if ((Descrizione == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].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))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 Fase, string Descrizione, string Original_Fase)
- {
+ public virtual int updateQuery(string Fase, string Descrizione, string Original_Fase) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
- if ((Fase == null))
- {
+ if ((Fase == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(Fase));
}
- if ((Descrizione == null))
- {
+ if ((Descrizione == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(Descrizione));
}
- if ((Original_Fase == null))
- {
+ if ((Original_Fase == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[3].Value = ((string)(Original_Fase));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
-
+
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -11484,142 +9578,114 @@ SELECT Fase, Descrizione FROM AnagFasi WHERE (Fase = @Fase)";
[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 AnagSchedeTableAdapter : global::System.ComponentModel.Component
- {
-
+ public partial class AnagSchedeTableAdapter : 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 AnagSchedeTableAdapter()
- {
+ public AnagSchedeTableAdapter() {
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))
- {
+ 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))
- {
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
- set
- {
+ set {
this._connection = value;
- if ((this.Adapter.InsertCommand != null))
- {
+ if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
- if ((this.Adapter.DeleteCommand != null))
- {
+ if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
- if ((this.Adapter.UpdateCommand != null))
- {
+ 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))
- {
+ 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
- {
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
return this._transaction;
}
- set
- {
+ set {
this._transaction = value;
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1))
- {
+ 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)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.InsertCommand != null)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.UpdateCommand != null)))
- {
+ 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))
- {
+ 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
- {
+ public bool ClearBeforeFill {
+ get {
return this._clearBeforeFill;
}
- set
- {
+ set {
this._clearBeforeFill = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitAdapter()
- {
+ 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";
@@ -11668,19 +9734,17 @@ SELECT CodScheda, Vers, Descrizione, Path, FasiEnab, CodVisib FROM AnagSchede WH
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodVisib", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodVisib", 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()
- {
+ private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::CMS_SC_Data.Properties.Settings.Default.CMS_SCConnectionString;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitCommandCollection()
- {
+ 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;
@@ -11723,511 +9787,408 @@ SELECT CodScheda, Vers, Descrizione, Path, FasiEnab, CodVisib FROM AnagSchede WH
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodScheda", 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("@Original_Vers", 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_Applicazione.AnagSchedeDataTable dataTable)
- {
+ public virtual int Fill(DS_Applicazione.AnagSchedeDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((this.ClearBeforeFill == true))
- {
+ 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.AnagSchedeDataTable GetData()
- {
+ public virtual DS_Applicazione.AnagSchedeDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Applicazione.AnagSchedeDataTable dataTable = new DS_Applicazione.AnagSchedeDataTable();
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.AnagSchedeDataTable getByCodScheda(string CodSchedaVers)
- {
+ public virtual DS_Applicazione.AnagSchedeDataTable getByCodScheda(string CodSchedaVers) {
this.Adapter.SelectCommand = this.CommandCollection[2];
- if ((CodSchedaVers == null))
- {
+ if ((CodSchedaVers == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodSchedaVers));
}
DS_Applicazione.AnagSchedeDataTable dataTable = new DS_Applicazione.AnagSchedeDataTable();
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.AnagSchedeDataTable dataTable)
- {
+ public virtual int Update(DS_Applicazione.AnagSchedeDataTable 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)
- {
+ public virtual int Update(DS_Applicazione dataSet) {
return this.Adapter.Update(dataSet, "AnagSchede");
}
-
+
[global::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)
- {
+ 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)
- {
+ 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_CodScheda, int Original_Vers, string Original_Descrizione, string Original_CodVisib)
- {
- if ((Original_CodScheda == null))
- {
+ public virtual int Delete(string Original_CodScheda, int Original_Vers, string Original_Descrizione, string Original_CodVisib) {
+ if ((Original_CodScheda == null)) {
throw new global::System.ArgumentNullException("Original_CodScheda");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodScheda));
}
this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_Vers));
- if ((Original_Descrizione == null))
- {
+ if ((Original_Descrizione == null)) {
throw new global::System.ArgumentNullException("Original_Descrizione");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Descrizione));
}
- if ((Original_CodVisib == null))
- {
+ if ((Original_CodVisib == null)) {
throw new global::System.ArgumentNullException("Original_CodVisib");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CodVisib));
}
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))
- {
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 CodScheda, int Vers, string Descrizione, string Path, string FasiEnab, string CodVisib)
- {
- if ((CodScheda == null))
- {
+ public virtual int Insert(string CodScheda, int Vers, string Descrizione, string Path, string FasiEnab, string CodVisib) {
+ if ((CodScheda == null)) {
throw new global::System.ArgumentNullException("CodScheda");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodScheda));
}
this.Adapter.InsertCommand.Parameters[1].Value = ((int)(Vers));
- if ((Descrizione == null))
- {
+ if ((Descrizione == null)) {
throw new global::System.ArgumentNullException("Descrizione");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Descrizione));
}
- if ((Path == null))
- {
+ if ((Path == null)) {
throw new global::System.ArgumentNullException("Path");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Path));
}
- if ((FasiEnab == null))
- {
+ if ((FasiEnab == null)) {
throw new global::System.ArgumentNullException("FasiEnab");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(FasiEnab));
}
- if ((CodVisib == null))
- {
+ if ((CodVisib == null)) {
throw new global::System.ArgumentNullException("CodVisib");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CodVisib));
}
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))
- {
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 CodScheda, int Vers, string Descrizione, string Path, string FasiEnab, string CodVisib, string Original_CodScheda, int Original_Vers, string Original_Descrizione, string Original_CodVisib)
- {
- if ((CodScheda == null))
- {
+ public virtual int Update(string CodScheda, int Vers, string Descrizione, string Path, string FasiEnab, string CodVisib, string Original_CodScheda, int Original_Vers, string Original_Descrizione, string Original_CodVisib) {
+ if ((CodScheda == null)) {
throw new global::System.ArgumentNullException("CodScheda");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodScheda));
}
this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(Vers));
- if ((Descrizione == null))
- {
+ if ((Descrizione == null)) {
throw new global::System.ArgumentNullException("Descrizione");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Descrizione));
}
- if ((Path == null))
- {
+ if ((Path == null)) {
throw new global::System.ArgumentNullException("Path");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Path));
}
- if ((FasiEnab == null))
- {
+ if ((FasiEnab == null)) {
throw new global::System.ArgumentNullException("FasiEnab");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(FasiEnab));
}
- if ((CodVisib == null))
- {
+ if ((CodVisib == null)) {
throw new global::System.ArgumentNullException("CodVisib");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CodVisib));
}
- if ((Original_CodScheda == null))
- {
+ if ((Original_CodScheda == null)) {
throw new global::System.ArgumentNullException("Original_CodScheda");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_CodScheda));
}
this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_Vers));
- if ((Original_Descrizione == null))
- {
+ if ((Original_Descrizione == null)) {
throw new global::System.ArgumentNullException("Original_Descrizione");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_Descrizione));
}
- if ((Original_CodVisib == null))
- {
+ if ((Original_CodVisib == null)) {
throw new global::System.ArgumentNullException("Original_CodVisib");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_CodVisib));
}
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))
- {
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 Descrizione, string Path, string FasiEnab, string CodVisib, string Original_CodScheda, int Original_Vers, string Original_Descrizione, string Original_CodVisib)
- {
+ public virtual int Update(string Descrizione, string Path, string FasiEnab, string CodVisib, string Original_CodScheda, int Original_Vers, string Original_Descrizione, string Original_CodVisib) {
return this.Update(Original_CodScheda, Original_Vers, Descrizione, Path, FasiEnab, CodVisib, Original_CodScheda, Original_Vers, Original_Descrizione, Original_CodVisib);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("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_CodScheda, global::System.Nullable Original_Vers)
- {
+ public virtual int deleteQuery(string Original_CodScheda, global::System.Nullable Original_Vers) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
- if ((Original_CodScheda == null))
- {
+ if ((Original_CodScheda == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(Original_CodScheda));
}
- if ((Original_Vers.HasValue == true))
- {
+ if ((Original_Vers.HasValue == true)) {
command.Parameters[2].Value = ((int)(Original_Vers.Value));
}
- else
- {
+ else {
command.Parameters[2].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))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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.Insert, false)]
- public virtual int insertQuery(string CodScheda, global::System.Nullable Vers, string Descrizione, string Path, string FasiEnab)
- {
+ public virtual int insertQuery(string CodScheda, global::System.Nullable Vers, string Descrizione, string Path, string FasiEnab) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
- if ((CodScheda == null))
- {
+ if ((CodScheda == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(CodScheda));
}
- if ((Vers.HasValue == true))
- {
+ if ((Vers.HasValue == true)) {
command.Parameters[2].Value = ((int)(Vers.Value));
}
- else
- {
+ else {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- if ((Descrizione == null))
- {
+ if ((Descrizione == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[3].Value = ((string)(Descrizione));
}
- if ((Path == null))
- {
+ if ((Path == null)) {
command.Parameters[4].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[4].Value = ((string)(Path));
}
- if ((FasiEnab == null))
- {
+ if ((FasiEnab == null)) {
command.Parameters[5].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[5].Value = ((string)(FasiEnab));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 CodScheda, global::System.Nullable Vers, string Descrizione, string Path, string FasiEnab, string CodVisib, string Original_CodScheda, global::System.Nullable Original_Vers)
- {
+ public virtual int updateQuery(string CodScheda, global::System.Nullable Vers, string Descrizione, string Path, string FasiEnab, string CodVisib, string Original_CodScheda, global::System.Nullable Original_Vers) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
- if ((CodScheda == null))
- {
+ if ((CodScheda == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(CodScheda));
}
- if ((Vers.HasValue == true))
- {
+ if ((Vers.HasValue == true)) {
command.Parameters[2].Value = ((int)(Vers.Value));
}
- else
- {
+ else {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- if ((Descrizione == null))
- {
+ if ((Descrizione == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[3].Value = ((string)(Descrizione));
}
- if ((Path == null))
- {
+ if ((Path == null)) {
command.Parameters[4].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[4].Value = ((string)(Path));
}
- if ((FasiEnab == null))
- {
+ if ((FasiEnab == null)) {
command.Parameters[5].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[5].Value = ((string)(FasiEnab));
}
- if ((CodVisib == null))
- {
+ if ((CodVisib == null)) {
command.Parameters[6].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[6].Value = ((string)(CodVisib));
}
- if ((Original_CodScheda == null))
- {
+ if ((Original_CodScheda == null)) {
command.Parameters[7].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[7].Value = ((string)(Original_CodScheda));
}
- if ((Original_Vers.HasValue == true))
- {
+ if ((Original_Vers.HasValue == true)) {
command.Parameters[8].Value = ((int)(Original_Vers.Value));
}
- else
- {
+ else {
command.Parameters[8].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))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
-
+
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -12237,142 +10198,114 @@ SELECT CodScheda, Vers, Descrizione, Path, FasiEnab, CodVisib FROM AnagSchede WH
[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 DettSchedaTableAdapter : global::System.ComponentModel.Component
- {
-
+ public partial class DettSchedaTableAdapter : 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 DettSchedaTableAdapter()
- {
+ public DettSchedaTableAdapter() {
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))
- {
+ 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))
- {
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
- set
- {
+ set {
this._connection = value;
- if ((this.Adapter.InsertCommand != null))
- {
+ if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
- if ((this.Adapter.DeleteCommand != null))
- {
+ if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
- if ((this.Adapter.UpdateCommand != null))
- {
+ 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))
- {
+ 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
- {
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
return this._transaction;
}
- set
- {
+ set {
this._transaction = value;
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1))
- {
+ 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)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.InsertCommand != null)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.UpdateCommand != null)))
- {
+ 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))
- {
+ 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
- {
+ public bool ClearBeforeFill {
+ get {
return this._clearBeforeFill;
}
- set
- {
+ set {
this._clearBeforeFill = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitAdapter()
- {
+ 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";
@@ -12428,19 +10361,17 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar, CodVisib
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NomePar", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NomePar", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodVisib", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodVisib", 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()
- {
+ private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::CMS_SC_Data.Properties.Settings.Default.CMS_SCConnectionString;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitCommandCollection()
- {
+ private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
@@ -12497,660 +10428,523 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar, CodVisib
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Vers", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMisura", 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.DettSchedaDataTable dataTable)
- {
+ public virtual int Fill(DS_Applicazione.DettSchedaDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((this.ClearBeforeFill == true))
- {
+ 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.DettSchedaDataTable GetData()
- {
+ public virtual DS_Applicazione.DettSchedaDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Applicazione.DettSchedaDataTable dataTable = new DS_Applicazione.DettSchedaDataTable();
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.DettSchedaDataTable getByScheda(string CodSchedaVers)
- {
+ public virtual DS_Applicazione.DettSchedaDataTable getByScheda(string CodSchedaVers) {
this.Adapter.SelectCommand = this.CommandCollection[3];
- if ((CodSchedaVers == null))
- {
+ if ((CodSchedaVers == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodSchedaVers));
}
DS_Applicazione.DettSchedaDataTable dataTable = new DS_Applicazione.DettSchedaDataTable();
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.DettSchedaDataTable dataTable)
- {
+ public virtual int Update(DS_Applicazione.DettSchedaDataTable 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)
- {
+ public virtual int Update(DS_Applicazione dataSet) {
return this.Adapter.Update(dataSet, "DettScheda");
}
-
+
[global::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)
- {
+ 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)
- {
+ 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_CodScheda, int Original_Vers, string Original_CodMisura, string Original_NomeMisura, string Original_TipoValMisura, string Original_NomePar, string Original_CodVisib)
- {
- if ((Original_CodScheda == null))
- {
+ public virtual int Delete(string Original_CodScheda, int Original_Vers, string Original_CodMisura, string Original_NomeMisura, string Original_TipoValMisura, string Original_NomePar, string Original_CodVisib) {
+ if ((Original_CodScheda == null)) {
throw new global::System.ArgumentNullException("Original_CodScheda");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodScheda));
}
this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_Vers));
- if ((Original_CodMisura == null))
- {
+ if ((Original_CodMisura == null)) {
throw new global::System.ArgumentNullException("Original_CodMisura");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodMisura));
}
- if ((Original_NomeMisura == null))
- {
+ if ((Original_NomeMisura == null)) {
throw new global::System.ArgumentNullException("Original_NomeMisura");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_NomeMisura));
}
- if ((Original_TipoValMisura == null))
- {
+ if ((Original_TipoValMisura == null)) {
throw new global::System.ArgumentNullException("Original_TipoValMisura");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_TipoValMisura));
}
- if ((Original_NomePar == null))
- {
+ if ((Original_NomePar == null)) {
throw new global::System.ArgumentNullException("Original_NomePar");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_NomePar));
}
- if ((Original_CodVisib == null))
- {
+ if ((Original_CodVisib == null)) {
throw new global::System.ArgumentNullException("Original_CodVisib");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_CodVisib));
}
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))
- {
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 CodScheda, int Vers, string CodMisura, string NomeMisura, string TipoValMisura, string NomePar, string CodVisib)
- {
- if ((CodScheda == null))
- {
+ public virtual int Insert(string CodScheda, int Vers, string CodMisura, string NomeMisura, string TipoValMisura, string NomePar, string CodVisib) {
+ if ((CodScheda == null)) {
throw new global::System.ArgumentNullException("CodScheda");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodScheda));
}
this.Adapter.InsertCommand.Parameters[1].Value = ((int)(Vers));
- if ((CodMisura == null))
- {
+ if ((CodMisura == null)) {
throw new global::System.ArgumentNullException("CodMisura");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodMisura));
}
- if ((NomeMisura == null))
- {
+ if ((NomeMisura == null)) {
throw new global::System.ArgumentNullException("NomeMisura");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(NomeMisura));
}
- if ((TipoValMisura == null))
- {
+ if ((TipoValMisura == null)) {
throw new global::System.ArgumentNullException("TipoValMisura");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(TipoValMisura));
}
- if ((NomePar == null))
- {
+ if ((NomePar == null)) {
throw new global::System.ArgumentNullException("NomePar");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(NomePar));
}
- if ((CodVisib == null))
- {
+ if ((CodVisib == null)) {
throw new global::System.ArgumentNullException("CodVisib");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(CodVisib));
}
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))
- {
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 CodScheda, int Vers, string CodMisura, string NomeMisura, string TipoValMisura, string NomePar, string CodVisib, string Original_CodScheda, int Original_Vers, string Original_CodMisura, string Original_NomeMisura, string Original_TipoValMisura, string Original_NomePar, string Original_CodVisib)
- {
- if ((CodScheda == null))
- {
+ public virtual int Update(string CodScheda, int Vers, string CodMisura, string NomeMisura, string TipoValMisura, string NomePar, string CodVisib, string Original_CodScheda, int Original_Vers, string Original_CodMisura, string Original_NomeMisura, string Original_TipoValMisura, string Original_NomePar, string Original_CodVisib) {
+ if ((CodScheda == null)) {
throw new global::System.ArgumentNullException("CodScheda");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodScheda));
}
this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(Vers));
- if ((CodMisura == null))
- {
+ if ((CodMisura == null)) {
throw new global::System.ArgumentNullException("CodMisura");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodMisura));
}
- if ((NomeMisura == null))
- {
+ if ((NomeMisura == null)) {
throw new global::System.ArgumentNullException("NomeMisura");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(NomeMisura));
}
- if ((TipoValMisura == null))
- {
+ if ((TipoValMisura == null)) {
throw new global::System.ArgumentNullException("TipoValMisura");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(TipoValMisura));
}
- if ((NomePar == null))
- {
+ if ((NomePar == null)) {
throw new global::System.ArgumentNullException("NomePar");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(NomePar));
}
- if ((CodVisib == null))
- {
+ if ((CodVisib == null)) {
throw new global::System.ArgumentNullException("CodVisib");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(CodVisib));
}
- if ((Original_CodScheda == null))
- {
+ if ((Original_CodScheda == null)) {
throw new global::System.ArgumentNullException("Original_CodScheda");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_CodScheda));
}
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_Vers));
- if ((Original_CodMisura == null))
- {
+ if ((Original_CodMisura == null)) {
throw new global::System.ArgumentNullException("Original_CodMisura");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_CodMisura));
}
- if ((Original_NomeMisura == null))
- {
+ if ((Original_NomeMisura == null)) {
throw new global::System.ArgumentNullException("Original_NomeMisura");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_NomeMisura));
}
- if ((Original_TipoValMisura == null))
- {
+ if ((Original_TipoValMisura == null)) {
throw new global::System.ArgumentNullException("Original_TipoValMisura");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_TipoValMisura));
}
- if ((Original_NomePar == null))
- {
+ if ((Original_NomePar == null)) {
throw new global::System.ArgumentNullException("Original_NomePar");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_NomePar));
}
- if ((Original_CodVisib == null))
- {
+ if ((Original_CodVisib == null)) {
throw new global::System.ArgumentNullException("Original_CodVisib");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_CodVisib));
}
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))
- {
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 NomeMisura, string TipoValMisura, string NomePar, string CodVisib, string Original_CodScheda, int Original_Vers, string Original_CodMisura, string Original_NomeMisura, string Original_TipoValMisura, string Original_NomePar, string Original_CodVisib)
- {
+ public virtual int Update(string NomeMisura, string TipoValMisura, string NomePar, string CodVisib, string Original_CodScheda, int Original_Vers, string Original_CodMisura, string Original_NomeMisura, string Original_TipoValMisura, string Original_NomePar, string Original_CodVisib) {
return this.Update(Original_CodScheda, Original_Vers, Original_CodMisura, NomeMisura, TipoValMisura, NomePar, CodVisib, Original_CodScheda, Original_Vers, Original_CodMisura, Original_NomeMisura, Original_TipoValMisura, Original_NomePar, Original_CodVisib);
}
-
+
[global::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 clone(string CodSchedaVers, string CodMisura)
- {
+ public virtual int clone(string CodSchedaVers, string CodMisura) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
- if ((CodSchedaVers == null))
- {
+ if ((CodSchedaVers == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(CodSchedaVers));
}
- if ((CodMisura == null))
- {
+ if ((CodMisura == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(CodMisura));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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.Delete, false)]
- public virtual int deleteQuery(string Original_CodScheda, global::System.Nullable Original_Vers, string Original_CodMisura)
- {
+ public virtual int deleteQuery(string Original_CodScheda, global::System.Nullable Original_Vers, string Original_CodMisura) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
- if ((Original_CodScheda == null))
- {
+ if ((Original_CodScheda == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(Original_CodScheda));
}
- if ((Original_Vers.HasValue == true))
- {
+ if ((Original_Vers.HasValue == true)) {
command.Parameters[2].Value = ((int)(Original_Vers.Value));
}
- else
- {
+ else {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- if ((Original_CodMisura == null))
- {
+ if ((Original_CodMisura == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[3].Value = ((string)(Original_CodMisura));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 insertNew(string CodSchedaVers, string NomeMisura)
- {
+ public virtual int insertNew(string CodSchedaVers, string NomeMisura) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
- if ((CodSchedaVers == null))
- {
+ if ((CodSchedaVers == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(CodSchedaVers));
}
- if ((NomeMisura == null))
- {
+ if ((NomeMisura == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(NomeMisura));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 moveUpDown(string MovType, string CodScheda, global::System.Nullable Vers, string CodMisura)
- {
+ public virtual int moveUpDown(string MovType, string CodScheda, global::System.Nullable Vers, string CodMisura) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
- if ((MovType == null))
- {
+ if ((MovType == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(MovType));
}
- if ((CodScheda == null))
- {
+ if ((CodScheda == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(CodScheda));
}
- if ((Vers.HasValue == true))
- {
+ if ((Vers.HasValue == true)) {
command.Parameters[3].Value = ((int)(Vers.Value));
}
- else
- {
+ else {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- if ((CodMisura == null))
- {
+ if ((CodMisura == null)) {
command.Parameters[4].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[4].Value = ((string)(CodMisura));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 CodMisura, string NomeMisura, string TipoValMisura, string NomePar, string CodVisib, string Original_CodScheda, global::System.Nullable Original_Vers, string Original_CodMisura)
- {
+ public virtual int updateQuery(string CodMisura, string NomeMisura, string TipoValMisura, string NomePar, string CodVisib, string Original_CodScheda, global::System.Nullable Original_Vers, string Original_CodMisura) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
- if ((CodMisura == null))
- {
+ if ((CodMisura == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(CodMisura));
}
- if ((NomeMisura == null))
- {
+ if ((NomeMisura == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(NomeMisura));
}
- if ((TipoValMisura == null))
- {
+ if ((TipoValMisura == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[3].Value = ((string)(TipoValMisura));
}
- if ((NomePar == null))
- {
+ if ((NomePar == null)) {
command.Parameters[4].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[4].Value = ((string)(NomePar));
}
- if ((CodVisib == null))
- {
+ if ((CodVisib == null)) {
command.Parameters[5].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[5].Value = ((string)(CodVisib));
}
- if ((Original_CodScheda == null))
- {
+ if ((Original_CodScheda == null)) {
command.Parameters[6].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[6].Value = ((string)(Original_CodScheda));
}
- if ((Original_Vers.HasValue == true))
- {
+ if ((Original_Vers.HasValue == true)) {
command.Parameters[7].Value = ((int)(Original_Vers.Value));
}
- else
- {
+ else {
command.Parameters[7].Value = global::System.DBNull.Value;
}
- if ((Original_CodMisura == null))
- {
+ if ((Original_CodMisura == null)) {
command.Parameters[8].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[8].Value = ((string)(Original_CodMisura));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
-
+
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -13160,142 +10954,114 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar, CodVisib
[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 ValidValTableAdapter : global::System.ComponentModel.Component
- {
-
+ public partial class ValidValTableAdapter : 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 ValidValTableAdapter()
- {
+ public ValidValTableAdapter() {
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))
- {
+ 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))
- {
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
- set
- {
+ set {
this._connection = value;
- if ((this.Adapter.InsertCommand != null))
- {
+ if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
- if ((this.Adapter.DeleteCommand != null))
- {
+ if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
- if ((this.Adapter.UpdateCommand != null))
- {
+ 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))
- {
+ 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
- {
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
return this._transaction;
}
- set
- {
+ set {
this._transaction = value;
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1))
- {
+ 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)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.InsertCommand != null)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.UpdateCommand != null)))
- {
+ 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))
- {
+ 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
- {
+ public bool ClearBeforeFill {
+ get {
return this._clearBeforeFill;
}
- set
- {
+ set {
this._clearBeforeFill = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitAdapter()
- {
+ 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";
@@ -13351,19 +11117,17 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LIVal", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LIVal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LSVal", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LSVal", 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()
- {
+ private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::CMS_SC_Data.Properties.Settings.Default.CMS_SCConnectionString;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitCommandCollection()
- {
+ 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;
@@ -13406,116 +11170,99 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMisura", 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("@Original_MinPar", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 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.ValidValDataTable dataTable)
- {
+ public virtual int Fill(DS_Applicazione.ValidValDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((this.ClearBeforeFill == true))
- {
+ 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.ValidValDataTable GetData()
- {
+ public virtual DS_Applicazione.ValidValDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Applicazione.ValidValDataTable dataTable = new DS_Applicazione.ValidValDataTable();
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.ValidValDataTable getByScheda(string CodSchedaVers, string CodMisura)
- {
+ public virtual DS_Applicazione.ValidValDataTable getByScheda(string CodSchedaVers, string CodMisura) {
this.Adapter.SelectCommand = this.CommandCollection[2];
- if ((CodSchedaVers == null))
- {
+ if ((CodSchedaVers == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodSchedaVers));
}
- if ((CodMisura == null))
- {
+ if ((CodMisura == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodMisura));
}
DS_Applicazione.ValidValDataTable dataTable = new DS_Applicazione.ValidValDataTable();
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.ValidValDataTable dataTable)
- {
+ public virtual int Update(DS_Applicazione.ValidValDataTable 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)
- {
+ public virtual int Update(DS_Applicazione dataSet) {
return this.Adapter.Update(dataSet, "ValidVal");
}
-
+
[global::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)
- {
+ 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)
- {
+ 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_CodScheda, int Original_Vers, string Original_CodMisura, double Original_MinPar, double Original_MaxPar, double Original_LIVal, double Original_LSVal)
- {
- if ((Original_CodScheda == null))
- {
+ public virtual int Delete(string Original_CodScheda, int Original_Vers, string Original_CodMisura, double Original_MinPar, double Original_MaxPar, double Original_LIVal, double Original_LSVal) {
+ if ((Original_CodScheda == null)) {
throw new global::System.ArgumentNullException("Original_CodScheda");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodScheda));
}
this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_Vers));
- if ((Original_CodMisura == null))
- {
+ if ((Original_CodMisura == null)) {
throw new global::System.ArgumentNullException("Original_CodMisura");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodMisura));
}
this.Adapter.DeleteCommand.Parameters[3].Value = ((double)(Original_MinPar));
@@ -13523,46 +11270,37 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
this.Adapter.DeleteCommand.Parameters[5].Value = ((double)(Original_LIVal));
this.Adapter.DeleteCommand.Parameters[6].Value = ((double)(Original_LSVal));
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))
- {
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 CodScheda, int Vers, string CodMisura, double MinPar, double MaxPar, double LIVal, double LSVal)
- {
- if ((CodScheda == null))
- {
+ public virtual int Insert(string CodScheda, int Vers, string CodMisura, double MinPar, double MaxPar, double LIVal, double LSVal) {
+ if ((CodScheda == null)) {
throw new global::System.ArgumentNullException("CodScheda");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodScheda));
}
this.Adapter.InsertCommand.Parameters[1].Value = ((int)(Vers));
- if ((CodMisura == null))
- {
+ if ((CodMisura == null)) {
throw new global::System.ArgumentNullException("CodMisura");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodMisura));
}
this.Adapter.InsertCommand.Parameters[3].Value = ((double)(MinPar));
@@ -13570,67 +11308,54 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
this.Adapter.InsertCommand.Parameters[5].Value = ((double)(LIVal));
this.Adapter.InsertCommand.Parameters[6].Value = ((double)(LSVal));
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))
- {
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 CodScheda, int Vers, string CodMisura, double MinPar, double MaxPar, double LIVal, double LSVal, string Original_CodScheda, int Original_Vers, string Original_CodMisura, double Original_MinPar, double Original_MaxPar, double Original_LIVal, double Original_LSVal)
- {
- if ((CodScheda == null))
- {
+ public virtual int Update(string CodScheda, int Vers, string CodMisura, double MinPar, double MaxPar, double LIVal, double LSVal, string Original_CodScheda, int Original_Vers, string Original_CodMisura, double Original_MinPar, double Original_MaxPar, double Original_LIVal, double Original_LSVal) {
+ if ((CodScheda == null)) {
throw new global::System.ArgumentNullException("CodScheda");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodScheda));
}
this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(Vers));
- if ((CodMisura == null))
- {
+ if ((CodMisura == null)) {
throw new global::System.ArgumentNullException("CodMisura");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodMisura));
}
this.Adapter.UpdateCommand.Parameters[3].Value = ((double)(MinPar));
this.Adapter.UpdateCommand.Parameters[4].Value = ((double)(MaxPar));
this.Adapter.UpdateCommand.Parameters[5].Value = ((double)(LIVal));
this.Adapter.UpdateCommand.Parameters[6].Value = ((double)(LSVal));
- if ((Original_CodScheda == null))
- {
+ if ((Original_CodScheda == null)) {
throw new global::System.ArgumentNullException("Original_CodScheda");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_CodScheda));
}
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_Vers));
- if ((Original_CodMisura == null))
- {
+ if ((Original_CodMisura == null)) {
throw new global::System.ArgumentNullException("Original_CodMisura");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_CodMisura));
}
this.Adapter.UpdateCommand.Parameters[10].Value = ((double)(Original_MinPar));
@@ -13638,230 +11363,182 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
this.Adapter.UpdateCommand.Parameters[12].Value = ((double)(Original_LIVal));
this.Adapter.UpdateCommand.Parameters[13].Value = ((double)(Original_LSVal));
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))
- {
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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(double MaxPar, double LIVal, double LSVal, string Original_CodScheda, int Original_Vers, string Original_CodMisura, double Original_MinPar, double Original_MaxPar, double Original_LIVal, double Original_LSVal)
- {
+ public virtual int Update(double MaxPar, double LIVal, double LSVal, string Original_CodScheda, int Original_Vers, string Original_CodMisura, double Original_MinPar, double Original_MaxPar, double Original_LIVal, double Original_LSVal) {
return this.Update(Original_CodScheda, Original_Vers, Original_CodMisura, Original_MinPar, MaxPar, LIVal, LSVal, Original_CodScheda, Original_Vers, Original_CodMisura, Original_MinPar, Original_MaxPar, Original_LIVal, Original_LSVal);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("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_CodScheda, global::System.Nullable Original_Vers, string Original_CodMisura, global::System.Nullable Original_MinPar)
- {
+ public virtual int deleteQuery(string Original_CodScheda, global::System.Nullable Original_Vers, string Original_CodMisura, global::System.Nullable Original_MinPar) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
- if ((Original_CodScheda == null))
- {
+ if ((Original_CodScheda == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(Original_CodScheda));
}
- if ((Original_Vers.HasValue == true))
- {
+ if ((Original_Vers.HasValue == true)) {
command.Parameters[2].Value = ((int)(Original_Vers.Value));
}
- else
- {
+ else {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- if ((Original_CodMisura == null))
- {
+ if ((Original_CodMisura == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[3].Value = ((string)(Original_CodMisura));
}
- if ((Original_MinPar.HasValue == true))
- {
+ if ((Original_MinPar.HasValue == true)) {
command.Parameters[4].Value = ((double)(Original_MinPar.Value));
}
- else
- {
+ 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))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 insertNew(string CodSchedaVers, string CodMisura)
- {
+ public virtual int insertNew(string CodSchedaVers, string CodMisura) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
- if ((CodSchedaVers == null))
- {
+ if ((CodSchedaVers == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(CodSchedaVers));
}
- if ((CodMisura == null))
- {
+ if ((CodMisura == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(CodMisura));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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(global::System.Nullable MinPar, global::System.Nullable MaxPar, global::System.Nullable LIVal, global::System.Nullable LSVal, string Original_CodScheda, global::System.Nullable Original_Vers, string Original_CodMisura, global::System.Nullable Original_MinPar)
- {
+ public virtual int updateQuery(global::System.Nullable MinPar, global::System.Nullable MaxPar, global::System.Nullable LIVal, global::System.Nullable LSVal, string Original_CodScheda, global::System.Nullable Original_Vers, string Original_CodMisura, global::System.Nullable Original_MinPar) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
- if ((MinPar.HasValue == true))
- {
+ if ((MinPar.HasValue == true)) {
command.Parameters[1].Value = ((double)(MinPar.Value));
}
- else
- {
+ else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- if ((MaxPar.HasValue == true))
- {
+ if ((MaxPar.HasValue == true)) {
command.Parameters[2].Value = ((double)(MaxPar.Value));
}
- else
- {
+ else {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- if ((LIVal.HasValue == true))
- {
+ if ((LIVal.HasValue == true)) {
command.Parameters[3].Value = ((double)(LIVal.Value));
}
- else
- {
+ else {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- if ((LSVal.HasValue == true))
- {
+ if ((LSVal.HasValue == true)) {
command.Parameters[4].Value = ((double)(LSVal.Value));
}
- else
- {
+ else {
command.Parameters[4].Value = global::System.DBNull.Value;
}
- if ((Original_CodScheda == null))
- {
+ if ((Original_CodScheda == null)) {
command.Parameters[5].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[5].Value = ((string)(Original_CodScheda));
}
- if ((Original_Vers.HasValue == true))
- {
+ if ((Original_Vers.HasValue == true)) {
command.Parameters[6].Value = ((int)(Original_Vers.Value));
}
- else
- {
+ else {
command.Parameters[6].Value = global::System.DBNull.Value;
}
- if ((Original_CodMisura == null))
- {
+ if ((Original_CodMisura == null)) {
command.Parameters[7].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[7].Value = ((string)(Original_CodMisura));
}
- if ((Original_MinPar.HasValue == true))
- {
+ if ((Original_MinPar.HasValue == true)) {
command.Parameters[8].Value = ((double)(Original_MinPar.Value));
}
- else
- {
+ else {
command.Parameters[8].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))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
-
+
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -13871,142 +11548,114 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
[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 SchemaCollFamMaccTableAdapter : global::System.ComponentModel.Component
- {
-
+ public partial class SchemaCollFamMaccTableAdapter : 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 SchemaCollFamMaccTableAdapter()
- {
+ public SchemaCollFamMaccTableAdapter() {
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))
- {
+ 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))
- {
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
- set
- {
+ set {
this._connection = value;
- if ((this.Adapter.InsertCommand != null))
- {
+ if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
- if ((this.Adapter.DeleteCommand != null))
- {
+ if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
- if ((this.Adapter.UpdateCommand != null))
- {
+ 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))
- {
+ 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
- {
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
return this._transaction;
}
- set
- {
+ set {
this._transaction = value;
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1))
- {
+ 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)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.InsertCommand != null)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.UpdateCommand != null)))
- {
+ 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))
- {
+ 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
- {
+ public bool ClearBeforeFill {
+ get {
return this._clearBeforeFill;
}
- set
- {
+ set {
this._clearBeforeFill = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitAdapter()
- {
+ 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";
@@ -14022,19 +11671,17 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
tableMapping.ColumnMappings.Add("opz", "opz");
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()
- {
+ private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::CMS_SC_Data.Properties.Settings.Default.CMS_SCConnectionString;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitCommandCollection()
- {
+ 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;
@@ -14096,331 +11743,267 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSchedaVers", global::System.Data.SqlDbType.NVarChar, 100, 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("@Original_CodFam", 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.SchemaCollFamMaccDataTable dataTable)
- {
+ public virtual int Fill(DS_Applicazione.SchemaCollFamMaccDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((this.ClearBeforeFill == true))
- {
+ 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.SchemaCollFamMaccDataTable GetData()
- {
+ public virtual DS_Applicazione.SchemaCollFamMaccDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Applicazione.SchemaCollFamMaccDataTable dataTable = new DS_Applicazione.SchemaCollFamMaccDataTable();
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.SchemaCollFamMaccDataTable getByCodSchedaVers(string CodSchedaVers)
- {
+ public virtual DS_Applicazione.SchemaCollFamMaccDataTable getByCodSchedaVers(string CodSchedaVers) {
this.Adapter.SelectCommand = this.CommandCollection[3];
- if ((CodSchedaVers == null))
- {
+ if ((CodSchedaVers == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodSchedaVers));
}
DS_Applicazione.SchemaCollFamMaccDataTable dataTable = new DS_Applicazione.SchemaCollFamMaccDataTable();
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.SchemaCollFamMaccDataTable getByFamMacc(string CodFam)
- {
+ public virtual DS_Applicazione.SchemaCollFamMaccDataTable getByFamMacc(string CodFam) {
this.Adapter.SelectCommand = this.CommandCollection[4];
- if ((CodFam == null))
- {
+ if ((CodFam == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodFam));
}
DS_Applicazione.SchemaCollFamMaccDataTable dataTable = new DS_Applicazione.SchemaCollFamMaccDataTable();
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.SchemaCollFamMaccDataTable getBySchedaFamMacc(string CodSchedaVers, string CodFam, global::System.Nullable filtByScheda, global::System.Nullable filtByFamMac)
- {
+ public virtual DS_Applicazione.SchemaCollFamMaccDataTable getBySchedaFamMacc(string CodSchedaVers, string CodFam, global::System.Nullable filtByScheda, global::System.Nullable filtByFamMac) {
this.Adapter.SelectCommand = this.CommandCollection[5];
- if ((CodSchedaVers == null))
- {
+ if ((CodSchedaVers == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodSchedaVers));
}
- if ((CodFam == null))
- {
+ if ((CodFam == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodFam));
}
- if ((filtByScheda.HasValue == true))
- {
+ if ((filtByScheda.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(filtByScheda.Value));
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
- if ((filtByFamMac.HasValue == true))
- {
+ if ((filtByFamMac.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[4].Value = ((bool)(filtByFamMac.Value));
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
}
DS_Applicazione.SchemaCollFamMaccDataTable dataTable = new DS_Applicazione.SchemaCollFamMaccDataTable();
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 clonaFamMacc(string CodFamFrom, string CodFamTo)
- {
+ public virtual int clonaFamMacc(string CodFamFrom, string CodFamTo) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
- if ((CodFamFrom == null))
- {
+ if ((CodFamFrom == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(CodFamFrom));
}
- if ((CodFamTo == null))
- {
+ if ((CodFamTo == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(CodFamTo));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 deleteQuery(string Original_CodSchedaVers, string Original_CodFam)
- {
+ public virtual int deleteQuery(string Original_CodSchedaVers, string Original_CodFam) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
- if ((Original_CodSchedaVers == null))
- {
+ if ((Original_CodSchedaVers == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(Original_CodSchedaVers));
}
- if ((Original_CodFam == null))
- {
+ if ((Original_CodFam == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(Original_CodFam));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 insertQuery(string CodSchedaVers, string CodFam)
- {
+ public virtual int insertQuery(string CodSchedaVers, string CodFam) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
- if ((CodSchedaVers == null))
- {
+ if ((CodSchedaVers == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(CodSchedaVers));
}
- if ((CodFam == null))
- {
+ if ((CodFam == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(CodFam));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 updateQuery(string CodSchedaVers, string CodFam, global::System.Nullable NumSchede, string opz, string Descrizione, string Original_CodSchedaVers, string Original_CodFam)
- {
+ public virtual int updateQuery(string CodSchedaVers, string CodFam, global::System.Nullable NumSchede, string opz, string Descrizione, string Original_CodSchedaVers, string Original_CodFam) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
- if ((CodSchedaVers == null))
- {
+ if ((CodSchedaVers == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(CodSchedaVers));
}
- if ((CodFam == null))
- {
+ if ((CodFam == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(CodFam));
}
- if ((NumSchede.HasValue == true))
- {
+ if ((NumSchede.HasValue == true)) {
command.Parameters[3].Value = ((int)(NumSchede.Value));
}
- else
- {
+ else {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- if ((opz == null))
- {
+ if ((opz == null)) {
command.Parameters[4].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[4].Value = ((string)(opz));
}
- if ((Descrizione == null))
- {
+ if ((Descrizione == null)) {
command.Parameters[5].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[5].Value = ((string)(Descrizione));
}
- if ((Original_CodSchedaVers == null))
- {
+ if ((Original_CodSchedaVers == null)) {
command.Parameters[6].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[6].Value = ((string)(Original_CodSchedaVers));
}
- if ((Original_CodFam == null))
- {
+ if ((Original_CodFam == null)) {
command.Parameters[7].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[7].Value = ((string)(Original_CodFam));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
-
+
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -14430,142 +12013,114 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
[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 ElencoDossierTableAdapter : global::System.ComponentModel.Component
- {
-
+ public partial class ElencoDossierTableAdapter : 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 ElencoDossierTableAdapter()
- {
+ public ElencoDossierTableAdapter() {
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))
- {
+ 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))
- {
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
- set
- {
+ set {
this._connection = value;
- if ((this.Adapter.InsertCommand != null))
- {
+ if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
- if ((this.Adapter.DeleteCommand != null))
- {
+ if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
- if ((this.Adapter.UpdateCommand != null))
- {
+ 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))
- {
+ 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
- {
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
return this._transaction;
}
- set
- {
+ set {
this._transaction = value;
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1))
- {
+ 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)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.InsertCommand != null)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.UpdateCommand != null)))
- {
+ 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))
- {
+ 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
- {
+ public bool ClearBeforeFill {
+ get {
return this._clearBeforeFill;
}
- set
- {
+ set {
this._clearBeforeFill = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitAdapter()
- {
+ 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";
@@ -14582,19 +12137,17 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
tableMapping.ColumnMappings.Add("Note", "Note");
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()
- {
+ private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::CMS_SC_Data.Properties.Settings.Default.CMS_SCConnectionString;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitCommandCollection()
- {
+ 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;
@@ -14628,184 +12181,151 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Stato", 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("@Note", global::System.Data.SqlDbType.NVarChar, 2147483647, 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.ElencoDossierDataTable dataTable)
- {
+ public virtual int Fill(DS_Applicazione.ElencoDossierDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((this.ClearBeforeFill == true))
- {
+ 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.ElencoDossierDataTable GetData()
- {
+ public virtual DS_Applicazione.ElencoDossierDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Applicazione.ElencoDossierDataTable dataTable = new DS_Applicazione.ElencoDossierDataTable();
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.ElencoDossierDataTable getByDossier(global::System.Nullable IdxDossier)
- {
+ public virtual DS_Applicazione.ElencoDossierDataTable getByDossier(global::System.Nullable IdxDossier) {
this.Adapter.SelectCommand = this.CommandCollection[2];
- if ((IdxDossier.HasValue == true))
- {
+ if ((IdxDossier.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxDossier.Value));
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
DS_Applicazione.ElencoDossierDataTable dataTable = new DS_Applicazione.ElencoDossierDataTable();
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 deleteQuery(global::System.Nullable Original_IdxDossier)
- {
+ public virtual int deleteQuery(global::System.Nullable Original_IdxDossier) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
- if ((Original_IdxDossier.HasValue == true))
- {
+ if ((Original_IdxDossier.HasValue == true)) {
command.Parameters[1].Value = ((int)(Original_IdxDossier.Value));
}
- else
- {
+ else {
command.Parameters[1].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))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 insertQuery(string Matricola, string User)
- {
+ public virtual int insertQuery(string Matricola, string User) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
- if ((Matricola == null))
- {
+ if ((Matricola == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(Matricola));
}
- if ((User == null))
- {
+ if ((User == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(User));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 updateNote(global::System.Nullable Original_IdxDossier, string Stato, string Note)
- {
+ public virtual int updateNote(global::System.Nullable Original_IdxDossier, string Stato, string Note) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
- if ((Original_IdxDossier.HasValue == true))
- {
+ if ((Original_IdxDossier.HasValue == true)) {
command.Parameters[1].Value = ((int)(Original_IdxDossier.Value));
}
- else
- {
+ else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- if ((Stato == null))
- {
+ if ((Stato == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(Stato));
}
- if ((Note == null))
- {
+ if ((Note == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[3].Value = ((string)(Note));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
-
+
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -14815,142 +12335,114 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
[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 SchemaCollMaccTableAdapter : global::System.ComponentModel.Component
- {
-
+ public partial class SchemaCollMaccTableAdapter : 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 SchemaCollMaccTableAdapter()
- {
+ public SchemaCollMaccTableAdapter() {
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))
- {
+ 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))
- {
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
- set
- {
+ set {
this._connection = value;
- if ((this.Adapter.InsertCommand != null))
- {
+ if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
- if ((this.Adapter.DeleteCommand != null))
- {
+ if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
- if ((this.Adapter.UpdateCommand != null))
- {
+ 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))
- {
+ 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
- {
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
return this._transaction;
}
- set
- {
+ set {
this._transaction = value;
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1))
- {
+ 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)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.InsertCommand != null)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.UpdateCommand != null)))
- {
+ 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))
- {
+ 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
- {
+ public bool ClearBeforeFill {
+ get {
return this._clearBeforeFill;
}
- set
- {
+ set {
this._clearBeforeFill = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitAdapter()
- {
+ 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";
@@ -15006,19 +12498,17 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab FROM S
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_opz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "opz", 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()
- {
+ private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::CMS_SC_Data.Properties.Settings.Default.CMS_SCConnectionString;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitCommandCollection()
- {
+ private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
@@ -15072,566 +12562,455 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab FROM S
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Vers", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumScheda", 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_Applicazione.SchemaCollMaccDataTable dataTable)
- {
+ public virtual int Fill(DS_Applicazione.SchemaCollMaccDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((this.ClearBeforeFill == true))
- {
+ 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.SchemaCollMaccDataTable GetData()
- {
+ public virtual DS_Applicazione.SchemaCollMaccDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Applicazione.SchemaCollMaccDataTable dataTable = new DS_Applicazione.SchemaCollMaccDataTable();
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.SchemaCollMaccDataTable getByDossier(global::System.Nullable IdxDossier)
- {
+ public virtual DS_Applicazione.SchemaCollMaccDataTable getByDossier(global::System.Nullable IdxDossier) {
this.Adapter.SelectCommand = this.CommandCollection[2];
- if ((IdxDossier.HasValue == true))
- {
+ if ((IdxDossier.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxDossier.Value));
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
DS_Applicazione.SchemaCollMaccDataTable dataTable = new DS_Applicazione.SchemaCollMaccDataTable();
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.SchemaCollMaccDataTable dataTable)
- {
+ public virtual int Update(DS_Applicazione.SchemaCollMaccDataTable 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)
- {
+ public virtual int Update(DS_Applicazione dataSet) {
return this.Adapter.Update(dataSet, "SchemaCollMacc");
}
-
+
[global::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)
- {
+ 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)
- {
+ 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_IdxDossier, string Original_CodScheda, int Original_Vers, int Original_NumScheda, string Original_Descrizione, string Original_opz)
- {
+ public virtual int Delete(int Original_IdxDossier, string Original_CodScheda, int Original_Vers, int Original_NumScheda, string Original_Descrizione, string Original_opz) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxDossier));
- if ((Original_CodScheda == null))
- {
+ if ((Original_CodScheda == null)) {
throw new global::System.ArgumentNullException("Original_CodScheda");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodScheda));
}
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_Vers));
this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_NumScheda));
- if ((Original_Descrizione == null))
- {
+ if ((Original_Descrizione == null)) {
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_Descrizione));
}
- if ((Original_opz == null))
- {
+ if ((Original_opz == null)) {
throw new global::System.ArgumentNullException("Original_opz");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_opz));
}
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))
- {
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 IdxDossier, string CodScheda, int Vers, int NumScheda, string Descrizione, string opz, string FasiEnab)
- {
+ public virtual int Insert(int IdxDossier, string CodScheda, int Vers, int NumScheda, string Descrizione, string opz, string FasiEnab) {
this.Adapter.InsertCommand.Parameters[0].Value = ((int)(IdxDossier));
- if ((CodScheda == null))
- {
+ if ((CodScheda == null)) {
throw new global::System.ArgumentNullException("CodScheda");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodScheda));
}
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(Vers));
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(NumScheda));
- if ((Descrizione == null))
- {
+ if ((Descrizione == null)) {
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Descrizione));
}
- if ((opz == null))
- {
+ if ((opz == null)) {
throw new global::System.ArgumentNullException("opz");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(opz));
}
- if ((FasiEnab == null))
- {
+ if ((FasiEnab == null)) {
throw new global::System.ArgumentNullException("FasiEnab");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(FasiEnab));
}
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))
- {
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 IdxDossier, string CodScheda, int Vers, int NumScheda, string Descrizione, string opz, string FasiEnab, int Original_IdxDossier, string Original_CodScheda, int Original_Vers, int Original_NumScheda, string Original_Descrizione, string Original_opz)
- {
+ public virtual int Update(int IdxDossier, string CodScheda, int Vers, int NumScheda, string Descrizione, string opz, string FasiEnab, int Original_IdxDossier, string Original_CodScheda, int Original_Vers, int Original_NumScheda, string Original_Descrizione, string Original_opz) {
this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(IdxDossier));
- if ((CodScheda == null))
- {
+ if ((CodScheda == null)) {
throw new global::System.ArgumentNullException("CodScheda");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodScheda));
}
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(Vers));
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(NumScheda));
- if ((Descrizione == null))
- {
+ if ((Descrizione == null)) {
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Descrizione));
}
- if ((opz == null))
- {
+ if ((opz == null)) {
throw new global::System.ArgumentNullException("opz");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(opz));
}
- if ((FasiEnab == null))
- {
+ if ((FasiEnab == null)) {
throw new global::System.ArgumentNullException("FasiEnab");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(FasiEnab));
}
this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_IdxDossier));
- if ((Original_CodScheda == null))
- {
+ if ((Original_CodScheda == null)) {
throw new global::System.ArgumentNullException("Original_CodScheda");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodScheda));
}
this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_Vers));
this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_NumScheda));
- if ((Original_Descrizione == null))
- {
+ if ((Original_Descrizione == null)) {
this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_Descrizione));
}
- if ((Original_opz == null))
- {
+ if ((Original_opz == null)) {
throw new global::System.ArgumentNullException("Original_opz");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_opz));
}
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))
- {
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 Descrizione, string opz, string FasiEnab, int Original_IdxDossier, string Original_CodScheda, int Original_Vers, int Original_NumScheda, string Original_Descrizione, string Original_opz)
- {
+ public virtual int Update(string Descrizione, string opz, string FasiEnab, int Original_IdxDossier, string Original_CodScheda, int Original_Vers, int Original_NumScheda, string Original_Descrizione, string Original_opz) {
return this.Update(Original_IdxDossier, Original_CodScheda, Original_Vers, Original_NumScheda, Descrizione, opz, FasiEnab, Original_IdxDossier, Original_CodScheda, Original_Vers, Original_NumScheda, Original_Descrizione, Original_opz);
}
-
+
[global::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 deleteQuery(global::System.Nullable Original_IdxDossier, string Original_CodScheda, global::System.Nullable Original_Vers, global::System.Nullable Original_NumScheda)
- {
+ public virtual int deleteQuery(global::System.Nullable Original_IdxDossier, string Original_CodScheda, global::System.Nullable Original_Vers, global::System.Nullable Original_NumScheda) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
- if ((Original_IdxDossier.HasValue == true))
- {
+ if ((Original_IdxDossier.HasValue == true)) {
command.Parameters[1].Value = ((int)(Original_IdxDossier.Value));
}
- else
- {
+ else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- if ((Original_CodScheda == null))
- {
+ if ((Original_CodScheda == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(Original_CodScheda));
}
- if ((Original_Vers.HasValue == true))
- {
+ if ((Original_Vers.HasValue == true)) {
command.Parameters[3].Value = ((int)(Original_Vers.Value));
}
- else
- {
+ else {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- if ((Original_NumScheda.HasValue == true))
- {
+ if ((Original_NumScheda.HasValue == true)) {
command.Parameters[4].Value = ((int)(Original_NumScheda.Value));
}
- else
- {
+ 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))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 insByCodSchedaVers(global::System.Nullable IdxDossier, string CodSchedaVers)
- {
+ public virtual int insByCodSchedaVers(global::System.Nullable IdxDossier, string CodSchedaVers) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
- if ((IdxDossier.HasValue == true))
- {
+ if ((IdxDossier.HasValue == true)) {
command.Parameters[1].Value = ((int)(IdxDossier.Value));
}
- else
- {
+ else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- if ((CodSchedaVers == null))
- {
+ if ((CodSchedaVers == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(CodSchedaVers));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 insByFamMac(global::System.Nullable IdxDossier, string CodFam)
- {
+ public virtual int insByFamMac(global::System.Nullable IdxDossier, string CodFam) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
- if ((IdxDossier.HasValue == true))
- {
+ if ((IdxDossier.HasValue == true)) {
command.Parameters[1].Value = ((int)(IdxDossier.Value));
}
- else
- {
+ else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- if ((CodFam == null))
- {
+ if ((CodFam == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(CodFam));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 insMisFasiMissing(global::System.Nullable IdxDossier)
- {
+ public virtual int insMisFasiMissing(global::System.Nullable IdxDossier) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
- if ((IdxDossier.HasValue == true))
- {
+ if ((IdxDossier.HasValue == true)) {
command.Parameters[1].Value = ((int)(IdxDossier.Value));
}
- else
- {
+ else {
command.Parameters[1].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))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 updateQuery(string Descrizione, string opz, string FasiEnab, global::System.Nullable Original_IdxDossier, string Original_CodScheda, global::System.Nullable Original_Vers, global::System.Nullable Original_NumScheda)
- {
+ public virtual int updateQuery(string Descrizione, string opz, string FasiEnab, global::System.Nullable Original_IdxDossier, string Original_CodScheda, global::System.Nullable Original_Vers, global::System.Nullable Original_NumScheda) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
- if ((Descrizione == null))
- {
+ if ((Descrizione == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(Descrizione));
}
- if ((opz == null))
- {
+ if ((opz == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(opz));
}
- if ((FasiEnab == null))
- {
+ if ((FasiEnab == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[3].Value = ((string)(FasiEnab));
}
- if ((Original_IdxDossier.HasValue == true))
- {
+ if ((Original_IdxDossier.HasValue == true)) {
command.Parameters[4].Value = ((int)(Original_IdxDossier.Value));
}
- else
- {
+ else {
command.Parameters[4].Value = global::System.DBNull.Value;
}
- if ((Original_CodScheda == null))
- {
+ if ((Original_CodScheda == null)) {
command.Parameters[5].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[5].Value = ((string)(Original_CodScheda));
}
- if ((Original_Vers.HasValue == true))
- {
+ if ((Original_Vers.HasValue == true)) {
command.Parameters[6].Value = ((int)(Original_Vers.Value));
}
- else
- {
+ else {
command.Parameters[6].Value = global::System.DBNull.Value;
}
- if ((Original_NumScheda.HasValue == true))
- {
+ if ((Original_NumScheda.HasValue == true)) {
command.Parameters[7].Value = ((int)(Original_NumScheda.Value));
}
- else
- {
+ else {
command.Parameters[7].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))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
-
+
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -15641,142 +13020,114 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab FROM S
[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 MisureTableAdapter : global::System.ComponentModel.Component
- {
-
+ public partial class MisureTableAdapter : 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 MisureTableAdapter()
- {
+ public MisureTableAdapter() {
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))
- {
+ 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))
- {
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
- set
- {
+ set {
this._connection = value;
- if ((this.Adapter.InsertCommand != null))
- {
+ if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
- if ((this.Adapter.DeleteCommand != null))
- {
+ if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
- if ((this.Adapter.UpdateCommand != null))
- {
+ 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))
- {
+ 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
- {
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
return this._transaction;
}
- set
- {
+ set {
this._transaction = value;
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1))
- {
+ 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)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.InsertCommand != null)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.UpdateCommand != null)))
- {
+ 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))
- {
+ 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
- {
+ public bool ClearBeforeFill {
+ get {
return this._clearBeforeFill;
}
- set
- {
+ set {
this._clearBeforeFill = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitAdapter()
- {
+ 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";
@@ -15804,19 +13155,17 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab FROM S
tableMapping.ColumnMappings.Add("CodVisib", "CodVisib");
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()
- {
+ private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::CMS_SC_Data.Properties.Settings.Default.CMS_SCConnectionString;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitCommandCollection()
- {
+ 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;
@@ -15888,419 +13237,333 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab FROM S
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValoreMis", global::System.Data.SqlDbType.NVarChar, 4000, 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("@CodVisib", 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.MisureDataTable dataTable)
- {
+ public virtual int Fill(DS_Applicazione.MisureDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((this.ClearBeforeFill == true))
- {
+ 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.MisureDataTable GetData()
- {
+ public virtual DS_Applicazione.MisureDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Applicazione.MisureDataTable dataTable = new DS_Applicazione.MisureDataTable();
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.MisureDataTable getByDossier(global::System.Nullable IdxDossier)
- {
+ public virtual DS_Applicazione.MisureDataTable getByDossier(global::System.Nullable IdxDossier) {
this.Adapter.SelectCommand = this.CommandCollection[2];
- if ((IdxDossier.HasValue == true))
- {
+ if ((IdxDossier.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxDossier.Value));
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
DS_Applicazione.MisureDataTable dataTable = new DS_Applicazione.MisureDataTable();
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.MisureDataTable getDataFilt(global::System.Nullable IdxDossier, string CodSchedaVers, string Fase)
- {
+ public virtual DS_Applicazione.MisureDataTable getDataFilt(global::System.Nullable IdxDossier, string CodSchedaVers, string Fase) {
this.Adapter.SelectCommand = this.CommandCollection[3];
- if ((IdxDossier.HasValue == true))
- {
+ if ((IdxDossier.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxDossier.Value));
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- if ((CodSchedaVers == null))
- {
+ if ((CodSchedaVers == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodSchedaVers));
}
- if ((Fase == null))
- {
+ if ((Fase == null)) {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Fase));
}
DS_Applicazione.MisureDataTable dataTable = new DS_Applicazione.MisureDataTable();
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.MisureDataTable getNum2Ins(global::System.Nullable IdxDossier, string CodSchedaVers, string Fase)
- {
+ public virtual DS_Applicazione.MisureDataTable getNum2Ins(global::System.Nullable IdxDossier, string CodSchedaVers, string Fase) {
this.Adapter.SelectCommand = this.CommandCollection[4];
- if ((IdxDossier.HasValue == true))
- {
+ if ((IdxDossier.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxDossier.Value));
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- if ((CodSchedaVers == null))
- {
+ if ((CodSchedaVers == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodSchedaVers));
}
- if ((Fase == null))
- {
+ if ((Fase == null)) {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Fase));
}
DS_Applicazione.MisureDataTable dataTable = new DS_Applicazione.MisureDataTable();
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 deroga(global::System.Nullable Original_IdxDossier, string Original_CodScheda, global::System.Nullable Original_Vers, global::System.Nullable Original_NumScheda, string Original_CodMisura, string Original_Fase, string CodDeroga)
- {
+ public virtual int deroga(global::System.Nullable Original_IdxDossier, string Original_CodScheda, global::System.Nullable Original_Vers, global::System.Nullable Original_NumScheda, string Original_CodMisura, string Original_Fase, string CodDeroga) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
- if ((Original_IdxDossier.HasValue == true))
- {
+ if ((Original_IdxDossier.HasValue == true)) {
command.Parameters[1].Value = ((int)(Original_IdxDossier.Value));
}
- else
- {
+ else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- if ((Original_CodScheda == null))
- {
+ if ((Original_CodScheda == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(Original_CodScheda));
}
- if ((Original_Vers.HasValue == true))
- {
+ if ((Original_Vers.HasValue == true)) {
command.Parameters[3].Value = ((int)(Original_Vers.Value));
}
- else
- {
+ else {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- if ((Original_NumScheda.HasValue == true))
- {
+ if ((Original_NumScheda.HasValue == true)) {
command.Parameters[4].Value = ((int)(Original_NumScheda.Value));
}
- else
- {
+ else {
command.Parameters[4].Value = global::System.DBNull.Value;
}
- if ((Original_CodMisura == null))
- {
+ if ((Original_CodMisura == null)) {
command.Parameters[5].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[5].Value = ((string)(Original_CodMisura));
}
- if ((Original_Fase == null))
- {
+ if ((Original_Fase == null)) {
command.Parameters[6].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[6].Value = ((string)(Original_Fase));
}
- if ((CodDeroga == null))
- {
+ if ((CodDeroga == null)) {
command.Parameters[7].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[7].Value = ((string)(CodDeroga));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 insMissing(global::System.Nullable IdxDossier, string CodSchedaVersNum, string Fase)
- {
+ public virtual int insMissing(global::System.Nullable IdxDossier, string CodSchedaVersNum, string Fase) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
- if ((IdxDossier.HasValue == true))
- {
+ if ((IdxDossier.HasValue == true)) {
command.Parameters[1].Value = ((int)(IdxDossier.Value));
}
- else
- {
+ else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- if ((CodSchedaVersNum == null))
- {
+ if ((CodSchedaVersNum == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(CodSchedaVersNum));
}
- if ((Fase == null))
- {
+ if ((Fase == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[3].Value = ((string)(Fase));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 remSetMis(global::System.Nullable IdxDossier, string CodSchedaVers, string Fase)
- {
+ public virtual int remSetMis(global::System.Nullable IdxDossier, string CodSchedaVers, string Fase) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
- if ((IdxDossier.HasValue == true))
- {
+ if ((IdxDossier.HasValue == true)) {
command.Parameters[1].Value = ((int)(IdxDossier.Value));
}
- else
- {
+ else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- if ((CodSchedaVers == null))
- {
+ if ((CodSchedaVers == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(CodSchedaVers));
}
- if ((Fase == null))
- {
+ if ((Fase == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[3].Value = ((string)(Fase));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 updateMis(global::System.Nullable Original_IdxDossier, string Original_CodScheda, global::System.Nullable Original_Vers, global::System.Nullable Original_NumScheda, string Original_CodMisura, string Original_Fase, string Operatore, global::System.Nullable ValorePar, string ValoreMis, string CodVisib)
- {
+ public virtual int updateMis(global::System.Nullable Original_IdxDossier, string Original_CodScheda, global::System.Nullable Original_Vers, global::System.Nullable Original_NumScheda, string Original_CodMisura, string Original_Fase, string Operatore, global::System.Nullable ValorePar, string ValoreMis, string CodVisib) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
- if ((Original_IdxDossier.HasValue == true))
- {
+ if ((Original_IdxDossier.HasValue == true)) {
command.Parameters[1].Value = ((int)(Original_IdxDossier.Value));
}
- else
- {
+ else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- if ((Original_CodScheda == null))
- {
+ if ((Original_CodScheda == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(Original_CodScheda));
}
- if ((Original_Vers.HasValue == true))
- {
+ if ((Original_Vers.HasValue == true)) {
command.Parameters[3].Value = ((int)(Original_Vers.Value));
}
- else
- {
+ else {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- if ((Original_NumScheda.HasValue == true))
- {
+ if ((Original_NumScheda.HasValue == true)) {
command.Parameters[4].Value = ((int)(Original_NumScheda.Value));
}
- else
- {
+ else {
command.Parameters[4].Value = global::System.DBNull.Value;
}
- if ((Original_CodMisura == null))
- {
+ if ((Original_CodMisura == null)) {
command.Parameters[5].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[5].Value = ((string)(Original_CodMisura));
}
- if ((Original_Fase == null))
- {
+ if ((Original_Fase == null)) {
command.Parameters[6].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[6].Value = ((string)(Original_Fase));
}
- if ((Operatore == null))
- {
+ if ((Operatore == null)) {
command.Parameters[7].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[7].Value = ((string)(Operatore));
}
- if ((ValorePar.HasValue == true))
- {
+ if ((ValorePar.HasValue == true)) {
command.Parameters[8].Value = ((double)(ValorePar.Value));
}
- else
- {
+ else {
command.Parameters[8].Value = global::System.DBNull.Value;
}
- if ((ValoreMis == null))
- {
+ if ((ValoreMis == null)) {
command.Parameters[9].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[9].Value = ((string)(ValoreMis));
}
- if ((CodVisib == null))
- {
+ if ((CodVisib == null)) {
command.Parameters[10].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[10].Value = ((string)(CodVisib));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
-
+
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -16310,142 +13573,114 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab FROM S
[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 ReportDataTableAdapter : global::System.ComponentModel.Component
- {
-
+ public partial class ReportDataTableAdapter : 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 ReportDataTableAdapter()
- {
+ public ReportDataTableAdapter() {
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))
- {
+ 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))
- {
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
- set
- {
+ set {
this._connection = value;
- if ((this.Adapter.InsertCommand != null))
- {
+ if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
- if ((this.Adapter.DeleteCommand != null))
- {
+ if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
- if ((this.Adapter.UpdateCommand != null))
- {
+ 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))
- {
+ 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
- {
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
return this._transaction;
}
- set
- {
+ set {
this._transaction = value;
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1))
- {
+ 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)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.InsertCommand != null)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.UpdateCommand != null)))
- {
+ 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))
- {
+ 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
- {
+ public bool ClearBeforeFill {
+ get {
return this._clearBeforeFill;
}
- set
- {
+ set {
this._clearBeforeFill = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitAdapter()
- {
+ 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";
@@ -16476,19 +13711,17 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab FROM S
tableMapping.ColumnMappings.Add("DescMacchina", "DescMacchina");
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()
- {
+ private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::CMS_SC_Data.Properties.Settings.Default.CMS_SCConnectionString;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitCommandCollection()
- {
+ 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;
@@ -16498,59 +13731,48 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab FROM S
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxDossier", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fase", 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.ReportDataDataTable dataTable, global::System.Nullable IdxDossier, string Fase)
- {
+ public virtual int Fill(DS_Applicazione.ReportDataDataTable dataTable, global::System.Nullable IdxDossier, string Fase) {
this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((IdxDossier.HasValue == true))
- {
+ if ((IdxDossier.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxDossier.Value));
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- if ((Fase == null))
- {
+ if ((Fase == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Fase));
}
- if ((this.ClearBeforeFill == true))
- {
+ 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.ReportDataDataTable GetData(global::System.Nullable IdxDossier, string Fase)
- {
+ public virtual DS_Applicazione.ReportDataDataTable GetData(global::System.Nullable IdxDossier, string Fase) {
this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((IdxDossier.HasValue == true))
- {
+ if ((IdxDossier.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxDossier.Value));
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- if ((Fase == null))
- {
+ if ((Fase == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Fase));
}
DS_Applicazione.ReportDataDataTable dataTable = new DS_Applicazione.ReportDataDataTable();
@@ -16558,7 +13780,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab FROM S
return dataTable;
}
}
-
+
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -16568,142 +13790,114 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab FROM S
[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 Tags2MacchineTableAdapter : global::System.ComponentModel.Component
- {
-
+ public partial class Tags2MacchineTableAdapter : 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 Tags2MacchineTableAdapter()
- {
+ public Tags2MacchineTableAdapter() {
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))
- {
+ 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))
- {
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
- set
- {
+ set {
this._connection = value;
- if ((this.Adapter.InsertCommand != null))
- {
+ if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
- if ((this.Adapter.DeleteCommand != null))
- {
+ if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
- if ((this.Adapter.UpdateCommand != null))
- {
+ 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))
- {
+ 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
- {
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
return this._transaction;
}
- set
- {
+ set {
this._transaction = value;
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1))
- {
+ 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)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.InsertCommand != null)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.UpdateCommand != null)))
- {
+ 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))
- {
+ 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
- {
+ public bool ClearBeforeFill {
+ get {
return this._clearBeforeFill;
}
- set
- {
+ set {
this._clearBeforeFill = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitAdapter()
- {
+ 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";
@@ -16736,19 +13930,17 @@ SELECT Matricola, TagCode FROM Tags2Macchine WHERE (Matricola = @Matricola) AND
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Matricola", global::System.Data.SqlDbType.NVarChar, 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("@Original_TagCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TagCode", 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()
- {
+ private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::CMS_SC_Data.Properties.Settings.Default.CMS_SCConnectionString;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitCommandCollection()
- {
+ 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;
@@ -16761,239 +13953,197 @@ SELECT Matricola, TagCode FROM Tags2Macchine WHERE (Matricola = @Matricola) AND
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("@Matricola", 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.Tags2MacchineDataTable dataTable)
- {
+ public virtual int Fill(DS_Applicazione.Tags2MacchineDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((this.ClearBeforeFill == true))
- {
+ 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.Tags2MacchineDataTable GetData()
- {
+ public virtual DS_Applicazione.Tags2MacchineDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Applicazione.Tags2MacchineDataTable dataTable = new DS_Applicazione.Tags2MacchineDataTable();
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.Tags2MacchineDataTable getByMatr(string Matricola)
- {
+ public virtual DS_Applicazione.Tags2MacchineDataTable getByMatr(string Matricola) {
this.Adapter.SelectCommand = this.CommandCollection[1];
- if ((Matricola == null))
- {
+ if ((Matricola == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Matricola));
}
DS_Applicazione.Tags2MacchineDataTable dataTable = new DS_Applicazione.Tags2MacchineDataTable();
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.Tags2MacchineDataTable dataTable)
- {
+ public virtual int Update(DS_Applicazione.Tags2MacchineDataTable 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)
- {
+ public virtual int Update(DS_Applicazione dataSet) {
return this.Adapter.Update(dataSet, "Tags2Macchine");
}
-
+
[global::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)
- {
+ 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)
- {
+ 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_Matricola, string Original_TagCode)
- {
- if ((Original_Matricola == null))
- {
+ public virtual int Delete(string Original_Matricola, string Original_TagCode) {
+ if ((Original_Matricola == null)) {
throw new global::System.ArgumentNullException("Original_Matricola");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_Matricola));
}
- if ((Original_TagCode == null))
- {
+ if ((Original_TagCode == null)) {
throw new global::System.ArgumentNullException("Original_TagCode");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_TagCode));
}
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))
- {
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 Matricola, string TagCode)
- {
- if ((Matricola == null))
- {
+ public virtual int Insert(string Matricola, string TagCode) {
+ if ((Matricola == null)) {
throw new global::System.ArgumentNullException("Matricola");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Matricola));
}
- if ((TagCode == null))
- {
+ if ((TagCode == null)) {
throw new global::System.ArgumentNullException("TagCode");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(TagCode));
}
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))
- {
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 Matricola, string TagCode, string Original_Matricola, string Original_TagCode)
- {
- if ((Matricola == null))
- {
+ public virtual int Update(string Matricola, string TagCode, string Original_Matricola, string Original_TagCode) {
+ if ((Matricola == null)) {
throw new global::System.ArgumentNullException("Matricola");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Matricola));
}
- if ((TagCode == null))
- {
+ if ((TagCode == null)) {
throw new global::System.ArgumentNullException("TagCode");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(TagCode));
}
- if ((Original_Matricola == null))
- {
+ if ((Original_Matricola == null)) {
throw new global::System.ArgumentNullException("Original_Matricola");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_Matricola));
}
- if ((Original_TagCode == null))
- {
+ if ((Original_TagCode == null)) {
throw new global::System.ArgumentNullException("Original_TagCode");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_TagCode));
}
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))
- {
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 Original_Matricola, string Original_TagCode)
- {
+ public virtual int Update(string Original_Matricola, string Original_TagCode) {
return this.Update(Original_Matricola, Original_TagCode, Original_Matricola, Original_TagCode);
}
}
-
+
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -17003,142 +14153,114 @@ SELECT Matricola, TagCode FROM Tags2Macchine WHERE (Matricola = @Matricola) AND
[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 AnagTagsTableAdapter : global::System.ComponentModel.Component
- {
-
+ public partial class AnagTagsTableAdapter : 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 AnagTagsTableAdapter()
- {
+ public AnagTagsTableAdapter() {
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))
- {
+ 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))
- {
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
- set
- {
+ set {
this._connection = value;
- if ((this.Adapter.InsertCommand != null))
- {
+ if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
- if ((this.Adapter.DeleteCommand != null))
- {
+ if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
- if ((this.Adapter.UpdateCommand != null))
- {
+ 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))
- {
+ 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
- {
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
return this._transaction;
}
- set
- {
+ set {
this._transaction = value;
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1))
- {
+ 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)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.InsertCommand != null)))
- {
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
- if (((this.Adapter != null)
- && (this.Adapter.UpdateCommand != null)))
- {
+ 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))
- {
+ 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
- {
+ public bool ClearBeforeFill {
+ get {
return this._clearBeforeFill;
}
- set
- {
+ set {
this._clearBeforeFill = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitAdapter()
- {
+ 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";
@@ -17172,19 +14294,17 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)";
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrTag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTag", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrTag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTag", 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()
- {
+ private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::CMS_SC_Data.Properties.Settings.Default.CMS_SCConnectionString;
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitCommandCollection()
- {
+ 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;
@@ -17218,375 +14338,306 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)";
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrTag", global::System.Data.SqlDbType.NVarChar, 250, 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("@Original_TagCode", 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.AnagTagsDataTable dataTable)
- {
+ public virtual int Fill(DS_Applicazione.AnagTagsDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((this.ClearBeforeFill == true))
- {
+ 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.AnagTagsDataTable GetData()
- {
+ public virtual DS_Applicazione.AnagTagsDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Applicazione.AnagTagsDataTable dataTable = new DS_Applicazione.AnagTagsDataTable();
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.AnagTagsDataTable getUnassToMatr(string Matricola)
- {
+ public virtual DS_Applicazione.AnagTagsDataTable getUnassToMatr(string Matricola) {
this.Adapter.SelectCommand = this.CommandCollection[2];
- if ((Matricola == null))
- {
+ if ((Matricola == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Matricola));
}
DS_Applicazione.AnagTagsDataTable dataTable = new DS_Applicazione.AnagTagsDataTable();
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.AnagTagsDataTable dataTable)
- {
+ public virtual int Update(DS_Applicazione.AnagTagsDataTable 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)
- {
+ public virtual int Update(DS_Applicazione dataSet) {
return this.Adapter.Update(dataSet, "AnagTags");
}
-
+
[global::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)
- {
+ 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)
- {
+ 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_TagCode, string Original_DescrTag)
- {
- if ((Original_TagCode == null))
- {
+ public virtual int Delete(string Original_TagCode, string Original_DescrTag) {
+ if ((Original_TagCode == null)) {
throw new global::System.ArgumentNullException("Original_TagCode");
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_TagCode));
}
- if ((Original_DescrTag == null))
- {
+ if ((Original_DescrTag == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrTag));
}
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))
- {
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 TagCode, string DescrTag)
- {
- if ((TagCode == null))
- {
+ public virtual int Insert(string TagCode, string DescrTag) {
+ if ((TagCode == null)) {
throw new global::System.ArgumentNullException("TagCode");
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(TagCode));
}
- if ((DescrTag == null))
- {
+ if ((DescrTag == null)) {
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrTag));
}
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))
- {
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 TagCode, string DescrTag, string Original_TagCode, string Original_DescrTag)
- {
- if ((TagCode == null))
- {
+ public virtual int Update(string TagCode, string DescrTag, string Original_TagCode, string Original_DescrTag) {
+ if ((TagCode == null)) {
throw new global::System.ArgumentNullException("TagCode");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(TagCode));
}
- if ((DescrTag == null))
- {
+ if ((DescrTag == null)) {
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrTag));
}
- if ((Original_TagCode == null))
- {
+ if ((Original_TagCode == null)) {
throw new global::System.ArgumentNullException("Original_TagCode");
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_TagCode));
}
- if ((Original_DescrTag == null))
- {
+ if ((Original_DescrTag == null)) {
this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_DescrTag));
}
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))
- {
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
- try
- {
+ try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 DescrTag, string Original_TagCode, string Original_DescrTag)
- {
+ public virtual int Update(string DescrTag, string Original_TagCode, string Original_DescrTag) {
return this.Update(Original_TagCode, DescrTag, Original_TagCode, Original_DescrTag);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("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_TagCode)
- {
+ public virtual int deleteQuery(string Original_TagCode) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
- if ((Original_TagCode == null))
- {
+ if ((Original_TagCode == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(Original_TagCode));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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.Insert, false)]
- public virtual int insertQuery(string TagCode, string DescrTag)
- {
+ public virtual int insertQuery(string TagCode, string DescrTag) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
- if ((TagCode == null))
- {
+ if ((TagCode == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(TagCode));
}
- if ((DescrTag == null))
- {
+ if ((DescrTag == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(DescrTag));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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 TagCode, string DescrTag, string Original_TagCode)
- {
+ public virtual int updateQuery(string TagCode, string DescrTag, string Original_TagCode) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
- if ((TagCode == null))
- {
+ if ((TagCode == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[1].Value = ((string)(TagCode));
}
- if ((DescrTag == null))
- {
+ if ((DescrTag == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[2].Value = ((string)(DescrTag));
}
- if ((Original_TagCode == null))
- {
+ if ((Original_TagCode == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
- else
- {
+ else {
command.Parameters[3].Value = ((string)(Original_TagCode));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open))
- {
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
- try
- {
+ try {
returnValue = command.ExecuteNonQuery();
}
- finally
- {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
- {
+ 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
///
@@ -17595,756 +14646,567 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)";
[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
- {
-
+ public partial class TableAdapterManager : global::System.ComponentModel.Component {
+
private UpdateOrderOption _updateOrder;
-
- private ElencoFamMaccTableAdapter _elencoFamMaccTableAdapter;
-
+
private ElencoMacchineCNTableAdapter _elencoMacchineCNTableAdapter;
-
+
private AnagFasiTableAdapter _anagFasiTableAdapter;
-
+
private AnagSchedeTableAdapter _anagSchedeTableAdapter;
-
+
private DettSchedaTableAdapter _dettSchedaTableAdapter;
-
+
private ValidValTableAdapter _validValTableAdapter;
-
+
private SchemaCollMaccTableAdapter _schemaCollMaccTableAdapter;
-
+
private Tags2MacchineTableAdapter _tags2MacchineTableAdapter;
-
+
private AnagTagsTableAdapter _anagTagsTableAdapter;
-
+
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
- {
+ public UpdateOrderOption UpdateOrder {
+ get {
return this._updateOrder;
}
- set
- {
+ 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 ElencoFamMaccTableAdapter ElencoFamMaccTableAdapter
- {
- get
- {
- return this._elencoFamMaccTableAdapter;
- }
- set
- {
- this._elencoFamMaccTableAdapter = 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 ElencoMacchineCNTableAdapter ElencoMacchineCNTableAdapter
- {
- get
- {
+ public ElencoMacchineCNTableAdapter ElencoMacchineCNTableAdapter {
+ get {
return this._elencoMacchineCNTableAdapter;
}
- set
- {
+ set {
this._elencoMacchineCNTableAdapter = 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 AnagFasiTableAdapter AnagFasiTableAdapter
- {
- get
- {
+ public AnagFasiTableAdapter AnagFasiTableAdapter {
+ get {
return this._anagFasiTableAdapter;
}
- set
- {
+ set {
this._anagFasiTableAdapter = 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 AnagSchedeTableAdapter AnagSchedeTableAdapter
- {
- get
- {
+ public AnagSchedeTableAdapter AnagSchedeTableAdapter {
+ get {
return this._anagSchedeTableAdapter;
}
- set
- {
+ set {
this._anagSchedeTableAdapter = 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 DettSchedaTableAdapter DettSchedaTableAdapter
- {
- get
- {
+ public DettSchedaTableAdapter DettSchedaTableAdapter {
+ get {
return this._dettSchedaTableAdapter;
}
- set
- {
+ set {
this._dettSchedaTableAdapter = 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 ValidValTableAdapter ValidValTableAdapter
- {
- get
- {
+ public ValidValTableAdapter ValidValTableAdapter {
+ get {
return this._validValTableAdapter;
}
- set
- {
+ set {
this._validValTableAdapter = 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 SchemaCollMaccTableAdapter SchemaCollMaccTableAdapter
- {
- get
- {
+ public SchemaCollMaccTableAdapter SchemaCollMaccTableAdapter {
+ get {
return this._schemaCollMaccTableAdapter;
}
- set
- {
+ set {
this._schemaCollMaccTableAdapter = 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 Tags2MacchineTableAdapter Tags2MacchineTableAdapter
- {
- get
- {
+ public Tags2MacchineTableAdapter Tags2MacchineTableAdapter {
+ get {
return this._tags2MacchineTableAdapter;
}
- set
- {
+ set {
this._tags2MacchineTableAdapter = 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 AnagTagsTableAdapter AnagTagsTableAdapter
- {
- get
- {
+ public AnagTagsTableAdapter AnagTagsTableAdapter {
+ get {
return this._anagTagsTableAdapter;
}
- set
- {
+ set {
this._anagTagsTableAdapter = value;
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool BackupDataSetBeforeUpdate
- {
- get
- {
+ public bool BackupDataSetBeforeUpdate {
+ get {
return this._backupDataSetBeforeUpdate;
}
- set
- {
+ 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))
- {
+ public global::System.Data.IDbConnection Connection {
+ get {
+ if ((this._connection != null)) {
return this._connection;
}
- if (((this._elencoFamMaccTableAdapter != null)
- && (this._elencoFamMaccTableAdapter.Connection != null)))
- {
- return this._elencoFamMaccTableAdapter.Connection;
- }
- if (((this._elencoMacchineCNTableAdapter != null)
- && (this._elencoMacchineCNTableAdapter.Connection != null)))
- {
+ if (((this._elencoMacchineCNTableAdapter != null)
+ && (this._elencoMacchineCNTableAdapter.Connection != null))) {
return this._elencoMacchineCNTableAdapter.Connection;
}
- if (((this._anagFasiTableAdapter != null)
- && (this._anagFasiTableAdapter.Connection != null)))
- {
+ if (((this._anagFasiTableAdapter != null)
+ && (this._anagFasiTableAdapter.Connection != null))) {
return this._anagFasiTableAdapter.Connection;
}
- if (((this._anagSchedeTableAdapter != null)
- && (this._anagSchedeTableAdapter.Connection != null)))
- {
+ if (((this._anagSchedeTableAdapter != null)
+ && (this._anagSchedeTableAdapter.Connection != null))) {
return this._anagSchedeTableAdapter.Connection;
}
- if (((this._dettSchedaTableAdapter != null)
- && (this._dettSchedaTableAdapter.Connection != null)))
- {
+ if (((this._dettSchedaTableAdapter != null)
+ && (this._dettSchedaTableAdapter.Connection != null))) {
return this._dettSchedaTableAdapter.Connection;
}
- if (((this._validValTableAdapter != null)
- && (this._validValTableAdapter.Connection != null)))
- {
+ if (((this._validValTableAdapter != null)
+ && (this._validValTableAdapter.Connection != null))) {
return this._validValTableAdapter.Connection;
}
- if (((this._schemaCollMaccTableAdapter != null)
- && (this._schemaCollMaccTableAdapter.Connection != null)))
- {
+ if (((this._schemaCollMaccTableAdapter != null)
+ && (this._schemaCollMaccTableAdapter.Connection != null))) {
return this._schemaCollMaccTableAdapter.Connection;
}
- if (((this._tags2MacchineTableAdapter != null)
- && (this._tags2MacchineTableAdapter.Connection != null)))
- {
+ if (((this._tags2MacchineTableAdapter != null)
+ && (this._tags2MacchineTableAdapter.Connection != null))) {
return this._tags2MacchineTableAdapter.Connection;
}
- if (((this._anagTagsTableAdapter != null)
- && (this._anagTagsTableAdapter.Connection != null)))
- {
+ if (((this._anagTagsTableAdapter != null)
+ && (this._anagTagsTableAdapter.Connection != null))) {
return this._anagTagsTableAdapter.Connection;
}
return null;
}
- set
- {
+ 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
- {
+ public int TableAdapterInstanceCount {
+ get {
int count = 0;
- if ((this._elencoFamMaccTableAdapter != null))
- {
+ if ((this._elencoMacchineCNTableAdapter != null)) {
count = (count + 1);
}
- if ((this._elencoMacchineCNTableAdapter != null))
- {
+ if ((this._anagFasiTableAdapter != null)) {
count = (count + 1);
}
- if ((this._anagFasiTableAdapter != null))
- {
+ if ((this._anagSchedeTableAdapter != null)) {
count = (count + 1);
}
- if ((this._anagSchedeTableAdapter != null))
- {
+ if ((this._dettSchedaTableAdapter != null)) {
count = (count + 1);
}
- if ((this._dettSchedaTableAdapter != null))
- {
+ if ((this._validValTableAdapter != null)) {
count = (count + 1);
}
- if ((this._validValTableAdapter != null))
- {
+ if ((this._schemaCollMaccTableAdapter != null)) {
count = (count + 1);
}
- if ((this._schemaCollMaccTableAdapter != null))
- {
+ if ((this._tags2MacchineTableAdapter != null)) {
count = (count + 1);
}
- if ((this._tags2MacchineTableAdapter != null))
- {
- count = (count + 1);
- }
- if ((this._anagTagsTableAdapter != null))
- {
+ if ((this._anagTagsTableAdapter != 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)
- {
+ private int UpdateUpdatedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) {
int result = 0;
- if ((this._elencoFamMaccTableAdapter != null))
- {
- global::System.Data.DataRow[] updatedRows = dataSet.ElencoFamMacc.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
- updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length)))
- {
- result = (result + this._elencoFamMaccTableAdapter.Update(updatedRows));
- allChangedRows.AddRange(updatedRows);
- }
- }
- if ((this._elencoMacchineCNTableAdapter != null))
- {
+ if ((this._elencoMacchineCNTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.ElencoMacchineCN.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length)))
- {
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
result = (result + this._elencoMacchineCNTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._anagSchedeTableAdapter != null))
- {
+ if ((this._anagSchedeTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.AnagSchede.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length)))
- {
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
result = (result + this._anagSchedeTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._anagFasiTableAdapter != null))
- {
+ if ((this._anagFasiTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.AnagFasi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length)))
- {
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
result = (result + this._anagFasiTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._dettSchedaTableAdapter != null))
- {
+ if ((this._dettSchedaTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.DettScheda.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length)))
- {
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
result = (result + this._dettSchedaTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._schemaCollMaccTableAdapter != null))
- {
+ if ((this._schemaCollMaccTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.SchemaCollMacc.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length)))
- {
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
result = (result + this._schemaCollMaccTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._anagTagsTableAdapter != null))
- {
+ if ((this._anagTagsTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.AnagTags.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length)))
- {
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
result = (result + this._anagTagsTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._validValTableAdapter != null))
- {
+ if ((this._validValTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.ValidVal.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length)))
- {
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
result = (result + this._validValTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._tags2MacchineTableAdapter != null))
- {
+ if ((this._tags2MacchineTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.Tags2Macchine.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length)))
- {
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
result = (result + this._tags2MacchineTableAdapter.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)
- {
+ private int UpdateInsertedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List allAddedRows) {
int result = 0;
- if ((this._elencoFamMaccTableAdapter != null))
- {
- global::System.Data.DataRow[] addedRows = dataSet.ElencoFamMacc.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length)))
- {
- result = (result + this._elencoFamMaccTableAdapter.Update(addedRows));
- allAddedRows.AddRange(addedRows);
- }
- }
- if ((this._elencoMacchineCNTableAdapter != null))
- {
+ if ((this._elencoMacchineCNTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.ElencoMacchineCN.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length)))
- {
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
result = (result + this._elencoMacchineCNTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
- if ((this._anagSchedeTableAdapter != null))
- {
+ if ((this._anagSchedeTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.AnagSchede.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length)))
- {
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
result = (result + this._anagSchedeTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
- if ((this._anagFasiTableAdapter != null))
- {
+ if ((this._anagFasiTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.AnagFasi.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length)))
- {
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
result = (result + this._anagFasiTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
- if ((this._dettSchedaTableAdapter != null))
- {
+ if ((this._dettSchedaTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.DettScheda.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length)))
- {
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
result = (result + this._dettSchedaTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
- if ((this._schemaCollMaccTableAdapter != null))
- {
+ if ((this._schemaCollMaccTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.SchemaCollMacc.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length)))
- {
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
result = (result + this._schemaCollMaccTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
- if ((this._anagTagsTableAdapter != null))
- {
+ if ((this._anagTagsTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.AnagTags.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length)))
- {
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
result = (result + this._anagTagsTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
- if ((this._validValTableAdapter != null))
- {
+ if ((this._validValTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.ValidVal.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length)))
- {
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
result = (result + this._validValTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
- if ((this._tags2MacchineTableAdapter != null))
- {
+ if ((this._tags2MacchineTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.Tags2Macchine.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length)))
- {
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
result = (result + this._tags2MacchineTableAdapter.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)
- {
+ private int UpdateDeletedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List allChangedRows) {
int result = 0;
- if ((this._tags2MacchineTableAdapter != null))
- {
+ if ((this._tags2MacchineTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.Tags2Macchine.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length)))
- {
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
result = (result + this._tags2MacchineTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._validValTableAdapter != null))
- {
+ if ((this._validValTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.ValidVal.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length)))
- {
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
result = (result + this._validValTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._anagTagsTableAdapter != null))
- {
+ if ((this._anagTagsTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagTags.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length)))
- {
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
result = (result + this._anagTagsTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._schemaCollMaccTableAdapter != null))
- {
+ if ((this._schemaCollMaccTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.SchemaCollMacc.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length)))
- {
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
result = (result + this._schemaCollMaccTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._dettSchedaTableAdapter != null))
- {
+ if ((this._dettSchedaTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.DettScheda.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length)))
- {
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
result = (result + this._dettSchedaTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._anagFasiTableAdapter != null))
- {
+ if ((this._anagFasiTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagFasi.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length)))
- {
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
result = (result + this._anagFasiTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._anagSchedeTableAdapter != null))
- {
+ if ((this._anagSchedeTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagSchede.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length)))
- {
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
result = (result + this._anagSchedeTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._elencoMacchineCNTableAdapter != null))
- {
+ if ((this._elencoMacchineCNTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.ElencoMacchineCN.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length)))
- {
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
result = (result + this._elencoMacchineCNTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._elencoFamMaccTableAdapter != null))
- {
- global::System.Data.DataRow[] deletedRows = dataSet.ElencoFamMacc.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length)))
- {
- result = (result + this._elencoFamMaccTableAdapter.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)))
- {
+ 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)))
- {
+ 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))
- {
+ for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
global::System.Data.DataRow row = updatedRows[i];
- if ((allAddedRows.Contains(row) == false))
- {
+ 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))
- {
+ public virtual int UpdateAll(DS_Applicazione dataSet) {
+ if ((dataSet == null)) {
throw new global::System.ArgumentNullException("dataSet");
}
- if ((dataSet.HasChanges() == false))
- {
+ if ((dataSet.HasChanges() == false)) {
return 0;
}
- if (((this._elencoFamMaccTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._elencoFamMaccTableAdapter.Connection) == false)))
- {
+ if (((this._elencoMacchineCNTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._elencoMacchineCNTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
- if (((this._elencoMacchineCNTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._elencoMacchineCNTableAdapter.Connection) == false)))
- {
+ if (((this._anagFasiTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._anagFasiTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
- if (((this._anagFasiTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._anagFasiTableAdapter.Connection) == false)))
- {
+ if (((this._anagSchedeTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._anagSchedeTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
- if (((this._anagSchedeTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._anagSchedeTableAdapter.Connection) == false)))
- {
+ if (((this._dettSchedaTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._dettSchedaTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
- if (((this._dettSchedaTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._dettSchedaTableAdapter.Connection) == false)))
- {
+ if (((this._validValTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._validValTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
- if (((this._validValTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._validValTableAdapter.Connection) == false)))
- {
+ if (((this._schemaCollMaccTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._schemaCollMaccTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
- if (((this._schemaCollMaccTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._schemaCollMaccTableAdapter.Connection) == false)))
- {
+ if (((this._tags2MacchineTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._tags2MacchineTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
- if (((this._tags2MacchineTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._tags2MacchineTableAdapter.Connection) == false)))
- {
- throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
- "tring.");
- }
- if (((this._anagTagsTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._anagTagsTableAdapter.Connection) == false)))
- {
+ if (((this._anagTagsTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._anagTagsTableAdapter.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))
- {
+ 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))
- {
+ if (((workConnection.State & global::System.Data.ConnectionState.Broken)
+ == global::System.Data.ConnectionState.Broken)) {
workConnection.Close();
}
- if ((workConnection.State == global::System.Data.ConnectionState.Closed))
- {
+ if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
workConnection.Open();
workConnOpened = true;
}
global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
- if ((workTransaction == null))
- {
+ 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.");
}
@@ -18354,110 +15216,81 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)";
global::System.Collections.Generic.Dictionary