diff --git a/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.cs b/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.cs
index 33238729..87057c32 100644
--- a/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.cs
+++ b/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.cs
@@ -178,7 +178,7 @@ namespace GMW.WebUserControls
///
private void fixCella()
{
- lblIdxCella.Text = Postazione.currIdxCella.ToString();
+ hfCodLinea.Value= Postazione.currCodLinea;
}
///
/// richiesta (ri)stampa UDC
@@ -422,6 +422,7 @@ namespace GMW.WebUserControls
}
if (currParticolare != "")
{
+ DateTime dataMarc = DateTime.Now;
// 2016.01.25 aggiunta lettura codice x data-ora + linea fusione
// controllo per recuperare da datamatrix i dati di codice linea e data fusione
DS_DataMatrix.v_ElencoDmtxDataTable tabDmtx = DataMatrix.mgr.taVED.getByKey(barcodeIn);
@@ -441,13 +442,27 @@ namespace GMW.WebUserControls
catch
{ }
}
+ if(tabDmtx[0].DataOra!= null)
+ {
+ try
+ {
+ dataMarc = tabDmtx[0].DataOra;
+ }
+ catch
+ { }
+ }
}
// genera eventuale UDC del particolare su cella/posizione corrente
qta = 1; // tanto poi si ricalcola...
+
+ // inserisco record x NUOVO DTX letto (inizio)
+ DataMatrix.mgr.taL2D.insertIni(Postazione.currCodLinea, currParticolare, "", barcodeIn, MagClass.magazzino.CodSoggCurrUser, dataMarc);
+
+#if false
checkCreaUDC();
// verifico se devo fare gestione con intervallo dtx... da tab config DB)
- if (utils.obj.configDbVal("CreaDtxByInt") == "1")
+ if (memLayer.ML.configDbVal("CreaDtxByInt") == "1")
{
// ora chiamo la stored che fa il check x tutti i particolari nell'intervallo dei Dtx associati alla cella e (se almeno 2) nel caso crea UDC
checkIntervalloDtx();
@@ -458,7 +473,8 @@ namespace GMW.WebUserControls
* - fa controllo, se ho almeno 2 Dtx ok associo tutti i Dtx compresi nell'intervallo min-MAX
*--------------------------------------------------------------------------------------------------
*/
- DataMatrix.mgr.taDtx2UDC.RxSetDtx2Udc(barcodeIn, MagClass.magazzino.CodSoggCurrUser, statoUDC, memLayer.ML.confReadInt("IdxPosizioneRxTemp"), Postazione.currIdxCella);
+ DataMatrix.mgr.taDtx2UDC.RxSetDtx2Udc(barcodeIn, MagClass.magazzino.CodSoggCurrUser, statoUDC, memLayer.ML.confReadInt("IdxPosizioneRxTemp"), Postazione.currIdxCella);
+#endif
// 2017.07.22 svuoto barcodeIn..
barcodeIn = "";
@@ -662,12 +678,13 @@ namespace GMW.WebUserControls
get
{
int answ = 0;
+ // calcolo qta a partire da particolare selezionato...
try
{
- DS_magazzino.v_UdcDetailDataTable tabUdc = MagClass.magazzino.taDettUDC.getUdcDetailByIdxCella(Convert.ToInt32(lblIdxCella.Text));
- if (tabUdc.Rows.Count > 0)
+ DS_DataMatrix.Linea2Dtx_IEDataTable tabL2D = DataMatrix.mgr.taL2D.getByLineaPart(Postazione.currCodLinea, currParticolare);
+ if (tabL2D.Rows.Count > 0)
{
- answ = Convert.ToInt32(float.Parse(tabUdc.Compute("Sum(Qta)", "").ToString()));
+ answ = tabL2D[0].Qta;
}
}
catch (Exception exc)
@@ -876,15 +893,8 @@ namespace GMW.WebUserControls
///
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
{
- // ricarico dati dell'UDC come particolare e quantità...
- string UDC = grView.SelectedDataKey["UDC"].ToString();
- if (MagClass.magazzino.checkUDC(UDC))
- {
- currParticolare = DataProxy.obj.taCartellini.stp_getByUdc(UDC)[0].Particolare;
-#if false
- qta = Convert.ToInt32(DataProxy.obj.taCartellini.stp_getByUdc(UDC)[0].Qta);
-#endif
- }
+ // ricarico dati come particolare e quantità...
+ currParticolare = grView.SelectedDataKey["Particolare"].ToString();
Postazione.messaggiText = traduci("partSelected");
Postazione.warningText = "";
Postazione.CssClass = "stileComandoOk";
diff --git a/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.designer.cs b/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.designer.cs
index d80708a3..16fe7ee3 100644
--- a/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.designer.cs
+++ b/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.designer.cs
@@ -49,13 +49,13 @@ namespace GMW.WebUserControls {
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
///
- /// lblIdxCella control.
+ /// hfCodLinea control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.WebControls.Label lblIdxCella;
+ protected global::System.Web.UI.WebControls.HiddenField hfCodLinea;
///
/// lblNumRec control.
diff --git a/GMW/bin/GMW.dll b/GMW/bin/GMW.dll
index 5ac16c6b..dccd21bf 100644
Binary files a/GMW/bin/GMW.dll and b/GMW/bin/GMW.dll differ
diff --git a/GMW/bin/GMW.dll.config b/GMW/bin/GMW.dll.config
index 2b6bd4e2..67e1a2e5 100644
--- a/GMW/bin/GMW.dll.config
+++ b/GMW/bin/GMW.dll.config
@@ -303,9 +303,9 @@
-
-
+
+
diff --git a/GMW/bin/GMW_data.dll b/GMW/bin/GMW_data.dll
index 6257cd5e..ac236625 100644
Binary files a/GMW/bin/GMW_data.dll and b/GMW/bin/GMW_data.dll differ
diff --git a/GMW/bin/NLog.config b/GMW/bin/NLog.config
deleted file mode 100644
index 7a0f3aa1..00000000
--- a/GMW/bin/NLog.config
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/GMW/bin/SteamWare.dll b/GMW/bin/SteamWare.dll
index 7b02d402..38a694b7 100644
Binary files a/GMW/bin/SteamWare.dll and b/GMW/bin/SteamWare.dll differ
diff --git a/GMW/bin/SteamWare.xml b/GMW/bin/SteamWare.xml
index 8fa8ef37..3ea0ccae 100644
--- a/GMW/bin/SteamWare.xml
+++ b/GMW/bin/SteamWare.xml
@@ -1453,7 +1453,13 @@
-
+
+
+ registra su DB la richiesta di reset della auth key dell'utente ed opzionalmente invia email ad admin
+
+
+ opzionale, se != "" invia email all'indirizzo dell'admin x reset
+
invia email ad utente con url x reset hash password
@@ -1584,6 +1590,32 @@
+
+
+ costruisce la mappa del sito per l'utente
+
+
+
+
+ formatta un nodo in modo corretto dai dati indicati
+
+
+
+
+
+
+
+
+ ricarica e ri-traduce la mappa sito per l'utente...
+
+
+
+
+ wrapper traduzione
+
+
+
+
carica la riga dati utente
@@ -1616,6 +1648,11 @@
oggetto lingua utente con metodi get/set
+
+
+ fornisce un file XML della mappa del sito abilitato per l'utente...
+
+
pagina correntemente visualizzata (URL in sessione)
@@ -2460,6 +2497,11 @@
Represents the strongly named DataTable class.
+
+
+ Represents the strongly named DataTable class.
+
+
Represents strongly named DataRow class.
@@ -2470,6 +2512,11 @@
Represents strongly named DataRow class.
+
+
+ Represents strongly named DataRow class.
+
+
Row event argument class
@@ -2480,6 +2527,11 @@
Row event argument class
+
+
+ Row event argument class
+
+
Represents the connection and commands used to retrieve and save data.
@@ -2490,6 +2542,11 @@
Represents the connection and commands used to retrieve and save data.
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
@@ -3611,6 +3668,30 @@
classe gestione accessi a Session, cache, viewstate, configuration...
+
+
+ init dei table adapters
+
+
+
+
+ effettua setup dei connection strings da web.config delal singola applicazione
+
+
+
+
+ Configurations da tabella DB Config
+
+ Valore chiave
+
+
+
+
+ Configurations da tabella DB Config (short form wrapper)
+
+ Valore chiave
+
+
shot-form di confReadBool: legge dalla config un valore bool
@@ -4308,6 +4389,63 @@
+
+
+ restituisce la stringa del path corretto per l'immagine richiesta nel formato "~/images/{0}{1}"
+
+ verrà usato x posizione {0}, tipo "view"
+ verrà usato x posizione {1}, tipo "_s.png"
+
+
+
+
+ restituisce la stringa del path corretto per l'immagine richiesta nel formato "~/images/{0}{1}"
+
+ verrà usato x posizione {0}, tipo "view"
+ verrà usato x posizione {1}, tipo "_s.png"
+ tipo del file richiesto..."
+
+
+
+
+ Classe help email x SteamWare.UserControl
+
+
+
+
+ Email dell'account admin applicativo
+
+
+
+
+ Email dell'account sender applicativo
+
+
+
+
+ Numero Righe standard
+
+
+
+
+ Numero Righe standard ANAGR
+
+
+
+
+ Numero Righe standard LONG
+
+
+
+
+ Numero Righe standard MED
+
+
+
+
+ Numero Righe standard SHORT
+
+
classe gestione utente: auth e permission/ruoli - versione GENERICA
@@ -4870,6 +5008,22 @@
+
+
+ restituisce l'intervallo di N MESI fino alla data indicata
+
+
+
+
+
+
+
+ restituisce l'intervallo di N giorni dalla data indicata in avanti
+
+
+
+
+
restituisce l'intervallo della settimana corrente per la data indicata
@@ -4903,6 +5057,50 @@
oggetto singleton
+
+
+ converte in datetime un valore formattato con una culture generica ed un formato generico
+
+
+
+
+
+
+
+
+
+ converte in datetime un valore formattato con una culture generica ed un formato generico
+
+
+
+
+
+
+
+
+ Tipo di periodo selezione date
+
+
+
+
+ non definito
+
+
+
+
+ Solo periodo passato (+ presente)
+
+
+
+
+ Solo periodo futuro (+ presente)
+
+
+
+
+ tutto
+
+
classe di gestione delle email
@@ -5205,7 +5403,7 @@
- classi helper gestioen URL
+ classi helper gestione URL
@@ -5237,6 +5435,30 @@
+
+
+ genera hash di una stringa in MD5 (es x hash gravatar)
+
+
+
+
+
+
+ Crea un hash MD5
+
+
+
+
+
+
+
+ Verify a hash against a string.
+
+
+
+
+
+
classe gestione valori percentuali per semplificare edit utente (moltiplicati x 100 appunto)
diff --git a/GMW/bin/Web.config b/GMW/bin/Web.config
index d712caf4..67e1a2e5 100644
--- a/GMW/bin/Web.config
+++ b/GMW/bin/Web.config
@@ -24,7 +24,7 @@
-
+
@@ -41,7 +41,7 @@
-
+
@@ -126,7 +126,7 @@
-
+
@@ -159,20 +159,20 @@
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
+
@@ -303,23 +303,23 @@
-
-
+
+
-
+
-
+
-
+
-
+
diff --git a/GMW_data/DS_DataMatrix1.Designer.cs b/GMW_data/DS_DataMatrix.Designer.cs
similarity index 91%
rename from GMW_data/DS_DataMatrix1.Designer.cs
rename to GMW_data/DS_DataMatrix.Designer.cs
index 8937e38c..8a3ebfaf 100644
--- a/GMW_data/DS_DataMatrix1.Designer.cs
+++ b/GMW_data/DS_DataMatrix.Designer.cs
@@ -66,6 +66,8 @@ namespace GMW_data {
private TrascDatamatrixDataTable tableTrascDatamatrix;
+ private Linea2Dtx_IEDataTable tableLinea2Dtx_IE;
+
private global::System.Data.DataRelation relationFK_TabSpecDtx_AnagFormatiDtmx;
private global::System.Data.DataRelation relationFK_TabSpecDtx_AnagSpecDtx;
@@ -163,6 +165,9 @@ namespace GMW_data {
if ((ds.Tables["TrascDatamatrix"] != null)) {
base.Tables.Add(new TrascDatamatrixDataTable(ds.Tables["TrascDatamatrix"]));
}
+ if ((ds.Tables["Linea2Dtx_IE"] != null)) {
+ base.Tables.Add(new Linea2Dtx_IEDataTable(ds.Tables["Linea2Dtx_IE"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -391,6 +396,16 @@ namespace GMW_data {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public Linea2Dtx_IEDataTable Linea2Dtx_IE {
+ get {
+ return this.tableLinea2Dtx_IE;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -521,6 +536,9 @@ namespace GMW_data {
if ((ds.Tables["TrascDatamatrix"] != null)) {
base.Tables.Add(new TrascDatamatrixDataTable(ds.Tables["TrascDatamatrix"]));
}
+ if ((ds.Tables["Linea2Dtx_IE"] != null)) {
+ base.Tables.Add(new Linea2Dtx_IEDataTable(ds.Tables["Linea2Dtx_IE"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -680,6 +698,12 @@ namespace GMW_data {
this.tableTrascDatamatrix.InitVars();
}
}
+ this.tableLinea2Dtx_IE = ((Linea2Dtx_IEDataTable)(base.Tables["Linea2Dtx_IE"]));
+ if ((initTable == true)) {
+ if ((this.tableLinea2Dtx_IE != null)) {
+ this.tableLinea2Dtx_IE.InitVars();
+ }
+ }
this.relationFK_TabSpecDtx_AnagFormatiDtmx = this.Relations["FK_TabSpecDtx_AnagFormatiDtmx"];
this.relationFK_TabSpecDtx_AnagSpecDtx = this.Relations["FK_TabSpecDtx_AnagSpecDtx"];
this.relationFK_TrascDatamatrix_AnagFormatiDtmx = this.Relations["FK_TrascDatamatrix_AnagFormatiDtmx"];
@@ -735,6 +759,8 @@ namespace GMW_data {
base.Tables.Add(this.tableTrascPartNum);
this.tableTrascDatamatrix = new TrascDatamatrixDataTable();
base.Tables.Add(this.tableTrascDatamatrix);
+ this.tableLinea2Dtx_IE = new Linea2Dtx_IEDataTable();
+ base.Tables.Add(this.tableLinea2Dtx_IE);
this.relationFK_TabSpecDtx_AnagFormatiDtmx = new global::System.Data.DataRelation("FK_TabSpecDtx_AnagFormatiDtmx", new global::System.Data.DataColumn[] {
this.tableAnagFormatiDtmx.FormatoDtmxColumn}, new global::System.Data.DataColumn[] {
this.tableTabSpecDtx.FormatoDtmxColumn}, false);
@@ -875,6 +901,12 @@ namespace GMW_data {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeLinea2Dtx_IE() {
+ return false;
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -993,6 +1025,9 @@ namespace GMW_data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void TrascDatamatrixRowChangeEventHandler(object sender, TrascDatamatrixRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void Linea2Dtx_IERowChangeEventHandler(object sender, Linea2Dtx_IERowChangeEvent e);
+
///
///Represents the strongly named DataTable class.
///
@@ -7724,6 +7759,453 @@ namespace GMW_data {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class Linea2Dtx_IEDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnCodLinea;
+
+ private global::System.Data.DataColumn columnParticolare;
+
+ private global::System.Data.DataColumn columnDescParticolare;
+
+ private global::System.Data.DataColumn columnDTX_INI;
+
+ private global::System.Data.DataColumn columnCodSoggetto_INI;
+
+ private global::System.Data.DataColumn columnDataOra_INI;
+
+ private global::System.Data.DataColumn columnDTX_END;
+
+ private global::System.Data.DataColumn columnCodSoggetto_END;
+
+ private global::System.Data.DataColumn columnDataOra_END;
+
+ private global::System.Data.DataColumn columnCodStato;
+
+ private global::System.Data.DataColumn columnUDC;
+
+ private global::System.Data.DataColumn columnCodCella;
+
+ private global::System.Data.DataColumn columnQta;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public Linea2Dtx_IEDataTable() {
+ this.TableName = "Linea2Dtx_IE";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal Linea2Dtx_IEDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected Linea2Dtx_IEDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodLineaColumn {
+ get {
+ return this.columnCodLinea;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ParticolareColumn {
+ get {
+ return this.columnParticolare;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DescParticolareColumn {
+ get {
+ return this.columnDescParticolare;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DTX_INIColumn {
+ get {
+ return this.columnDTX_INI;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodSoggetto_INIColumn {
+ get {
+ return this.columnCodSoggetto_INI;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DataOra_INIColumn {
+ get {
+ return this.columnDataOra_INI;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DTX_ENDColumn {
+ get {
+ return this.columnDTX_END;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodSoggetto_ENDColumn {
+ get {
+ return this.columnCodSoggetto_END;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DataOra_ENDColumn {
+ get {
+ return this.columnDataOra_END;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodStatoColumn {
+ get {
+ return this.columnCodStato;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn UDCColumn {
+ get {
+ return this.columnUDC;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodCellaColumn {
+ get {
+ return this.columnCodCella;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn QtaColumn {
+ get {
+ return this.columnQta;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public Linea2Dtx_IERow this[int index] {
+ get {
+ return ((Linea2Dtx_IERow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event Linea2Dtx_IERowChangeEventHandler Linea2Dtx_IERowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event Linea2Dtx_IERowChangeEventHandler Linea2Dtx_IERowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event Linea2Dtx_IERowChangeEventHandler Linea2Dtx_IERowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event Linea2Dtx_IERowChangeEventHandler Linea2Dtx_IERowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddLinea2Dtx_IERow(Linea2Dtx_IERow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public Linea2Dtx_IERow AddLinea2Dtx_IERow(string CodLinea, string Particolare, string DescParticolare, string DTX_INI, string CodSoggetto_INI, System.DateTime DataOra_INI, string DTX_END, string CodSoggetto_END, System.DateTime DataOra_END, string CodStato, string UDC, string CodCella, int Qta) {
+ Linea2Dtx_IERow rowLinea2Dtx_IERow = ((Linea2Dtx_IERow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ CodLinea,
+ Particolare,
+ DescParticolare,
+ DTX_INI,
+ CodSoggetto_INI,
+ DataOra_INI,
+ DTX_END,
+ CodSoggetto_END,
+ DataOra_END,
+ CodStato,
+ UDC,
+ CodCella,
+ Qta};
+ rowLinea2Dtx_IERow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowLinea2Dtx_IERow);
+ return rowLinea2Dtx_IERow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public Linea2Dtx_IERow FindByCodLineaParticolare(string CodLinea, string Particolare) {
+ return ((Linea2Dtx_IERow)(this.Rows.Find(new object[] {
+ CodLinea,
+ Particolare})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ Linea2Dtx_IEDataTable cln = ((Linea2Dtx_IEDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new Linea2Dtx_IEDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnCodLinea = base.Columns["CodLinea"];
+ this.columnParticolare = base.Columns["Particolare"];
+ this.columnDescParticolare = base.Columns["DescParticolare"];
+ this.columnDTX_INI = base.Columns["DTX_INI"];
+ this.columnCodSoggetto_INI = base.Columns["CodSoggetto_INI"];
+ this.columnDataOra_INI = base.Columns["DataOra_INI"];
+ this.columnDTX_END = base.Columns["DTX_END"];
+ this.columnCodSoggetto_END = base.Columns["CodSoggetto_END"];
+ this.columnDataOra_END = base.Columns["DataOra_END"];
+ this.columnCodStato = base.Columns["CodStato"];
+ this.columnUDC = base.Columns["UDC"];
+ this.columnCodCella = base.Columns["CodCella"];
+ this.columnQta = base.Columns["Qta"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnCodLinea = new global::System.Data.DataColumn("CodLinea", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodLinea);
+ this.columnParticolare = new global::System.Data.DataColumn("Particolare", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnParticolare);
+ this.columnDescParticolare = new global::System.Data.DataColumn("DescParticolare", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDescParticolare);
+ this.columnDTX_INI = new global::System.Data.DataColumn("DTX_INI", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDTX_INI);
+ this.columnCodSoggetto_INI = new global::System.Data.DataColumn("CodSoggetto_INI", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodSoggetto_INI);
+ this.columnDataOra_INI = new global::System.Data.DataColumn("DataOra_INI", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDataOra_INI);
+ this.columnDTX_END = new global::System.Data.DataColumn("DTX_END", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDTX_END);
+ this.columnCodSoggetto_END = new global::System.Data.DataColumn("CodSoggetto_END", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodSoggetto_END);
+ this.columnDataOra_END = new global::System.Data.DataColumn("DataOra_END", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDataOra_END);
+ this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodStato);
+ this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnUDC);
+ this.columnCodCella = new global::System.Data.DataColumn("CodCella", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodCella);
+ this.columnQta = new global::System.Data.DataColumn("Qta", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnQta);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnCodLinea,
+ this.columnParticolare}, true));
+ this.columnCodLinea.AllowDBNull = false;
+ this.columnCodLinea.MaxLength = 5;
+ this.columnParticolare.AllowDBNull = false;
+ this.columnParticolare.MaxLength = 15;
+ this.columnDescParticolare.AllowDBNull = false;
+ this.columnDescParticolare.MaxLength = 30;
+ this.columnDTX_INI.AllowDBNull = false;
+ this.columnDTX_INI.MaxLength = 50;
+ this.columnCodSoggetto_INI.AllowDBNull = false;
+ this.columnCodSoggetto_INI.MaxLength = 17;
+ this.columnDataOra_INI.AllowDBNull = false;
+ this.columnDTX_END.MaxLength = 50;
+ this.columnCodSoggetto_END.MaxLength = 17;
+ this.columnDataOra_END.AllowDBNull = false;
+ this.columnCodStato.AllowDBNull = false;
+ this.columnCodStato.MaxLength = 50;
+ this.columnUDC.AllowDBNull = false;
+ this.columnUDC.MaxLength = 50;
+ this.columnCodCella.ReadOnly = true;
+ this.columnCodCella.MaxLength = 9;
+ this.columnQta.AllowDBNull = false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public Linea2Dtx_IERow NewLinea2Dtx_IERow() {
+ return ((Linea2Dtx_IERow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new Linea2Dtx_IERow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(Linea2Dtx_IERow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.Linea2Dtx_IERowChanged != null)) {
+ this.Linea2Dtx_IERowChanged(this, new Linea2Dtx_IERowChangeEvent(((Linea2Dtx_IERow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.Linea2Dtx_IERowChanging != null)) {
+ this.Linea2Dtx_IERowChanging(this, new Linea2Dtx_IERowChangeEvent(((Linea2Dtx_IERow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.Linea2Dtx_IERowDeleted != null)) {
+ this.Linea2Dtx_IERowDeleted(this, new Linea2Dtx_IERowChangeEvent(((Linea2Dtx_IERow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.Linea2Dtx_IERowDeleting != null)) {
+ this.Linea2Dtx_IERowDeleting(this, new Linea2Dtx_IERowChangeEvent(((Linea2Dtx_IERow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveLinea2Dtx_IERow(Linea2Dtx_IERow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_DataMatrix ds = new DS_DataMatrix();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "Linea2Dtx_IEDataTable";
+ 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.
///
@@ -10115,6 +10597,215 @@ namespace GMW_data {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class Linea2Dtx_IERow : global::System.Data.DataRow {
+
+ private Linea2Dtx_IEDataTable tableLinea2Dtx_IE;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal Linea2Dtx_IERow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableLinea2Dtx_IE = ((Linea2Dtx_IEDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodLinea {
+ get {
+ return ((string)(this[this.tableLinea2Dtx_IE.CodLineaColumn]));
+ }
+ set {
+ this[this.tableLinea2Dtx_IE.CodLineaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Particolare {
+ get {
+ return ((string)(this[this.tableLinea2Dtx_IE.ParticolareColumn]));
+ }
+ set {
+ this[this.tableLinea2Dtx_IE.ParticolareColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string DescParticolare {
+ get {
+ return ((string)(this[this.tableLinea2Dtx_IE.DescParticolareColumn]));
+ }
+ set {
+ this[this.tableLinea2Dtx_IE.DescParticolareColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string DTX_INI {
+ get {
+ return ((string)(this[this.tableLinea2Dtx_IE.DTX_INIColumn]));
+ }
+ set {
+ this[this.tableLinea2Dtx_IE.DTX_INIColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodSoggetto_INI {
+ get {
+ return ((string)(this[this.tableLinea2Dtx_IE.CodSoggetto_INIColumn]));
+ }
+ set {
+ this[this.tableLinea2Dtx_IE.CodSoggetto_INIColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime DataOra_INI {
+ get {
+ return ((global::System.DateTime)(this[this.tableLinea2Dtx_IE.DataOra_INIColumn]));
+ }
+ set {
+ this[this.tableLinea2Dtx_IE.DataOra_INIColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string DTX_END {
+ get {
+ try {
+ return ((string)(this[this.tableLinea2Dtx_IE.DTX_ENDColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'DTX_END\' in table \'Linea2Dtx_IE\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableLinea2Dtx_IE.DTX_ENDColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodSoggetto_END {
+ get {
+ try {
+ return ((string)(this[this.tableLinea2Dtx_IE.CodSoggetto_ENDColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodSoggetto_END\' in table \'Linea2Dtx_IE\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableLinea2Dtx_IE.CodSoggetto_ENDColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime DataOra_END {
+ get {
+ return ((global::System.DateTime)(this[this.tableLinea2Dtx_IE.DataOra_ENDColumn]));
+ }
+ set {
+ this[this.tableLinea2Dtx_IE.DataOra_ENDColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodStato {
+ get {
+ return ((string)(this[this.tableLinea2Dtx_IE.CodStatoColumn]));
+ }
+ set {
+ this[this.tableLinea2Dtx_IE.CodStatoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string UDC {
+ get {
+ return ((string)(this[this.tableLinea2Dtx_IE.UDCColumn]));
+ }
+ set {
+ this[this.tableLinea2Dtx_IE.UDCColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodCella {
+ get {
+ try {
+ return ((string)(this[this.tableLinea2Dtx_IE.CodCellaColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodCella\' in table \'Linea2Dtx_IE\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableLinea2Dtx_IE.CodCellaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int Qta {
+ get {
+ return ((int)(this[this.tableLinea2Dtx_IE.QtaColumn]));
+ }
+ set {
+ this[this.tableLinea2Dtx_IE.QtaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsDTX_ENDNull() {
+ return this.IsNull(this.tableLinea2Dtx_IE.DTX_ENDColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetDTX_ENDNull() {
+ this[this.tableLinea2Dtx_IE.DTX_ENDColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCodSoggetto_ENDNull() {
+ return this.IsNull(this.tableLinea2Dtx_IE.CodSoggetto_ENDColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCodSoggetto_ENDNull() {
+ this[this.tableLinea2Dtx_IE.CodSoggetto_ENDColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCodCellaNull() {
+ return this.IsNull(this.tableLinea2Dtx_IE.CodCellaColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCodCellaNull() {
+ this[this.tableLinea2Dtx_IE.CodCellaColumn] = global::System.Convert.DBNull;
+ }
+ }
+
///
///Row event argument class
///
@@ -10828,6 +11519,40 @@ namespace GMW_data {
}
}
}
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class Linea2Dtx_IERowChangeEvent : global::System.EventArgs {
+
+ private Linea2Dtx_IERow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public Linea2Dtx_IERowChangeEvent(Linea2Dtx_IERow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public Linea2Dtx_IERow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
}
}
namespace GMW_data.DS_DataMatrixTableAdapters {
@@ -18400,6 +19125,876 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
}
}
+ ///
+ ///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 Linea2Dtx_IETableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public Linea2Dtx_IETableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "Linea2Dtx_IE";
+ tableMapping.ColumnMappings.Add("CodLinea", "CodLinea");
+ tableMapping.ColumnMappings.Add("Particolare", "Particolare");
+ tableMapping.ColumnMappings.Add("DescParticolare", "DescParticolare");
+ tableMapping.ColumnMappings.Add("DTX_INI", "DTX_INI");
+ tableMapping.ColumnMappings.Add("CodSoggetto_INI", "CodSoggetto_INI");
+ tableMapping.ColumnMappings.Add("DataOra_INI", "DataOra_INI");
+ tableMapping.ColumnMappings.Add("DTX_END", "DTX_END");
+ tableMapping.ColumnMappings.Add("CodSoggetto_END", "CodSoggetto_END");
+ tableMapping.ColumnMappings.Add("DataOra_END", "DataOra_END");
+ tableMapping.ColumnMappings.Add("CodStato", "CodStato");
+ tableMapping.ColumnMappings.Add("UDC", "UDC");
+ tableMapping.ColumnMappings.Add("CodCella", "CodCella");
+ tableMapping.ColumnMappings.Add("Qta", "Qta");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[Linea2Dtx_IE] WHERE (([CodLinea] = @Original_CodLinea) AND ([Particolare] = @Original_Particolare) AND ([DescParticolare] = @Original_DescParticolare) AND ([DTX_INI] = @Original_DTX_INI) AND ([CodSoggetto_INI] = @Original_CodSoggetto_INI) AND ([DataOra_INI] = @Original_DataOra_INI) AND ((@IsNull_DTX_END = 1 AND [DTX_END] IS NULL) OR ([DTX_END] = @Original_DTX_END)) AND ((@IsNull_CodSoggetto_END = 1 AND [CodSoggetto_END] IS NULL) OR ([CodSoggetto_END] = @Original_CodSoggetto_END)) AND ([DataOra_END] = @Original_DataOra_END) AND ([CodStato] = @Original_CodStato) AND ([UDC] = @Original_UDC) AND ([CodCella] = @Original_CodCella) AND ([Qta] = @Original_Qta))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodLinea", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLinea", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DTX_INI", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_INI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto_INI", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_INI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOra_INI", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra_INI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DTX_END", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_END", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DTX_END", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_END", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSoggetto_END", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_END", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto_END", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_END", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOra_END", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra_END", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCella", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCella", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Linea2Dtx_IE] ([CodLinea], [Particolare], [DescParticolare], [DTX_INI], [CodSoggetto_INI], [DataOra_INI], [DTX_END], [CodSoggetto_END], [DataOra_END], [CodStato], [UDC], [Qta]) VALUES (@CodLinea, @Particolare, @DescParticolare, @DTX_INI, @CodSoggetto_INI, @DataOra_INI, @DTX_END, @CodSoggetto_END, @DataOra_END, @CodStato, @UDC, @Qta);
+SELECT CodLinea, Particolare, DescParticolare, DTX_INI, CodSoggetto_INI, DataOra_INI, DTX_END, CodSoggetto_END, DataOra_END, CodStato, UDC, CodCella, Qta FROM Linea2Dtx_IE WHERE (CodLinea = @CodLinea) AND (Particolare = @Particolare)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLinea", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLinea", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DTX_INI", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_INI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto_INI", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_INI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra_INI", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra_INI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DTX_END", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_END", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto_END", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_END", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra_END", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra_END", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Linea2Dtx_IE] SET [CodLinea] = @CodLinea, [Particolare] = @Particolare, [DescParticolare] = @DescParticolare, [DTX_INI] = @DTX_INI, [CodSoggetto_INI] = @CodSoggetto_INI, [DataOra_INI] = @DataOra_INI, [DTX_END] = @DTX_END, [CodSoggetto_END] = @CodSoggetto_END, [DataOra_END] = @DataOra_END, [CodStato] = @CodStato, [UDC] = @UDC, [Qta] = @Qta WHERE (([CodLinea] = @Original_CodLinea) AND ([Particolare] = @Original_Particolare) AND ([DescParticolare] = @Original_DescParticolare) AND ([DTX_INI] = @Original_DTX_INI) AND ([CodSoggetto_INI] = @Original_CodSoggetto_INI) AND ([DataOra_INI] = @Original_DataOra_INI) AND ((@IsNull_DTX_END = 1 AND [DTX_END] IS NULL) OR ([DTX_END] = @Original_DTX_END)) AND ((@IsNull_CodSoggetto_END = 1 AND [CodSoggetto_END] IS NULL) OR ([CodSoggetto_END] = @Original_CodSoggetto_END)) AND ([DataOra_END] = @Original_DataOra_END) AND ([CodStato] = @Original_CodStato) AND ([UDC] = @Original_UDC) AND ([CodCella] = @Original_CodCella) AND ([Qta] = @Original_Qta));
+SELECT CodLinea, Particolare, DescParticolare, DTX_INI, CodSoggetto_INI, DataOra_INI, DTX_END, CodSoggetto_END, DataOra_END, CodStato, UDC, CodCella, Qta FROM Linea2Dtx_IE WHERE (CodLinea = @CodLinea) AND (Particolare = @Particolare)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLinea", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLinea", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DTX_INI", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_INI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto_INI", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_INI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra_INI", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra_INI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DTX_END", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_END", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto_END", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_END", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra_END", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra_END", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodLinea", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLinea", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DTX_INI", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_INI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto_INI", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_INI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOra_INI", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra_INI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DTX_END", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_END", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DTX_END", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_END", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSoggetto_END", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_END", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto_END", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_END", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOra_END", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra_END", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCella", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCella", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.GMWConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT CodLinea, Particolare, DescParticolare, DTX_INI, CodSoggetto_INI, DataOra_" +
+ "INI, DTX_END, CodSoggetto_END, DataOra_END, CodStato, UDC, CodCella, Qta FROM db" +
+ "o.Linea2Dtx_IE";
+ 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 = "dmtx.stp_L2D_delete";
+ 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("@Original_CodLinea", global::System.Data.SqlDbType.NVarChar, 5, 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("@Original_Particolare", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dmtx.stp_L2D_getByLine";
+ this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLinea", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[3].Connection = this.Connection;
+ this._commandCollection[3].CommandText = "dmtx.stp_L2D_getByLinePart";
+ this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLinea", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[4].Connection = this.Connection;
+ this._commandCollection[4].CommandText = "dmtx.stp_L2D_insert";
+ this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLinea", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescParticolare", global::System.Data.SqlDbType.NVarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DTX_INI", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto_INI", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra_INI", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[5].Connection = this.Connection;
+ this._commandCollection[5].CommandText = "dmtx.stp_L2D_updateEnd";
+ this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLinea", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DTX_END", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto_END", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra_END", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_DataMatrix.Linea2Dtx_IEDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_DataMatrix.Linea2Dtx_IEDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_DataMatrix.Linea2Dtx_IEDataTable dataTable = new DS_DataMatrix.Linea2Dtx_IEDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_DataMatrix.Linea2Dtx_IEDataTable getByLinea(string CodLinea) {
+ this.Adapter.SelectCommand = this.CommandCollection[2];
+ if ((CodLinea == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodLinea));
+ }
+ DS_DataMatrix.Linea2Dtx_IEDataTable dataTable = new DS_DataMatrix.Linea2Dtx_IEDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_DataMatrix.Linea2Dtx_IEDataTable getByLineaPart(string CodLinea, string Particolare) {
+ this.Adapter.SelectCommand = this.CommandCollection[3];
+ if ((CodLinea == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodLinea));
+ }
+ if ((Particolare == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Particolare));
+ }
+ DS_DataMatrix.Linea2Dtx_IEDataTable dataTable = new DS_DataMatrix.Linea2Dtx_IEDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_DataMatrix.Linea2Dtx_IEDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_DataMatrix dataSet) {
+ return this.Adapter.Update(dataSet, "Linea2Dtx_IE");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(string Original_CodLinea, string Original_Particolare, string Original_DescParticolare, string Original_DTX_INI, string Original_CodSoggetto_INI, System.DateTime Original_DataOra_INI, string Original_DTX_END, string Original_CodSoggetto_END, System.DateTime Original_DataOra_END, string Original_CodStato, string Original_UDC, string Original_CodCella, int Original_Qta) {
+ if ((Original_CodLinea == null)) {
+ throw new global::System.ArgumentNullException("Original_CodLinea");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodLinea));
+ }
+ if ((Original_Particolare == null)) {
+ throw new global::System.ArgumentNullException("Original_Particolare");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Particolare));
+ }
+ if ((Original_DescParticolare == null)) {
+ throw new global::System.ArgumentNullException("Original_DescParticolare");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescParticolare));
+ }
+ if ((Original_DTX_INI == null)) {
+ throw new global::System.ArgumentNullException("Original_DTX_INI");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_DTX_INI));
+ }
+ if ((Original_CodSoggetto_INI == null)) {
+ throw new global::System.ArgumentNullException("Original_CodSoggetto_INI");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodSoggetto_INI));
+ }
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((System.DateTime)(Original_DataOra_INI));
+ if ((Original_DTX_END == null)) {
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_DTX_END));
+ }
+ if ((Original_CodSoggetto_END == null)) {
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_CodSoggetto_END));
+ }
+ this.Adapter.DeleteCommand.Parameters[10].Value = ((System.DateTime)(Original_DataOra_END));
+ if ((Original_CodStato == null)) {
+ throw new global::System.ArgumentNullException("Original_CodStato");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_CodStato));
+ }
+ if ((Original_UDC == null)) {
+ throw new global::System.ArgumentNullException("Original_UDC");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_UDC));
+ }
+ if ((Original_CodCella == null)) {
+ throw new global::System.ArgumentNullException("Original_CodCella");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_CodCella));
+ }
+ this.Adapter.DeleteCommand.Parameters[14].Value = ((int)(Original_Qta));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(string CodLinea, string Particolare, string DescParticolare, string DTX_INI, string CodSoggetto_INI, System.DateTime DataOra_INI, string DTX_END, string CodSoggetto_END, System.DateTime DataOra_END, string CodStato, string UDC, int Qta) {
+ if ((CodLinea == null)) {
+ throw new global::System.ArgumentNullException("CodLinea");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodLinea));
+ }
+ if ((Particolare == null)) {
+ throw new global::System.ArgumentNullException("Particolare");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Particolare));
+ }
+ if ((DescParticolare == null)) {
+ throw new global::System.ArgumentNullException("DescParticolare");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(DescParticolare));
+ }
+ if ((DTX_INI == null)) {
+ throw new global::System.ArgumentNullException("DTX_INI");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((string)(DTX_INI));
+ }
+ if ((CodSoggetto_INI == null)) {
+ throw new global::System.ArgumentNullException("CodSoggetto_INI");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CodSoggetto_INI));
+ }
+ this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(DataOra_INI));
+ if ((DTX_END == null)) {
+ this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[6].Value = ((string)(DTX_END));
+ }
+ if ((CodSoggetto_END == null)) {
+ this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[7].Value = ((string)(CodSoggetto_END));
+ }
+ this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(DataOra_END));
+ if ((CodStato == null)) {
+ throw new global::System.ArgumentNullException("CodStato");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[9].Value = ((string)(CodStato));
+ }
+ if ((UDC == null)) {
+ throw new global::System.ArgumentNullException("UDC");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[10].Value = ((string)(UDC));
+ }
+ this.Adapter.InsertCommand.Parameters[11].Value = ((int)(Qta));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ string CodLinea,
+ string Particolare,
+ string DescParticolare,
+ string DTX_INI,
+ string CodSoggetto_INI,
+ System.DateTime DataOra_INI,
+ string DTX_END,
+ string CodSoggetto_END,
+ System.DateTime DataOra_END,
+ string CodStato,
+ string UDC,
+ int Qta,
+ string Original_CodLinea,
+ string Original_Particolare,
+ string Original_DescParticolare,
+ string Original_DTX_INI,
+ string Original_CodSoggetto_INI,
+ System.DateTime Original_DataOra_INI,
+ string Original_DTX_END,
+ string Original_CodSoggetto_END,
+ System.DateTime Original_DataOra_END,
+ string Original_CodStato,
+ string Original_UDC,
+ string Original_CodCella,
+ int Original_Qta) {
+ if ((CodLinea == null)) {
+ throw new global::System.ArgumentNullException("CodLinea");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodLinea));
+ }
+ if ((Particolare == null)) {
+ throw new global::System.ArgumentNullException("Particolare");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Particolare));
+ }
+ if ((DescParticolare == null)) {
+ throw new global::System.ArgumentNullException("DescParticolare");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(DescParticolare));
+ }
+ if ((DTX_INI == null)) {
+ throw new global::System.ArgumentNullException("DTX_INI");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(DTX_INI));
+ }
+ if ((CodSoggetto_INI == null)) {
+ throw new global::System.ArgumentNullException("CodSoggetto_INI");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CodSoggetto_INI));
+ }
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(DataOra_INI));
+ if ((DTX_END == null)) {
+ this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(DTX_END));
+ }
+ if ((CodSoggetto_END == null)) {
+ this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(CodSoggetto_END));
+ }
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(DataOra_END));
+ if ((CodStato == null)) {
+ throw new global::System.ArgumentNullException("CodStato");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(CodStato));
+ }
+ if ((UDC == null)) {
+ throw new global::System.ArgumentNullException("UDC");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(UDC));
+ }
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Qta));
+ if ((Original_CodLinea == null)) {
+ throw new global::System.ArgumentNullException("Original_CodLinea");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_CodLinea));
+ }
+ if ((Original_Particolare == null)) {
+ throw new global::System.ArgumentNullException("Original_Particolare");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_Particolare));
+ }
+ if ((Original_DescParticolare == null)) {
+ throw new global::System.ArgumentNullException("Original_DescParticolare");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_DescParticolare));
+ }
+ if ((Original_DTX_INI == null)) {
+ throw new global::System.ArgumentNullException("Original_DTX_INI");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_DTX_INI));
+ }
+ if ((Original_CodSoggetto_INI == null)) {
+ throw new global::System.ArgumentNullException("Original_CodSoggetto_INI");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_CodSoggetto_INI));
+ }
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((System.DateTime)(Original_DataOra_INI));
+ if ((Original_DTX_END == null)) {
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_DTX_END));
+ }
+ if ((Original_CodSoggetto_END == null)) {
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_CodSoggetto_END));
+ }
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((System.DateTime)(Original_DataOra_END));
+ if ((Original_CodStato == null)) {
+ throw new global::System.ArgumentNullException("Original_CodStato");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_CodStato));
+ }
+ if ((Original_UDC == null)) {
+ throw new global::System.ArgumentNullException("Original_UDC");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_UDC));
+ }
+ if ((Original_CodCella == null)) {
+ throw new global::System.ArgumentNullException("Original_CodCella");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_CodCella));
+ }
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(Original_Qta));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ string DescParticolare,
+ string DTX_INI,
+ string CodSoggetto_INI,
+ System.DateTime DataOra_INI,
+ string DTX_END,
+ string CodSoggetto_END,
+ System.DateTime DataOra_END,
+ string CodStato,
+ string UDC,
+ int Qta,
+ string Original_CodLinea,
+ string Original_Particolare,
+ string Original_DescParticolare,
+ string Original_DTX_INI,
+ string Original_CodSoggetto_INI,
+ System.DateTime Original_DataOra_INI,
+ string Original_DTX_END,
+ string Original_CodSoggetto_END,
+ System.DateTime Original_DataOra_END,
+ string Original_CodStato,
+ string Original_UDC,
+ string Original_CodCella,
+ int Original_Qta) {
+ return this.Update(Original_CodLinea, Original_Particolare, DescParticolare, DTX_INI, CodSoggetto_INI, DataOra_INI, DTX_END, CodSoggetto_END, DataOra_END, CodStato, UDC, Qta, Original_CodLinea, Original_Particolare, Original_DescParticolare, Original_DTX_INI, Original_CodSoggetto_INI, Original_DataOra_INI, Original_DTX_END, Original_CodSoggetto_END, Original_DataOra_END, Original_CodStato, Original_UDC, Original_CodCella, Original_Qta);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int deleteQuery(string Original_CodLinea, string Original_Particolare) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
+ if ((Original_CodLinea == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(Original_CodLinea));
+ }
+ if ((Original_Particolare == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(Original_Particolare));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int insertIni(string CodLinea, string Particolare, string DescParticolare, string DTX_INI, string CodSoggetto_INI, global::System.Nullable DataOra_INI) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
+ if ((CodLinea == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(CodLinea));
+ }
+ if ((Particolare == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(Particolare));
+ }
+ if ((DescParticolare == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(DescParticolare));
+ }
+ if ((DTX_INI == null)) {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[4].Value = ((string)(DTX_INI));
+ }
+ if ((CodSoggetto_INI == null)) {
+ command.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[5].Value = ((string)(CodSoggetto_INI));
+ }
+ if ((DataOra_INI.HasValue == true)) {
+ command.Parameters[6].Value = ((System.DateTime)(DataOra_INI.Value));
+ }
+ else {
+ command.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int updateEnd(string CodLinea, string Particolare, string DTX_END, string CodSoggetto_END, global::System.Nullable DataOra_END) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
+ if ((CodLinea == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(CodLinea));
+ }
+ if ((Particolare == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(Particolare));
+ }
+ if ((DTX_END == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(DTX_END));
+ }
+ if ((CodSoggetto_END == null)) {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[4].Value = ((string)(CodSoggetto_END));
+ }
+ if ((DataOra_END.HasValue == true)) {
+ command.Parameters[5].Value = ((System.DateTime)(DataOra_END.Value));
+ }
+ else {
+ command.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+ }
+
///
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///
@@ -18432,6 +20027,8 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
private TrascDatamatrixTableAdapter _trascDatamatrixTableAdapter;
+ private Linea2Dtx_IETableAdapter _linea2Dtx_IETableAdapter;
+
private bool _backupDataSetBeforeUpdate;
private global::System.Data.IDbConnection _connection;
@@ -18587,6 +20184,20 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public Linea2Dtx_IETableAdapter Linea2Dtx_IETableAdapter {
+ get {
+ return this._linea2Dtx_IETableAdapter;
+ }
+ set {
+ this._linea2Dtx_IETableAdapter = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool BackupDataSetBeforeUpdate {
@@ -18646,6 +20257,10 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
&& (this._trascDatamatrixTableAdapter.Connection != null))) {
return this._trascDatamatrixTableAdapter.Connection;
}
+ if (((this._linea2Dtx_IETableAdapter != null)
+ && (this._linea2Dtx_IETableAdapter.Connection != null))) {
+ return this._linea2Dtx_IETableAdapter.Connection;
+ }
return null;
}
set {
@@ -18689,6 +20304,9 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
if ((this._trascDatamatrixTableAdapter != null)) {
count = (count + 1);
}
+ if ((this._linea2Dtx_IETableAdapter != null)) {
+ count = (count + 1);
+ }
return count;
}
}
@@ -18727,6 +20345,15 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
allChangedRows.AddRange(updatedRows);
}
}
+ if ((this._trascPartNumTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.TrascPartNum.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._trascPartNumTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
if ((this._trascFormatoDmtxTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.TrascFormatoDmtx.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -18745,15 +20372,6 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._trascPartNumTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.TrascPartNum.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
- updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length))) {
- result = (result + this._trascPartNumTableAdapter.Update(updatedRows));
- allChangedRows.AddRange(updatedRows);
- }
- }
if ((this._attr2DtxTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.Attr2Dtx.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -18790,6 +20408,15 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
allChangedRows.AddRange(updatedRows);
}
}
+ if ((this._linea2Dtx_IETableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.Linea2Dtx_IE.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._linea2Dtx_IETableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
return result;
}
@@ -18824,6 +20451,14 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
allAddedRows.AddRange(addedRows);
}
}
+ if ((this._trascPartNumTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.TrascPartNum.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._trascPartNumTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
if ((this._trascFormatoDmtxTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.TrascFormatoDmtx.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -18840,14 +20475,6 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
allAddedRows.AddRange(addedRows);
}
}
- if ((this._trascPartNumTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.TrascPartNum.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length))) {
- result = (result + this._trascPartNumTableAdapter.Update(addedRows));
- allAddedRows.AddRange(addedRows);
- }
- }
if ((this._attr2DtxTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.Attr2Dtx.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -18880,6 +20507,14 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
allAddedRows.AddRange(addedRows);
}
}
+ if ((this._linea2Dtx_IETableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.Linea2Dtx_IE.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._linea2Dtx_IETableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
return result;
}
@@ -18890,6 +20525,14 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateDeletedRows(DS_DataMatrix dataSet, global::System.Collections.Generic.List allChangedRows) {
int result = 0;
+ if ((this._linea2Dtx_IETableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.Linea2Dtx_IE.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._linea2Dtx_IETableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
if ((this._trascDatamatrixTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.TrascDatamatrix.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -18922,14 +20565,6 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._trascPartNumTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.TrascPartNum.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length))) {
- result = (result + this._trascPartNumTableAdapter.Update(deletedRows));
- allChangedRows.AddRange(deletedRows);
- }
- }
if ((this._tabSpecDtxTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.TabSpecDtx.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -18946,6 +20581,14 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
allChangedRows.AddRange(deletedRows);
}
}
+ if ((this._trascPartNumTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.TrascPartNum.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._trascPartNumTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
if ((this._transcodificaParticolariTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.TranscodificaParticolari.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -19059,6 +20702,11 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
+ if (((this._linea2Dtx_IETableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._linea2Dtx_IETableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
+ "tring.");
+ }
global::System.Data.IDbConnection workConnection = this.Connection;
if ((workConnection == null)) {
throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" +
@@ -19181,6 +20829,15 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
adaptersWithAcceptChangesDuringUpdate.Add(this._trascDatamatrixTableAdapter.Adapter);
}
}
+ if ((this._linea2Dtx_IETableAdapter != null)) {
+ revertConnections.Add(this._linea2Dtx_IETableAdapter, this._linea2Dtx_IETableAdapter.Connection);
+ this._linea2Dtx_IETableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._linea2Dtx_IETableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._linea2Dtx_IETableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._linea2Dtx_IETableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._linea2Dtx_IETableAdapter.Adapter);
+ }
+ }
//
//---- Perform updates -----------
//
@@ -19279,6 +20936,10 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
this._trascDatamatrixTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._trascDatamatrixTableAdapter]));
this._trascDatamatrixTableAdapter.Transaction = null;
}
+ if ((this._linea2Dtx_IETableAdapter != null)) {
+ this._linea2Dtx_IETableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._linea2Dtx_IETableAdapter]));
+ this._linea2Dtx_IETableAdapter.Transaction = null;
+ }
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
diff --git a/GMW_data/DS_DataMatrix.xsd b/GMW_data/DS_DataMatrix.xsd
index fce21002..8157517f 100644
--- a/GMW_data/DS_DataMatrix.xsd
+++ b/GMW_data/DS_DataMatrix.xsd
@@ -1360,6 +1360,178 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
+
+
+
+
+
+ DELETE FROM [dbo].[Linea2Dtx_IE] WHERE (([CodLinea] = @Original_CodLinea) AND ([Particolare] = @Original_Particolare) AND ([DescParticolare] = @Original_DescParticolare) AND ([DTX_INI] = @Original_DTX_INI) AND ([CodSoggetto_INI] = @Original_CodSoggetto_INI) AND ([DataOra_INI] = @Original_DataOra_INI) AND ((@IsNull_DTX_END = 1 AND [DTX_END] IS NULL) OR ([DTX_END] = @Original_DTX_END)) AND ((@IsNull_CodSoggetto_END = 1 AND [CodSoggetto_END] IS NULL) OR ([CodSoggetto_END] = @Original_CodSoggetto_END)) AND ([DataOra_END] = @Original_DataOra_END) AND ([CodStato] = @Original_CodStato) AND ([UDC] = @Original_UDC) AND ([CodCella] = @Original_CodCella) AND ([Qta] = @Original_Qta))
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [dbo].[Linea2Dtx_IE] ([CodLinea], [Particolare], [DescParticolare], [DTX_INI], [CodSoggetto_INI], [DataOra_INI], [DTX_END], [CodSoggetto_END], [DataOra_END], [CodStato], [UDC], [Qta]) VALUES (@CodLinea, @Particolare, @DescParticolare, @DTX_INI, @CodSoggetto_INI, @DataOra_INI, @DTX_END, @CodSoggetto_END, @DataOra_END, @CodStato, @UDC, @Qta);
+SELECT CodLinea, Particolare, DescParticolare, DTX_INI, CodSoggetto_INI, DataOra_INI, DTX_END, CodSoggetto_END, DataOra_END, CodStato, UDC, CodCella, Qta FROM Linea2Dtx_IE WHERE (CodLinea = @CodLinea) AND (Particolare = @Particolare)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT CodLinea, Particolare, DescParticolare, DTX_INI, CodSoggetto_INI, DataOra_INI, DTX_END, CodSoggetto_END, DataOra_END, CodStato, UDC, CodCella, Qta FROM dbo.Linea2Dtx_IE
+
+
+
+
+
+ UPDATE [dbo].[Linea2Dtx_IE] SET [CodLinea] = @CodLinea, [Particolare] = @Particolare, [DescParticolare] = @DescParticolare, [DTX_INI] = @DTX_INI, [CodSoggetto_INI] = @CodSoggetto_INI, [DataOra_INI] = @DataOra_INI, [DTX_END] = @DTX_END, [CodSoggetto_END] = @CodSoggetto_END, [DataOra_END] = @DataOra_END, [CodStato] = @CodStato, [UDC] = @UDC, [Qta] = @Qta WHERE (([CodLinea] = @Original_CodLinea) AND ([Particolare] = @Original_Particolare) AND ([DescParticolare] = @Original_DescParticolare) AND ([DTX_INI] = @Original_DTX_INI) AND ([CodSoggetto_INI] = @Original_CodSoggetto_INI) AND ([DataOra_INI] = @Original_DataOra_INI) AND ((@IsNull_DTX_END = 1 AND [DTX_END] IS NULL) OR ([DTX_END] = @Original_DTX_END)) AND ((@IsNull_CodSoggetto_END = 1 AND [CodSoggetto_END] IS NULL) OR ([CodSoggetto_END] = @Original_CodSoggetto_END)) AND ([DataOra_END] = @Original_DataOra_END) AND ([CodStato] = @Original_CodStato) AND ([UDC] = @Original_UDC) AND ([CodCella] = @Original_CodCella) AND ([Qta] = @Original_Qta));
+SELECT CodLinea, Particolare, DescParticolare, DTX_INI, CodSoggetto_INI, DataOra_INI, DTX_END, CodSoggetto_END, DataOra_END, CodStato, UDC, CodCella, Qta FROM Linea2Dtx_IE WHERE (CodLinea = @CodLinea) AND (Particolare = @Particolare)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dmtx.stp_L2D_delete
+
+
+
+
+
+
+
+
+
+
+
+ dmtx.stp_L2D_getByLine
+
+
+
+
+
+
+
+
+
+
+ dmtx.stp_L2D_getByLinePart
+
+
+
+
+
+
+
+
+
+
+
+ dmtx.stp_L2D_insert
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dmtx.stp_L2D_updateEnd
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1461,7 +1633,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -1481,7 +1653,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -1495,7 +1667,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -1530,7 +1702,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -1550,7 +1722,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -1570,7 +1742,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -1612,7 +1784,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -1625,7 +1797,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -1661,7 +1833,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -1697,7 +1869,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -1710,7 +1882,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -1751,7 +1923,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -1824,7 +1996,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -1869,7 +2041,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -1896,7 +2068,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -1933,7 +2105,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -1953,7 +2125,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -1973,7 +2145,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
-
+
@@ -2000,6 +2172,85 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2063,12 +2314,17 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb
+
+
+
+
+
-
-
-
+
+
+
\ No newline at end of file
diff --git a/GMW_data/DS_DataMatrix.xss b/GMW_data/DS_DataMatrix.xss
index 041abc1f..c7d56e6b 100644
--- a/GMW_data/DS_DataMatrix.xss
+++ b/GMW_data/DS_DataMatrix.xss
@@ -6,30 +6,31 @@
-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
1316
@@ -41,7 +42,7 @@
-
+
1335
@@ -53,7 +54,7 @@
-
+
1510
diff --git a/GMW_data/DataMatrix.cs b/GMW_data/DataMatrix.cs
index d8e3f5e3..d9267137 100644
--- a/GMW_data/DataMatrix.cs
+++ b/GMW_data/DataMatrix.cs
@@ -30,6 +30,7 @@ namespace GMW_data
public DS_DataMatrixTableAdapters.TabSpecDtxTableAdapter taSpecDtmx;
public DS_DataMatrixTableAdapters.TrascPartNumTableAdapter taTPN;
public DS_DataMatrixTableAdapters.TrascDatamatrixTableAdapter taTDtmx;
+ public DS_DataMatrixTableAdapters.Linea2Dtx_IETableAdapter taL2D;
///
/// init dei table adapters
@@ -54,6 +55,7 @@ namespace GMW_data
taSpecDtmx = new DS_DataMatrixTableAdapters.TabSpecDtxTableAdapter();
taTPN = new DS_DataMatrixTableAdapters.TrascPartNumTableAdapter();
taTDtmx = new DS_DataMatrixTableAdapters.TrascDatamatrixTableAdapter();
+ taL2D = new DS_DataMatrixTableAdapters.Linea2Dtx_IETableAdapter();
}
///
/// effettua setup dei connection strings da web.config delal singola applicazione
@@ -79,6 +81,7 @@ namespace GMW_data
taSpecDtmx.Connection.ConnectionString = connString;
taTPN.Connection.ConnectionString = connString;
taTDtmx.Connection.ConnectionString = connString;
+ taL2D.Connection.ConnectionString = connString;
}
#endregion
diff --git a/GMW_data/GMW_data.csproj b/GMW_data/GMW_data.csproj
index e87ca96d..4b793820 100644
--- a/GMW_data/GMW_data.csproj
+++ b/GMW_data/GMW_data.csproj
@@ -220,7 +220,7 @@
DS_DataMatrix.xsd
-
+
True
True
DS_DataMatrix.xsd
@@ -326,7 +326,7 @@
Designer
MSDataSetGenerator
- DS_DataMatrix1.Designer.cs
+ DS_DataMatrix.Designer.cs
DS_DataMatrix.xsd
diff --git a/GMW_data/MagClass.cs b/GMW_data/MagClass.cs
index 90cdbb0e..e46dade5 100644
--- a/GMW_data/MagClass.cs
+++ b/GMW_data/MagClass.cs
@@ -2960,8 +2960,9 @@ namespace GMW_data
// cerco di decodificare il Datamatrix...
try
{
- statoDtx = DataMatrix.mgr.taVerifica.GetData(valore)[0].StatoDtx;
- formatoDtx = DataMatrix.mgr.taVerifica.GetData(valore)[0].FormatoDtmx;
+ DS_DataMatrix.stp_verificaDtxRow rowVerifica = DataMatrix.mgr.taVerifica.GetData(valore)[0];
+ statoDtx = rowVerifica.StatoDtx;
+ formatoDtx = rowVerifica.FormatoDtmx;
}
catch
{ }
diff --git a/GMW_data/app.config b/GMW_data/app.config
index 1c108f05..cefee0c1 100644
--- a/GMW_data/app.config
+++ b/GMW_data/app.config
@@ -8,7 +8,7 @@
- /// Configurations da tabella DB COnfig
- ///
- /// Valore chiave
- ///
- public string configDbVal(string chiave)
- {
- string answ = "";
- try
- {
- answ = taConfig.getByKey(chiave)[0].valore;
- }
- catch
- {
- answ = "";
- }
- return answ;
- }
+ /////
+ ///// Configurations da tabella DB COnfig
+ /////
+ ///// Valore chiave
+ /////
+ //public string configDbVal(string chiave)
+ //{
+ // string answ = "";
+ // try
+ // {
+ // answ = taConfig.getByKey(chiave)[0].valore;
+ // }
+ // catch
+ // {
+ // answ = "";
+ // }
+ // return answ;
+ //}
- #endregion
+ //#endregion
#region area operatori