-
+
+
-
- completare con interazione campi richiesti!!! --> i campi richiesti devono prevedere check con valore in tab specifica istanze ODL
-
+
-
+
\ No newline at end of file
diff --git a/MP-TAB/WebUserControls/cmp_ST_detail.ascx.cs b/MP-TAB/WebUserControls/cmp_ST_detail.ascx.cs
index 4333671d..e899a1d4 100644
--- a/MP-TAB/WebUserControls/cmp_ST_detail.ascx.cs
+++ b/MP-TAB/WebUserControls/cmp_ST_detail.ascx.cs
@@ -9,10 +9,36 @@ namespace MoonProTablet.WebUserControls
{
public partial class cmp_ST_detail : BaseUserControl
{
- protected void Page_Load(object sender, EventArgs e)
+ #region Public Properties
+
+ public string CodArticolo
{
- fixWarning();
+ get
+ {
+ return hfCodArticolo.Value.Trim();
+ }
+ set
+ {
+ hfCodArticolo.Value = value.Trim();
+ }
}
+
+ public string CodGruppo
+ {
+ get
+ {
+ return hfCodGruppo.Value.Trim();
+ }
+ set
+ {
+ hfCodGruppo.Value = value.Trim();
+ }
+ }
+
+ #endregion Public Properties
+
+ #region Private Methods
+
///
/// check ODL presente
///
@@ -35,27 +61,15 @@ namespace MoonProTablet.WebUserControls
}
}
- public string CodArticolo
+ #endregion Private Methods
+
+ #region Protected Methods
+
+ protected void Page_Load(object sender, EventArgs e)
{
- get
- {
- return hfCodArticolo.Value.Trim();
- }
- set
- {
- hfCodArticolo.Value = value.Trim();
- }
- }
- public string CodGruppo
- {
- get
- {
- return hfCodGruppo.Value.Trim();
- }
- set
- {
- hfCodGruppo.Value = value.Trim();
- }
+ fixWarning();
}
+
+ #endregion Protected Methods
}
}
\ No newline at end of file
diff --git a/MP-TAB/WebUserControls/cmp_ST_objCheck.ascx b/MP-TAB/WebUserControls/cmp_ST_objCheck.ascx
index d6d0f539..7c874d9a 100644
--- a/MP-TAB/WebUserControls/cmp_ST_objCheck.ascx
+++ b/MP-TAB/WebUserControls/cmp_ST_objCheck.ascx
@@ -1 +1,14 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_ST_objCheck.ascx.cs" Inherits="MoonProTablet.WebUserControls.cmp_ST_objCheck" %>
+
+
+
\ No newline at end of file
diff --git a/MP-TAB/WebUserControls/cmp_ST_objCheck.ascx.cs b/MP-TAB/WebUserControls/cmp_ST_objCheck.ascx.cs
index 67326888..fae3e69b 100644
--- a/MP-TAB/WebUserControls/cmp_ST_objCheck.ascx.cs
+++ b/MP-TAB/WebUserControls/cmp_ST_objCheck.ascx.cs
@@ -1,4 +1,6 @@
-using System;
+using Microsoft.Ajax.Utilities;
+using SteamWare;
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
@@ -9,9 +11,164 @@ namespace MoonProTablet.WebUserControls
{
public partial class cmp_ST_objCheck : BaseUserControl
{
+ #region Public Properties
+
+ ///
+ /// Valore BCode acquisito
+ ///
+ public string BCodeVal
+ {
+ get
+ {
+ return txtInput.Text.Trim().ToUpper();
+ }
+ set
+ {
+ txtInput.Text = value;
+ }
+ }
+
+ ///
+ /// Cod Articolo selezionato
+ ///
+ public string CodArticolo
+ {
+ get
+ {
+ return hfCodArticolo.Value.Trim();
+ }
+ set
+ {
+ hfCodArticolo.Value = value.Trim();
+ checkInputData();
+ }
+ }
+
+ ///
+ /// oggetto comando locale alla classe formato RAW
+ ///
+ public string rawInput
+ {
+ get
+ {
+ string answ;
+ if (memLayer.ML.isInSessionObject("barcodeRaw"))
+ {
+ answ = memLayer.ML.StringSessionObj("barcodeRaw");
+ }
+ else
+ {
+ answ = "";
+ }
+ return answ;
+ }
+ set
+ {
+ memLayer.ML.setSessionVal("barcodeRaw", value, false);
+ }
+ }
+
+ #endregion Public Properties
+
+ #region Private Methods
+
+ private void checkInputData()
+ {
+ bool showInput = false;
+ try
+ {
+ showInput = DataLayerObj.taSTAR.getPendingByOdl(CodArticolo, idxOdl).Count > 0;
+ }
+ catch
+ { }
+ divCheckData.Visible = showInput;
+ }
+
+ ///
+ /// procedura pricipale decodifica Barcode
+ ///
+ private void processInput()
+ {
+ bool found = false;
+ // per prima cosa recupero i valori "Pending" da leggere come candidati...
+ var tabRichieste = DataLayerObj.taSTAR.getPendingByOdl(CodArticolo, idxOdl);
+ if (tabRichieste != null && tabRichieste.Count > 0)
+ {
+ // cerco per EQ come primo step...
+ var trovatoEq = tabRichieste.Where(x => x.CheckType == "EQ" && x.Value == BCodeVal);
+ if (trovatoEq != null && trovatoEq.Count() > 0)
+ {
+ // recupero record..
+ var datiEqCheck = trovatoEq.FirstOrDefault();
+ // registro trovato
+ found = true;
+ lblMessage.Text = $"Parametro acquisito: {BCodeVal}";
+ lblMessage.CssClass = "text-success";
+ // upsert controllo
+ DataLayerObj.taSTChk.upsertQuery(idxOdl, datiEqCheck.IdxST, datiEqCheck.Oggetto, datiEqCheck.Num, BCodeVal, BCodeVal, true, user_std.UtSn.utente);
+ }
+
+ // se non trovato
+ if (!found)
+ {
+ // controllo condizione tipo BATCH (speciale) - prima solo che CI SIA una richiesta di questo tipo
+ var trovatoBatch = tabRichieste.Where(x => x.CheckType == "BATCH");
+ if (trovatoBatch != null && trovatoBatch.Count() > 0)
+ {
+ // recupero record.. cercando in giacenza il LOTTO...
+ var tabGiacenzeLotto = DataLayerObj.taArcaGiac.getBySearch(null, "", BCodeVal, "", false);
+ if (tabGiacenzeLotto != null && tabGiacenzeLotto.Count > 0)
+ {
+ var datiBatchCheck = trovatoBatch.FirstOrDefault();
+ var datiLotto = tabGiacenzeLotto.FirstOrDefault();
+
+ // registro trovato
+ found = true;
+ lblMessage.Text = $"Parametro acquisito: {BCodeVal} --> {datiLotto.Cd_AR}";
+ lblMessage.CssClass = "text-success";
+ // upsert controllo
+ DataLayerObj.taSTChk.upsertQuery(idxOdl, datiBatchCheck.IdxST, datiBatchCheck.Oggetto, datiBatchCheck.Num, BCodeVal, datiLotto.Cd_AR, true, user_std.UtSn.utente);
+ }
+ }
+ }
+ }
+ else
+ {
+ lblMessage.Text = "Parametro non valido";
+ lblMessage.CssClass = "text-secondary";
+ }
+
+ // sistemo visualizzaizone componente
+ BCodeVal = "";
+ checkInputData();
+ // sollevo evento
+ reportUpdate();
+ }
+
+ #endregion Private Methods
+
+ #region Protected Methods
+
protected void Page_Load(object sender, EventArgs e)
{
-
+ if (!Page.IsPostBack)
+ {
+ lblMessage.Text = "prego confermare parametri";
+ lblMessage.CssClass = "text-dark";
+ }
+ txtInput.Focus();
}
+
+ ///
+ /// barcode completato con invio...
+ ///
+ ///
+ ///
+ protected void txtInput_TextChanged(object sender, EventArgs e)
+ {
+ processInput();
+ }
+
+ #endregion Protected Methods
}
}
\ No newline at end of file
diff --git a/MP-TAB/WebUserControls/cmp_ST_objCheck.ascx.designer.cs b/MP-TAB/WebUserControls/cmp_ST_objCheck.ascx.designer.cs
index 1ff32f8f..58b16661 100644
--- a/MP-TAB/WebUserControls/cmp_ST_objCheck.ascx.designer.cs
+++ b/MP-TAB/WebUserControls/cmp_ST_objCheck.ascx.designer.cs
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
-//
+//
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
-// il codice viene rigenerato.
-//
+// il codice viene rigenerato.
+//
//------------------------------------------------------------------------------
namespace MoonProTablet.WebUserControls
@@ -13,5 +13,50 @@ namespace MoonProTablet.WebUserControls
public partial class cmp_ST_objCheck
{
+
+ ///
+ /// Controllo divCheckData.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl divCheckData;
+
+ ///
+ /// Controllo txtInput.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtInput;
+
+ ///
+ /// Controllo lbtCerca.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbtCerca;
+
+ ///
+ /// Controllo lblMessage.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblMessage;
+
+ ///
+ /// Controllo hfCodArticolo.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.HiddenField hfCodArticolo;
}
}
diff --git a/MP-TAB/WebUserControls/cmp_ST_objView.ascx b/MP-TAB/WebUserControls/cmp_ST_objView.ascx
index e8a0a6ea..c5fa4315 100644
--- a/MP-TAB/WebUserControls/cmp_ST_objView.ascx
+++ b/MP-TAB/WebUserControls/cmp_ST_objView.ascx
@@ -3,12 +3,16 @@
+
+
\ No newline at end of file
diff --git a/MP-TAB/WebUserControls/cmp_ST_objView.ascx.cs b/MP-TAB/WebUserControls/cmp_ST_objView.ascx.cs
index 18549b0e..0708a6d2 100644
--- a/MP-TAB/WebUserControls/cmp_ST_objView.ascx.cs
+++ b/MP-TAB/WebUserControls/cmp_ST_objView.ascx.cs
@@ -10,6 +10,40 @@ namespace MoonProTablet.WebUserControls
{
public partial class cmp_ST_objView : BaseUserControl
{
+ #region Public Properties
+
+ public string dataCss
+ {
+ get
+ {
+ string answ = "";
+ if (required)
+ {
+ if (dataValue != extCode)
+ {
+ answ = " text-danger";
+ }
+ else
+ {
+ answ = " text-success";
+ }
+ }
+ return answ;
+ }
+ }
+
+ public string dataLabel
+ {
+ get
+ {
+ return hfLabel.Value.Trim();
+ }
+ set
+ {
+ hfLabel.Value = value.Trim();
+ }
+ }
+
public string dataType
{
get
@@ -22,17 +56,7 @@ namespace MoonProTablet.WebUserControls
fixDisplay();
}
}
- public string dataLabel
- {
- get
- {
- return hfLabel.Value.Trim();
- }
- set
- {
- hfLabel.Value = value.Trim();
- }
- }
+
public string dataValue
{
get
@@ -44,28 +68,20 @@ namespace MoonProTablet.WebUserControls
hfValue.Value = value.Trim();
}
}
- protected void Page_Load(object sender, EventArgs e)
- {
- }
- private void fixDisplay()
+ public string extCode
{
- divImg.Visible = false;
- divTxt.Visible = false;
- switch (dataType)
+ get
{
- case "IMG":
- divImg.Visible = true;
- break;
-
- case "TXT":
- divTxt.Visible = true;
- break;
- default:
- divTxt.Visible = true;
- break;
+ return hfExtCode.Value.Trim();
+ }
+ set
+ {
+ hfExtCode.Value = value.Trim();
+ fixDisplay();
}
}
+
///
/// Url immagine SE richiesta
///
@@ -94,5 +110,78 @@ namespace MoonProTablet.WebUserControls
}
}
+ public bool required
+ {
+ get
+ {
+ bool answ = false;
+ bool.TryParse(hfRequired.Value.Trim(), out answ);
+ return answ;
+ }
+ set
+ {
+ hfRequired.Value = value.ToString();
+ fixDisplay();
+ }
+ }
+
+ public bool showCheckedData
+ {
+ get
+ {
+ bool answ = false;
+ if (required && (dataValue == extCode))
+ {
+ answ = true;
+ }
+ return answ;
+ }
+ }
+
+ public bool showMissingData
+ {
+ get
+ {
+ bool answ = false;
+ if (required && (dataValue != extCode))
+ {
+ answ = true;
+ }
+ return answ;
+ }
+ }
+
+ #endregion Public Properties
+
+ #region Private Methods
+
+ private void fixDisplay()
+ {
+ divImg.Visible = false;
+ divTxt.Visible = false;
+ switch (dataType)
+ {
+ case "IMG":
+ divImg.Visible = true;
+ break;
+
+ case "TXT":
+ default:
+ divTxt.Visible = true;
+ break;
+ }
+ lblError.Visible = showMissingData;
+ lblChecked.Visible = showCheckedData;
+ }
+
+ #endregion Private Methods
+
+ #region Protected Methods
+
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ }
+
+ #endregion Protected Methods
}
}
\ No newline at end of file
diff --git a/MP-TAB/WebUserControls/cmp_ST_objView.ascx.designer.cs b/MP-TAB/WebUserControls/cmp_ST_objView.ascx.designer.cs
index c781b8c7..069f94bf 100644
--- a/MP-TAB/WebUserControls/cmp_ST_objView.ascx.designer.cs
+++ b/MP-TAB/WebUserControls/cmp_ST_objView.ascx.designer.cs
@@ -41,6 +41,24 @@ namespace MoonProTablet.WebUserControls
///
protected global::System.Web.UI.WebControls.HiddenField hfValue;
+ ///
+ /// Controllo hfRequired.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.HiddenField hfRequired;
+
+ ///
+ /// Controllo hfExtCode.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.HiddenField hfExtCode;
+
///
/// Controllo divTxt.
///
@@ -50,6 +68,24 @@ namespace MoonProTablet.WebUserControls
///
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divTxt;
+ ///
+ /// Controllo lblError.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblError;
+
+ ///
+ /// Controllo lblChecked.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblChecked;
+
///
/// Controllo divImg.
///
diff --git a/MP-TAB/WebUserControls/cmp_disabled.ascx b/MP-TAB/WebUserControls/cmp_disabled.ascx
new file mode 100644
index 00000000..b120d0f3
--- /dev/null
+++ b/MP-TAB/WebUserControls/cmp_disabled.ascx
@@ -0,0 +1,20 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_disabled.ascx.cs" Inherits="MoonProTablet.WebUserControls.cmp_disabled" %>
+
+
\ No newline at end of file
diff --git a/MP-TAB/WebUserControls/cmp_disabled.ascx.cs b/MP-TAB/WebUserControls/cmp_disabled.ascx.cs
new file mode 100644
index 00000000..34f1ce33
--- /dev/null
+++ b/MP-TAB/WebUserControls/cmp_disabled.ascx.cs
@@ -0,0 +1,60 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace MoonProTablet.WebUserControls
+{
+ public partial class cmp_disabled : System.Web.UI.UserControl
+ {
+ #region Public Properties
+
+ public string message
+ {
+ get
+ {
+ return lblMessage.Text;
+ }
+ set
+ {
+ lblMessage.Text = value.Trim();
+ }
+ }
+
+ public string subtitle
+ {
+ get
+ {
+ return lblSubtitle.Text;
+ }
+ set
+ {
+ lblSubtitle.Text = value.Trim();
+ }
+ }
+
+ public string title
+ {
+ get
+ {
+ return lblTitolo.Text;
+ }
+ set
+ {
+ lblTitolo.Text = value.Trim();
+ }
+ }
+
+ #endregion Public Properties
+
+ #region Protected Methods
+
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ }
+
+ #endregion Protected Methods
+ }
+}
\ No newline at end of file
diff --git a/MP-TAB/WebUserControls/cmp_disabled.ascx.designer.cs b/MP-TAB/WebUserControls/cmp_disabled.ascx.designer.cs
new file mode 100644
index 00000000..b1a0ba25
--- /dev/null
+++ b/MP-TAB/WebUserControls/cmp_disabled.ascx.designer.cs
@@ -0,0 +1,44 @@
+//------------------------------------------------------------------------------
+//
+// Codice generato da uno strumento.
+//
+// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
+// il codice viene rigenerato.
+//
+//------------------------------------------------------------------------------
+
+namespace MoonProTablet.WebUserControls
+{
+
+
+ public partial class cmp_disabled
+ {
+
+ ///
+ /// Controllo lblTitolo.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblTitolo;
+
+ ///
+ /// Controllo lblSubtitle.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblSubtitle;
+
+ ///
+ /// Controllo lblMessage.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblMessage;
+ }
+}
diff --git a/MP-TAB/WebUserControls/cmp_sheetTech.ascx b/MP-TAB/WebUserControls/cmp_sheetTech.ascx
index 054fc558..465bb9b1 100644
--- a/MP-TAB/WebUserControls/cmp_sheetTech.ascx
+++ b/MP-TAB/WebUserControls/cmp_sheetTech.ascx
@@ -1,12 +1,23 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_sheetTech.ascx.cs" Inherits="MoonProTablet.WebUserControls.cmp_sheetTech" %>
<%@ Register Src="~/WebUserControls/cmp_ST_detail.ascx" TagPrefix="uc1" TagName="cmp_ST_detail" %>
+<%@ Register Src="~/WebUserControls/cmp_ST_objCheck.ascx" TagPrefix="uc1" TagName="cmp_ST_objCheck" %>
+
+
+
@@ -25,5 +36,6 @@
+
\ No newline at end of file
diff --git a/MP-TAB/WebUserControls/cmp_sheetTech.ascx.cs b/MP-TAB/WebUserControls/cmp_sheetTech.ascx.cs
index 9c8a3863..6bfd884a 100644
--- a/MP-TAB/WebUserControls/cmp_sheetTech.ascx.cs
+++ b/MP-TAB/WebUserControls/cmp_sheetTech.ascx.cs
@@ -9,10 +9,7 @@ namespace MoonProTablet.WebUserControls
{
public partial class cmp_sheetTech : BaseUserControl
{
- protected void Page_Load(object sender, EventArgs e)
- {
-
- }
+ #region Public Properties
public string CodArticolo
{
@@ -23,7 +20,41 @@ namespace MoonProTablet.WebUserControls
set
{
hfCodArticolo.Value = value.Trim();
+ cmp_ST_objCheck.CodArticolo = value.Trim();
}
}
+
+ #endregion Public Properties
+
+ #region Private Methods
+
+ private void cmp_ST_objCheck_eh_doUpdate(object sender, EventArgs e)
+ {
+ repGroup.DataBind();
+ }
+
+ #endregion Private Methods
+
+ #region Protected Methods
+
+ protected void lbtClearOdl_Click(object sender, EventArgs e)
+ {
+ // chiamo stored x ripulire dati check già caricati
+ DataLayerObj.taSTChk.cleanByOdl(idxOdl);
+ // sollevo evento
+ repGroup.DataBind();
+ reportUpdate();
+ }
+
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ lbtClearOdl.DataBind();
+ }
+ cmp_ST_objCheck.eh_doUpdate += cmp_ST_objCheck_eh_doUpdate;
+ }
+
+ #endregion Protected Methods
}
}
\ No newline at end of file
diff --git a/MP-TAB/WebUserControls/cmp_sheetTech.ascx.designer.cs b/MP-TAB/WebUserControls/cmp_sheetTech.ascx.designer.cs
index 7b9ab26a..16564bd2 100644
--- a/MP-TAB/WebUserControls/cmp_sheetTech.ascx.designer.cs
+++ b/MP-TAB/WebUserControls/cmp_sheetTech.ascx.designer.cs
@@ -14,6 +14,24 @@ namespace MoonProTablet.WebUserControls
public partial class cmp_sheetTech
{
+ ///
+ /// Controllo lbtClearOdl.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbtClearOdl;
+
+ ///
+ /// Controllo cmp_ST_objCheck.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::MoonProTablet.WebUserControls.cmp_ST_objCheck cmp_ST_objCheck;
+
///
/// Controllo repGroup.
///
@@ -40,5 +58,14 @@ namespace MoonProTablet.WebUserControls
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
///
protected global::System.Web.UI.WebControls.HiddenField hfCodArticolo;
+
+ ///
+ /// Controllo hfIdxOdl.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.HiddenField hfIdxOdl;
}
}
diff --git a/MapoDb/DS_Arca.Designer.cs b/MapoDb/DS_Arca.Designer.cs
new file mode 100644
index 00000000..88ba0f72
--- /dev/null
+++ b/MapoDb/DS_Arca.Designer.cs
@@ -0,0 +1,2265 @@
+//------------------------------------------------------------------------------
+//
+// Il codice è stato generato da uno strumento.
+// Versione runtime:4.0.30319.42000
+//
+// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
+// il codice viene rigenerato.
+//
+//------------------------------------------------------------------------------
+
+#pragma warning disable 1591
+
+namespace MapoDb {
+
+
+ ///
+ ///Represents a strongly typed in-memory cache of data.
+ ///
+ [global::System.Serializable()]
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
+ [global::System.Xml.Serialization.XmlRootAttribute("DS_Arca")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
+ public partial class DS_Arca : global::System.Data.DataSet {
+
+ private GiacenzeDataTable tableGiacenze;
+
+ private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public DS_Arca() {
+ this.BeginInit();
+ this.InitClass();
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ base.Relations.CollectionChanged += schemaChangedHandler;
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected DS_Arca(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["Giacenze"] != null)) {
+ base.Tables.Add(new GiacenzeDataTable(ds.Tables["Giacenze"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ }
+ else {
+ this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
+ }
+ this.GetSerializationData(info, context);
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ this.Relations.CollectionChanged += schemaChangedHandler;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public GiacenzeDataTable Giacenze {
+ get {
+ return this.tableGiacenze;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.BrowsableAttribute(true)]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
+ public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
+ get {
+ return this._schemaSerializationMode;
+ }
+ set {
+ this._schemaSerializationMode = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataTableCollection Tables {
+ get {
+ return base.Tables;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataRelationCollection Relations {
+ get {
+ return base.Relations;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void InitializeDerivedDataSet() {
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public override global::System.Data.DataSet Clone() {
+ DS_Arca cln = ((DS_Arca)(base.Clone()));
+ cln.InitVars();
+ cln.SchemaSerializationMode = this.SchemaSerializationMode;
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override bool ShouldSerializeTables() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override bool ShouldSerializeRelations() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
+ if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
+ this.Reset();
+ global::System.Data.DataSet ds = new global::System.Data.DataSet();
+ ds.ReadXml(reader);
+ if ((ds.Tables["Giacenze"] != null)) {
+ base.Tables.Add(new GiacenzeDataTable(ds.Tables["Giacenze"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ }
+ else {
+ this.ReadXml(reader);
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
+ global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
+ this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
+ stream.Position = 0;
+ return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal void InitVars() {
+ this.InitVars(true);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal void InitVars(bool initTable) {
+ this.tableGiacenze = ((GiacenzeDataTable)(base.Tables["Giacenze"]));
+ if ((initTable == true)) {
+ if ((this.tableGiacenze != null)) {
+ this.tableGiacenze.InitVars();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitClass() {
+ this.DataSetName = "DS_Arca";
+ this.Prefix = "";
+ this.Namespace = "http://tempuri.org/DS_Arca.xsd";
+ this.EnforceConstraints = true;
+ this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+ this.tableGiacenze = new GiacenzeDataTable();
+ base.Tables.Add(this.tableGiacenze);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private bool ShouldSerializeGiacenze() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
+ if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ DS_Arca ds = new DS_Arca();
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
+ any.Namespace = ds.Namespace;
+ sequence.Items.Add(any);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public delegate void GiacenzeRowChangeEventHandler(object sender, GiacenzeRowChangeEvent e);
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class GiacenzeDataTable : global::System.Data.TypedTableBase
{
+
+ private global::System.Data.DataColumn columnCd_MGEsercizio;
+
+ private global::System.Data.DataColumn columnCd_MG;
+
+ private global::System.Data.DataColumn columnCd_AR;
+
+ private global::System.Data.DataColumn columnId_DoDB;
+
+ private global::System.Data.DataColumn columnCd_MGUbicazione;
+
+ private global::System.Data.DataColumn columnCd_ARLotto;
+
+ private global::System.Data.DataColumn columnCd_DoSottoCommessa;
+
+ private global::System.Data.DataColumn columnQuantita;
+
+ private global::System.Data.DataColumn columnValore;
+
+ private global::System.Data.DataColumn columnIniQ;
+
+ private global::System.Data.DataColumn columnIniV;
+
+ private global::System.Data.DataColumn columnRetQ;
+
+ private global::System.Data.DataColumn columnRetV;
+
+ private global::System.Data.DataColumn columnCarQ;
+
+ private global::System.Data.DataColumn columnCarV;
+
+ private global::System.Data.DataColumn columnScaQ;
+
+ private global::System.Data.DataColumn columnScaV;
+
+ private global::System.Data.DataColumn columnCarQA;
+
+ private global::System.Data.DataColumn columnCarVA;
+
+ private global::System.Data.DataColumn columnCarQP;
+
+ private global::System.Data.DataColumn columnCarVP;
+
+ private global::System.Data.DataColumn columnCarQT;
+
+ private global::System.Data.DataColumn columnCarVT;
+
+ private global::System.Data.DataColumn columnScaQV;
+
+ private global::System.Data.DataColumn columnScaVV;
+
+ private global::System.Data.DataColumn columnScaQP;
+
+ private global::System.Data.DataColumn columnScaVP;
+
+ private global::System.Data.DataColumn columnScaQT;
+
+ private global::System.Data.DataColumn columnScaVT;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public GiacenzeDataTable() {
+ this.TableName = "Giacenze";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal GiacenzeDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected GiacenzeDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn Cd_MGEsercizioColumn {
+ get {
+ return this.columnCd_MGEsercizio;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn Cd_MGColumn {
+ get {
+ return this.columnCd_MG;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn Cd_ARColumn {
+ get {
+ return this.columnCd_AR;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn Id_DoDBColumn {
+ get {
+ return this.columnId_DoDB;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn Cd_MGUbicazioneColumn {
+ get {
+ return this.columnCd_MGUbicazione;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn Cd_ARLottoColumn {
+ get {
+ return this.columnCd_ARLotto;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn Cd_DoSottoCommessaColumn {
+ get {
+ return this.columnCd_DoSottoCommessa;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn QuantitaColumn {
+ get {
+ return this.columnQuantita;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ValoreColumn {
+ get {
+ return this.columnValore;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn IniQColumn {
+ get {
+ return this.columnIniQ;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn IniVColumn {
+ get {
+ return this.columnIniV;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn RetQColumn {
+ get {
+ return this.columnRetQ;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn RetVColumn {
+ get {
+ return this.columnRetV;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn CarQColumn {
+ get {
+ return this.columnCarQ;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn CarVColumn {
+ get {
+ return this.columnCarV;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ScaQColumn {
+ get {
+ return this.columnScaQ;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ScaVColumn {
+ get {
+ return this.columnScaV;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn CarQAColumn {
+ get {
+ return this.columnCarQA;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn CarVAColumn {
+ get {
+ return this.columnCarVA;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn CarQPColumn {
+ get {
+ return this.columnCarQP;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn CarVPColumn {
+ get {
+ return this.columnCarVP;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn CarQTColumn {
+ get {
+ return this.columnCarQT;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn CarVTColumn {
+ get {
+ return this.columnCarVT;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ScaQVColumn {
+ get {
+ return this.columnScaQV;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ScaVVColumn {
+ get {
+ return this.columnScaVV;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ScaQPColumn {
+ get {
+ return this.columnScaQP;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ScaVPColumn {
+ get {
+ return this.columnScaVP;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ScaQTColumn {
+ get {
+ return this.columnScaQT;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ScaVTColumn {
+ get {
+ return this.columnScaVT;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public GiacenzeRow this[int index] {
+ get {
+ return ((GiacenzeRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event GiacenzeRowChangeEventHandler GiacenzeRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event GiacenzeRowChangeEventHandler GiacenzeRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event GiacenzeRowChangeEventHandler GiacenzeRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event GiacenzeRowChangeEventHandler GiacenzeRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void AddGiacenzeRow(GiacenzeRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public GiacenzeRow AddGiacenzeRow(
+ string Cd_MGEsercizio,
+ string Cd_MG,
+ string Cd_AR,
+ int Id_DoDB,
+ string Cd_MGUbicazione,
+ string Cd_ARLotto,
+ string Cd_DoSottoCommessa,
+ decimal Quantita,
+ decimal Valore,
+ decimal IniQ,
+ decimal IniV,
+ decimal RetQ,
+ decimal RetV,
+ decimal CarQ,
+ decimal CarV,
+ decimal ScaQ,
+ decimal ScaV,
+ decimal CarQA,
+ decimal CarVA,
+ decimal CarQP,
+ decimal CarVP,
+ decimal CarQT,
+ decimal CarVT,
+ decimal ScaQV,
+ decimal ScaVV,
+ decimal ScaQP,
+ decimal ScaVP,
+ decimal ScaQT,
+ decimal ScaVT) {
+ GiacenzeRow rowGiacenzeRow = ((GiacenzeRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ Cd_MGEsercizio,
+ Cd_MG,
+ Cd_AR,
+ Id_DoDB,
+ Cd_MGUbicazione,
+ Cd_ARLotto,
+ Cd_DoSottoCommessa,
+ Quantita,
+ Valore,
+ IniQ,
+ IniV,
+ RetQ,
+ RetV,
+ CarQ,
+ CarV,
+ ScaQ,
+ ScaV,
+ CarQA,
+ CarVA,
+ CarQP,
+ CarVP,
+ CarQT,
+ CarVT,
+ ScaQV,
+ ScaVV,
+ ScaQP,
+ ScaVP,
+ ScaQT,
+ ScaVT};
+ rowGiacenzeRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowGiacenzeRow);
+ return rowGiacenzeRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ GiacenzeDataTable cln = ((GiacenzeDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new GiacenzeDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal void InitVars() {
+ this.columnCd_MGEsercizio = base.Columns["Cd_MGEsercizio"];
+ this.columnCd_MG = base.Columns["Cd_MG"];
+ this.columnCd_AR = base.Columns["Cd_AR"];
+ this.columnId_DoDB = base.Columns["Id_DoDB"];
+ this.columnCd_MGUbicazione = base.Columns["Cd_MGUbicazione"];
+ this.columnCd_ARLotto = base.Columns["Cd_ARLotto"];
+ this.columnCd_DoSottoCommessa = base.Columns["Cd_DoSottoCommessa"];
+ this.columnQuantita = base.Columns["Quantita"];
+ this.columnValore = base.Columns["Valore"];
+ this.columnIniQ = base.Columns["IniQ"];
+ this.columnIniV = base.Columns["IniV"];
+ this.columnRetQ = base.Columns["RetQ"];
+ this.columnRetV = base.Columns["RetV"];
+ this.columnCarQ = base.Columns["CarQ"];
+ this.columnCarV = base.Columns["CarV"];
+ this.columnScaQ = base.Columns["ScaQ"];
+ this.columnScaV = base.Columns["ScaV"];
+ this.columnCarQA = base.Columns["CarQA"];
+ this.columnCarVA = base.Columns["CarVA"];
+ this.columnCarQP = base.Columns["CarQP"];
+ this.columnCarVP = base.Columns["CarVP"];
+ this.columnCarQT = base.Columns["CarQT"];
+ this.columnCarVT = base.Columns["CarVT"];
+ this.columnScaQV = base.Columns["ScaQV"];
+ this.columnScaVV = base.Columns["ScaVV"];
+ this.columnScaQP = base.Columns["ScaQP"];
+ this.columnScaVP = base.Columns["ScaVP"];
+ this.columnScaQT = base.Columns["ScaQT"];
+ this.columnScaVT = base.Columns["ScaVT"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitClass() {
+ this.columnCd_MGEsercizio = new global::System.Data.DataColumn("Cd_MGEsercizio", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCd_MGEsercizio);
+ this.columnCd_MG = new global::System.Data.DataColumn("Cd_MG", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCd_MG);
+ this.columnCd_AR = new global::System.Data.DataColumn("Cd_AR", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCd_AR);
+ this.columnId_DoDB = new global::System.Data.DataColumn("Id_DoDB", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnId_DoDB);
+ this.columnCd_MGUbicazione = new global::System.Data.DataColumn("Cd_MGUbicazione", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCd_MGUbicazione);
+ this.columnCd_ARLotto = new global::System.Data.DataColumn("Cd_ARLotto", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCd_ARLotto);
+ this.columnCd_DoSottoCommessa = new global::System.Data.DataColumn("Cd_DoSottoCommessa", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCd_DoSottoCommessa);
+ this.columnQuantita = new global::System.Data.DataColumn("Quantita", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnQuantita);
+ this.columnValore = new global::System.Data.DataColumn("Valore", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnValore);
+ this.columnIniQ = new global::System.Data.DataColumn("IniQ", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIniQ);
+ this.columnIniV = new global::System.Data.DataColumn("IniV", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIniV);
+ this.columnRetQ = new global::System.Data.DataColumn("RetQ", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnRetQ);
+ this.columnRetV = new global::System.Data.DataColumn("RetV", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnRetV);
+ this.columnCarQ = new global::System.Data.DataColumn("CarQ", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCarQ);
+ this.columnCarV = new global::System.Data.DataColumn("CarV", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCarV);
+ this.columnScaQ = new global::System.Data.DataColumn("ScaQ", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnScaQ);
+ this.columnScaV = new global::System.Data.DataColumn("ScaV", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnScaV);
+ this.columnCarQA = new global::System.Data.DataColumn("CarQA", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCarQA);
+ this.columnCarVA = new global::System.Data.DataColumn("CarVA", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCarVA);
+ this.columnCarQP = new global::System.Data.DataColumn("CarQP", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCarQP);
+ this.columnCarVP = new global::System.Data.DataColumn("CarVP", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCarVP);
+ this.columnCarQT = new global::System.Data.DataColumn("CarQT", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCarQT);
+ this.columnCarVT = new global::System.Data.DataColumn("CarVT", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCarVT);
+ this.columnScaQV = new global::System.Data.DataColumn("ScaQV", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnScaQV);
+ this.columnScaVV = new global::System.Data.DataColumn("ScaVV", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnScaVV);
+ this.columnScaQP = new global::System.Data.DataColumn("ScaQP", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnScaQP);
+ this.columnScaVP = new global::System.Data.DataColumn("ScaVP", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnScaVP);
+ this.columnScaQT = new global::System.Data.DataColumn("ScaQT", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnScaQT);
+ this.columnScaVT = new global::System.Data.DataColumn("ScaVT", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnScaVT);
+ this.columnCd_MGEsercizio.AllowDBNull = false;
+ this.columnCd_MGEsercizio.MaxLength = 4;
+ this.columnCd_MG.AllowDBNull = false;
+ this.columnCd_MG.MaxLength = 5;
+ this.columnCd_AR.AllowDBNull = false;
+ this.columnCd_AR.MaxLength = 20;
+ this.columnCd_MGUbicazione.MaxLength = 20;
+ this.columnCd_ARLotto.MaxLength = 20;
+ this.columnCd_DoSottoCommessa.MaxLength = 20;
+ this.columnQuantita.AllowDBNull = false;
+ this.columnValore.AllowDBNull = false;
+ this.columnIniQ.AllowDBNull = false;
+ this.columnIniV.AllowDBNull = false;
+ this.columnRetQ.AllowDBNull = false;
+ this.columnRetV.AllowDBNull = false;
+ this.columnCarQ.AllowDBNull = false;
+ this.columnCarV.AllowDBNull = false;
+ this.columnScaQ.AllowDBNull = false;
+ this.columnScaV.AllowDBNull = false;
+ this.columnCarQA.AllowDBNull = false;
+ this.columnCarVA.AllowDBNull = false;
+ this.columnCarQP.AllowDBNull = false;
+ this.columnCarVP.AllowDBNull = false;
+ this.columnCarQT.AllowDBNull = false;
+ this.columnCarVT.AllowDBNull = false;
+ this.columnScaQV.AllowDBNull = false;
+ this.columnScaVV.AllowDBNull = false;
+ this.columnScaQP.AllowDBNull = false;
+ this.columnScaVP.AllowDBNull = false;
+ this.columnScaQT.AllowDBNull = false;
+ this.columnScaVT.AllowDBNull = false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public GiacenzeRow NewGiacenzeRow() {
+ return ((GiacenzeRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new GiacenzeRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(GiacenzeRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.GiacenzeRowChanged != null)) {
+ this.GiacenzeRowChanged(this, new GiacenzeRowChangeEvent(((GiacenzeRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.GiacenzeRowChanging != null)) {
+ this.GiacenzeRowChanging(this, new GiacenzeRowChangeEvent(((GiacenzeRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.GiacenzeRowDeleted != null)) {
+ this.GiacenzeRowDeleted(this, new GiacenzeRowChangeEvent(((GiacenzeRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.GiacenzeRowDeleting != null)) {
+ this.GiacenzeRowDeleting(this, new GiacenzeRowChangeEvent(((GiacenzeRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void RemoveGiacenzeRow(GiacenzeRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Arca ds = new DS_Arca();
+ 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 = "GiacenzeDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class GiacenzeRow : global::System.Data.DataRow {
+
+ private GiacenzeDataTable tableGiacenze;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal GiacenzeRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableGiacenze = ((GiacenzeDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string Cd_MGEsercizio {
+ get {
+ return ((string)(this[this.tableGiacenze.Cd_MGEsercizioColumn]));
+ }
+ set {
+ this[this.tableGiacenze.Cd_MGEsercizioColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string Cd_MG {
+ get {
+ return ((string)(this[this.tableGiacenze.Cd_MGColumn]));
+ }
+ set {
+ this[this.tableGiacenze.Cd_MGColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string Cd_AR {
+ get {
+ return ((string)(this[this.tableGiacenze.Cd_ARColumn]));
+ }
+ set {
+ this[this.tableGiacenze.Cd_ARColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public int Id_DoDB {
+ get {
+ try {
+ return ((int)(this[this.tableGiacenze.Id_DoDBColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Il valore della colonna \'Id_DoDB\' nella tabella \'Giacenze\' è DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableGiacenze.Id_DoDBColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string Cd_MGUbicazione {
+ get {
+ try {
+ return ((string)(this[this.tableGiacenze.Cd_MGUbicazioneColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Il valore della colonna \'Cd_MGUbicazione\' nella tabella \'Giacenze\' è DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableGiacenze.Cd_MGUbicazioneColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string Cd_ARLotto {
+ get {
+ try {
+ return ((string)(this[this.tableGiacenze.Cd_ARLottoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Il valore della colonna \'Cd_ARLotto\' nella tabella \'Giacenze\' è DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableGiacenze.Cd_ARLottoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string Cd_DoSottoCommessa {
+ get {
+ try {
+ return ((string)(this[this.tableGiacenze.Cd_DoSottoCommessaColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Il valore della colonna \'Cd_DoSottoCommessa\' nella tabella \'Giacenze\' è DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableGiacenze.Cd_DoSottoCommessaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal Quantita {
+ get {
+ return ((decimal)(this[this.tableGiacenze.QuantitaColumn]));
+ }
+ set {
+ this[this.tableGiacenze.QuantitaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal Valore {
+ get {
+ return ((decimal)(this[this.tableGiacenze.ValoreColumn]));
+ }
+ set {
+ this[this.tableGiacenze.ValoreColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal IniQ {
+ get {
+ return ((decimal)(this[this.tableGiacenze.IniQColumn]));
+ }
+ set {
+ this[this.tableGiacenze.IniQColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal IniV {
+ get {
+ return ((decimal)(this[this.tableGiacenze.IniVColumn]));
+ }
+ set {
+ this[this.tableGiacenze.IniVColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal RetQ {
+ get {
+ return ((decimal)(this[this.tableGiacenze.RetQColumn]));
+ }
+ set {
+ this[this.tableGiacenze.RetQColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal RetV {
+ get {
+ return ((decimal)(this[this.tableGiacenze.RetVColumn]));
+ }
+ set {
+ this[this.tableGiacenze.RetVColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal CarQ {
+ get {
+ return ((decimal)(this[this.tableGiacenze.CarQColumn]));
+ }
+ set {
+ this[this.tableGiacenze.CarQColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal CarV {
+ get {
+ return ((decimal)(this[this.tableGiacenze.CarVColumn]));
+ }
+ set {
+ this[this.tableGiacenze.CarVColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal ScaQ {
+ get {
+ return ((decimal)(this[this.tableGiacenze.ScaQColumn]));
+ }
+ set {
+ this[this.tableGiacenze.ScaQColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal ScaV {
+ get {
+ return ((decimal)(this[this.tableGiacenze.ScaVColumn]));
+ }
+ set {
+ this[this.tableGiacenze.ScaVColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal CarQA {
+ get {
+ return ((decimal)(this[this.tableGiacenze.CarQAColumn]));
+ }
+ set {
+ this[this.tableGiacenze.CarQAColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal CarVA {
+ get {
+ return ((decimal)(this[this.tableGiacenze.CarVAColumn]));
+ }
+ set {
+ this[this.tableGiacenze.CarVAColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal CarQP {
+ get {
+ return ((decimal)(this[this.tableGiacenze.CarQPColumn]));
+ }
+ set {
+ this[this.tableGiacenze.CarQPColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal CarVP {
+ get {
+ return ((decimal)(this[this.tableGiacenze.CarVPColumn]));
+ }
+ set {
+ this[this.tableGiacenze.CarVPColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal CarQT {
+ get {
+ return ((decimal)(this[this.tableGiacenze.CarQTColumn]));
+ }
+ set {
+ this[this.tableGiacenze.CarQTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal CarVT {
+ get {
+ return ((decimal)(this[this.tableGiacenze.CarVTColumn]));
+ }
+ set {
+ this[this.tableGiacenze.CarVTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal ScaQV {
+ get {
+ return ((decimal)(this[this.tableGiacenze.ScaQVColumn]));
+ }
+ set {
+ this[this.tableGiacenze.ScaQVColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal ScaVV {
+ get {
+ return ((decimal)(this[this.tableGiacenze.ScaVVColumn]));
+ }
+ set {
+ this[this.tableGiacenze.ScaVVColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal ScaQP {
+ get {
+ return ((decimal)(this[this.tableGiacenze.ScaQPColumn]));
+ }
+ set {
+ this[this.tableGiacenze.ScaQPColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal ScaVP {
+ get {
+ return ((decimal)(this[this.tableGiacenze.ScaVPColumn]));
+ }
+ set {
+ this[this.tableGiacenze.ScaVPColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal ScaQT {
+ get {
+ return ((decimal)(this[this.tableGiacenze.ScaQTColumn]));
+ }
+ set {
+ this[this.tableGiacenze.ScaQTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal ScaVT {
+ get {
+ return ((decimal)(this[this.tableGiacenze.ScaVTColumn]));
+ }
+ set {
+ this[this.tableGiacenze.ScaVTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsId_DoDBNull() {
+ return this.IsNull(this.tableGiacenze.Id_DoDBColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetId_DoDBNull() {
+ this[this.tableGiacenze.Id_DoDBColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsCd_MGUbicazioneNull() {
+ return this.IsNull(this.tableGiacenze.Cd_MGUbicazioneColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetCd_MGUbicazioneNull() {
+ this[this.tableGiacenze.Cd_MGUbicazioneColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsCd_ARLottoNull() {
+ return this.IsNull(this.tableGiacenze.Cd_ARLottoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetCd_ARLottoNull() {
+ this[this.tableGiacenze.Cd_ARLottoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsCd_DoSottoCommessaNull() {
+ return this.IsNull(this.tableGiacenze.Cd_DoSottoCommessaColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetCd_DoSottoCommessaNull() {
+ this[this.tableGiacenze.Cd_DoSottoCommessaColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public class GiacenzeRowChangeEvent : global::System.EventArgs {
+
+ private GiacenzeRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public GiacenzeRowChangeEvent(GiacenzeRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public GiacenzeRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+ }
+}
+namespace MapoDb.DS_ArcaTableAdapters {
+
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class GiacenzeTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public GiacenzeTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "Giacenze";
+ tableMapping.ColumnMappings.Add("Cd_MGEsercizio", "Cd_MGEsercizio");
+ tableMapping.ColumnMappings.Add("Cd_MG", "Cd_MG");
+ tableMapping.ColumnMappings.Add("Cd_AR", "Cd_AR");
+ tableMapping.ColumnMappings.Add("Id_DoDB", "Id_DoDB");
+ tableMapping.ColumnMappings.Add("Cd_MGUbicazione", "Cd_MGUbicazione");
+ tableMapping.ColumnMappings.Add("Cd_ARLotto", "Cd_ARLotto");
+ tableMapping.ColumnMappings.Add("Cd_DoSottoCommessa", "Cd_DoSottoCommessa");
+ tableMapping.ColumnMappings.Add("Quantita", "Quantita");
+ tableMapping.ColumnMappings.Add("Valore", "Valore");
+ tableMapping.ColumnMappings.Add("IniQ", "IniQ");
+ tableMapping.ColumnMappings.Add("IniV", "IniV");
+ tableMapping.ColumnMappings.Add("RetQ", "RetQ");
+ tableMapping.ColumnMappings.Add("RetV", "RetV");
+ tableMapping.ColumnMappings.Add("CarQ", "CarQ");
+ tableMapping.ColumnMappings.Add("CarV", "CarV");
+ tableMapping.ColumnMappings.Add("ScaQ", "ScaQ");
+ tableMapping.ColumnMappings.Add("ScaV", "ScaV");
+ tableMapping.ColumnMappings.Add("CarQA", "CarQA");
+ tableMapping.ColumnMappings.Add("CarVA", "CarVA");
+ tableMapping.ColumnMappings.Add("CarQP", "CarQP");
+ tableMapping.ColumnMappings.Add("CarVP", "CarVP");
+ tableMapping.ColumnMappings.Add("CarQT", "CarQT");
+ tableMapping.ColumnMappings.Add("CarVT", "CarVT");
+ tableMapping.ColumnMappings.Add("ScaQV", "ScaQV");
+ tableMapping.ColumnMappings.Add("ScaVV", "ScaVV");
+ tableMapping.ColumnMappings.Add("ScaQP", "ScaQP");
+ tableMapping.ColumnMappings.Add("ScaVP", "ScaVP");
+ tableMapping.ColumnMappings.Add("ScaQT", "ScaQT");
+ tableMapping.ColumnMappings.Add("ScaVT", "ScaVT");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [syn].[xMAPO_fn_MGGiacEx_AllaData] ([Cd_MGEsercizio], [Cd_MG], [Cd_AR], [Id_DoDB], [Cd_MGUbicazione], [Cd_ARLotto], [Cd_DoSottoCommessa], [Quantita], [Valore], [IniQ], [IniV], [RetQ], [RetV], [CarQ], [CarV], [ScaQ], [ScaV], [CarQA], [CarVA], [CarQP], [CarVP], [CarQT], [CarVT], [ScaQV], [ScaVV], [ScaQP], [ScaVP], [ScaQT], [ScaVT]) VALUES (@Cd_MGEsercizio, @Cd_MG, @Cd_AR, @Id_DoDB, @Cd_MGUbicazione, @Cd_ARLotto, @Cd_DoSottoCommessa, @Quantita, @Valore, @IniQ, @IniV, @RetQ, @RetV, @CarQ, @CarV, @ScaQ, @ScaV, @CarQA, @CarVA, @CarQP, @CarVP, @CarQT, @CarVT, @ScaQV, @ScaVV, @ScaQP, @ScaVP, @ScaQT, @ScaVT)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cd_MGEsercizio", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cd_MGEsercizio", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cd_MG", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cd_MG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cd_AR", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cd_AR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Id_DoDB", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Id_DoDB", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cd_MGUbicazione", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cd_MGUbicazione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cd_ARLotto", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cd_ARLotto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cd_DoSottoCommessa", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cd_DoSottoCommessa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Quantita", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "Quantita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Valore", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "Valore", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IniQ", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "IniQ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IniV", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "IniV", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RetQ", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "RetQ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RetV", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "RetV", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CarQ", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "CarQ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CarV", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "CarV", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ScaQ", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "ScaQ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ScaV", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "ScaV", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CarQA", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "CarQA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CarVA", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "CarVA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CarQP", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "CarQP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CarVP", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "CarVP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CarQT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "CarQT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CarVT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "CarVT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ScaQV", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "ScaQV", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ScaVV", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "ScaVV", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ScaQP", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "ScaQP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ScaVP", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "ScaVP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ScaQT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "ScaQT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ScaVT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "ScaVT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonPro_IS_ArcaConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = @"SELECT Cd_MGEsercizio, Cd_MG, Cd_AR, Id_DoDB, Cd_MGUbicazione, Cd_ARLotto, Cd_DoSottoCommessa, Quantita, Valore, IniQ, IniV, RetQ, RetV, CarQ, CarV, ScaQ, ScaV, CarQA, CarVA, CarQP, CarVP, CarQT, CarVT, ScaQV, ScaVV, ScaQP, ScaVP, ScaQT, ScaVT FROM syn.xMAPO_fn_MGGiacEx_AllaData";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_GIAC_getByDate";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataGiac", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArt", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLotto", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMagaz", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OnlyTest", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Arca.GiacenzeDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Arca.GiacenzeDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Arca.GiacenzeDataTable dataTable = new DS_Arca.GiacenzeDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Arca.GiacenzeDataTable getBySearch(global::System.Nullable DataGiac, string CodArt, string CodLotto, string CodMagaz, global::System.Nullable OnlyTest) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((DataGiac.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(DataGiac.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((CodArt == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodArt));
+ }
+ if ((CodLotto == null)) {
+ this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodLotto));
+ }
+ if ((CodMagaz == null)) {
+ this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[4].Value = ((string)(CodMagaz));
+ }
+ if ((OnlyTest.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(OnlyTest.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ DS_Arca.GiacenzeDataTable dataTable = new DS_Arca.GiacenzeDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Arca.GiacenzeDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Arca dataSet) {
+ return this.Adapter.Update(dataSet, "Giacenze");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(
+ string Cd_MGEsercizio,
+ string Cd_MG,
+ string Cd_AR,
+ global::System.Nullable Id_DoDB,
+ string Cd_MGUbicazione,
+ string Cd_ARLotto,
+ string Cd_DoSottoCommessa,
+ decimal Quantita,
+ decimal Valore,
+ decimal IniQ,
+ decimal IniV,
+ decimal RetQ,
+ decimal RetV,
+ decimal CarQ,
+ decimal CarV,
+ decimal ScaQ,
+ decimal ScaV,
+ decimal CarQA,
+ decimal CarVA,
+ decimal CarQP,
+ decimal CarVP,
+ decimal CarQT,
+ decimal CarVT,
+ decimal ScaQV,
+ decimal ScaVV,
+ decimal ScaQP,
+ decimal ScaVP,
+ decimal ScaQT,
+ decimal ScaVT) {
+ if ((Cd_MGEsercizio == null)) {
+ throw new global::System.ArgumentNullException("Cd_MGEsercizio");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Cd_MGEsercizio));
+ }
+ if ((Cd_MG == null)) {
+ throw new global::System.ArgumentNullException("Cd_MG");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Cd_MG));
+ }
+ if ((Cd_AR == null)) {
+ throw new global::System.ArgumentNullException("Cd_AR");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Cd_AR));
+ }
+ if ((Id_DoDB.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((int)(Id_DoDB.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ if ((Cd_MGUbicazione == null)) {
+ this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Cd_MGUbicazione));
+ }
+ if ((Cd_ARLotto == null)) {
+ this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[5].Value = ((string)(Cd_ARLotto));
+ }
+ if ((Cd_DoSottoCommessa == null)) {
+ this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Cd_DoSottoCommessa));
+ }
+ this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(Quantita));
+ this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(Valore));
+ this.Adapter.InsertCommand.Parameters[9].Value = ((decimal)(IniQ));
+ this.Adapter.InsertCommand.Parameters[10].Value = ((decimal)(IniV));
+ this.Adapter.InsertCommand.Parameters[11].Value = ((decimal)(RetQ));
+ this.Adapter.InsertCommand.Parameters[12].Value = ((decimal)(RetV));
+ this.Adapter.InsertCommand.Parameters[13].Value = ((decimal)(CarQ));
+ this.Adapter.InsertCommand.Parameters[14].Value = ((decimal)(CarV));
+ this.Adapter.InsertCommand.Parameters[15].Value = ((decimal)(ScaQ));
+ this.Adapter.InsertCommand.Parameters[16].Value = ((decimal)(ScaV));
+ this.Adapter.InsertCommand.Parameters[17].Value = ((decimal)(CarQA));
+ this.Adapter.InsertCommand.Parameters[18].Value = ((decimal)(CarVA));
+ this.Adapter.InsertCommand.Parameters[19].Value = ((decimal)(CarQP));
+ this.Adapter.InsertCommand.Parameters[20].Value = ((decimal)(CarVP));
+ this.Adapter.InsertCommand.Parameters[21].Value = ((decimal)(CarQT));
+ this.Adapter.InsertCommand.Parameters[22].Value = ((decimal)(CarVT));
+ this.Adapter.InsertCommand.Parameters[23].Value = ((decimal)(ScaQV));
+ this.Adapter.InsertCommand.Parameters[24].Value = ((decimal)(ScaVV));
+ this.Adapter.InsertCommand.Parameters[25].Value = ((decimal)(ScaQP));
+ this.Adapter.InsertCommand.Parameters[26].Value = ((decimal)(ScaVP));
+ this.Adapter.InsertCommand.Parameters[27].Value = ((decimal)(ScaQT));
+ this.Adapter.InsertCommand.Parameters[28].Value = ((decimal)(ScaVT));
+ 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();
+ }
+ }
+ }
+ }
+
+ ///
+ ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
+ "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
+ public partial class TableAdapterManager : global::System.ComponentModel.Component {
+
+ private UpdateOrderOption _updateOrder;
+
+ private GiacenzeTableAdapter _giacenzeTableAdapter;
+
+ private bool _backupDataSetBeforeUpdate;
+
+ private global::System.Data.IDbConnection _connection;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public UpdateOrderOption UpdateOrder {
+ get {
+ return this._updateOrder;
+ }
+ set {
+ this._updateOrder = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public GiacenzeTableAdapter GiacenzeTableAdapter {
+ get {
+ return this._giacenzeTableAdapter;
+ }
+ set {
+ this._giacenzeTableAdapter = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool BackupDataSetBeforeUpdate {
+ get {
+ return this._backupDataSetBeforeUpdate;
+ }
+ set {
+ this._backupDataSetBeforeUpdate = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public global::System.Data.IDbConnection Connection {
+ get {
+ if ((this._connection != null)) {
+ return this._connection;
+ }
+ if (((this._giacenzeTableAdapter != null)
+ && (this._giacenzeTableAdapter.Connection != null))) {
+ return this._giacenzeTableAdapter.Connection;
+ }
+ return null;
+ }
+ set {
+ this._connection = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int TableAdapterInstanceCount {
+ get {
+ int count = 0;
+ if ((this._giacenzeTableAdapter != null)) {
+ count = (count + 1);
+ }
+ return count;
+ }
+ }
+
+ ///
+ ///Update rows in top-down order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private int UpdateUpdatedRows(DS_Arca dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) {
+ int result = 0;
+ if ((this._giacenzeTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.Giacenze.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._giacenzeTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ return result;
+ }
+
+ ///
+ ///Insert rows in top-down order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private int UpdateInsertedRows(DS_Arca dataSet, global::System.Collections.Generic.List allAddedRows) {
+ int result = 0;
+ if ((this._giacenzeTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.Giacenze.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._giacenzeTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ return result;
+ }
+
+ ///
+ ///Delete rows in bottom-up order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private int UpdateDeletedRows(DS_Arca dataSet, global::System.Collections.Generic.List allChangedRows) {
+ int result = 0;
+ if ((this._giacenzeTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.Giacenze.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._giacenzeTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ return result;
+ }
+
+ ///
+ ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) {
+ if (((updatedRows == null)
+ || (updatedRows.Length < 1))) {
+ return updatedRows;
+ }
+ if (((allAddedRows == null)
+ || (allAddedRows.Count < 1))) {
+ return updatedRows;
+ }
+ global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List();
+ for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
+ global::System.Data.DataRow row = updatedRows[i];
+ if ((allAddedRows.Contains(row) == false)) {
+ realUpdatedRows.Add(row);
+ }
+ }
+ return realUpdatedRows.ToArray();
+ }
+
+ ///
+ ///Update all changes to the dataset.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public virtual int UpdateAll(DS_Arca dataSet) {
+ if ((dataSet == null)) {
+ throw new global::System.ArgumentNullException("dataSet");
+ }
+ if ((dataSet.HasChanges() == false)) {
+ return 0;
+ }
+ if (((this._giacenzeTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._giacenzeTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
+ "a stessa stringa di connessione.");
+ }
+ global::System.Data.IDbConnection workConnection = this.Connection;
+ if ((workConnection == null)) {
+ throw new global::System.ApplicationException("TableAdapterManager non contiene informazioni di connessione. Impostare la propri" +
+ "età TableAdapter di ciascun oggetto TableAdapterManager su un\'istanza TableAdapt" +
+ "er valida.");
+ }
+ 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("Impossibile avviare la transazione. La connessione dati corrente non supporta le " +
+ "transazioni oppure lo stato corrente non consente l\'avvio della transazione.");
+ }
+ 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