@@ -121,8 +125,8 @@
+ Visible='<%# iniziaEnabled(Eval("CodStatoLista")) %>' ImageUrl="~/images/apply_s.png"
+ Enabled="false" OnClick="imgIniziaLista_Click" />
@@ -136,8 +140,8 @@
+ Visible='<%# completaEnabled(Eval("CodStatoLista")) %>' ImageUrl="~/images/apply_s.png"
+ Enabled="false" OnClick="imgCompletaLista_Click" />
@@ -172,9 +176,10 @@
-
-
-
+
+
+
diff --git a/GMW/GMW/WebUserControls/mod_elencoListePrelievo.ascx.designer.cs b/GMW/GMW/WebUserControls/mod_elencoListePrelievo.ascx.designer.cs
index 2c91e883..a2fef9c7 100644
--- a/GMW/GMW/WebUserControls/mod_elencoListePrelievo.ascx.designer.cs
+++ b/GMW/GMW/WebUserControls/mod_elencoListePrelievo.ascx.designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:2.0.50727.4927
+// Runtime Version:2.0.50727.4952
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
diff --git a/GMW/GMW/WebUserControls/mod_labConsUdc.ascx b/GMW/GMW/WebUserControls/mod_labConsUdc.ascx
index 616e9bb7..761b3f56 100644
--- a/GMW/GMW/WebUserControls/mod_labConsUdc.ascx
+++ b/GMW/GMW/WebUserControls/mod_labConsUdc.ascx
@@ -5,15 +5,25 @@
<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %>
+ /// btnSendAs400 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnSendAs400;
+
+ ///
+ /// lblLastUpdateAs400 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblLastUpdateAs400;
+
///
/// lblBarcodeConsumoUdcMP control.
///
@@ -67,24 +85,6 @@ namespace GMW.WebUserControls {
///
protected global::System.Web.UI.WebControls.ObjectDataSource odsDestinatario;
- ///
- /// btnSendAs400 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btnSendAs400;
-
- ///
- /// lblLastUpdateAs400 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblLastUpdateAs400;
-
///
/// grView control.
///
diff --git a/GMW/GMW/WebUserControls/mod_periodoAnalisi.ascx.cs b/GMW/GMW/WebUserControls/mod_periodoAnalisi.ascx.cs
index a82f5971..603825fc 100644
--- a/GMW/GMW/WebUserControls/mod_periodoAnalisi.ascx.cs
+++ b/GMW/GMW/WebUserControls/mod_periodoAnalisi.ascx.cs
@@ -23,6 +23,32 @@ public partial class mod_periodoAnalisi : System.Web.UI.UserControl
setIntervallo();
setDurataMin();
}
+ ///
+ /// definisce se sia da mostrare il selettore delle ore nel controllo
+ ///
+ protected bool mostraSelOra
+ {
+ get
+ {
+ bool answ = false;
+ if (memLayer.ML.isInSessionObject("mostraSelOra"))
+ {
+ answ = memLayer.ML.BoolSessionObj("mostraSelOra");
+ }
+ else
+ {
+ // leggo da sessione e salvo...
+ try
+ {
+ answ = memLayer.ML.confReadBool("mostraSelOra");
+ }
+ catch
+ { }
+ memLayer.ML.setSessionVal("mostraSelOra", answ);
+ }
+ return answ;
+ }
+ }
///
/// gestione del selettore rapido dell'intervallo temporale...
@@ -90,6 +116,16 @@ public partial class mod_periodoAnalisi : System.Web.UI.UserControl
ddlOraInizio.SelectedValue = _intervallo.inizio.Hour.ToString("00");
txtFine.Text = _intervallo.fine.ToShortDateString();
ddlOraFine.SelectedValue = _intervallo.fine.Hour.ToString("00");
+ if (mostraSelOra)
+ {
+ ddlOraInizio.Visible = true;
+ ddlOraFine.Visible = true;
+ }
+ else
+ {
+ ddlOraInizio.Visible = false;
+ ddlOraFine.Visible = false;
+ }
}
private void setIntervallo()
diff --git a/GMW/GMW/bin/GMW.dll b/GMW/GMW/bin/GMW.dll
index 53ba501f..194fbfba 100644
Binary files a/GMW/GMW/bin/GMW.dll and b/GMW/GMW/bin/GMW.dll differ
diff --git a/GMW/GMW/bin/GMW_data.dll b/GMW/GMW/bin/GMW_data.dll
index 2391a2e8..949e6978 100644
Binary files a/GMW/GMW/bin/GMW_data.dll and b/GMW/GMW/bin/GMW_data.dll differ
diff --git a/GMW/GMW/bin/SteamWare.dll b/GMW/GMW/bin/SteamWare.dll
index 7f885998..78620e0d 100644
Binary files a/GMW/GMW/bin/SteamWare.dll and b/GMW/GMW/bin/SteamWare.dll differ
diff --git a/GMW/GMW/mazzAppSettings.config b/GMW/GMW/mazzAppSettings.config
index d868f0ef..d840e796 100644
--- a/GMW/GMW/mazzAppSettings.config
+++ b/GMW/GMW/mazzAppSettings.config
@@ -7,7 +7,7 @@
-
+
@@ -100,6 +100,7 @@
+
diff --git a/GMW/GMW/obj/Release/GMW.dll b/GMW/GMW/obj/Release/GMW.dll
index 53ba501f..194fbfba 100644
Binary files a/GMW/GMW/obj/Release/GMW.dll and b/GMW/GMW/obj/Release/GMW.dll differ
diff --git a/GMW/GMW/obj/Release/ResolveAssemblyReference.cache b/GMW/GMW/obj/Release/ResolveAssemblyReference.cache
index dd55e152..bc8b0ba7 100644
Binary files a/GMW/GMW/obj/Release/ResolveAssemblyReference.cache and b/GMW/GMW/obj/Release/ResolveAssemblyReference.cache differ
diff --git a/GMW/GMW_Term/Web.config b/GMW/GMW_Term/Web.config
index 869936b5..b1a2e138 100644
--- a/GMW/GMW_Term/Web.config
+++ b/GMW/GMW_Term/Web.config
@@ -58,7 +58,7 @@
-
+
diff --git a/GMW/GMW_Term/mazzAppSettings.config b/GMW/GMW_Term/mazzAppSettings.config
index 90f41396..5a40d8e2 100644
--- a/GMW/GMW_Term/mazzAppSettings.config
+++ b/GMW/GMW_Term/mazzAppSettings.config
@@ -7,7 +7,7 @@
-
+
diff --git a/GMW/GMW_Term_installer/GMW_Term_installer.vdproj b/GMW/GMW_Term_installer/GMW_Term_installer.vdproj
index dbc79a14..c966e86e 100644
--- a/GMW/GMW_Term_installer/GMW_Term_installer.vdproj
+++ b/GMW/GMW_Term_installer/GMW_Term_installer.vdproj
@@ -330,14 +330,14 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:GMW_Term"
- "ProductCode" = "8:{52061C1D-DFC5-419A-ABBE-A415A30E8D94}"
- "PackageCode" = "8:{FC2D8483-5BBD-4483-9F7E-4F9748CC7C24}"
+ "ProductCode" = "8:{8C924F61-B7F4-4841-B69F-72D6ED58A69C}"
+ "PackageCode" = "8:{BE80EE80-1B85-4D1C-87AA-4F8C3F30C017}"
"UpgradeCode" = "8:{B348C50D-8DAD-4430-AEF0-60800C94CB78}"
"RestartWWWService" = "11:TRUE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
- "ProductVersion" = "8:1.0.337"
+ "ProductVersion" = "8:1.0.355"
"Manufacturer" = "8:SteamWare s.r.l."
"ARPHELPTELEPHONE" = "8:+39-035460560"
"ARPHELPLINK" = "8:http://www.steamware.net"
diff --git a/GMW/GMW_WS/Web.config b/GMW/GMW_WS/Web.config
index 629ee026..30db1230 100644
--- a/GMW/GMW_WS/Web.config
+++ b/GMW/GMW_WS/Web.config
@@ -88,7 +88,7 @@
-
+
diff --git a/GMW/GMW_WS/mazzAppSettings.config b/GMW/GMW_WS/mazzAppSettings.config
index 203d727e..60e6906f 100644
--- a/GMW/GMW_WS/mazzAppSettings.config
+++ b/GMW/GMW_WS/mazzAppSettings.config
@@ -6,7 +6,7 @@
-
+
diff --git a/GMW/GMW_WS_installer/GMW_WS_installer.vdproj b/GMW/GMW_WS_installer/GMW_WS_installer.vdproj
index b8aca189..d96c0756 100644
--- a/GMW/GMW_WS_installer/GMW_WS_installer.vdproj
+++ b/GMW/GMW_WS_installer/GMW_WS_installer.vdproj
@@ -344,14 +344,14 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:GMW_WS"
- "ProductCode" = "8:{E7F7B0FF-B447-4DFF-B1A8-C7898773591D}"
- "PackageCode" = "8:{F09F29AB-CCC8-4A27-81ED-8D9384842D1F}"
+ "ProductCode" = "8:{9CF04931-4EED-4879-B429-62793B64CCC3}"
+ "PackageCode" = "8:{2C2BEE56-24B8-482D-9D56-06FD5162373E}"
"UpgradeCode" = "8:{BA470335-3D4B-4C20-8152-90A5F0F14FE0}"
"RestartWWWService" = "11:TRUE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
- "ProductVersion" = "8:1.0.337"
+ "ProductVersion" = "8:1.0.355"
"Manufacturer" = "8:SteamWare s.r.l."
"ARPHELPTELEPHONE" = "8:+39-035460560"
"ARPHELPLINK" = "8:http://www.steamware.net"
diff --git a/GMW/GMW_data/DS_DataMatrix.Designer.cs b/GMW/GMW_data/DS_DataMatrix.Designer.cs
new file mode 100644
index 00000000..79f4f060
--- /dev/null
+++ b/GMW/GMW_data/DS_DataMatrix.Designer.cs
@@ -0,0 +1,2870 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.4952
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+#pragma warning disable 1591
+
+namespace GMW_data {
+
+
+ ///
+ ///Represents a strongly typed in-memory cache of data.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
+ [global::System.Serializable()]
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
+ [global::System.Xml.Serialization.XmlRootAttribute("DS_DataMatrix")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
+ public partial class DS_DataMatrix : global::System.Data.DataSet {
+
+ private PezziProdottiDataTable tablePezziProdotti;
+
+ private PezziGitterboxDataTable tablePezziGitterbox;
+
+ private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public DS_DataMatrix() {
+ this.BeginInit();
+ this.InitClass();
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ base.Relations.CollectionChanged += schemaChangedHandler;
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected DS_DataMatrix(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context, false) {
+ if ((this.IsBinarySerialized(info, context) == true)) {
+ this.InitVars(false);
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ this.Tables.CollectionChanged += schemaChangedHandler1;
+ this.Relations.CollectionChanged += schemaChangedHandler1;
+ return;
+ }
+ string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
+ if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
+ global::System.Data.DataSet ds = new global::System.Data.DataSet();
+ ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
+ if ((ds.Tables["PezziProdotti"] != null)) {
+ base.Tables.Add(new PezziProdottiDataTable(ds.Tables["PezziProdotti"]));
+ }
+ if ((ds.Tables["PezziGitterbox"] != null)) {
+ base.Tables.Add(new PezziGitterboxDataTable(ds.Tables["PezziGitterbox"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ }
+ else {
+ this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
+ }
+ this.GetSerializationData(info, context);
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ this.Relations.CollectionChanged += schemaChangedHandler;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public PezziProdottiDataTable PezziProdotti {
+ get {
+ return this.tablePezziProdotti;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public PezziGitterboxDataTable PezziGitterbox {
+ get {
+ return this.tablePezziGitterbox;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.BrowsableAttribute(true)]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
+ public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
+ get {
+ return this._schemaSerializationMode;
+ }
+ set {
+ this._schemaSerializationMode = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataTableCollection Tables {
+ get {
+ return base.Tables;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataRelationCollection Relations {
+ get {
+ return base.Relations;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override void InitializeDerivedDataSet() {
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public override global::System.Data.DataSet Clone() {
+ DS_DataMatrix cln = ((DS_DataMatrix)(base.Clone()));
+ cln.InitVars();
+ cln.SchemaSerializationMode = this.SchemaSerializationMode;
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override bool ShouldSerializeTables() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override bool ShouldSerializeRelations() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ 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["PezziProdotti"] != null)) {
+ base.Tables.Add(new PezziProdottiDataTable(ds.Tables["PezziProdotti"]));
+ }
+ if ((ds.Tables["PezziGitterbox"] != null)) {
+ base.Tables.Add(new PezziGitterboxDataTable(ds.Tables["PezziGitterbox"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ }
+ else {
+ this.ReadXml(reader);
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ 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()]
+ internal void InitVars() {
+ this.InitVars(true);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ internal void InitVars(bool initTable) {
+ this.tablePezziProdotti = ((PezziProdottiDataTable)(base.Tables["PezziProdotti"]));
+ if ((initTable == true)) {
+ if ((this.tablePezziProdotti != null)) {
+ this.tablePezziProdotti.InitVars();
+ }
+ }
+ this.tablePezziGitterbox = ((PezziGitterboxDataTable)(base.Tables["PezziGitterbox"]));
+ if ((initTable == true)) {
+ if ((this.tablePezziGitterbox != null)) {
+ this.tablePezziGitterbox.InitVars();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private void InitClass() {
+ this.DataSetName = "DS_DataMatrix";
+ this.Prefix = "";
+ this.Namespace = "http://tempuri.org/DS_DataMatrix.xsd";
+ this.EnforceConstraints = true;
+ this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+ this.tablePezziProdotti = new PezziProdottiDataTable();
+ base.Tables.Add(this.tablePezziProdotti);
+ this.tablePezziGitterbox = new PezziGitterboxDataTable();
+ base.Tables.Add(this.tablePezziGitterbox);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private bool ShouldSerializePezziProdotti() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private bool ShouldSerializePezziGitterbox() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
+ if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ DS_DataMatrix ds = new DS_DataMatrix();
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
+ any.Namespace = ds.Namespace;
+ sequence.Items.Add(any);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+
+ public delegate void PezziProdottiRowChangeEventHandler(object sender, PezziProdottiRowChangeEvent e);
+
+ public delegate void PezziGitterboxRowChangeEventHandler(object sender, PezziGitterboxRowChangeEvent e);
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class PezziProdottiDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnCodDataMatrix;
+
+ private global::System.Data.DataColumn columnNumConchiglia;
+
+ private global::System.Data.DataColumn columnCodScarto;
+
+ private global::System.Data.DataColumn columnCodMacchina;
+
+ private global::System.Data.DataColumn columnNumForno;
+
+ private global::System.Data.DataColumn columnInizioIniezione;
+
+ private global::System.Data.DataColumn columnFineIniezione;
+
+ private global::System.Data.DataColumn columnNumColata;
+
+ private global::System.Data.DataColumn columnNumDisegno;
+
+ private global::System.Data.DataColumn columnEsponenteDisegno;
+
+ private global::System.Data.DataColumn columnPezziProdNote;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public PezziProdottiDataTable() {
+ this.TableName = "PezziProdotti";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ internal PezziProdottiDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected PezziProdottiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn CodDataMatrixColumn {
+ get {
+ return this.columnCodDataMatrix;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn NumConchigliaColumn {
+ get {
+ return this.columnNumConchiglia;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn CodScartoColumn {
+ get {
+ return this.columnCodScarto;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn CodMacchinaColumn {
+ get {
+ return this.columnCodMacchina;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn NumFornoColumn {
+ get {
+ return this.columnNumForno;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn InizioIniezioneColumn {
+ get {
+ return this.columnInizioIniezione;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn FineIniezioneColumn {
+ get {
+ return this.columnFineIniezione;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn NumColataColumn {
+ get {
+ return this.columnNumColata;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn NumDisegnoColumn {
+ get {
+ return this.columnNumDisegno;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn EsponenteDisegnoColumn {
+ get {
+ return this.columnEsponenteDisegno;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn PezziProdNoteColumn {
+ get {
+ return this.columnPezziProdNote;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public PezziProdottiRow this[int index] {
+ get {
+ return ((PezziProdottiRow)(this.Rows[index]));
+ }
+ }
+
+ public event PezziProdottiRowChangeEventHandler PezziProdottiRowChanging;
+
+ public event PezziProdottiRowChangeEventHandler PezziProdottiRowChanged;
+
+ public event PezziProdottiRowChangeEventHandler PezziProdottiRowDeleting;
+
+ public event PezziProdottiRowChangeEventHandler PezziProdottiRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void AddPezziProdottiRow(PezziProdottiRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public PezziProdottiRow AddPezziProdottiRow(decimal CodDataMatrix, int NumConchiglia, string CodScarto, string CodMacchina, byte NumForno, System.DateTime InizioIniezione, System.DateTime FineIniezione, decimal NumColata, decimal NumDisegno, byte EsponenteDisegno, string PezziProdNote) {
+ PezziProdottiRow rowPezziProdottiRow = ((PezziProdottiRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ CodDataMatrix,
+ NumConchiglia,
+ CodScarto,
+ CodMacchina,
+ NumForno,
+ InizioIniezione,
+ FineIniezione,
+ NumColata,
+ NumDisegno,
+ EsponenteDisegno,
+ PezziProdNote};
+ rowPezziProdottiRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowPezziProdottiRow);
+ return rowPezziProdottiRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public PezziProdottiRow FindByCodDataMatrix(decimal CodDataMatrix) {
+ return ((PezziProdottiRow)(this.Rows.Find(new object[] {
+ CodDataMatrix})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public override global::System.Data.DataTable Clone() {
+ PezziProdottiDataTable cln = ((PezziProdottiDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new PezziProdottiDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ internal void InitVars() {
+ this.columnCodDataMatrix = base.Columns["CodDataMatrix"];
+ this.columnNumConchiglia = base.Columns["NumConchiglia"];
+ this.columnCodScarto = base.Columns["CodScarto"];
+ this.columnCodMacchina = base.Columns["CodMacchina"];
+ this.columnNumForno = base.Columns["NumForno"];
+ this.columnInizioIniezione = base.Columns["InizioIniezione"];
+ this.columnFineIniezione = base.Columns["FineIniezione"];
+ this.columnNumColata = base.Columns["NumColata"];
+ this.columnNumDisegno = base.Columns["NumDisegno"];
+ this.columnEsponenteDisegno = base.Columns["EsponenteDisegno"];
+ this.columnPezziProdNote = base.Columns["PezziProdNote"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private void InitClass() {
+ this.columnCodDataMatrix = new global::System.Data.DataColumn("CodDataMatrix", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodDataMatrix);
+ this.columnNumConchiglia = new global::System.Data.DataColumn("NumConchiglia", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNumConchiglia);
+ this.columnCodScarto = new global::System.Data.DataColumn("CodScarto", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodScarto);
+ this.columnCodMacchina = new global::System.Data.DataColumn("CodMacchina", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodMacchina);
+ this.columnNumForno = new global::System.Data.DataColumn("NumForno", typeof(byte), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNumForno);
+ this.columnInizioIniezione = new global::System.Data.DataColumn("InizioIniezione", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnInizioIniezione);
+ this.columnFineIniezione = new global::System.Data.DataColumn("FineIniezione", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFineIniezione);
+ this.columnNumColata = new global::System.Data.DataColumn("NumColata", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNumColata);
+ this.columnNumDisegno = new global::System.Data.DataColumn("NumDisegno", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNumDisegno);
+ this.columnEsponenteDisegno = new global::System.Data.DataColumn("EsponenteDisegno", typeof(byte), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnEsponenteDisegno);
+ this.columnPezziProdNote = new global::System.Data.DataColumn("PezziProdNote", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPezziProdNote);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnCodDataMatrix}, true));
+ this.columnCodDataMatrix.AllowDBNull = false;
+ this.columnCodDataMatrix.Unique = true;
+ this.columnCodScarto.MaxLength = 2;
+ this.columnCodMacchina.MaxLength = 2;
+ this.columnPezziProdNote.MaxLength = 131;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public PezziProdottiRow NewPezziProdottiRow() {
+ return ((PezziProdottiRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new PezziProdottiRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override global::System.Type GetRowType() {
+ return typeof(PezziProdottiRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.PezziProdottiRowChanged != null)) {
+ this.PezziProdottiRowChanged(this, new PezziProdottiRowChangeEvent(((PezziProdottiRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.PezziProdottiRowChanging != null)) {
+ this.PezziProdottiRowChanging(this, new PezziProdottiRowChangeEvent(((PezziProdottiRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.PezziProdottiRowDeleted != null)) {
+ this.PezziProdottiRowDeleted(this, new PezziProdottiRowChangeEvent(((PezziProdottiRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.PezziProdottiRowDeleting != null)) {
+ this.PezziProdottiRowDeleting(this, new PezziProdottiRowChangeEvent(((PezziProdottiRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void RemovePezziProdottiRow(PezziProdottiRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ 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_DataMatrix ds = new DS_DataMatrix();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "PezziProdottiDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class PezziGitterboxDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnCodDataMatrix;
+
+ private global::System.Data.DataColumn columnCodGitterbox;
+
+ private global::System.Data.DataColumn columnInizioPreparazione;
+
+ private global::System.Data.DataColumn columnFinePreparazione;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public PezziGitterboxDataTable() {
+ this.TableName = "PezziGitterbox";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ internal PezziGitterboxDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected PezziGitterboxDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn CodDataMatrixColumn {
+ get {
+ return this.columnCodDataMatrix;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn CodGitterboxColumn {
+ get {
+ return this.columnCodGitterbox;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn InizioPreparazioneColumn {
+ get {
+ return this.columnInizioPreparazione;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn FinePreparazioneColumn {
+ get {
+ return this.columnFinePreparazione;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public PezziGitterboxRow this[int index] {
+ get {
+ return ((PezziGitterboxRow)(this.Rows[index]));
+ }
+ }
+
+ public event PezziGitterboxRowChangeEventHandler PezziGitterboxRowChanging;
+
+ public event PezziGitterboxRowChangeEventHandler PezziGitterboxRowChanged;
+
+ public event PezziGitterboxRowChangeEventHandler PezziGitterboxRowDeleting;
+
+ public event PezziGitterboxRowChangeEventHandler PezziGitterboxRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void AddPezziGitterboxRow(PezziGitterboxRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public PezziGitterboxRow AddPezziGitterboxRow(decimal CodDataMatrix, string CodGitterbox, System.DateTime InizioPreparazione, System.DateTime FinePreparazione) {
+ PezziGitterboxRow rowPezziGitterboxRow = ((PezziGitterboxRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ CodDataMatrix,
+ CodGitterbox,
+ InizioPreparazione,
+ FinePreparazione};
+ rowPezziGitterboxRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowPezziGitterboxRow);
+ return rowPezziGitterboxRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public PezziGitterboxRow FindByCodDataMatrix(decimal CodDataMatrix) {
+ return ((PezziGitterboxRow)(this.Rows.Find(new object[] {
+ CodDataMatrix})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public override global::System.Data.DataTable Clone() {
+ PezziGitterboxDataTable cln = ((PezziGitterboxDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new PezziGitterboxDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ internal void InitVars() {
+ this.columnCodDataMatrix = base.Columns["CodDataMatrix"];
+ this.columnCodGitterbox = base.Columns["CodGitterbox"];
+ this.columnInizioPreparazione = base.Columns["InizioPreparazione"];
+ this.columnFinePreparazione = base.Columns["FinePreparazione"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private void InitClass() {
+ this.columnCodDataMatrix = new global::System.Data.DataColumn("CodDataMatrix", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodDataMatrix);
+ this.columnCodGitterbox = new global::System.Data.DataColumn("CodGitterbox", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodGitterbox);
+ this.columnInizioPreparazione = new global::System.Data.DataColumn("InizioPreparazione", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnInizioPreparazione);
+ this.columnFinePreparazione = new global::System.Data.DataColumn("FinePreparazione", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFinePreparazione);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnCodDataMatrix}, true));
+ this.columnCodDataMatrix.AllowDBNull = false;
+ this.columnCodDataMatrix.Unique = true;
+ this.columnCodGitterbox.AllowDBNull = false;
+ this.columnCodGitterbox.MaxLength = 10;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public PezziGitterboxRow NewPezziGitterboxRow() {
+ return ((PezziGitterboxRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new PezziGitterboxRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override global::System.Type GetRowType() {
+ return typeof(PezziGitterboxRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.PezziGitterboxRowChanged != null)) {
+ this.PezziGitterboxRowChanged(this, new PezziGitterboxRowChangeEvent(((PezziGitterboxRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.PezziGitterboxRowChanging != null)) {
+ this.PezziGitterboxRowChanging(this, new PezziGitterboxRowChangeEvent(((PezziGitterboxRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.PezziGitterboxRowDeleted != null)) {
+ this.PezziGitterboxRowDeleted(this, new PezziGitterboxRowChangeEvent(((PezziGitterboxRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.PezziGitterboxRowDeleting != null)) {
+ this.PezziGitterboxRowDeleting(this, new PezziGitterboxRowChangeEvent(((PezziGitterboxRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void RemovePezziGitterboxRow(PezziGitterboxRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ 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_DataMatrix ds = new DS_DataMatrix();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "PezziGitterboxDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
+ public partial class PezziProdottiRow : global::System.Data.DataRow {
+
+ private PezziProdottiDataTable tablePezziProdotti;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ internal PezziProdottiRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tablePezziProdotti = ((PezziProdottiDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public decimal CodDataMatrix {
+ get {
+ return ((decimal)(this[this.tablePezziProdotti.CodDataMatrixColumn]));
+ }
+ set {
+ this[this.tablePezziProdotti.CodDataMatrixColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public int NumConchiglia {
+ get {
+ try {
+ return ((int)(this[this.tablePezziProdotti.NumConchigliaColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'NumConchiglia\' in table \'PezziProdotti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablePezziProdotti.NumConchigliaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public string CodScarto {
+ get {
+ try {
+ return ((string)(this[this.tablePezziProdotti.CodScartoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodScarto\' in table \'PezziProdotti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablePezziProdotti.CodScartoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public string CodMacchina {
+ get {
+ try {
+ return ((string)(this[this.tablePezziProdotti.CodMacchinaColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodMacchina\' in table \'PezziProdotti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablePezziProdotti.CodMacchinaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public byte NumForno {
+ get {
+ try {
+ return ((byte)(this[this.tablePezziProdotti.NumFornoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'NumForno\' in table \'PezziProdotti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablePezziProdotti.NumFornoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public System.DateTime InizioIniezione {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tablePezziProdotti.InizioIniezioneColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'InizioIniezione\' in table \'PezziProdotti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablePezziProdotti.InizioIniezioneColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public System.DateTime FineIniezione {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tablePezziProdotti.FineIniezioneColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'FineIniezione\' in table \'PezziProdotti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablePezziProdotti.FineIniezioneColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public decimal NumColata {
+ get {
+ try {
+ return ((decimal)(this[this.tablePezziProdotti.NumColataColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'NumColata\' in table \'PezziProdotti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablePezziProdotti.NumColataColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public decimal NumDisegno {
+ get {
+ try {
+ return ((decimal)(this[this.tablePezziProdotti.NumDisegnoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'NumDisegno\' in table \'PezziProdotti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablePezziProdotti.NumDisegnoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public byte EsponenteDisegno {
+ get {
+ try {
+ return ((byte)(this[this.tablePezziProdotti.EsponenteDisegnoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'EsponenteDisegno\' in table \'PezziProdotti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablePezziProdotti.EsponenteDisegnoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public string PezziProdNote {
+ get {
+ try {
+ return ((string)(this[this.tablePezziProdotti.PezziProdNoteColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'PezziProdNote\' in table \'PezziProdotti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablePezziProdotti.PezziProdNoteColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsNumConchigliaNull() {
+ return this.IsNull(this.tablePezziProdotti.NumConchigliaColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetNumConchigliaNull() {
+ this[this.tablePezziProdotti.NumConchigliaColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsCodScartoNull() {
+ return this.IsNull(this.tablePezziProdotti.CodScartoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetCodScartoNull() {
+ this[this.tablePezziProdotti.CodScartoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsCodMacchinaNull() {
+ return this.IsNull(this.tablePezziProdotti.CodMacchinaColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetCodMacchinaNull() {
+ this[this.tablePezziProdotti.CodMacchinaColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsNumFornoNull() {
+ return this.IsNull(this.tablePezziProdotti.NumFornoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetNumFornoNull() {
+ this[this.tablePezziProdotti.NumFornoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsInizioIniezioneNull() {
+ return this.IsNull(this.tablePezziProdotti.InizioIniezioneColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetInizioIniezioneNull() {
+ this[this.tablePezziProdotti.InizioIniezioneColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsFineIniezioneNull() {
+ return this.IsNull(this.tablePezziProdotti.FineIniezioneColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetFineIniezioneNull() {
+ this[this.tablePezziProdotti.FineIniezioneColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsNumColataNull() {
+ return this.IsNull(this.tablePezziProdotti.NumColataColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetNumColataNull() {
+ this[this.tablePezziProdotti.NumColataColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsNumDisegnoNull() {
+ return this.IsNull(this.tablePezziProdotti.NumDisegnoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetNumDisegnoNull() {
+ this[this.tablePezziProdotti.NumDisegnoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsEsponenteDisegnoNull() {
+ return this.IsNull(this.tablePezziProdotti.EsponenteDisegnoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetEsponenteDisegnoNull() {
+ this[this.tablePezziProdotti.EsponenteDisegnoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsPezziProdNoteNull() {
+ return this.IsNull(this.tablePezziProdotti.PezziProdNoteColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetPezziProdNoteNull() {
+ this[this.tablePezziProdotti.PezziProdNoteColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
+ public partial class PezziGitterboxRow : global::System.Data.DataRow {
+
+ private PezziGitterboxDataTable tablePezziGitterbox;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ internal PezziGitterboxRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tablePezziGitterbox = ((PezziGitterboxDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public decimal CodDataMatrix {
+ get {
+ return ((decimal)(this[this.tablePezziGitterbox.CodDataMatrixColumn]));
+ }
+ set {
+ this[this.tablePezziGitterbox.CodDataMatrixColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public string CodGitterbox {
+ get {
+ return ((string)(this[this.tablePezziGitterbox.CodGitterboxColumn]));
+ }
+ set {
+ this[this.tablePezziGitterbox.CodGitterboxColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public System.DateTime InizioPreparazione {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tablePezziGitterbox.InizioPreparazioneColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'InizioPreparazione\' in table \'PezziGitterbox\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablePezziGitterbox.InizioPreparazioneColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public System.DateTime FinePreparazione {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tablePezziGitterbox.FinePreparazioneColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'FinePreparazione\' in table \'PezziGitterbox\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablePezziGitterbox.FinePreparazioneColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsInizioPreparazioneNull() {
+ return this.IsNull(this.tablePezziGitterbox.InizioPreparazioneColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetInizioPreparazioneNull() {
+ this[this.tablePezziGitterbox.InizioPreparazioneColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsFinePreparazioneNull() {
+ return this.IsNull(this.tablePezziGitterbox.FinePreparazioneColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetFinePreparazioneNull() {
+ this[this.tablePezziGitterbox.FinePreparazioneColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
+ public class PezziProdottiRowChangeEvent : global::System.EventArgs {
+
+ private PezziProdottiRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public PezziProdottiRowChangeEvent(PezziProdottiRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public PezziProdottiRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
+ public class PezziGitterboxRowChangeEvent : global::System.EventArgs {
+
+ private PezziGitterboxRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public PezziGitterboxRowChangeEvent(PezziGitterboxRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public PezziGitterboxRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+ }
+}
+namespace GMW_data.DS_DataMatrixTableAdapters {
+
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class PezziProdottiTableAdapter : 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()]
+ public PezziProdottiTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ 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 = "PezziProdotti";
+ tableMapping.ColumnMappings.Add("CodDataMatrix", "CodDataMatrix");
+ tableMapping.ColumnMappings.Add("NumConchiglia", "NumConchiglia");
+ tableMapping.ColumnMappings.Add("CodScarto", "CodScarto");
+ tableMapping.ColumnMappings.Add("CodMacchina", "CodMacchina");
+ tableMapping.ColumnMappings.Add("NumForno", "NumForno");
+ tableMapping.ColumnMappings.Add("InizioIniezione", "InizioIniezione");
+ tableMapping.ColumnMappings.Add("FineIniezione", "FineIniezione");
+ tableMapping.ColumnMappings.Add("NumColata", "NumColata");
+ tableMapping.ColumnMappings.Add("NumDisegno", "NumDisegno");
+ tableMapping.ColumnMappings.Add("EsponenteDisegno", "EsponenteDisegno");
+ tableMapping.ColumnMappings.Add("PezziProdNote", "PezziProdNote");
+ 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].[PezziProdotti] WHERE (([CodDataMatrix] = @Original_CodDataMatrix) AND ((@IsNull_NumConchiglia = 1 AND [NumConchiglia] IS NULL) OR ([NumConchiglia] = @Original_NumConchiglia)) AND ((@IsNull_CodScarto = 1 AND [CodScarto] IS NULL) OR ([CodScarto] = @Original_CodScarto)) AND ((@IsNull_CodMacchina = 1 AND [CodMacchina] IS NULL) OR ([CodMacchina] = @Original_CodMacchina)) AND ((@IsNull_NumForno = 1 AND [NumForno] IS NULL) OR ([NumForno] = @Original_NumForno)) AND ((@IsNull_InizioIniezione = 1 AND [InizioIniezione] IS NULL) OR ([InizioIniezione] = @Original_InizioIniezione)) AND ((@IsNull_FineIniezione = 1 AND [FineIniezione] IS NULL) OR ([FineIniezione] = @Original_FineIniezione)) AND ((@IsNull_NumColata = 1 AND [NumColata] IS NULL) OR ([NumColata] = @Original_NumColata)) AND ((@IsNull_NumDisegno = 1 AND [NumDisegno] IS NULL) OR ([NumDisegno] = @Original_NumDisegno)) AND ((@IsNull_EsponenteDisegno = 1 AND [EsponenteDisegno] IS NULL) OR ([EsponenteDisegno] = @Original_EsponenteDisegno)) AND ((@IsNull_PezziProdNote = 1 AND [PezziProdNote] IS NULL) OR ([PezziProdNote] = @Original_PezziProdNote)))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDataMatrix", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 23, 0, "CodDataMatrix", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumConchiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumConchiglia", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumConchiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumConchiglia", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodScarto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScarto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodScarto", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScarto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMacchina", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMacchina", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumForno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumForno", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumForno", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumForno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_InizioIniezione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioIniezione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InizioIniezione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioIniezione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FineIniezione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineIniezione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FineIniezione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineIniezione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumColata", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumColata", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumColata", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 8, 0, "NumColata", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumDisegno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumDisegno", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumDisegno", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 0, "NumDisegno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_EsponenteDisegno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EsponenteDisegno", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EsponenteDisegno", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EsponenteDisegno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PezziProdNote", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziProdNote", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PezziProdNote", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziProdNote", 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].[PezziProdotti] ([CodDataMatrix], [NumConchiglia], [CodScarto], [CodMacchina], [NumForno], [InizioIniezione], [FineIniezione], [NumColata], [NumDisegno], [EsponenteDisegno], [PezziProdNote]) VALUES (@CodDataMatrix, @NumConchiglia, @CodScarto, @CodMacchina, @NumForno, @InizioIniezione, @FineIniezione, @NumColata, @NumDisegno, @EsponenteDisegno, @PezziProdNote);
+SELECT CodDataMatrix, NumConchiglia, CodScarto, CodMacchina, NumForno, InizioIniezione, FineIniezione, NumColata, NumDisegno, EsponenteDisegno, PezziProdNote FROM PezziProdotti WHERE (CodDataMatrix = @CodDataMatrix)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDataMatrix", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 23, 0, "CodDataMatrix", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumConchiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumConchiglia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodScarto", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScarto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMacchina", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumForno", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumForno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InizioIniezione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioIniezione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FineIniezione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineIniezione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumColata", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 8, 0, "NumColata", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumDisegno", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 0, "NumDisegno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EsponenteDisegno", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EsponenteDisegno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PezziProdNote", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziProdNote", 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].[PezziProdotti] SET [CodDataMatrix] = @CodDataMatrix, [NumConchiglia" +
+ "] = @NumConchiglia, [CodScarto] = @CodScarto, [CodMacchina] = @CodMacchina, [Num" +
+ "Forno] = @NumForno, [InizioIniezione] = @InizioIniezione, [FineIniezione] = @Fin" +
+ "eIniezione, [NumColata] = @NumColata, [NumDisegno] = @NumDisegno, [EsponenteDise" +
+ "gno] = @EsponenteDisegno, [PezziProdNote] = @PezziProdNote WHERE (([CodDataMatri" +
+ "x] = @Original_CodDataMatrix) AND ((@IsNull_NumConchiglia = 1 AND [NumConchiglia" +
+ "] IS NULL) OR ([NumConchiglia] = @Original_NumConchiglia)) AND ((@IsNull_CodScar" +
+ "to = 1 AND [CodScarto] IS NULL) OR ([CodScarto] = @Original_CodScarto)) AND ((@I" +
+ "sNull_CodMacchina = 1 AND [CodMacchina] IS NULL) OR ([CodMacchina] = @Original_C" +
+ "odMacchina)) AND ((@IsNull_NumForno = 1 AND [NumForno] IS NULL) OR ([NumForno] =" +
+ " @Original_NumForno)) AND ((@IsNull_InizioIniezione = 1 AND [InizioIniezione] IS" +
+ " NULL) OR ([InizioIniezione] = @Original_InizioIniezione)) AND ((@IsNull_FineIni" +
+ "ezione = 1 AND [FineIniezione] IS NULL) OR ([FineIniezione] = @Original_FineInie" +
+ "zione)) AND ((@IsNull_NumColata = 1 AND [NumColata] IS NULL) OR ([NumColata] = @" +
+ "Original_NumColata)) AND ((@IsNull_NumDisegno = 1 AND [NumDisegno] IS NULL) OR (" +
+ "[NumDisegno] = @Original_NumDisegno)) AND ((@IsNull_EsponenteDisegno = 1 AND [Es" +
+ "ponenteDisegno] IS NULL) OR ([EsponenteDisegno] = @Original_EsponenteDisegno)) A" +
+ "ND ((@IsNull_PezziProdNote = 1 AND [PezziProdNote] IS NULL) OR ([PezziProdNote] " +
+ "= @Original_PezziProdNote)));\r\nSELECT CodDataMatrix, NumConchiglia, CodScarto, C" +
+ "odMacchina, NumForno, InizioIniezione, FineIniezione, NumColata, NumDisegno, Esp" +
+ "onenteDisegno, PezziProdNote FROM PezziProdotti WHERE (CodDataMatrix = @CodDataM" +
+ "atrix)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDataMatrix", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 23, 0, "CodDataMatrix", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumConchiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumConchiglia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodScarto", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScarto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMacchina", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumForno", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumForno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InizioIniezione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioIniezione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FineIniezione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineIniezione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumColata", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 8, 0, "NumColata", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumDisegno", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 0, "NumDisegno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EsponenteDisegno", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EsponenteDisegno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PezziProdNote", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziProdNote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDataMatrix", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 23, 0, "CodDataMatrix", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumConchiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumConchiglia", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumConchiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumConchiglia", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodScarto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScarto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodScarto", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScarto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMacchina", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMacchina", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumForno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumForno", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumForno", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumForno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_InizioIniezione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioIniezione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InizioIniezione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioIniezione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FineIniezione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineIniezione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FineIniezione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineIniezione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumColata", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumColata", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumColata", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 8, 0, "NumColata", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumDisegno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumDisegno", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumDisegno", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 0, "NumDisegno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_EsponenteDisegno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EsponenteDisegno", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EsponenteDisegno", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EsponenteDisegno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PezziProdNote", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziProdNote", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PezziProdNote", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziProdNote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.SP_produzioneConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT CodDataMatrix, NumConchiglia, CodScarto, CodMacchina, NumForno, InizioInie" +
+ "zione, FineIniezione, NumColata, NumDisegno, EsponenteDisegno, PezziProdNote FRO" +
+ "M dbo.PezziProdotti";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_DataMatrix.PezziProdottiDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_DataMatrix.PezziProdottiDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_DataMatrix.PezziProdottiDataTable dataTable = new DS_DataMatrix.PezziProdottiDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_DataMatrix.PezziProdottiDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_DataMatrix dataSet) {
+ return this.Adapter.Update(dataSet, "PezziProdotti");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(decimal Original_CodDataMatrix, global::System.Nullable Original_NumConchiglia, string Original_CodScarto, string Original_CodMacchina, global::System.Nullable Original_NumForno, global::System.Nullable Original_InizioIniezione, global::System.Nullable Original_FineIniezione, global::System.Nullable Original_NumColata, global::System.Nullable Original_NumDisegno, global::System.Nullable Original_EsponenteDisegno, string Original_PezziProdNote) {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((decimal)(Original_CodDataMatrix));
+ if ((Original_NumConchiglia.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_NumConchiglia.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ if ((Original_CodScarto == null)) {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodScarto));
+ }
+ if ((Original_CodMacchina == null)) {
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_CodMacchina));
+ }
+ if ((Original_NumForno.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((byte)(Original_NumForno.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ if ((Original_InizioIniezione.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[10].Value = ((System.DateTime)(Original_InizioIniezione.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ if ((Original_FineIniezione.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[12].Value = ((System.DateTime)(Original_FineIniezione.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
+ }
+ if ((Original_NumColata.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[14].Value = ((decimal)(Original_NumColata.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ if ((Original_NumDisegno.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[16].Value = ((decimal)(Original_NumDisegno.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
+ }
+ if ((Original_EsponenteDisegno.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[18].Value = ((byte)(Original_EsponenteDisegno.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ if ((Original_PezziProdNote == null)) {
+ this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_PezziProdNote));
+ }
+ 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(decimal CodDataMatrix, global::System.Nullable NumConchiglia, string CodScarto, string CodMacchina, global::System.Nullable NumForno, global::System.Nullable InizioIniezione, global::System.Nullable FineIniezione, global::System.Nullable NumColata, global::System.Nullable NumDisegno, global::System.Nullable EsponenteDisegno, string PezziProdNote) {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((decimal)(CodDataMatrix));
+ if ((NumConchiglia.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((int)(NumConchiglia.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((CodScarto == null)) {
+ this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodScarto));
+ }
+ if ((CodMacchina == null)) {
+ this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodMacchina));
+ }
+ if ((NumForno.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((byte)(NumForno.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ if ((InizioIniezione.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(InizioIniezione.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ if ((FineIniezione.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[6].Value = ((System.DateTime)(FineIniezione.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ if ((NumColata.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(NumColata.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ if ((NumDisegno.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(NumDisegno.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ if ((EsponenteDisegno.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[9].Value = ((byte)(EsponenteDisegno.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ if ((PezziProdNote == null)) {
+ this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[10].Value = ((string)(PezziProdNote));
+ }
+ 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ decimal CodDataMatrix,
+ global::System.Nullable NumConchiglia,
+ string CodScarto,
+ string CodMacchina,
+ global::System.Nullable NumForno,
+ global::System.Nullable InizioIniezione,
+ global::System.Nullable FineIniezione,
+ global::System.Nullable NumColata,
+ global::System.Nullable NumDisegno,
+ global::System.Nullable EsponenteDisegno,
+ string PezziProdNote,
+ decimal Original_CodDataMatrix,
+ global::System.Nullable Original_NumConchiglia,
+ string Original_CodScarto,
+ string Original_CodMacchina,
+ global::System.Nullable Original_NumForno,
+ global::System.Nullable Original_InizioIniezione,
+ global::System.Nullable Original_FineIniezione,
+ global::System.Nullable Original_NumColata,
+ global::System.Nullable Original_NumDisegno,
+ global::System.Nullable Original_EsponenteDisegno,
+ string Original_PezziProdNote) {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((decimal)(CodDataMatrix));
+ if ((NumConchiglia.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(NumConchiglia.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((CodScarto == null)) {
+ this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodScarto));
+ }
+ if ((CodMacchina == null)) {
+ this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodMacchina));
+ }
+ if ((NumForno.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((byte)(NumForno.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ if ((InizioIniezione.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(InizioIniezione.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ if ((FineIniezione.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(FineIniezione.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ if ((NumColata.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(NumColata.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ if ((NumDisegno.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(NumDisegno.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ if ((EsponenteDisegno.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((byte)(EsponenteDisegno.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ if ((PezziProdNote == null)) {
+ this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(PezziProdNote));
+ }
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(Original_CodDataMatrix));
+ if ((Original_NumConchiglia.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_NumConchiglia.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
+ }
+ if ((Original_CodScarto == null)) {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_CodScarto));
+ }
+ if ((Original_CodMacchina == null)) {
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_CodMacchina));
+ }
+ if ((Original_NumForno.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((byte)(Original_NumForno.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ if ((Original_InizioIniezione.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((System.DateTime)(Original_InizioIniezione.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
+ }
+ if ((Original_FineIniezione.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((System.DateTime)(Original_FineIniezione.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
+ }
+ if ((Original_NumColata.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((decimal)(Original_NumColata.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
+ }
+ if ((Original_NumDisegno.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[27].Value = ((decimal)(Original_NumDisegno.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
+ }
+ if ((Original_EsponenteDisegno.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[29].Value = ((byte)(Original_EsponenteDisegno.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
+ }
+ if ((Original_PezziProdNote == null)) {
+ this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_PezziProdNote));
+ }
+ 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ global::System.Nullable NumConchiglia,
+ string CodScarto,
+ string CodMacchina,
+ global::System.Nullable NumForno,
+ global::System.Nullable InizioIniezione,
+ global::System.Nullable FineIniezione,
+ global::System.Nullable NumColata,
+ global::System.Nullable NumDisegno,
+ global::System.Nullable EsponenteDisegno,
+ string PezziProdNote,
+ decimal Original_CodDataMatrix,
+ global::System.Nullable Original_NumConchiglia,
+ string Original_CodScarto,
+ string Original_CodMacchina,
+ global::System.Nullable Original_NumForno,
+ global::System.Nullable Original_InizioIniezione,
+ global::System.Nullable Original_FineIniezione,
+ global::System.Nullable Original_NumColata,
+ global::System.Nullable Original_NumDisegno,
+ global::System.Nullable Original_EsponenteDisegno,
+ string Original_PezziProdNote) {
+ return this.Update(Original_CodDataMatrix, NumConchiglia, CodScarto, CodMacchina, NumForno, InizioIniezione, FineIniezione, NumColata, NumDisegno, EsponenteDisegno, PezziProdNote, Original_CodDataMatrix, Original_NumConchiglia, Original_CodScarto, Original_CodMacchina, Original_NumForno, Original_InizioIniezione, Original_FineIniezione, Original_NumColata, Original_NumDisegno, Original_EsponenteDisegno, Original_PezziProdNote);
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class PezziGitterboxTableAdapter : 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()]
+ public PezziGitterboxTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ 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 = "PezziGitterbox";
+ tableMapping.ColumnMappings.Add("CodDataMatrix", "CodDataMatrix");
+ tableMapping.ColumnMappings.Add("CodGitterbox", "CodGitterbox");
+ tableMapping.ColumnMappings.Add("InizioPreparazione", "InizioPreparazione");
+ tableMapping.ColumnMappings.Add("FinePreparazione", "FinePreparazione");
+ 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].[PezziGitterbox] WHERE (([CodDataMatrix] = @Original_CodDataMatrix) AND ([CodGitterbox] = @Original_CodGitterbox) AND ((@IsNull_InizioPreparazione = 1 AND [InizioPreparazione] IS NULL) OR ([InizioPreparazione] = @Original_InizioPreparazione)) AND ((@IsNull_FinePreparazione = 1 AND [FinePreparazione] IS NULL) OR ([FinePreparazione] = @Original_FinePreparazione)))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDataMatrix", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 23, 0, "CodDataMatrix", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodGitterbox", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodGitterbox", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_InizioPreparazione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioPreparazione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InizioPreparazione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioPreparazione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FinePreparazione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FinePreparazione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FinePreparazione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FinePreparazione", 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].[PezziGitterbox] ([CodDataMatrix], [CodGitterbox], [InizioPreparazione], [FinePreparazione]) VALUES (@CodDataMatrix, @CodGitterbox, @InizioPreparazione, @FinePreparazione);
+SELECT CodDataMatrix, CodGitterbox, InizioPreparazione, FinePreparazione FROM PezziGitterbox WHERE (CodDataMatrix = @CodDataMatrix)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDataMatrix", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 23, 0, "CodDataMatrix", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodGitterbox", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodGitterbox", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InizioPreparazione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioPreparazione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FinePreparazione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FinePreparazione", 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].[PezziGitterbox] SET [CodDataMatrix] = @CodDataMatrix, [CodGitterbox] = @CodGitterbox, [InizioPreparazione] = @InizioPreparazione, [FinePreparazione] = @FinePreparazione WHERE (([CodDataMatrix] = @Original_CodDataMatrix) AND ([CodGitterbox] = @Original_CodGitterbox) AND ((@IsNull_InizioPreparazione = 1 AND [InizioPreparazione] IS NULL) OR ([InizioPreparazione] = @Original_InizioPreparazione)) AND ((@IsNull_FinePreparazione = 1 AND [FinePreparazione] IS NULL) OR ([FinePreparazione] = @Original_FinePreparazione)));
+SELECT CodDataMatrix, CodGitterbox, InizioPreparazione, FinePreparazione FROM PezziGitterbox WHERE (CodDataMatrix = @CodDataMatrix)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDataMatrix", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 23, 0, "CodDataMatrix", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodGitterbox", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodGitterbox", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InizioPreparazione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioPreparazione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FinePreparazione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FinePreparazione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDataMatrix", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 23, 0, "CodDataMatrix", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodGitterbox", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodGitterbox", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_InizioPreparazione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioPreparazione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InizioPreparazione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioPreparazione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FinePreparazione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FinePreparazione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FinePreparazione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FinePreparazione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.SP_produzioneConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT CodDataMatrix, CodGitterbox, InizioPreparazione, FinePreparazione FROM dbo" +
+ ".PezziGitterbox";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_DataMatrix.PezziGitterboxDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_DataMatrix.PezziGitterboxDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_DataMatrix.PezziGitterboxDataTable dataTable = new DS_DataMatrix.PezziGitterboxDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_DataMatrix.PezziGitterboxDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_DataMatrix dataSet) {
+ return this.Adapter.Update(dataSet, "PezziGitterbox");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(decimal Original_CodDataMatrix, string Original_CodGitterbox, global::System.Nullable Original_InizioPreparazione, global::System.Nullable Original_FinePreparazione) {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((decimal)(Original_CodDataMatrix));
+ if ((Original_CodGitterbox == null)) {
+ throw new global::System.ArgumentNullException("Original_CodGitterbox");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodGitterbox));
+ }
+ if ((Original_InizioPreparazione.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((System.DateTime)(Original_InizioPreparazione.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ if ((Original_FinePreparazione.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((System.DateTime)(Original_FinePreparazione.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(decimal CodDataMatrix, string CodGitterbox, global::System.Nullable InizioPreparazione, global::System.Nullable FinePreparazione) {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((decimal)(CodDataMatrix));
+ if ((CodGitterbox == null)) {
+ throw new global::System.ArgumentNullException("CodGitterbox");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodGitterbox));
+ }
+ if ((InizioPreparazione.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(InizioPreparazione.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ if ((FinePreparazione.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(FinePreparazione.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(decimal CodDataMatrix, string CodGitterbox, global::System.Nullable InizioPreparazione, global::System.Nullable FinePreparazione, decimal Original_CodDataMatrix, string Original_CodGitterbox, global::System.Nullable Original_InizioPreparazione, global::System.Nullable Original_FinePreparazione) {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((decimal)(CodDataMatrix));
+ if ((CodGitterbox == null)) {
+ throw new global::System.ArgumentNullException("CodGitterbox");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodGitterbox));
+ }
+ if ((InizioPreparazione.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(InizioPreparazione.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ if ((FinePreparazione.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(FinePreparazione.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((decimal)(Original_CodDataMatrix));
+ if ((Original_CodGitterbox == null)) {
+ throw new global::System.ArgumentNullException("Original_CodGitterbox");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_CodGitterbox));
+ }
+ if ((Original_InizioPreparazione.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(Original_InizioPreparazione.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ if ((Original_FinePreparazione.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(Original_FinePreparazione.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string CodGitterbox, global::System.Nullable InizioPreparazione, global::System.Nullable FinePreparazione, decimal Original_CodDataMatrix, string Original_CodGitterbox, global::System.Nullable Original_InizioPreparazione, global::System.Nullable Original_FinePreparazione) {
+ return this.Update(Original_CodDataMatrix, CodGitterbox, InizioPreparazione, FinePreparazione, Original_CodDataMatrix, Original_CodGitterbox, Original_InizioPreparazione, Original_FinePreparazione);
+ }
+ }
+
+ ///
+ ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
+ "esigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
+ public partial class TableAdapterManager : global::System.ComponentModel.Component {
+
+ private UpdateOrderOption _updateOrder;
+
+ private PezziProdottiTableAdapter _pezziProdottiTableAdapter;
+
+ private PezziGitterboxTableAdapter _pezziGitterboxTableAdapter;
+
+ private bool _backupDataSetBeforeUpdate;
+
+ private global::System.Data.IDbConnection _connection;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public UpdateOrderOption UpdateOrder {
+ get {
+ return this._updateOrder;
+ }
+ set {
+ this._updateOrder = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" +
+ "", "System.Drawing.Design.UITypeEditor")]
+ public PezziProdottiTableAdapter PezziProdottiTableAdapter {
+ get {
+ return this._pezziProdottiTableAdapter;
+ }
+ set {
+ this._pezziProdottiTableAdapter = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" +
+ "", "System.Drawing.Design.UITypeEditor")]
+ public PezziGitterboxTableAdapter PezziGitterboxTableAdapter {
+ get {
+ return this._pezziGitterboxTableAdapter;
+ }
+ set {
+ this._pezziGitterboxTableAdapter = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool BackupDataSetBeforeUpdate {
+ get {
+ return this._backupDataSetBeforeUpdate;
+ }
+ set {
+ this._backupDataSetBeforeUpdate = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Browsable(false)]
+ public global::System.Data.IDbConnection Connection {
+ get {
+ if ((this._connection != null)) {
+ return this._connection;
+ }
+ if (((this._pezziProdottiTableAdapter != null)
+ && (this._pezziProdottiTableAdapter.Connection != null))) {
+ return this._pezziProdottiTableAdapter.Connection;
+ }
+ if (((this._pezziGitterboxTableAdapter != null)
+ && (this._pezziGitterboxTableAdapter.Connection != null))) {
+ return this._pezziGitterboxTableAdapter.Connection;
+ }
+ return null;
+ }
+ set {
+ this._connection = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Browsable(false)]
+ public int TableAdapterInstanceCount {
+ get {
+ int count = 0;
+ if ((this._pezziProdottiTableAdapter != null)) {
+ count = (count + 1);
+ }
+ if ((this._pezziGitterboxTableAdapter != null)) {
+ count = (count + 1);
+ }
+ return count;
+ }
+ }
+
+ ///
+ ///Update rows in top-down order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private int UpdateUpdatedRows(DS_DataMatrix dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) {
+ int result = 0;
+ if ((this._pezziGitterboxTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.PezziGitterbox.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._pezziGitterboxTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ if ((this._pezziProdottiTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.PezziProdotti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._pezziProdottiTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ return result;
+ }
+
+ ///
+ ///Insert rows in top-down order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private int UpdateInsertedRows(DS_DataMatrix dataSet, global::System.Collections.Generic.List allAddedRows) {
+ int result = 0;
+ if ((this._pezziGitterboxTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.PezziGitterbox.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._pezziGitterboxTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ if ((this._pezziProdottiTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.PezziProdotti.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._pezziProdottiTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ return result;
+ }
+
+ ///
+ ///Delete rows in bottom-up order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private int UpdateDeletedRows(DS_DataMatrix dataSet, global::System.Collections.Generic.List allChangedRows) {
+ int result = 0;
+ if ((this._pezziProdottiTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.PezziProdotti.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._pezziProdottiTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._pezziGitterboxTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.PezziGitterbox.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._pezziGitterboxTableAdapter.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()]
+ private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) {
+ if (((updatedRows == null)
+ || (updatedRows.Length < 1))) {
+ return updatedRows;
+ }
+ if (((allAddedRows == null)
+ || (allAddedRows.Count < 1))) {
+ return updatedRows;
+ }
+ global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List();
+ for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
+ global::System.Data.DataRow row = updatedRows[i];
+ if ((allAddedRows.Contains(row) == false)) {
+ realUpdatedRows.Add(row);
+ }
+ }
+ return realUpdatedRows.ToArray();
+ }
+
+ ///
+ ///Update all changes to the dataset.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public virtual int UpdateAll(DS_DataMatrix dataSet) {
+ if ((dataSet == null)) {
+ throw new global::System.ArgumentNullException("dataSet");
+ }
+ if ((dataSet.HasChanges() == false)) {
+ return 0;
+ }
+ if (((this._pezziProdottiTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._pezziProdottiTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
+ "tring.");
+ }
+ if (((this._pezziGitterboxTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._pezziGitterboxTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
+ "tring.");
+ }
+ global::System.Data.IDbConnection workConnection = this.Connection;
+ if ((workConnection == null)) {
+ throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" +
+ "ger TableAdapter property to a valid TableAdapter instance.");
+ }
+ bool workConnOpened = false;
+ if (((workConnection.State & global::System.Data.ConnectionState.Broken)
+ == global::System.Data.ConnectionState.Broken)) {
+ workConnection.Close();
+ }
+ if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
+ workConnection.Open();
+ workConnOpened = true;
+ }
+ global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
+ if ((workTransaction == null)) {
+ throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" +
+ "ctions or the current state is not allowing the transaction to begin.");
+ }
+ global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List();
+ global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List();
+ global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List();
+ global::System.Collections.Generic.Dictionary
protected virtual void setupConnectionStringBase()
{
+ string connString = memLayer.ML.confReadString("GMWConnectionString");
// connections strings del db
- taAnagImp.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taAnagBil.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taCartellini.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taTipoDich.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taStatiProd.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taAnagImballi.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taArtInProd.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taRelazUDC.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taAnagCS.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taAnagClienti.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taAnagOperatore.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taAnagParticolari.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taAnagFamiglie.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taSogg2Oper.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taPrtCart.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taPrtCartMP.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taSpecPart.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
+ taAnagImp.Connection.ConnectionString = connString;
+ taAnagBil.Connection.ConnectionString = connString;
+ taCartellini.Connection.ConnectionString = connString;
+ taTipoDich.Connection.ConnectionString = connString;
+ taStatiProd.Connection.ConnectionString = connString;
+ taAnagImballi.Connection.ConnectionString = connString;
+ taArtInProd.Connection.ConnectionString = connString;
+ taRelazUDC.Connection.ConnectionString = connString;
+ taAnagCS.Connection.ConnectionString = connString;
+ taAnagClienti.Connection.ConnectionString = connString;
+ taAnagOperatore.Connection.ConnectionString = connString;
+ taAnagParticolari.Connection.ConnectionString = connString;
+ taAnagFamiglie.Connection.ConnectionString = connString;
+ taSogg2Oper.Connection.ConnectionString = connString;
+ taPrtCart.Connection.ConnectionString = connString;
+ taPrtCartMP.Connection.ConnectionString = connString;
+ taSpecPart.Connection.ConnectionString = connString;
}
#endregion
diff --git a/GMW/GMW_data/GMW_data.csproj b/GMW/GMW_data/GMW_data.csproj
index f31c6e16..36861514 100644
--- a/GMW/GMW_data/GMW_data.csproj
+++ b/GMW/GMW_data/GMW_data.csproj
@@ -48,6 +48,7 @@
+
DS_Applicazione.xsd
@@ -58,6 +59,11 @@
True
DS_Applicazione.xsd
+
+ True
+ True
+ DS_DataMatrix.xsd
+
DS_magazzino.xsd
Component
@@ -67,6 +73,11 @@
True
DS_magazzino.xsd
+
+ True
+ True
+ DS_Odette.xsd
+
True
True
@@ -78,6 +89,7 @@
DS_Utility.xsd
+
True
@@ -124,6 +136,17 @@
DS_Applicazione.xsd
+
+ DS_DataMatrix.xsd
+
+
+ Designer
+ MSDataSetGenerator
+ DS_DataMatrix.Designer.cs
+
+
+ DS_DataMatrix.xsd
+
DS_magazzino.xsd
@@ -135,6 +158,17 @@
DS_magazzino.xsd
+
+ DS_Odette.xsd
+
+
+ Designer
+ MSDataSetGenerator
+ DS_Odette.Designer.cs
+
+
+ DS_Odette.xsd
+
DS_SM.xsd
diff --git a/GMW/GMW_data/MagClass.cs b/GMW/GMW_data/MagClass.cs
index 13d7e2f7..bdc5b19c 100644
--- a/GMW/GMW_data/MagClass.cs
+++ b/GMW/GMW_data/MagClass.cs
@@ -73,30 +73,30 @@ namespace GMW_data
///
protected virtual void setupConnectionStringBase()
{
+ string connString = memLayer.ML.confReadString("GMWConnectionString");
// connections del db
-
- taAnagMag.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taBlocchi.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taCelle.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taTipoCella.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taCartellini.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taPosUdcCorr.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taPosUdcStorico.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taMagOverw.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taDettMagPart.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taDettUDC.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taElencoListePrelievo.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taElencoCartellini.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taRigheListePrelievo.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taTipoListaPrelievo.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taVParticolariOverwiew.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taPartExpFig.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taStatoCelle.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taRapQual.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taRQ_sunto.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taPosizDelib.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taAnagPart.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
- taAnagPos.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
+ taAnagMag.Connection.ConnectionString = connString;
+ taBlocchi.Connection.ConnectionString = connString;
+ taCelle.Connection.ConnectionString = connString;
+ taTipoCella.Connection.ConnectionString = connString;
+ taCartellini.Connection.ConnectionString = connString;
+ taPosUdcCorr.Connection.ConnectionString = connString;
+ taPosUdcStorico.Connection.ConnectionString = connString;
+ taMagOverw.Connection.ConnectionString = connString;
+ taDettMagPart.Connection.ConnectionString = connString;
+ taDettUDC.Connection.ConnectionString = connString;
+ taElencoListePrelievo.Connection.ConnectionString = connString;
+ taElencoCartellini.Connection.ConnectionString = connString;
+ taRigheListePrelievo.Connection.ConnectionString = connString;
+ taTipoListaPrelievo.Connection.ConnectionString = connString;
+ taVParticolariOverwiew.Connection.ConnectionString = connString;
+ taPartExpFig.Connection.ConnectionString = connString;
+ taStatoCelle.Connection.ConnectionString = connString;
+ taRapQual.Connection.ConnectionString = connString;
+ taRQ_sunto.Connection.ConnectionString = connString;
+ taPosizDelib.Connection.ConnectionString = connString;
+ taAnagPart.Connection.ConnectionString = connString;
+ taAnagPos.Connection.ConnectionString = connString;
}
#endregion
diff --git a/GMW/GMW_data/Odette.cs b/GMW/GMW_data/Odette.cs
new file mode 100644
index 00000000..2395f775
--- /dev/null
+++ b/GMW/GMW_data/Odette.cs
@@ -0,0 +1,98 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using SteamWare;
+
+
+namespace GMW_data
+{
+ ///
+ /// fa da proxy singleton x gli oggetti legati ai cartellini ODETTE
+ ///
+ public class Odette
+ {
+ #region area table adapters
+
+ public DS_OdetteTableAdapters.OdetteTableAdapter taOdette;
+
+ ///
+ /// init dei table adapters
+ ///
+ protected void initTA()
+ {
+ taOdette = new GMW_data.DS_OdetteTableAdapters.OdetteTableAdapter();
+ }
+ ///
+ /// effettua setup dei connection strings da web.config delal singola applicazione
+ ///
+ protected virtual void setupConnectionStringBase()
+ {
+ string connString = memLayer.ML.confReadString("GMWConnectionString");
+ // connections strings del db
+ taOdette.Connection.ConnectionString = connString;
+ }
+ #endregion
+
+ protected Odette()
+ {
+ initTA();
+ setupConnectionStringBase();
+ }
+
+
+ public static Odette mgr = new Odette();
+ ///
+ /// wrapper traduzione
+ ///
+ ///
+ ///
+ ///
+ public string traduci(string lemma, string lingua)
+ {
+ return user_std.UtSn.Traduci(lemma,lingua);
+ }
+
+ ///
+ /// carica le label di lingua su un etichetta odette (che deve già esistere)
+ ///
+ ///
+ ///
+ ///
+ public bool caricaEtichetteLinguaPerOdette(string UDC, string lingua)
+ {
+ bool answ = false;
+ // controllo se etichetta odette esiste...
+ if (taOdette.getByUdc(UDC).Rows.Count > 0)
+ {
+ // carico le mie labels tradotte...
+ string Campo1_1 = traduci("Campo1_1", lingua);
+ string Campo2_1 = traduci("Campo2_1", lingua);
+ string Campo3_1 = traduci("Campo3_1", lingua);
+ string Campo4_1 = traduci("Campo4_1", lingua);
+ string Campo5_1 = traduci("Campo5_1", lingua);
+ string Campo6_1 = traduci("Campo6_1", lingua);
+ string Campo7_1 = traduci("Campo7_1", lingua);
+ string Campo8_1 = traduci("Campo8_1", lingua);
+ string Campo9_1 = traduci("Campo9_1", lingua);
+ string Campo10_1 = traduci("Campo10_1", lingua);
+ string Campo11_1_1 = traduci("Campo11_1_1", lingua);
+ string Campo11_2_1 = traduci("Campo11_2_1", lingua);
+ string Campo12_1 = traduci("Campo12_1", lingua);
+ string Campo13_1 = traduci("Campo13_1", lingua);
+ string Campo14_1 = traduci("Campo14_1", lingua);
+ string Campo15_1 = traduci("Campo15_1", lingua);
+ string Campo16_1 = traduci("Campo16_1", lingua);
+ // effettuo update!
+ taOdette.updateLingua(UDC, Campo1_1, Campo2_1, Campo3_1, Campo4_1, Campo5_1, Campo6_1, Campo7_1, Campo8_1, Campo9_1, Campo10_1, Campo11_1_1, Campo11_2_1, Campo12_1, Campo13_1, Campo14_1, Campo15_1, Campo16_1);
+ }
+ else
+ {
+ logger.lg.scriviLog(string.Format("Attenzione! etichetta odette non trovata per l'UDC {0}", UDC), tipoLog.ERROR);
+ }
+
+ return answ;
+ }
+
+ }
+}
diff --git a/GMW/GMW_data/Properties/Settings.Designer.cs b/GMW/GMW_data/Properties/Settings.Designer.cs
index ba45f169..a95198d3 100644
--- a/GMW/GMW_data/Properties/Settings.Designer.cs
+++ b/GMW/GMW_data/Properties/Settings.Designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:2.0.50727.4927
+// Runtime Version:2.0.50727.4952
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -33,5 +33,16 @@ namespace GMW_data.Properties {
return ((string)(this["GMWConnectionString"]));
}
}
+
+ [global::System.Configuration.ApplicationScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
+ [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.74.82.217\\SQL2008R2;Initial Catalog=SP_produzione;Persist Security" +
+ " Info=True;User ID=sa;Password=keyhammer")]
+ public string SP_produzioneConnectionString {
+ get {
+ return ((string)(this["SP_produzioneConnectionString"]));
+ }
+ }
}
}
diff --git a/GMW/GMW_data/Properties/Settings.settings b/GMW/GMW_data/Properties/Settings.settings
index 552a17ff..237cb63a 100644
--- a/GMW/GMW_data/Properties/Settings.settings
+++ b/GMW/GMW_data/Properties/Settings.settings
@@ -10,5 +10,13 @@
</SerializableConnectionString>
Data Source=10.74.82.217\SQL2008R2;Initial Catalog=SP_GMW;Persist Security Info=True;User ID=sa;Password=keyhammer
+
+ <?xml version="1.0" encoding="utf-16"?>
+<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <ConnectionString>Data Source=10.74.82.217\SQL2008R2;Initial Catalog=SP_produzione;Persist Security Info=True;User ID=sa;Password=keyhammer</ConnectionString>
+ <ProviderName>System.Data.SqlClient</ProviderName>
+</SerializableConnectionString>
+ Data Source=10.74.82.217\SQL2008R2;Initial Catalog=SP_produzione;Persist Security Info=True;User ID=sa;Password=keyhammer
+
\ No newline at end of file
diff --git a/GMW/GMW_data/SqlScripts/GMW_00345.sql b/GMW/GMW_data/SqlScripts/GMW_00345.sql
index db179155..2cc2587f 100644
--- a/GMW/GMW_data/SqlScripts/GMW_00345.sql
+++ b/GMW/GMW_data/SqlScripts/GMW_00345.sql
@@ -80,6 +80,201 @@ AS
RETURN
+set xact_abort on
+go
+
+begin transaction
+go
+
+set ANSI_NULLS on
+go
+
+/***************************************
+* STORED stp_prtCartMatPrimaByUDC
+*
+* ottiene il record del Cartellino Materia Prima dato l'UDC richiesto x la sstampa
+*
+****************************************/
+alter PROCEDURE stp_prtCartMatPrimaByUDC
+(
+ @UDC VARCHAR(50)
+)
+AS
+SELECT
+ RQ.nRapQual,
+ RQ.DataRapQual,
+ RQ.ProgUDC,
+ RQ.CodFor,
+ RQ.DestTerz,
+ RQ.CodLega,
+ RQ.DataPrelFus,
+ RQ.TurnoPrelFus,
+ RQ.Qta,
+ RQ.DestLega,
+ RQ.LegaScaric,
+ RQ.BenesQual,
+ RQ.UDC,
+ Fo.DescFornitore,
+ Fo.DescFornitore2,
+ Le.CodLega AS CodLega2,
+ Le.DescLega,
+ Le.DescLega2
+FROM RilPro.RapQual AS RQ
+LEFT JOIN RilPro.AnagFornitori AS Fo
+ ON RQ.CodFor = Fo.CodFornitore
+LEFT JOIN RilPro.AnagLeghe Le
+ ON RQ.CodLega = 'L' + Le.CodLega
+WHERE RQ.UDC = RTRIM(@UDC) -- 'UB31000000001'
+RETURN
+go
+
+commit
+go
+
+set xact_abort on
+go
+
+begin transaction
+go
+
+set ANSI_NULLS on
+go
+
+/***************************************
+* STORED stp_rappQualConsumabili
+*
+* Ottiene l'elenco dei record di rapp qualità (e quindi degli UDC) di AS non ancora consumati per range di data di approvazione
+*
+* Steamware, S.E.L.
+* mod: 2010.10.05
+*
+****************************************/
+alter PROCEDURE stp_rappQualConsumabili
+(
+ @dataFrom DATETIME,
+ @dataTo DATETIME
+)
+
+AS
+ -- restituisce le righe richieste
+ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, TurnoPrelFus, Qta, DestLega, LegaScaric, BenesQual, UDC
+ FROM RilPro.RapQual
+ WHERE ((DataPrelFus IS NULL) OR (DataPrelFus = 0)) AND -- condizione sul NON aver fatto ancora il prelievo
+ ((DataRapQual >= dbo.dateToAsFormat(@dataFrom)) AND (DataRapQual < dbo.dateToAsFormat(@dataTo))) -- cond data RQ
+ AND (ISNULL(UDC,'') <>'') -- non nullo UDC, quindi stampati...
+
+RETURN
+go
+
+commit
+go
+
+
+set xact_abort on
+go
+
+begin transaction
+go
+
+set ANSI_NULLS on
+go
+
+-- Batch submitted through debugger: GMW_00290.sql|183|0|C:\Users\RottGian\AppData\Local\Temp\2\Temp1_GMW_00290.zip\GMW_00290.sql
+
+/***************************************
+* STORED stp_selDestListePrelByConditio
+*
+* Ottiene i destinatari delle liste di prelievo data la condizione indicata
+*
+* Steamware, S.E.L.
+* mod: 2010.11.02
+*
+****************************************/
+alter PROCEDURE stp_selDestListePrelByConditio
+(
+ @conditio NVARCHAR(20)
+)
+AS
+
+IF (@conditio='01-PreFus')
+BEGIN
+ SELECT CAST('*' AS NVARCHAR(6)) AS value, CAST('*' AS NVARCHAR(50)) AS label, '01-PreFus' AS conditio
+END
+
+ELSE IF (@conditio='02-PreCli')
+BEGIN
+ SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(CodCliente AS NVARCHAR(6)) +'- ' +CAST(RagSociale AS NVARCHAR(50)) AS label, '02-PreCli' AS conditio
+ FROM RilPro.AnagClienti
+ ORDER BY label
+END
+
+ELSE
+BEGIN
+ SELECT CAST(CodTerzista AS NVARCHAR(6)) AS value, CAST(CodTerzista AS NVARCHAR(6))+ '- '+CAST(DescTerzista AS NVARCHAR(50)) AS label, '03-TerWip' AS conditio
+ FROM RilPro.AnagDepositi
+ ORDER BY label
+END
+
+RETURN
+go
+
+commit
+go
+
+
+set xact_abort on
+go
+
+begin transaction
+go
+
+set ANSI_NULLS on
+go
+
+-- Batch submitted through debugger: GMW_00290.sql|183|0|C:\Users\RottGian\AppData\Local\Temp\2\Temp1_GMW_00290.zip\GMW_00290.sql
+
+/***************************************
+* STORED stp_selDestListePrelByConditio
+*
+* Ottiene i destinatari delle liste di prelievo data la condizione indicata
+*
+* Steamware, S.E.L.
+* mod: 2010.11.02
+*
+****************************************/
+alter PROCEDURE stp_selDestListePrelByConditio
+(
+ @conditio NVARCHAR(20)
+)
+AS
+
+IF (@conditio='01-PreFus')
+BEGIN
+ SELECT CAST('*' AS NVARCHAR(6)) AS value, CAST('*' AS NVARCHAR(50)) AS label, '01-PreFus' AS conditio
+END
+
+ELSE IF (@conditio='02-PreCli')
+BEGIN
+ SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(CodCliente AS NVARCHAR(6)) +'- ' +CAST(RagSociale AS NVARCHAR(50)) AS label, '02-PreCli' AS conditio
+ FROM RilPro.AnagClienti
+ ORDER BY label
+END
+
+ELSE
+BEGIN
+ SELECT CAST(CodTerzista AS NVARCHAR(6)) AS value, CAST(CodTerzista AS NVARCHAR(6))+ '- '+CAST(DescTerzista AS NVARCHAR(50)) AS label, '03-TerWip' AS conditio
+ FROM RilPro.AnagDepositi
+ ORDER BY label
+END
+
+RETURN
+go
+
+commit
+go
+
+
+
diff --git a/GMW/GMW_data/SqlScripts/GMW_00350.sql b/GMW/GMW_data/SqlScripts/GMW_00350.sql
index f3b560d3..73b73962 100644
--- a/GMW/GMW_data/SqlScripts/GMW_00350.sql
+++ b/GMW/GMW_data/SqlScripts/GMW_00350.sql
@@ -44,6 +44,80 @@ RETURN
+set xact_abort on
+go
+
+begin transaction
+go
+
+set ANSI_NULLS on
+go
+
+/***************************************
+* STORED stp_rappQualSuntoGetByDataRange
+*
+* Ottiene l'elenco dei record di rapp qualità di AS dato il range delle date
+*
+* Steamware, S.E.L.
+* mod: 2010.09.29
+*
+****************************************/
+alter PROCEDURE stp_rappQualSuntoGetByDataRange
+(
+ @dataFrom DATETIME,
+ @dataTo DATETIME
+)
+AS
+ -- restituisce le righe richieste
+ SELECT *
+ FROM v_RapQualSunto
+ WHERE (DataRapQual >= dbo.dateToAsFormat(@dataFrom)) AND (DataRapQual < dbo.dateToAsFormat(@dataTo))
+ ORDER BY nRapQual
+RETURN
+go
+
+commit
+go
+
+
+set xact_abort on
+go
+
+begin transaction
+go
+
+set ANSI_NULLS on
+go
+
+/***************************************
+* STORED stp_rappQualSuntoGetByDataRange
+*
+* Ottiene l'elenco dei record di rapp qualità di AS dato il range delle date
+*
+* Steamware, S.E.L.
+* mod: 2010.09.29
+*
+****************************************/
+alter PROCEDURE stp_rappQualSuntoGetByDataRange
+(
+ @dataFrom DATETIME,
+ @dataTo DATETIME
+)
+AS
+ -- restituisce le righe richieste
+ SELECT *
+ FROM v_RapQualSunto
+ WHERE (DataRapQual >= dbo.dateToAsFormat(@dataFrom)) AND (DataRapQual < dbo.dateToAsFormat(@dataTo))
+ ORDER BY nRapQual
+RETURN
+go
+
+commit
+go
+
+
+
+
-- registro versione...
diff --git a/GMW/GMW_data/SqlScripts/GMW_00360.sql b/GMW/GMW_data/SqlScripts/GMW_00360.sql
new file mode 100644
index 00000000..3f7f34c9
--- /dev/null
+++ b/GMW/GMW_data/SqlScripts/GMW_00360.sql
@@ -0,0 +1,128 @@
+create table Odette(
+ CampoUDC varchar(10) not null constraint PK_Odette primary key,
+ Campo1_1 varchar(8) not null,
+ Campo1_2 varchar(8) not null,
+ Campo1_3 varchar(8) not null,
+ Campo1_4 varchar(8) not null,
+ Campo1_5 varchar(8) not null,
+ Campo2_1 varchar(8) not null,
+ Campo2_2 varchar(8) not null,
+ Campo2_3 varchar(8) not null,
+ Campo2_4 varchar(8) not null,
+ Campo2_5 varchar(8) not null,
+ Campo3_1 varchar(8) not null,
+ Campo3_2 varchar(8) not null,
+ Campo3_3 varchar(8) not null,
+ Campo3_4 varchar(8) not null,
+ Campo3_5 varchar(8) not null,
+ Campo4_1 varchar(8) not null,
+ Campo4_2 varchar(8) not null,
+ Campo4_3 varchar(8) not null,
+ Campo4_4 varchar(8) not null,
+ Campo4_5 varchar(8) not null,
+ Campo5_1 varchar(8) not null,
+ Campo5_2 varchar(8) not null,
+ Campo5_3 varchar(8) not null,
+ Campo5_4 varchar(8) not null,
+ Campo5_5 varchar(8) not null,
+ Campo6_1 varchar(8) not null,
+ Campo6_2 varchar(8) not null,
+ Campo6_3 varchar(8) not null,
+ Campo6_4 varchar(8) not null,
+ Campo6_5 varchar(8) not null,
+ Campo7_1 varchar(8) not null,
+ Campo7_2 varchar(8) not null,
+ Campo7_3 varchar(8) not null,
+ Campo7_4 varchar(8) not null,
+ Campo7_5 varchar(8) not null,
+ Campo8_1 varchar(8) not null,
+ Campo8_2 varchar(8) not null,
+ Campo8_3 varchar(8) not null,
+ Campo8_4 varchar(8) not null,
+ Campo8_5 varchar(8) not null,
+ Campo9_1 varchar(8) not null,
+ Campo9_2 varchar(8) not null,
+ Campo9_3 varchar(8) not null,
+ Campo9_4 varchar(8) not null,
+ Campo9_5 varchar(8) not null,
+ Campo10_1 varchar(9) not null,
+ Campo10_2 varchar(9) not null,
+ Campo10_3 varchar(9) not null,
+ Campo10_4 varchar(9) not null,
+ Campo10_5 varchar(9) not null,
+ Campo11_1_1 varchar(11) not null,
+ Campo11_1_2 varchar(11) not null,
+ Campo11_1_3 varchar(11) not null,
+ Campo11_1_4 varchar(11) not null,
+ Campo11_1_5 varchar(11) not null,
+ Campo11_2_1 varchar(11) not null,
+ Campo11_2_2 varchar(11) not null,
+ Campo11_2_3 varchar(11) not null,
+ Campo11_2_4 varchar(11) not null,
+ Campo11_2_5 varchar(11) not null,
+ Campo12_1 varchar(9) not null,
+ Campo12_2 varchar(9) not null,
+ Campo12_3 varchar(9) not null,
+ Campo12_4 varchar(9) not null,
+ Campo12_5 varchar(9) not null,
+ Campo13_1 varchar(9) not null,
+ Campo13_2 varchar(9) not null,
+ Campo13_3 varchar(9) not null,
+ Campo13_4 varchar(9) not null,
+ Campo13_5 varchar(9) not null,
+ Campo14_1 varchar(9) not null,
+ Campo14_2 varchar(9) not null,
+ Campo14_3 varchar(9) not null,
+ Campo14_4 varchar(9) not null,
+ Campo14_5 varchar(9) not null,
+ Campo15_1 varchar(9) not null,
+ Campo15_2 varchar(9) not null,
+ Campo15_3 varchar(9) not null,
+ Campo15_4 varchar(9) not null,
+ Campo15_5 varchar(9) not null,
+ Campo16_1 varchar(9) not null,
+ Campo16_2 varchar(9) not null,
+ Campo16_3 varchar(9) not null,
+ Campo16_4 varchar(9) not null,
+ Campo16_5 varchar(9) not null
+)
+go
+
+
+set xact_abort on
+go
+
+begin transaction
+go
+
+INSERT INTO dbo.AnagTipoEvento
+ VALUES (N'MagPreGbox', N'Prelievo Gitterbox per cliente BMW')
+go
+
+commit transaction
+go
+
+
+set xact_abort on
+go
+
+begin transaction
+go
+
+INSERT INTO dbo.TipoListaPrelievo
+ VALUES (N'04-OdetSP', N'Lista Prelievo per Odette SP', N'LPO010101', N'MagPreGbox', 0)
+go
+
+commit transaction
+go
+
+
+
+
+
+
+
+
+-- registro versione...
+INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(360, GETDATE())
+GO
diff --git a/GMW/GMW_data/app.config b/GMW/GMW_data/app.config
index c4f4ad38..69d734a8 100644
--- a/GMW/GMW_data/app.config
+++ b/GMW/GMW_data/app.config
@@ -6,5 +6,8 @@
+
\ No newline at end of file
diff --git a/GMW/GMW_data/bin/Release/GMW_data.dll b/GMW/GMW_data/bin/Release/GMW_data.dll
index 2391a2e8..949e6978 100644
Binary files a/GMW/GMW_data/bin/Release/GMW_data.dll and b/GMW/GMW_data/bin/Release/GMW_data.dll differ
diff --git a/GMW/GMW_data/bin/Release/GMW_data.dll.config b/GMW/GMW_data/bin/Release/GMW_data.dll.config
index c4f4ad38..69d734a8 100644
--- a/GMW/GMW_data/bin/Release/GMW_data.dll.config
+++ b/GMW/GMW_data/bin/Release/GMW_data.dll.config
@@ -6,5 +6,8 @@
+
\ No newline at end of file
diff --git a/GMW/GMW_data/bin/Release/SteamWare.dll b/GMW/GMW_data/bin/Release/SteamWare.dll
index 7f885998..78620e0d 100644
Binary files a/GMW/GMW_data/bin/Release/SteamWare.dll and b/GMW/GMW_data/bin/Release/SteamWare.dll differ
diff --git a/GMW/GMW_data/obj/Release/GMW_data.dll b/GMW/GMW_data/obj/Release/GMW_data.dll
index 2391a2e8..949e6978 100644
Binary files a/GMW/GMW_data/obj/Release/GMW_data.dll and b/GMW/GMW_data/obj/Release/GMW_data.dll differ
diff --git a/GMW/GMW_data/obj/Release/ResolveAssemblyReference.cache b/GMW/GMW_data/obj/Release/ResolveAssemblyReference.cache
index 83f250a1..4ae7350d 100644
Binary files a/GMW/GMW_data/obj/Release/ResolveAssemblyReference.cache and b/GMW/GMW_data/obj/Release/ResolveAssemblyReference.cache differ
diff --git a/GMW/GMW_data/obj/Release/TempPE/DS_DataMatrix.Designer.cs.dll b/GMW/GMW_data/obj/Release/TempPE/DS_DataMatrix.Designer.cs.dll
new file mode 100644
index 00000000..d39fdf63
Binary files /dev/null and b/GMW/GMW_data/obj/Release/TempPE/DS_DataMatrix.Designer.cs.dll differ
diff --git a/GMW/GMW_data/obj/Release/TempPE/DS_Odette.Designer.cs.dll b/GMW/GMW_data/obj/Release/TempPE/DS_Odette.Designer.cs.dll
new file mode 100644
index 00000000..f7b75282
Binary files /dev/null and b/GMW/GMW_data/obj/Release/TempPE/DS_Odette.Designer.cs.dll differ
diff --git a/GMW/GMW_installer/GMW_installer.vdproj b/GMW/GMW_installer/GMW_installer.vdproj
index 40b21dd6..38eaa7c8 100644
--- a/GMW/GMW_installer/GMW_installer.vdproj
+++ b/GMW/GMW_installer/GMW_installer.vdproj
@@ -349,14 +349,14 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:GMW"
- "ProductCode" = "8:{AE1EBEAE-7281-48A7-AF60-0DB79B61424A}"
- "PackageCode" = "8:{1E31AAA0-8666-4470-95A1-381A09FF377E}"
+ "ProductCode" = "8:{33571C57-DCDE-46D3-8BA4-37F8EB24358A}"
+ "PackageCode" = "8:{DAF22D52-4536-4384-B32C-352029F6C17C}"
"UpgradeCode" = "8:{C9BC0732-DC92-4336-BAC9-A05A5D2A97C0}"
"RestartWWWService" = "11:TRUE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
- "ProductVersion" = "8:1.0.351"
+ "ProductVersion" = "8:1.0.355"
"Manufacturer" = "8:SteamWare s.r.l."
"ARPHELPTELEPHONE" = "8:+39-035460560"
"ARPHELPLINK" = "8:http://www.steamware.net"
diff --git a/GMW/GMW_installer/Release/GMW_installer.msi b/GMW/GMW_installer/Release/GMW_installer.msi
index d0cb80ca..3880b920 100644
Binary files a/GMW/GMW_installer/Release/GMW_installer.msi and b/GMW/GMW_installer/Release/GMW_installer.msi differ
|