diff --git a/GMW/GMW/Type/Bilancia.cs b/GMW/GMW/Type/Bilancia.cs
index 50ec3a18..49b8361e 100644
--- a/GMW/GMW/Type/Bilancia.cs
+++ b/GMW/GMW/Type/Bilancia.cs
@@ -15,8 +15,7 @@ namespace GMW.Type
{
CodBilancia = riga.CodBilancia;
DescrBilancia = riga.DescrImpianto;
- CodCompany = riga.CodCompany;
- CodSito = riga.CodSito;
+ CodCS = riga.CodCS;
}
///
@@ -28,13 +27,9 @@ namespace GMW.Type
///
public string DescrBilancia { get; set; }
///
- /// Codice COmpany
+ /// Codice Company/Sito
///
- public string CodCompany { get; set; }
- ///
- /// Codice sito
- ///
- public string CodSito { get; set; }
+ public string CodCS { get; set; }
///
/// inizializza a partire da una riga bilancia tipizzata
///
@@ -43,8 +38,7 @@ namespace GMW.Type
{
CodBilancia = riga.CodBilancia;
DescrBilancia = riga.DescrImpianto;
- CodCompany = riga.CodCompany;
- CodSito = riga.CodSito;
+ CodCS = riga.CodCS;
}
}
}
diff --git a/GMW/GMW/Type/UDC.cs b/GMW/GMW/Type/UDC.cs
index d1bc0a59..49c275f0 100644
--- a/GMW/GMW/Type/UDC.cs
+++ b/GMW/GMW/Type/UDC.cs
@@ -9,70 +9,81 @@ namespace GMW.Type
///
/// classe che rappresenta l'intero UDC
///
- public class UDC
+ public class Cartellino
{
- public UDC()
+ public Cartellino()
{
}
- public UDC(DS_Applicazione.TabCartelliniRow riga)
+ public Cartellino(DS_Applicazione.ElencoCartelliniRow riga)
{
- CodCompany = riga.CodCompany;
- ODP = riga.ODP;
- UDC_code = riga.UDC;
- Tara = riga.Tara;
- IdxStato = riga.IdxStato;
- Qta = riga.Qta;
- CodImballo = riga.CodImballo;
- CodImpianto = riga.CodImpianto;
- Particolare = riga.Particolare;
- CodStato = riga.CodStato;
- CodStampo = riga.CodStampo;
- Figura = riga.Figura;
- FiguraIncisa = riga.FiguraIncisa;
- CreateDate = riga.CreateDate;
- ModDate = riga.ModDate;
+ UDC = riga.UDC;
+ CodCS = riga.CodCS;
+ CodCliente = riga.CodCliente;
+ RagSociale = riga.RagSociale;
+ Particolare = riga.Particolare;
+ DescParticolare = riga.DescParticolare;
+ DisegnoGrezzo = riga.DisegnoGrezzo;
+ Esponente = riga.Esponente;
+ CodImpianto = riga.CodImpianto;
+ DescImpianto = riga.DescImpianto;
+ CodCliente = riga.CodCliente;
+ CodStampo = riga.CodStampo;
+ Figura = riga.Figura;
+ DataFus = riga.DataFus;
+ TurnoFus = riga.TurnoFus;
+ CodImballo = riga.CodImballo;
+ CodSoggetto = riga.CodSoggetto;
+ NumCont = riga.NumCont;
+ Tara = riga.Tara;
+ Qta = riga.Qta;
+ CodStato = riga.CodStato;
+ IdxPosizione = riga.IdxPosizione;
+ PesoTot = riga.PesoTot;
+ PesoCad = riga.PesoCad;
+ CreateDate = riga.CreateDate;
+ ModDate = riga.ModDate;
}
- ///
- /// Codice company
- ///
- public string CodCompany { get; set; }
- ///
- /// Codice ODP
- ///
- public string ODP { get; set; }
///
/// Codice UDC
///
- public string UDC_code { get; set; }
+ public string UDC { get; set; }
///
- /// Tara dell'UDC
+ /// Codice company
///
- public double Tara { get; set; }
+ public string CodCS { get; set; }
///
- /// stato associato all'UDC
+ /// Codice Cliente
///
- public int IdxStato { get; set; }
+ public string CodCliente { get; set; }
///
- /// Quantità associata all'UDC
+ /// Ragione sociale cliente
///
- public decimal Qta { get; set; }
+ public string RagSociale { get; set; }
///
- /// CodiceImballo associato all'UDC
+ /// Particolare
///
- public string CodImballo { get; set; }
+ public string Particolare { get; set; }
+ ///
+ /// Descrizione particolare
+ ///
+ public string DescParticolare { get; set; }
+ ///
+ /// Disegno Grezzo
+ ///
+ public string DisegnoGrezzo { get; set; }
+ ///
+ /// Esponente
+ ///
+ public string Esponente { get; set; }
///
/// Codice impianto
///
public string CodImpianto { get; set; }
///
- /// Codice Articolo
+ /// Descrizione impianto
///
- public string Particolare { get; set; }
- ///
- /// Codice Stato pezzo (sabbiato, smaterozzato, ...)
- ///
- public string CodStato { get; set; }
+ public string DescImpianto { get; set; }
///
/// Codice Stampo
///
@@ -82,9 +93,49 @@ namespace GMW.Type
///
public string Figura { get; set; }
///
- /// Figura Incisa
+ /// Data fusione
///
- public string FiguraIncisa { get; set; }
+ public DateTime DataFus { get; set; }
+ ///
+ /// Turno Fusione
+ ///
+ public int TurnoFus { get; set; }
+ ///
+ /// CodiceImballo associato all'UDC
+ ///
+ public string CodImballo { get; set; }
+ ///
+ /// Codice operatore della dichiarazione
+ ///
+ public string CodSoggetto { get; set; }
+ ///
+ /// Numero contenitore (PROGRESSIVO)
+ ///
+ public int NumCont { get; set; }
+ ///
+ /// Tara dell'UDC
+ ///
+ public double Tara { get; set; }
+ ///
+ /// Quantità associata all'UDC
+ ///
+ public decimal Qta { get; set; }
+ ///
+ /// Codice Stato pezzo (sabbiato, smaterozzato, ...)
+ ///
+ public string CodStato { get; set; }
+ ///
+ /// Codice Posizione associato all'UDC
+ ///
+ public int IdxPosizione { get; set; }
+ ///
+ /// Peso totale rilevato
+ ///
+ public double PesoTot { get; set; }
+ ///
+ /// Peso totale rilevato
+ ///
+ public double PesoCad { get; set; }
///
/// Data di creazione dell'UDC
///
@@ -97,21 +148,32 @@ namespace GMW.Type
/// inizializza a partire da una riga statoOdpUdc
///
///
- public void setFromTabRow(DS_Applicazione.TabCartelliniRow riga)
+ public void setFromTabRow(DS_Applicazione.ElencoCartelliniRow riga)
{
- CodCompany = riga.CodCompany;
- ODP = riga.ODP;
- UDC_code= riga.UDC;
- Tara = riga.Tara;
- IdxStato = riga.IdxStato;
- Qta = riga.Qta;
- CodImballo = riga.CodImballo;
- CodImpianto = riga.CodImpianto;
+ UDC = riga.UDC;
+ CodCS = riga.CodCS;
+ CodCliente = riga.CodCliente;
+ RagSociale = riga.RagSociale;
Particolare = riga.Particolare;
- CodStato = riga.CodStato;
+ DescParticolare = riga.DescParticolare;
+ DisegnoGrezzo = riga.DisegnoGrezzo;
+ Esponente = riga.Esponente;
+ CodImpianto = riga.CodImpianto;
+ DescImpianto = riga.DescImpianto;
+ CodCliente = riga.CodCliente;
CodStampo = riga.CodStampo;
Figura = riga.Figura;
- FiguraIncisa = riga.FiguraIncisa;
+ DataFus = riga.DataFus;
+ TurnoFus = riga.TurnoFus;
+ CodImballo = riga.CodImballo;
+ CodSoggetto = riga.CodSoggetto;
+ NumCont = riga.NumCont;
+ Tara = riga.Tara;
+ Qta = riga.Qta;
+ CodStato = riga.CodStato;
+ IdxPosizione = riga.IdxPosizione;
+ PesoTot = riga.PesoTot;
+ PesoCad = riga.PesoCad;
CreateDate = riga.CreateDate;
ModDate = riga.ModDate;
}
diff --git a/GMW/GMW/Type/elenchi.cs b/GMW/GMW/Type/elenchi.cs
index afcb50ea..9d1f6e43 100644
--- a/GMW/GMW/Type/elenchi.cs
+++ b/GMW/GMW/Type/elenchi.cs
@@ -252,39 +252,35 @@ namespace GMW.Type
#endregion
- #region area UDC
+ #region area Cartellino
- protected UDC[] _elencoUDC;
+ protected Cartellino[] _elencoCartellini;
///
/// legge una tab di tipo TabStatoOdpUdc e la converte ad un array di tipo UDC[]
///
///
- public void caricaUDC(DS_Applicazione.Impianti2ArticoliDataTable tabArt2Imp)
+ public void caricaCartellini(DS_Applicazione.ElencoCartelliniDataTable tabArt2Imp)
{
-
-#if false
// conto quanti elementi ha la tab x inizializzare l'array...
int numRighe = tabArt2Imp.Rows.Count;
- _elencoArtInProd = new ArtInProd[numRighe];
+ _elencoCartellini = new Cartellino[numRighe];
// prendo un obj impianto da valorizzare di volta in volta...
- ArtInProd obj;
+ Cartellino obj;
for (int i = 0; i < numRighe; i++)
{
- obj = new ArtInProd();
- obj.setFromTabRow(tabArt2Imp[i]);
- _elencoArtInProd[i] = obj;
+ obj = new Cartellino(tabArt2Imp[i]);
+ _elencoCartellini[i] = obj;
}
-#endif
}
///
/// Elenco UDC
///
- public UDC[] elencoUDC
+ public Cartellino[] elencoCartellini
{
get
{
- return _elencoUDC;
+ return _elencoCartellini;
}
}
diff --git a/GMW/GMW/WS/bilance.asmx.cs b/GMW/GMW/WS/bilance.asmx.cs
index 259c326c..fddc73c5 100644
--- a/GMW/GMW/WS/bilance.asmx.cs
+++ b/GMW/GMW/WS/bilance.asmx.cs
@@ -46,6 +46,7 @@ namespace GMW.WS
gestEl.caricaCompanySito(DataProxy.obj.taAnagCS.GetData());
return gestEl.elencoCompanySito;
}
+#if false
///
/// fornisce l'anagrafica articoli
///
@@ -55,7 +56,8 @@ namespace GMW.WS
gestEl.caricaArticoli(DataProxy.obj.taAnagArt.GetData());
return gestEl.elencoArticoli;
- }
+ }
+#endif
///
/// Fornisce l'elenco dei tipi di dichiarazione ammessi
///
@@ -90,7 +92,7 @@ namespace GMW.WS
///
/// Codice company/sito
///
- [WebMethod(Description = "Elenco anagrafica impianti dati codice company e sito (no dataset)")]
+ [WebMethod(Description = "Elenco anagrafica impianti dati codice company/sito (no dataset)")]
public GMW.Type.Impianto[] ElencoImpiantiByCompanySito(string CodCS)
{
gestEl.caricaImpianti(DataProxy.obj.taAnagImp.stp_getByCodCS(CodCS));
@@ -106,15 +108,20 @@ namespace GMW.WS
gestEl.caricaBilance(DataProxy.obj.taAnagBil.GetData());
return gestEl.elencoBilance;
}
+#if false
///
/// fornisce l'anagrafica bilance dati codice company e sito
///
+ /// Codice company/sito
+ ///
[WebMethod(Description = "Elenco anagrafico Bilance dati codice company e sito")]
- public GMW.Type.Bilancia[] ElencoBilanceByCompanySito(string CodCompany, string CodSito)
+ public GMW.Type.Bilancia[] ElencoBilanceByCompanySito(string CodCS)
{
gestEl.caricaBilance(DataProxy.obj.taAnagBil.getByCompanySito(CodCompany, CodSito));
return gestEl.elencoBilance;
- }
+ }
+#endif
+#if false
///
/// fornisce l'elenco di impianti ed articoli attualmente in produzione (per codice anagrafico)
///
@@ -124,13 +131,13 @@ namespace GMW.WS
gestEl.caricaArtInProd(DataProxy.obj.taArtInProd.GetData());
return gestEl.elencoArtInProd;
}
-
+
+#endif
#endregion
- #region area gestione stati & UDC
-
+ #region gestione UDC: metodi di controllo (info)
///
/// Richiede la tara per l'UDC indicato
@@ -149,6 +156,7 @@ namespace GMW.WS
{ }
return answ;
}
+#if false
///
/// Restituisce l'elenco degli UDC parent di quello specificato
///
@@ -186,7 +194,9 @@ namespace GMW.WS
GMW.Type.UDC answ = new GMW.Type.UDC();
// caricare dati!!!
return answ;
- }
+ }
+#endif
+#if false
///
/// Controlla che il codice imballo inviato sia valido (pre creazione TARA)
///
@@ -221,7 +231,12 @@ namespace GMW.WS
DateTime dataRif = dataRic.Date.AddHours(oreTurno);
gestEl.caricaArtInProd(DataProxy.obj.taArtInProd.stp_byImpData(CodImpianto, dataRif));
return gestEl.elencoArtInProd;
- }
+ }
+#endif
+
+ #endregion
+
+ #region gestione UDC: creazione ed editing
///
/// Fornisce un nuovo codice UDC tipo TARA a partire dalla richiesta e salva i dati
@@ -236,31 +251,29 @@ namespace GMW.WS
public string UdcCall_GetNew_Tara(string CodBilancia, double Tara, string CodImballo, string CodTipoDichiarazione, string CodOperatore)
{
// ricavo cod company...
- string CodCompany = "ND";
- string CodSito = "ND";
+ string CodCS = "ND";
string answ = "NA";
try
{
- CodCompany = DataProxy.obj.taAnagBil.getByCod(CodBilancia)[0].CodCompany;
- CodSito = DataProxy.obj.taAnagBil.getByCod(CodBilancia)[0].CodSito;
+ CodCS = DataProxy.obj.taAnagBil.stp_getByCodBilancia(CodBilancia)[0].CodCS;
}
catch
{
- CodCompany = DataProxy.obj.taAnagBil.GetData()[0].CodCompany;
- CodSito = DataProxy.obj.taAnagBil.GetData()[0].CodSito;
+ CodCS = memLayer.ML.confReadString("CodCS");
}
// inserico riga generando il codice
- DS_Applicazione.TabCartelliniDataTable tabUdc = DataProxy.obj.taCartellini.stp_insNew(CodCompany, CodSito, CodBilancia, string.Format("{0:yy}", DateTime.Now), Tara, CodImballo, CodTipoDichiarazione, CodOperatore, "UDC_TARA"); // ATTENZIONE: "UDC_TARA" è "hard coded" nel db... !!!
+ DS_Applicazione.ElencoCartelliniDataTable tabCartellini = DataProxy.obj.taCartellini.stp_insNew(CodCS, CodBilancia, string.Format("{0:yy}", DateTime.Now), Tara, CodImballo, CodTipoDichiarazione, CodOperatore, "UDC_TARA"); // ATTENZIONE: "UDC_TARA" è "hard coded" nel db... !!!
// leggo la riga
try
{
- answ = tabUdc[0].UDC;
+ answ = tabCartellini[0].UDC;
}
catch
{ }
// output risultato
return answ;
}
+#if false
///
/// Fornisce un nuovo codice UDC tipo completo (con pezzi) a partire dalla richiesta e salva i dati
@@ -354,9 +367,12 @@ namespace GMW.WS
}
return answ;
}
-
+#endif
#endregion
+
+
+#if false
#region area stampe
///
@@ -386,5 +402,6 @@ namespace GMW.WS
}
#endregion
+#endif
}
}
diff --git a/GMW/GMW/Web.config b/GMW/GMW/Web.config
index fe511ccb..4c8950d7 100644
--- a/GMW/GMW/Web.config
+++ b/GMW/GMW/Web.config
@@ -84,6 +84,7 @@
+
diff --git a/GMW/GMW/bin/GMW.dll b/GMW/GMW/bin/GMW.dll
index 8bd55d7e..56d86fcf 100644
Binary files a/GMW/GMW/bin/GMW.dll and b/GMW/GMW/bin/GMW.dll differ
diff --git a/GMW/GMW/bin/GMW_data.dll b/GMW/GMW/bin/GMW_data.dll
index 30c2e3c8..e42a60ff 100644
Binary files a/GMW/GMW/bin/GMW_data.dll and b/GMW/GMW/bin/GMW_data.dll differ
diff --git a/GMW/GMW/obj/Debug/GMW.dll b/GMW/GMW/obj/Debug/GMW.dll
index 8bd55d7e..56d86fcf 100644
Binary files a/GMW/GMW/obj/Debug/GMW.dll and b/GMW/GMW/obj/Debug/GMW.dll differ
diff --git a/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache b/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache
index f9a91726..51c48afc 100644
Binary files a/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache and b/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache differ
diff --git a/GMW/GMW_data/DS_Applicazione.Designer.cs b/GMW/GMW_data/DS_Applicazione.Designer.cs
index 318efa82..88f46653 100644
--- a/GMW/GMW_data/DS_Applicazione.Designer.cs
+++ b/GMW/GMW_data/DS_Applicazione.Designer.cs
@@ -25,8 +25,6 @@ namespace GMW_data {
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
public partial class DS_Applicazione : global::System.Data.DataSet {
- private AnagBilanceDataTable tableAnagBilance;
-
private AnagStatiDataTable tableAnagStati;
private AnagTipoDichiarazDataTable tableAnagTipoDichiaraz;
@@ -49,7 +47,9 @@ namespace GMW_data {
private AnagCompanySitoDataTable tableAnagCompanySito;
- private TabCartelliniDataTable tableTabCartellini;
+ private AnagBilanceDataTable tableAnagBilance;
+
+ private ElencoCartelliniDataTable tableElencoCartellini;
private global::System.Data.DataRelation relationFK_Impianti2Articoli_AnagArticoli1;
@@ -59,13 +59,9 @@ namespace GMW_data {
private global::System.Data.DataRelation relationFK_AnagImpianti_AnagCompanySito;
- private global::System.Data.DataRelation relationFK_TabStatoOdpUdc_AnagArticoli1;
+ private global::System.Data.DataRelation relationFK_ElencoCartellini_AnagCompanySito;
- private global::System.Data.DataRelation relationFK_TabStatoOdpUdc_AnagImballi1;
-
- private global::System.Data.DataRelation relationFK_TabStatoOdpUdc_AnagStati1;
-
- private global::System.Data.DataRelation relationFK_TabStatoOdpUdc_AnagStatiProdotto1;
+ private global::System.Data.DataRelation relationFK_ElencoCartellini_AnagStatiProdotto;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
@@ -93,9 +89,6 @@ namespace GMW_data {
if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
global::System.Data.DataSet ds = new global::System.Data.DataSet();
ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
- if ((ds.Tables["AnagBilance"] != null)) {
- base.Tables.Add(new AnagBilanceDataTable(ds.Tables["AnagBilance"]));
- }
if ((ds.Tables["AnagStati"] != null)) {
base.Tables.Add(new AnagStatiDataTable(ds.Tables["AnagStati"]));
}
@@ -129,8 +122,11 @@ namespace GMW_data {
if ((ds.Tables["AnagCompanySito"] != null)) {
base.Tables.Add(new AnagCompanySitoDataTable(ds.Tables["AnagCompanySito"]));
}
- if ((ds.Tables["TabCartellini"] != null)) {
- base.Tables.Add(new TabCartelliniDataTable(ds.Tables["TabCartellini"]));
+ if ((ds.Tables["AnagBilance"] != null)) {
+ base.Tables.Add(new AnagBilanceDataTable(ds.Tables["AnagBilance"]));
+ }
+ if ((ds.Tables["ElencoCartellini"] != null)) {
+ base.Tables.Add(new ElencoCartelliniDataTable(ds.Tables["ElencoCartellini"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
@@ -150,15 +146,6 @@ namespace GMW_data {
this.Relations.CollectionChanged += schemaChangedHandler;
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Browsable(false)]
- [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
- public AnagBilanceDataTable AnagBilance {
- get {
- return this.tableAnagBilance;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
@@ -261,9 +248,18 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
- public TabCartelliniDataTable TabCartellini {
+ public AnagBilanceDataTable AnagBilance {
get {
- return this.tableTabCartellini;
+ return this.tableAnagBilance;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public ElencoCartelliniDataTable ElencoCartellini {
+ get {
+ return this.tableElencoCartellini;
}
}
@@ -326,9 +322,6 @@ namespace GMW_data {
this.Reset();
global::System.Data.DataSet ds = new global::System.Data.DataSet();
ds.ReadXml(reader);
- if ((ds.Tables["AnagBilance"] != null)) {
- base.Tables.Add(new AnagBilanceDataTable(ds.Tables["AnagBilance"]));
- }
if ((ds.Tables["AnagStati"] != null)) {
base.Tables.Add(new AnagStatiDataTable(ds.Tables["AnagStati"]));
}
@@ -362,8 +355,11 @@ namespace GMW_data {
if ((ds.Tables["AnagCompanySito"] != null)) {
base.Tables.Add(new AnagCompanySitoDataTable(ds.Tables["AnagCompanySito"]));
}
- if ((ds.Tables["TabCartellini"] != null)) {
- base.Tables.Add(new TabCartelliniDataTable(ds.Tables["TabCartellini"]));
+ if ((ds.Tables["AnagBilance"] != null)) {
+ base.Tables.Add(new AnagBilanceDataTable(ds.Tables["AnagBilance"]));
+ }
+ if ((ds.Tables["ElencoCartellini"] != null)) {
+ base.Tables.Add(new ElencoCartelliniDataTable(ds.Tables["ElencoCartellini"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
@@ -395,12 +391,6 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars(bool initTable) {
- this.tableAnagBilance = ((AnagBilanceDataTable)(base.Tables["AnagBilance"]));
- if ((initTable == true)) {
- if ((this.tableAnagBilance != null)) {
- this.tableAnagBilance.InitVars();
- }
- }
this.tableAnagStati = ((AnagStatiDataTable)(base.Tables["AnagStati"]));
if ((initTable == true)) {
if ((this.tableAnagStati != null)) {
@@ -467,20 +457,24 @@ namespace GMW_data {
this.tableAnagCompanySito.InitVars();
}
}
- this.tableTabCartellini = ((TabCartelliniDataTable)(base.Tables["TabCartellini"]));
+ this.tableAnagBilance = ((AnagBilanceDataTable)(base.Tables["AnagBilance"]));
if ((initTable == true)) {
- if ((this.tableTabCartellini != null)) {
- this.tableTabCartellini.InitVars();
+ if ((this.tableAnagBilance != null)) {
+ this.tableAnagBilance.InitVars();
+ }
+ }
+ this.tableElencoCartellini = ((ElencoCartelliniDataTable)(base.Tables["ElencoCartellini"]));
+ if ((initTable == true)) {
+ if ((this.tableElencoCartellini != null)) {
+ this.tableElencoCartellini.InitVars();
}
}
this.relationFK_Impianti2Articoli_AnagArticoli1 = this.Relations["FK_Impianti2Articoli_AnagArticoli1"];
this.relationFK_StoricoEventi_AnagTipoDichiaraz = this.Relations["FK_StoricoEventi_AnagTipoDichiaraz"];
this.relationFK_Impianti2Articoli_AnagImpianti = this.Relations["FK_Impianti2Articoli_AnagImpianti"];
this.relationFK_AnagImpianti_AnagCompanySito = this.Relations["FK_AnagImpianti_AnagCompanySito"];
- this.relationFK_TabStatoOdpUdc_AnagArticoli1 = this.Relations["FK_TabStatoOdpUdc_AnagArticoli1"];
- this.relationFK_TabStatoOdpUdc_AnagImballi1 = this.Relations["FK_TabStatoOdpUdc_AnagImballi1"];
- this.relationFK_TabStatoOdpUdc_AnagStati1 = this.Relations["FK_TabStatoOdpUdc_AnagStati1"];
- this.relationFK_TabStatoOdpUdc_AnagStatiProdotto1 = this.Relations["FK_TabStatoOdpUdc_AnagStatiProdotto1"];
+ this.relationFK_ElencoCartellini_AnagCompanySito = this.Relations["FK_ElencoCartellini_AnagCompanySito"];
+ this.relationFK_ElencoCartellini_AnagStatiProdotto = this.Relations["FK_ElencoCartellini_AnagStatiProdotto"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -490,8 +484,6 @@ namespace GMW_data {
this.Namespace = "http://tempuri.org/DS_Applicazione.xsd";
this.EnforceConstraints = true;
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
- this.tableAnagBilance = new AnagBilanceDataTable();
- base.Tables.Add(this.tableAnagBilance);
this.tableAnagStati = new AnagStatiDataTable();
base.Tables.Add(this.tableAnagStati);
this.tableAnagTipoDichiaraz = new AnagTipoDichiarazDataTable();
@@ -514,8 +506,10 @@ namespace GMW_data {
base.Tables.Add(this.tableAnagImpianti);
this.tableAnagCompanySito = new AnagCompanySitoDataTable();
base.Tables.Add(this.tableAnagCompanySito);
- this.tableTabCartellini = new TabCartelliniDataTable();
- base.Tables.Add(this.tableTabCartellini);
+ this.tableAnagBilance = new AnagBilanceDataTable();
+ base.Tables.Add(this.tableAnagBilance);
+ this.tableElencoCartellini = new ElencoCartelliniDataTable();
+ base.Tables.Add(this.tableElencoCartellini);
this.relationFK_Impianti2Articoli_AnagArticoli1 = new global::System.Data.DataRelation("FK_Impianti2Articoli_AnagArticoli1", new global::System.Data.DataColumn[] {
this.tableAnagArticoli.ParticolareColumn}, new global::System.Data.DataColumn[] {
this.tableImpianti2Articoli.ParticolareColumn}, false);
@@ -532,27 +526,14 @@ namespace GMW_data {
this.tableAnagCompanySito.CodCSColumn}, new global::System.Data.DataColumn[] {
this.tableAnagImpianti.CodCSColumn}, false);
this.Relations.Add(this.relationFK_AnagImpianti_AnagCompanySito);
- this.relationFK_TabStatoOdpUdc_AnagArticoli1 = new global::System.Data.DataRelation("FK_TabStatoOdpUdc_AnagArticoli1", new global::System.Data.DataColumn[] {
- this.tableAnagArticoli.ParticolareColumn}, new global::System.Data.DataColumn[] {
- this.tableTabCartellini.ParticolareColumn}, false);
- this.Relations.Add(this.relationFK_TabStatoOdpUdc_AnagArticoli1);
- this.relationFK_TabStatoOdpUdc_AnagImballi1 = new global::System.Data.DataRelation("FK_TabStatoOdpUdc_AnagImballi1", new global::System.Data.DataColumn[] {
- this.tableAnagImballi.CodImballoColumn}, new global::System.Data.DataColumn[] {
- this.tableTabCartellini.CodImballoColumn}, false);
- this.Relations.Add(this.relationFK_TabStatoOdpUdc_AnagImballi1);
- this.relationFK_TabStatoOdpUdc_AnagStati1 = new global::System.Data.DataRelation("FK_TabStatoOdpUdc_AnagStati1", new global::System.Data.DataColumn[] {
- this.tableAnagStati.IdxStatoColumn}, new global::System.Data.DataColumn[] {
- this.tableTabCartellini.IdxStatoColumn}, false);
- this.Relations.Add(this.relationFK_TabStatoOdpUdc_AnagStati1);
- this.relationFK_TabStatoOdpUdc_AnagStatiProdotto1 = new global::System.Data.DataRelation("FK_TabStatoOdpUdc_AnagStatiProdotto1", new global::System.Data.DataColumn[] {
+ this.relationFK_ElencoCartellini_AnagCompanySito = new global::System.Data.DataRelation("FK_ElencoCartellini_AnagCompanySito", new global::System.Data.DataColumn[] {
+ this.tableAnagCompanySito.CodCSColumn}, new global::System.Data.DataColumn[] {
+ this.tableElencoCartellini.CodCSColumn}, false);
+ this.Relations.Add(this.relationFK_ElencoCartellini_AnagCompanySito);
+ this.relationFK_ElencoCartellini_AnagStatiProdotto = new global::System.Data.DataRelation("FK_ElencoCartellini_AnagStatiProdotto", new global::System.Data.DataColumn[] {
this.tableAnagStatiProdotto.CodStatoColumn}, new global::System.Data.DataColumn[] {
- this.tableTabCartellini.CodStatoColumn}, false);
- this.Relations.Add(this.relationFK_TabStatoOdpUdc_AnagStatiProdotto1);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private bool ShouldSerializeAnagBilance() {
- return false;
+ this.tableElencoCartellini.CodStatoColumn}, false);
+ this.Relations.Add(this.relationFK_ElencoCartellini_AnagStatiProdotto);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -611,7 +592,12 @@ namespace GMW_data {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private bool ShouldSerializeTabCartellini() {
+ private bool ShouldSerializeAnagBilance() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private bool ShouldSerializeElencoCartellini() {
return false;
}
@@ -668,8 +654,6 @@ namespace GMW_data {
return type;
}
- public delegate void AnagBilanceRowChangeEventHandler(object sender, AnagBilanceRowChangeEvent e);
-
public delegate void AnagStatiRowChangeEventHandler(object sender, AnagStatiRowChangeEvent e);
public delegate void AnagTipoDichiarazRowChangeEventHandler(object sender, AnagTipoDichiarazRowChangeEvent e);
@@ -692,283 +676,9 @@ namespace GMW_data {
public delegate void AnagCompanySitoRowChangeEventHandler(object sender, AnagCompanySitoRowChangeEvent e);
- public delegate void TabCartelliniRowChangeEventHandler(object sender, TabCartelliniRowChangeEvent e);
+ public delegate void AnagBilanceRowChangeEventHandler(object sender, AnagBilanceRowChangeEvent e);
- ///
- ///Represents the strongly named DataTable class.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [global::System.Serializable()]
- [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class AnagBilanceDataTable : global::System.Data.TypedTableBase {
-
- private global::System.Data.DataColumn columnCodBilancia;
-
- private global::System.Data.DataColumn columnDescrImpianto;
-
- private global::System.Data.DataColumn columnCodCompany;
-
- private global::System.Data.DataColumn columnCodSito;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public AnagBilanceDataTable() {
- this.TableName = "AnagBilance";
- this.BeginInit();
- this.InitClass();
- this.EndInit();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal AnagBilanceDataTable(global::System.Data.DataTable table) {
- this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
- this.CaseSensitive = table.CaseSensitive;
- }
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
- this.Locale = table.Locale;
- }
- if ((table.Namespace != table.DataSet.Namespace)) {
- this.Namespace = table.Namespace;
- }
- this.Prefix = table.Prefix;
- this.MinimumCapacity = table.MinimumCapacity;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected AnagBilanceDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context) {
- this.InitVars();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn CodBilanciaColumn {
- get {
- return this.columnCodBilancia;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn DescrImpiantoColumn {
- get {
- return this.columnDescrImpianto;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn CodCompanyColumn {
- get {
- return this.columnCodCompany;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn CodSitoColumn {
- get {
- return this.columnCodSito;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Browsable(false)]
- public int Count {
- get {
- return this.Rows.Count;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public AnagBilanceRow this[int index] {
- get {
- return ((AnagBilanceRow)(this.Rows[index]));
- }
- }
-
- public event AnagBilanceRowChangeEventHandler AnagBilanceRowChanging;
-
- public event AnagBilanceRowChangeEventHandler AnagBilanceRowChanged;
-
- public event AnagBilanceRowChangeEventHandler AnagBilanceRowDeleting;
-
- public event AnagBilanceRowChangeEventHandler AnagBilanceRowDeleted;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void AddAnagBilanceRow(AnagBilanceRow row) {
- this.Rows.Add(row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public AnagBilanceRow AddAnagBilanceRow(string CodBilancia, string DescrImpianto, string CodCompany, string CodSito) {
- AnagBilanceRow rowAnagBilanceRow = ((AnagBilanceRow)(this.NewRow()));
- object[] columnValuesArray = new object[] {
- CodBilancia,
- DescrImpianto,
- CodCompany,
- CodSito};
- rowAnagBilanceRow.ItemArray = columnValuesArray;
- this.Rows.Add(rowAnagBilanceRow);
- return rowAnagBilanceRow;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public AnagBilanceRow FindByCodBilancia(string CodBilancia) {
- return ((AnagBilanceRow)(this.Rows.Find(new object[] {
- CodBilancia})));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public override global::System.Data.DataTable Clone() {
- AnagBilanceDataTable cln = ((AnagBilanceDataTable)(base.Clone()));
- cln.InitVars();
- return cln;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override global::System.Data.DataTable CreateInstance() {
- return new AnagBilanceDataTable();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal void InitVars() {
- this.columnCodBilancia = base.Columns["CodBilancia"];
- this.columnDescrImpianto = base.Columns["DescrImpianto"];
- this.columnCodCompany = base.Columns["CodCompany"];
- this.columnCodSito = base.Columns["CodSito"];
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private void InitClass() {
- this.columnCodBilancia = new global::System.Data.DataColumn("CodBilancia", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnCodBilancia);
- this.columnDescrImpianto = new global::System.Data.DataColumn("DescrImpianto", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnDescrImpianto);
- this.columnCodCompany = new global::System.Data.DataColumn("CodCompany", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnCodCompany);
- this.columnCodSito = new global::System.Data.DataColumn("CodSito", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnCodSito);
- this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
- this.columnCodBilancia}, true));
- this.columnCodBilancia.AllowDBNull = false;
- this.columnCodBilancia.Unique = true;
- this.columnCodBilancia.MaxLength = 50;
- this.columnDescrImpianto.MaxLength = 50;
- this.columnCodCompany.MaxLength = 4;
- this.columnCodSito.MaxLength = 10;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public AnagBilanceRow NewAnagBilanceRow() {
- return ((AnagBilanceRow)(this.NewRow()));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
- return new AnagBilanceRow(builder);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override global::System.Type GetRowType() {
- return typeof(AnagBilanceRow);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanged(e);
- if ((this.AnagBilanceRowChanged != null)) {
- this.AnagBilanceRowChanged(this, new AnagBilanceRowChangeEvent(((AnagBilanceRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanging(e);
- if ((this.AnagBilanceRowChanging != null)) {
- this.AnagBilanceRowChanging(this, new AnagBilanceRowChangeEvent(((AnagBilanceRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleted(e);
- if ((this.AnagBilanceRowDeleted != null)) {
- this.AnagBilanceRowDeleted(this, new AnagBilanceRowChangeEvent(((AnagBilanceRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleting(e);
- if ((this.AnagBilanceRowDeleting != null)) {
- this.AnagBilanceRowDeleting(this, new AnagBilanceRowChangeEvent(((AnagBilanceRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void RemoveAnagBilanceRow(AnagBilanceRow row) {
- this.Rows.Remove(row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
- global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
- global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
- DS_Applicazione ds = new DS_Applicazione();
- global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
- any1.Namespace = "http://www.w3.org/2001/XMLSchema";
- any1.MinOccurs = new decimal(0);
- any1.MaxOccurs = decimal.MaxValue;
- any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any1);
- global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
- any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- any2.MinOccurs = new decimal(1);
- any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any2);
- global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute1.Name = "namespace";
- attribute1.FixedValue = ds.Namespace;
- type.Attributes.Add(attribute1);
- global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute2.Name = "tableTypeName";
- attribute2.FixedValue = "AnagBilanceDataTable";
- 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;
- }
- }
+ public delegate void ElencoCartelliniRowChangeEventHandler(object sender, ElencoCartelliniRowChangeEvent e);
///
///Represents the strongly named DataTable class.
@@ -4195,52 +3905,24 @@ namespace GMW_data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class TabCartelliniDataTable : global::System.Data.TypedTableBase {
+ public partial class AnagBilanceDataTable : global::System.Data.TypedTableBase {
- private global::System.Data.DataColumn columnCodCompany;
+ private global::System.Data.DataColumn columnCodBilancia;
- private global::System.Data.DataColumn columnODP;
+ private global::System.Data.DataColumn columnDescrImpianto;
- private global::System.Data.DataColumn columnUDC;
-
- private global::System.Data.DataColumn columnTara;
-
- private global::System.Data.DataColumn columnIdxStato;
-
- private global::System.Data.DataColumn columnQta;
-
- private global::System.Data.DataColumn columnCodImballo;
-
- private global::System.Data.DataColumn columnCodImpianto;
-
- private global::System.Data.DataColumn columnParticolare;
-
- private global::System.Data.DataColumn columnCodStato;
-
- private global::System.Data.DataColumn columnCodStampo;
-
- private global::System.Data.DataColumn columnFigura;
-
- private global::System.Data.DataColumn columnFiguraIncisa;
-
- private global::System.Data.DataColumn columnPesoTot;
-
- private global::System.Data.DataColumn columnPesoCad;
-
- private global::System.Data.DataColumn columnCreateDate;
-
- private global::System.Data.DataColumn columnModDate;
+ private global::System.Data.DataColumn columnCodCS;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public TabCartelliniDataTable() {
- this.TableName = "TabCartellini";
+ public AnagBilanceDataTable() {
+ this.TableName = "AnagBilance";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal TabCartelliniDataTable(global::System.Data.DataTable table) {
+ internal AnagBilanceDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
@@ -4256,127 +3938,29 @@ namespace GMW_data {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected TabCartelliniDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ protected AnagBilanceDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn CodCompanyColumn {
+ public global::System.Data.DataColumn CodBilanciaColumn {
get {
- return this.columnCodCompany;
+ return this.columnCodBilancia;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn ODPColumn {
+ public global::System.Data.DataColumn DescrImpiantoColumn {
get {
- return this.columnODP;
+ return this.columnDescrImpianto;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn UDCColumn {
+ public global::System.Data.DataColumn CodCSColumn {
get {
- return this.columnUDC;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn TaraColumn {
- get {
- return this.columnTara;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn IdxStatoColumn {
- get {
- return this.columnIdxStato;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn QtaColumn {
- get {
- return this.columnQta;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn CodImballoColumn {
- get {
- return this.columnCodImballo;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn CodImpiantoColumn {
- get {
- return this.columnCodImpianto;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn ParticolareColumn {
- get {
- return this.columnParticolare;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn CodStatoColumn {
- get {
- return this.columnCodStato;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn CodStampoColumn {
- get {
- return this.columnCodStampo;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn FiguraColumn {
- get {
- return this.columnFigura;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn FiguraIncisaColumn {
- get {
- return this.columnFiguraIncisa;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn PesoTotColumn {
- get {
- return this.columnPesoTot;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn PesoCadColumn {
- get {
- return this.columnPesoCad;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn CreateDateColumn {
- get {
- return this.columnCreateDate;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn ModDateColumn {
- get {
- return this.columnModDate;
+ return this.columnCodCS;
}
}
@@ -4389,225 +3973,128 @@ namespace GMW_data {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public TabCartelliniRow this[int index] {
+ public AnagBilanceRow this[int index] {
get {
- return ((TabCartelliniRow)(this.Rows[index]));
+ return ((AnagBilanceRow)(this.Rows[index]));
}
}
- public event TabCartelliniRowChangeEventHandler TabCartelliniRowChanging;
+ public event AnagBilanceRowChangeEventHandler AnagBilanceRowChanging;
- public event TabCartelliniRowChangeEventHandler TabCartelliniRowChanged;
+ public event AnagBilanceRowChangeEventHandler AnagBilanceRowChanged;
- public event TabCartelliniRowChangeEventHandler TabCartelliniRowDeleting;
+ public event AnagBilanceRowChangeEventHandler AnagBilanceRowDeleting;
- public event TabCartelliniRowChangeEventHandler TabCartelliniRowDeleted;
+ public event AnagBilanceRowChangeEventHandler AnagBilanceRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void AddTabCartelliniRow(TabCartelliniRow row) {
+ public void AddAnagBilanceRow(AnagBilanceRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public TabCartelliniRow AddTabCartelliniRow(
- string CodCompany,
- string ODP,
- string UDC,
- double Tara,
- AnagStatiRow parentAnagStatiRowByFK_TabStatoOdpUdc_AnagStati1,
- decimal Qta,
- AnagImballiRow parentAnagImballiRowByFK_TabStatoOdpUdc_AnagImballi1,
- string CodImpianto,
- AnagArticoliRow parentAnagArticoliRowByFK_TabStatoOdpUdc_AnagArticoli1,
- AnagStatiProdottoRow parentAnagStatiProdottoRowByFK_TabStatoOdpUdc_AnagStatiProdotto1,
- string CodStampo,
- string Figura,
- string FiguraIncisa,
- double PesoTot,
- double PesoCad,
- System.DateTime CreateDate,
- System.DateTime ModDate) {
- TabCartelliniRow rowTabCartelliniRow = ((TabCartelliniRow)(this.NewRow()));
+ public AnagBilanceRow AddAnagBilanceRow(string CodBilancia, string DescrImpianto, string CodCS) {
+ AnagBilanceRow rowAnagBilanceRow = ((AnagBilanceRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
- CodCompany,
- ODP,
- UDC,
- Tara,
- null,
- Qta,
- null,
- CodImpianto,
- null,
- null,
- CodStampo,
- Figura,
- FiguraIncisa,
- PesoTot,
- PesoCad,
- CreateDate,
- ModDate};
- if ((parentAnagStatiRowByFK_TabStatoOdpUdc_AnagStati1 != null)) {
- columnValuesArray[4] = parentAnagStatiRowByFK_TabStatoOdpUdc_AnagStati1[0];
- }
- if ((parentAnagImballiRowByFK_TabStatoOdpUdc_AnagImballi1 != null)) {
- columnValuesArray[6] = parentAnagImballiRowByFK_TabStatoOdpUdc_AnagImballi1[0];
- }
- if ((parentAnagArticoliRowByFK_TabStatoOdpUdc_AnagArticoli1 != null)) {
- columnValuesArray[8] = parentAnagArticoliRowByFK_TabStatoOdpUdc_AnagArticoli1[0];
- }
- if ((parentAnagStatiProdottoRowByFK_TabStatoOdpUdc_AnagStatiProdotto1 != null)) {
- columnValuesArray[9] = parentAnagStatiProdottoRowByFK_TabStatoOdpUdc_AnagStatiProdotto1[0];
- }
- rowTabCartelliniRow.ItemArray = columnValuesArray;
- this.Rows.Add(rowTabCartelliniRow);
- return rowTabCartelliniRow;
+ CodBilancia,
+ DescrImpianto,
+ CodCS};
+ rowAnagBilanceRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowAnagBilanceRow);
+ return rowAnagBilanceRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public TabCartelliniRow FindByCodCompanyODPUDC(string CodCompany, string ODP, string UDC) {
- return ((TabCartelliniRow)(this.Rows.Find(new object[] {
- CodCompany,
- ODP,
- UDC})));
+ public AnagBilanceRow FindByCodBilancia(string CodBilancia) {
+ return ((AnagBilanceRow)(this.Rows.Find(new object[] {
+ CodBilancia})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override global::System.Data.DataTable Clone() {
- TabCartelliniDataTable cln = ((TabCartelliniDataTable)(base.Clone()));
+ AnagBilanceDataTable cln = ((AnagBilanceDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataTable CreateInstance() {
- return new TabCartelliniDataTable();
+ return new AnagBilanceDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
- this.columnCodCompany = base.Columns["CodCompany"];
- this.columnODP = base.Columns["ODP"];
- this.columnUDC = base.Columns["UDC"];
- this.columnTara = base.Columns["Tara"];
- this.columnIdxStato = base.Columns["IdxStato"];
- this.columnQta = base.Columns["Qta"];
- this.columnCodImballo = base.Columns["CodImballo"];
- this.columnCodImpianto = base.Columns["CodImpianto"];
- this.columnParticolare = base.Columns["Particolare"];
- this.columnCodStato = base.Columns["CodStato"];
- this.columnCodStampo = base.Columns["CodStampo"];
- this.columnFigura = base.Columns["Figura"];
- this.columnFiguraIncisa = base.Columns["FiguraIncisa"];
- this.columnPesoTot = base.Columns["PesoTot"];
- this.columnPesoCad = base.Columns["PesoCad"];
- this.columnCreateDate = base.Columns["CreateDate"];
- this.columnModDate = base.Columns["ModDate"];
+ this.columnCodBilancia = base.Columns["CodBilancia"];
+ this.columnDescrImpianto = base.Columns["DescrImpianto"];
+ this.columnCodCS = base.Columns["CodCS"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
- this.columnCodCompany = new global::System.Data.DataColumn("CodCompany", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnCodCompany);
- this.columnODP = new global::System.Data.DataColumn("ODP", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnODP);
- this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnUDC);
- this.columnTara = new global::System.Data.DataColumn("Tara", typeof(double), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnTara);
- this.columnIdxStato = new global::System.Data.DataColumn("IdxStato", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnIdxStato);
- this.columnQta = new global::System.Data.DataColumn("Qta", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnQta);
- this.columnCodImballo = new global::System.Data.DataColumn("CodImballo", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnCodImballo);
- this.columnCodImpianto = new global::System.Data.DataColumn("CodImpianto", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnCodImpianto);
- this.columnParticolare = new global::System.Data.DataColumn("Particolare", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnParticolare);
- this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnCodStato);
- this.columnCodStampo = new global::System.Data.DataColumn("CodStampo", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnCodStampo);
- this.columnFigura = new global::System.Data.DataColumn("Figura", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnFigura);
- this.columnFiguraIncisa = new global::System.Data.DataColumn("FiguraIncisa", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnFiguraIncisa);
- this.columnPesoTot = new global::System.Data.DataColumn("PesoTot", typeof(double), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnPesoTot);
- this.columnPesoCad = new global::System.Data.DataColumn("PesoCad", typeof(double), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnPesoCad);
- this.columnCreateDate = new global::System.Data.DataColumn("CreateDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnCreateDate);
- this.columnModDate = new global::System.Data.DataColumn("ModDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnModDate);
+ this.columnCodBilancia = new global::System.Data.DataColumn("CodBilancia", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodBilancia);
+ this.columnDescrImpianto = new global::System.Data.DataColumn("DescrImpianto", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDescrImpianto);
+ this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodCS);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
- this.columnCodCompany,
- this.columnODP,
- this.columnUDC}, true));
- this.columnCodCompany.AllowDBNull = false;
- this.columnCodCompany.MaxLength = 4;
- this.columnODP.AllowDBNull = false;
- this.columnODP.MaxLength = 20;
- this.columnUDC.AllowDBNull = false;
- this.columnUDC.MaxLength = 50;
- this.columnCodImballo.MaxLength = 50;
- this.columnCodImpianto.MaxLength = 50;
- this.columnParticolare.MaxLength = 50;
- this.columnCodStato.MaxLength = 50;
- this.columnCodStampo.MaxLength = 50;
- this.columnFigura.MaxLength = 50;
- this.columnFiguraIncisa.MaxLength = 50;
+ this.columnCodBilancia}, true));
+ this.columnCodBilancia.AllowDBNull = false;
+ this.columnCodBilancia.Unique = true;
+ this.columnCodBilancia.MaxLength = 50;
+ this.columnDescrImpianto.MaxLength = 50;
+ this.columnCodCS.MaxLength = 2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public TabCartelliniRow NewTabCartelliniRow() {
- return ((TabCartelliniRow)(this.NewRow()));
+ public AnagBilanceRow NewAnagBilanceRow() {
+ return ((AnagBilanceRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
- return new TabCartelliniRow(builder);
+ return new AnagBilanceRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Type GetRowType() {
- return typeof(TabCartelliniRow);
+ return typeof(AnagBilanceRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
- if ((this.TabCartelliniRowChanged != null)) {
- this.TabCartelliniRowChanged(this, new TabCartelliniRowChangeEvent(((TabCartelliniRow)(e.Row)), e.Action));
+ if ((this.AnagBilanceRowChanged != null)) {
+ this.AnagBilanceRowChanged(this, new AnagBilanceRowChangeEvent(((AnagBilanceRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
- if ((this.TabCartelliniRowChanging != null)) {
- this.TabCartelliniRowChanging(this, new TabCartelliniRowChangeEvent(((TabCartelliniRow)(e.Row)), e.Action));
+ if ((this.AnagBilanceRowChanging != null)) {
+ this.AnagBilanceRowChanging(this, new AnagBilanceRowChangeEvent(((AnagBilanceRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
- if ((this.TabCartelliniRowDeleted != null)) {
- this.TabCartelliniRowDeleted(this, new TabCartelliniRowChangeEvent(((TabCartelliniRow)(e.Row)), e.Action));
+ if ((this.AnagBilanceRowDeleted != null)) {
+ this.AnagBilanceRowDeleted(this, new AnagBilanceRowChangeEvent(((AnagBilanceRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
- if ((this.TabCartelliniRowDeleting != null)) {
- this.TabCartelliniRowDeleting(this, new TabCartelliniRowChangeEvent(((TabCartelliniRow)(e.Row)), e.Action));
+ if ((this.AnagBilanceRowDeleting != null)) {
+ this.AnagBilanceRowDeleting(this, new AnagBilanceRowChangeEvent(((AnagBilanceRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void RemoveTabCartelliniRow(TabCartelliniRow row) {
+ public void RemoveAnagBilanceRow(AnagBilanceRow row) {
this.Rows.Remove(row);
}
@@ -4633,7 +4120,7 @@ namespace GMW_data {
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
- attribute2.FixedValue = "TabCartelliniDataTable";
+ attribute2.FixedValue = "AnagBilanceDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
@@ -4675,102 +4162,593 @@ namespace GMW_data {
}
///
- ///Represents strongly named DataRow class.
+ ///Represents the strongly named DataTable class.
///
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public partial class AnagBilanceRow : global::System.Data.DataRow {
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class ElencoCartelliniDataTable : global::System.Data.TypedTableBase {
- private AnagBilanceDataTable tableAnagBilance;
+ private global::System.Data.DataColumn columnUDC;
+
+ private global::System.Data.DataColumn columnCodCS;
+
+ private global::System.Data.DataColumn columnCodCliente;
+
+ private global::System.Data.DataColumn columnRagSociale;
+
+ private global::System.Data.DataColumn columnParticolare;
+
+ private global::System.Data.DataColumn columnDescParticolare;
+
+ private global::System.Data.DataColumn columnDisegnoGrezzo;
+
+ private global::System.Data.DataColumn columnEsponente;
+
+ private global::System.Data.DataColumn columnCodImpianto;
+
+ private global::System.Data.DataColumn columnDescImpianto;
+
+ private global::System.Data.DataColumn columnCodStampo;
+
+ private global::System.Data.DataColumn columnFigura;
+
+ private global::System.Data.DataColumn columnDataFus;
+
+ private global::System.Data.DataColumn columnTurnoFus;
+
+ private global::System.Data.DataColumn columnCodImballo;
+
+ private global::System.Data.DataColumn columnCodSoggetto;
+
+ private global::System.Data.DataColumn columnNumCont;
+
+ private global::System.Data.DataColumn columnTara;
+
+ private global::System.Data.DataColumn columnQta;
+
+ private global::System.Data.DataColumn columnCodStato;
+
+ private global::System.Data.DataColumn columnIdxPosizione;
+
+ private global::System.Data.DataColumn columnPesoTot;
+
+ private global::System.Data.DataColumn columnPesoCad;
+
+ private global::System.Data.DataColumn columnCreateDate;
+
+ private global::System.Data.DataColumn columnModDate;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal AnagBilanceRow(global::System.Data.DataRowBuilder rb) :
- base(rb) {
- this.tableAnagBilance = ((AnagBilanceDataTable)(this.Table));
+ public ElencoCartelliniDataTable() {
+ this.TableName = "ElencoCartellini";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public string CodBilancia {
- get {
- return ((string)(this[this.tableAnagBilance.CodBilanciaColumn]));
+ internal ElencoCartelliniDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
}
- set {
- this[this.tableAnagBilance.CodBilanciaColumn] = value;
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected ElencoCartelliniDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn UDCColumn {
+ get {
+ return this.columnUDC;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public string DescrImpianto {
+ public global::System.Data.DataColumn CodCSColumn {
get {
+ return this.columnCodCS;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn CodClienteColumn {
+ get {
+ return this.columnCodCliente;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn RagSocialeColumn {
+ get {
+ return this.columnRagSociale;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn ParticolareColumn {
+ get {
+ return this.columnParticolare;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn DescParticolareColumn {
+ get {
+ return this.columnDescParticolare;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn DisegnoGrezzoColumn {
+ get {
+ return this.columnDisegnoGrezzo;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn EsponenteColumn {
+ get {
+ return this.columnEsponente;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn CodImpiantoColumn {
+ get {
+ return this.columnCodImpianto;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn DescImpiantoColumn {
+ get {
+ return this.columnDescImpianto;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn CodStampoColumn {
+ get {
+ return this.columnCodStampo;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn FiguraColumn {
+ get {
+ return this.columnFigura;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn DataFusColumn {
+ get {
+ return this.columnDataFus;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn TurnoFusColumn {
+ get {
+ return this.columnTurnoFus;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn CodImballoColumn {
+ get {
+ return this.columnCodImballo;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn CodSoggettoColumn {
+ get {
+ return this.columnCodSoggetto;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn NumContColumn {
+ get {
+ return this.columnNumCont;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn TaraColumn {
+ get {
+ return this.columnTara;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn QtaColumn {
+ get {
+ return this.columnQta;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn CodStatoColumn {
+ get {
+ return this.columnCodStato;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn IdxPosizioneColumn {
+ get {
+ return this.columnIdxPosizione;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn PesoTotColumn {
+ get {
+ return this.columnPesoTot;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn PesoCadColumn {
+ get {
+ return this.columnPesoCad;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn CreateDateColumn {
+ get {
+ return this.columnCreateDate;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataColumn ModDateColumn {
+ get {
+ return this.columnModDate;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public ElencoCartelliniRow this[int index] {
+ get {
+ return ((ElencoCartelliniRow)(this.Rows[index]));
+ }
+ }
+
+ public event ElencoCartelliniRowChangeEventHandler ElencoCartelliniRowChanging;
+
+ public event ElencoCartelliniRowChangeEventHandler ElencoCartelliniRowChanged;
+
+ public event ElencoCartelliniRowChangeEventHandler ElencoCartelliniRowDeleting;
+
+ public event ElencoCartelliniRowChangeEventHandler ElencoCartelliniRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void AddElencoCartelliniRow(ElencoCartelliniRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public ElencoCartelliniRow AddElencoCartelliniRow(
+ string UDC,
+ AnagCompanySitoRow parentAnagCompanySitoRowByFK_ElencoCartellini_AnagCompanySito,
+ string CodCliente,
+ string RagSociale,
+ string Particolare,
+ string DescParticolare,
+ string DisegnoGrezzo,
+ string Esponente,
+ string CodImpianto,
+ string DescImpianto,
+ string CodStampo,
+ string Figura,
+ System.DateTime DataFus,
+ int TurnoFus,
+ string CodImballo,
+ string CodSoggetto,
+ int NumCont,
+ double Tara,
+ decimal Qta,
+ AnagStatiProdottoRow parentAnagStatiProdottoRowByFK_ElencoCartellini_AnagStatiProdotto,
+ int IdxPosizione,
+ double PesoTot,
+ double PesoCad,
+ System.DateTime CreateDate,
+ System.DateTime ModDate) {
+ ElencoCartelliniRow rowElencoCartelliniRow = ((ElencoCartelliniRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ UDC,
+ null,
+ CodCliente,
+ RagSociale,
+ Particolare,
+ DescParticolare,
+ DisegnoGrezzo,
+ Esponente,
+ CodImpianto,
+ DescImpianto,
+ CodStampo,
+ Figura,
+ DataFus,
+ TurnoFus,
+ CodImballo,
+ CodSoggetto,
+ NumCont,
+ Tara,
+ Qta,
+ null,
+ IdxPosizione,
+ PesoTot,
+ PesoCad,
+ CreateDate,
+ ModDate};
+ if ((parentAnagCompanySitoRowByFK_ElencoCartellini_AnagCompanySito != null)) {
+ columnValuesArray[1] = parentAnagCompanySitoRowByFK_ElencoCartellini_AnagCompanySito[0];
+ }
+ if ((parentAnagStatiProdottoRowByFK_ElencoCartellini_AnagStatiProdotto != null)) {
+ columnValuesArray[19] = parentAnagStatiProdottoRowByFK_ElencoCartellini_AnagStatiProdotto[0];
+ }
+ rowElencoCartelliniRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowElencoCartelliniRow);
+ return rowElencoCartelliniRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public ElencoCartelliniRow FindByUDC(string UDC) {
+ return ((ElencoCartelliniRow)(this.Rows.Find(new object[] {
+ UDC})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public override global::System.Data.DataTable Clone() {
+ ElencoCartelliniDataTable cln = ((ElencoCartelliniDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new ElencoCartelliniDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ internal void InitVars() {
+ this.columnUDC = base.Columns["UDC"];
+ this.columnCodCS = base.Columns["CodCS"];
+ this.columnCodCliente = base.Columns["CodCliente"];
+ this.columnRagSociale = base.Columns["RagSociale"];
+ this.columnParticolare = base.Columns["Particolare"];
+ this.columnDescParticolare = base.Columns["DescParticolare"];
+ this.columnDisegnoGrezzo = base.Columns["DisegnoGrezzo"];
+ this.columnEsponente = base.Columns["Esponente"];
+ this.columnCodImpianto = base.Columns["CodImpianto"];
+ this.columnDescImpianto = base.Columns["DescImpianto"];
+ this.columnCodStampo = base.Columns["CodStampo"];
+ this.columnFigura = base.Columns["Figura"];
+ this.columnDataFus = base.Columns["DataFus"];
+ this.columnTurnoFus = base.Columns["TurnoFus"];
+ this.columnCodImballo = base.Columns["CodImballo"];
+ this.columnCodSoggetto = base.Columns["CodSoggetto"];
+ this.columnNumCont = base.Columns["NumCont"];
+ this.columnTara = base.Columns["Tara"];
+ this.columnQta = base.Columns["Qta"];
+ this.columnCodStato = base.Columns["CodStato"];
+ this.columnIdxPosizione = base.Columns["IdxPosizione"];
+ this.columnPesoTot = base.Columns["PesoTot"];
+ this.columnPesoCad = base.Columns["PesoCad"];
+ this.columnCreateDate = base.Columns["CreateDate"];
+ this.columnModDate = base.Columns["ModDate"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private void InitClass() {
+ this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnUDC);
+ this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodCS);
+ this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodCliente);
+ this.columnRagSociale = new global::System.Data.DataColumn("RagSociale", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnRagSociale);
+ 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.columnDisegnoGrezzo = new global::System.Data.DataColumn("DisegnoGrezzo", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDisegnoGrezzo);
+ this.columnEsponente = new global::System.Data.DataColumn("Esponente", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnEsponente);
+ this.columnCodImpianto = new global::System.Data.DataColumn("CodImpianto", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodImpianto);
+ this.columnDescImpianto = new global::System.Data.DataColumn("DescImpianto", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDescImpianto);
+ this.columnCodStampo = new global::System.Data.DataColumn("CodStampo", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodStampo);
+ this.columnFigura = new global::System.Data.DataColumn("Figura", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFigura);
+ this.columnDataFus = new global::System.Data.DataColumn("DataFus", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDataFus);
+ this.columnTurnoFus = new global::System.Data.DataColumn("TurnoFus", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnTurnoFus);
+ this.columnCodImballo = new global::System.Data.DataColumn("CodImballo", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodImballo);
+ this.columnCodSoggetto = new global::System.Data.DataColumn("CodSoggetto", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodSoggetto);
+ this.columnNumCont = new global::System.Data.DataColumn("NumCont", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNumCont);
+ this.columnTara = new global::System.Data.DataColumn("Tara", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnTara);
+ this.columnQta = new global::System.Data.DataColumn("Qta", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnQta);
+ this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodStato);
+ this.columnIdxPosizione = new global::System.Data.DataColumn("IdxPosizione", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIdxPosizione);
+ this.columnPesoTot = new global::System.Data.DataColumn("PesoTot", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPesoTot);
+ this.columnPesoCad = new global::System.Data.DataColumn("PesoCad", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPesoCad);
+ this.columnCreateDate = new global::System.Data.DataColumn("CreateDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCreateDate);
+ this.columnModDate = new global::System.Data.DataColumn("ModDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnModDate);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnUDC}, true));
+ this.columnUDC.AllowDBNull = false;
+ this.columnUDC.Unique = true;
+ this.columnUDC.MaxLength = 50;
+ this.columnCodCS.MaxLength = 2;
+ this.columnCodCliente.MaxLength = 6;
+ this.columnRagSociale.MaxLength = 35;
+ this.columnParticolare.MaxLength = 15;
+ this.columnDescParticolare.MaxLength = 30;
+ this.columnDisegnoGrezzo.MaxLength = 30;
+ this.columnEsponente.MaxLength = 6;
+ this.columnCodImpianto.MaxLength = 50;
+ this.columnDescImpianto.MaxLength = 50;
+ this.columnCodStampo.MaxLength = 8;
+ this.columnFigura.MaxLength = 4;
+ this.columnCodImballo.MaxLength = 15;
+ this.columnCodSoggetto.MaxLength = 16;
+ this.columnCodStato.MaxLength = 50;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public ElencoCartelliniRow NewElencoCartelliniRow() {
+ return ((ElencoCartelliniRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new ElencoCartelliniRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override global::System.Type GetRowType() {
+ return typeof(ElencoCartelliniRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.ElencoCartelliniRowChanged != null)) {
+ this.ElencoCartelliniRowChanged(this, new ElencoCartelliniRowChangeEvent(((ElencoCartelliniRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.ElencoCartelliniRowChanging != null)) {
+ this.ElencoCartelliniRowChanging(this, new ElencoCartelliniRowChangeEvent(((ElencoCartelliniRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.ElencoCartelliniRowDeleted != null)) {
+ this.ElencoCartelliniRowDeleted(this, new ElencoCartelliniRowChangeEvent(((ElencoCartelliniRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.ElencoCartelliniRowDeleting != null)) {
+ this.ElencoCartelliniRowDeleting(this, new ElencoCartelliniRowChangeEvent(((ElencoCartelliniRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void RemoveElencoCartelliniRow(ElencoCartelliniRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Applicazione ds = new DS_Applicazione();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "ElencoCartelliniDataTable";
+ 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 {
- return ((string)(this[this.tableAnagBilance.DescrImpiantoColumn]));
+ 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;
+ }
+ }
+ }
}
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'DescrImpianto\' in table \'AnagBilance\' is DBNull.", e);
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
}
}
- set {
- this[this.tableAnagBilance.DescrImpiantoColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public string CodCompany {
- get {
- try {
- return ((string)(this[this.tableAnagBilance.CodCompanyColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'CodCompany\' in table \'AnagBilance\' is DBNull.", e);
- }
- }
- set {
- this[this.tableAnagBilance.CodCompanyColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public string CodSito {
- get {
- try {
- return ((string)(this[this.tableAnagBilance.CodSitoColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'CodSito\' in table \'AnagBilance\' is DBNull.", e);
- }
- }
- set {
- this[this.tableAnagBilance.CodSitoColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public bool IsDescrImpiantoNull() {
- return this.IsNull(this.tableAnagBilance.DescrImpiantoColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void SetDescrImpiantoNull() {
- this[this.tableAnagBilance.DescrImpiantoColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public bool IsCodCompanyNull() {
- return this.IsNull(this.tableAnagBilance.CodCompanyColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void SetCodCompanyNull() {
- this[this.tableAnagBilance.CodCompanyColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public bool IsCodSitoNull() {
- return this.IsNull(this.tableAnagBilance.CodSitoColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void SetCodSitoNull() {
- this[this.tableAnagBilance.CodSitoColumn] = global::System.Convert.DBNull;
+ xs.Add(dsSchema);
+ return type;
}
}
@@ -4822,16 +4800,6 @@ namespace GMW_data {
public void SetDescrStatoNull() {
this[this.tableAnagStati.DescrStatoColumn] = global::System.Convert.DBNull;
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public TabCartelliniRow[] GetTabCartelliniRows() {
- if ((this.Table.ChildRelations["FK_TabStatoOdpUdc_AnagStati1"] == null)) {
- return new TabCartelliniRow[0];
- }
- else {
- return ((TabCartelliniRow[])(base.GetChildRows(this.Table.ChildRelations["FK_TabStatoOdpUdc_AnagStati1"])));
- }
- }
}
///
@@ -4945,12 +4913,12 @@ namespace GMW_data {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public TabCartelliniRow[] GetTabCartelliniRows() {
- if ((this.Table.ChildRelations["FK_TabStatoOdpUdc_AnagStatiProdotto1"] == null)) {
- return new TabCartelliniRow[0];
+ public ElencoCartelliniRow[] GetElencoCartelliniRows() {
+ if ((this.Table.ChildRelations["FK_ElencoCartellini_AnagStatiProdotto"] == null)) {
+ return new ElencoCartelliniRow[0];
}
else {
- return ((TabCartelliniRow[])(base.GetChildRows(this.Table.ChildRelations["FK_TabStatoOdpUdc_AnagStatiProdotto1"])));
+ return ((ElencoCartelliniRow[])(base.GetChildRows(this.Table.ChildRelations["FK_ElencoCartellini_AnagStatiProdotto"])));
}
}
}
@@ -5003,16 +4971,6 @@ namespace GMW_data {
public void SetDescImballoNull() {
this[this.tableAnagImballi.DescImballoColumn] = global::System.Convert.DBNull;
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public TabCartelliniRow[] GetTabCartelliniRows() {
- if ((this.Table.ChildRelations["FK_TabStatoOdpUdc_AnagImballi1"] == null)) {
- return new TabCartelliniRow[0];
- }
- else {
- return ((TabCartelliniRow[])(base.GetChildRows(this.Table.ChildRelations["FK_TabStatoOdpUdc_AnagImballi1"])));
- }
- }
}
///
@@ -5123,16 +5081,6 @@ namespace GMW_data {
return ((Impianti2ArticoliRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Impianti2Articoli_AnagArticoli1"])));
}
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public TabCartelliniRow[] GetTabCartelliniRows() {
- if ((this.Table.ChildRelations["FK_TabStatoOdpUdc_AnagArticoli1"] == null)) {
- return new TabCartelliniRow[0];
- }
- else {
- return ((TabCartelliniRow[])(base.GetChildRows(this.Table.ChildRelations["FK_TabStatoOdpUdc_AnagArticoli1"])));
- }
- }
}
///
@@ -6158,124 +6106,159 @@ namespace GMW_data {
return ((AnagImpiantiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AnagImpianti_AnagCompanySito"])));
}
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public ElencoCartelliniRow[] GetElencoCartelliniRows() {
+ if ((this.Table.ChildRelations["FK_ElencoCartellini_AnagCompanySito"] == null)) {
+ return new ElencoCartelliniRow[0];
+ }
+ else {
+ return ((ElencoCartelliniRow[])(base.GetChildRows(this.Table.ChildRelations["FK_ElencoCartellini_AnagCompanySito"])));
+ }
+ }
}
///
///Represents strongly named DataRow class.
///
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public partial class TabCartelliniRow : global::System.Data.DataRow {
+ public partial class AnagBilanceRow : global::System.Data.DataRow {
- private TabCartelliniDataTable tableTabCartellini;
+ private AnagBilanceDataTable tableAnagBilance;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal TabCartelliniRow(global::System.Data.DataRowBuilder rb) :
+ internal AnagBilanceRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
- this.tableTabCartellini = ((TabCartelliniDataTable)(this.Table));
+ this.tableAnagBilance = ((AnagBilanceDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public string CodCompany {
+ public string CodBilancia {
get {
- return ((string)(this[this.tableTabCartellini.CodCompanyColumn]));
+ return ((string)(this[this.tableAnagBilance.CodBilanciaColumn]));
}
set {
- this[this.tableTabCartellini.CodCompanyColumn] = value;
+ this[this.tableAnagBilance.CodBilanciaColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public string ODP {
+ public string DescrImpianto {
get {
- return ((string)(this[this.tableTabCartellini.ODPColumn]));
+ try {
+ return ((string)(this[this.tableAnagBilance.DescrImpiantoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'DescrImpianto\' in table \'AnagBilance\' is DBNull.", e);
+ }
}
set {
- this[this.tableTabCartellini.ODPColumn] = value;
+ this[this.tableAnagBilance.DescrImpiantoColumn] = value;
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public string CodCS {
+ get {
+ try {
+ return ((string)(this[this.tableAnagBilance.CodCSColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'AnagBilance\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAnagBilance.CodCSColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsDescrImpiantoNull() {
+ return this.IsNull(this.tableAnagBilance.DescrImpiantoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetDescrImpiantoNull() {
+ this[this.tableAnagBilance.DescrImpiantoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsCodCSNull() {
+ return this.IsNull(this.tableAnagBilance.CodCSColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetCodCSNull() {
+ this[this.tableAnagBilance.CodCSColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
+ public partial class ElencoCartelliniRow : global::System.Data.DataRow {
+
+ private ElencoCartelliniDataTable tableElencoCartellini;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ internal ElencoCartelliniRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableElencoCartellini = ((ElencoCartelliniDataTable)(this.Table));
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string UDC {
get {
- return ((string)(this[this.tableTabCartellini.UDCColumn]));
+ return ((string)(this[this.tableElencoCartellini.UDCColumn]));
}
set {
- this[this.tableTabCartellini.UDCColumn] = value;
+ this[this.tableElencoCartellini.UDCColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public double Tara {
+ public string CodCS {
get {
try {
- return ((double)(this[this.tableTabCartellini.TaraColumn]));
+ return ((string)(this[this.tableElencoCartellini.CodCSColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'Tara\' in table \'TabCartellini\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'ElencoCartellini\' is DBNull.", e);
}
}
set {
- this[this.tableTabCartellini.TaraColumn] = value;
+ this[this.tableElencoCartellini.CodCSColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public int IdxStato {
+ public string CodCliente {
get {
try {
- return ((int)(this[this.tableTabCartellini.IdxStatoColumn]));
+ return ((string)(this[this.tableElencoCartellini.CodClienteColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'IdxStato\' in table \'TabCartellini\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'ElencoCartellini\' is DBNull.", e);
}
}
set {
- this[this.tableTabCartellini.IdxStatoColumn] = value;
+ this[this.tableElencoCartellini.CodClienteColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public decimal Qta {
+ public string RagSociale {
get {
try {
- return ((decimal)(this[this.tableTabCartellini.QtaColumn]));
+ return ((string)(this[this.tableElencoCartellini.RagSocialeColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'TabCartellini\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'RagSociale\' in table \'ElencoCartellini\' is DBNull.", e);
}
}
set {
- this[this.tableTabCartellini.QtaColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public string CodImballo {
- get {
- try {
- return ((string)(this[this.tableTabCartellini.CodImballoColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'CodImballo\' in table \'TabCartellini\' is DBNull.", e);
- }
- }
- set {
- this[this.tableTabCartellini.CodImballoColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public string CodImpianto {
- get {
- try {
- return ((string)(this[this.tableTabCartellini.CodImpiantoColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'CodImpianto\' in table \'TabCartellini\' is DBNull.", e);
- }
- }
- set {
- this[this.tableTabCartellini.CodImpiantoColumn] = value;
+ this[this.tableElencoCartellini.RagSocialeColumn] = value;
}
}
@@ -6283,29 +6266,89 @@ namespace GMW_data {
public string Particolare {
get {
try {
- return ((string)(this[this.tableTabCartellini.ParticolareColumn]));
+ return ((string)(this[this.tableElencoCartellini.ParticolareColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'Particolare\' in table \'TabCartellini\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'Particolare\' in table \'ElencoCartellini\' is DBNull.", e);
}
}
set {
- this[this.tableTabCartellini.ParticolareColumn] = value;
+ this[this.tableElencoCartellini.ParticolareColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public string CodStato {
+ public string DescParticolare {
get {
try {
- return ((string)(this[this.tableTabCartellini.CodStatoColumn]));
+ return ((string)(this[this.tableElencoCartellini.DescParticolareColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'CodStato\' in table \'TabCartellini\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'DescParticolare\' in table \'ElencoCartellini\' is DBNull.", e);
}
}
set {
- this[this.tableTabCartellini.CodStatoColumn] = value;
+ this[this.tableElencoCartellini.DescParticolareColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public string DisegnoGrezzo {
+ get {
+ try {
+ return ((string)(this[this.tableElencoCartellini.DisegnoGrezzoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'DisegnoGrezzo\' in table \'ElencoCartellini\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoCartellini.DisegnoGrezzoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public string Esponente {
+ get {
+ try {
+ return ((string)(this[this.tableElencoCartellini.EsponenteColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Esponente\' in table \'ElencoCartellini\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoCartellini.EsponenteColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public string CodImpianto {
+ get {
+ try {
+ return ((string)(this[this.tableElencoCartellini.CodImpiantoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodImpianto\' in table \'ElencoCartellini\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoCartellini.CodImpiantoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public string DescImpianto {
+ get {
+ try {
+ return ((string)(this[this.tableElencoCartellini.DescImpiantoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'DescImpianto\' in table \'ElencoCartellini\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoCartellini.DescImpiantoColumn] = value;
}
}
@@ -6313,14 +6356,14 @@ namespace GMW_data {
public string CodStampo {
get {
try {
- return ((string)(this[this.tableTabCartellini.CodStampoColumn]));
+ return ((string)(this[this.tableElencoCartellini.CodStampoColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'CodStampo\' in table \'TabCartellini\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'CodStampo\' in table \'ElencoCartellini\' is DBNull.", e);
}
}
set {
- this[this.tableTabCartellini.CodStampoColumn] = value;
+ this[this.tableElencoCartellini.CodStampoColumn] = value;
}
}
@@ -6328,29 +6371,149 @@ namespace GMW_data {
public string Figura {
get {
try {
- return ((string)(this[this.tableTabCartellini.FiguraColumn]));
+ return ((string)(this[this.tableElencoCartellini.FiguraColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'Figura\' in table \'TabCartellini\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'Figura\' in table \'ElencoCartellini\' is DBNull.", e);
}
}
set {
- this[this.tableTabCartellini.FiguraColumn] = value;
+ this[this.tableElencoCartellini.FiguraColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public string FiguraIncisa {
+ public System.DateTime DataFus {
get {
try {
- return ((string)(this[this.tableTabCartellini.FiguraIncisaColumn]));
+ return ((global::System.DateTime)(this[this.tableElencoCartellini.DataFusColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'FiguraIncisa\' in table \'TabCartellini\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'DataFus\' in table \'ElencoCartellini\' is DBNull.", e);
}
}
set {
- this[this.tableTabCartellini.FiguraIncisaColumn] = value;
+ this[this.tableElencoCartellini.DataFusColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public int TurnoFus {
+ get {
+ try {
+ return ((int)(this[this.tableElencoCartellini.TurnoFusColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'TurnoFus\' in table \'ElencoCartellini\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoCartellini.TurnoFusColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public string CodImballo {
+ get {
+ try {
+ return ((string)(this[this.tableElencoCartellini.CodImballoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodImballo\' in table \'ElencoCartellini\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoCartellini.CodImballoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public string CodSoggetto {
+ get {
+ try {
+ return ((string)(this[this.tableElencoCartellini.CodSoggettoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodSoggetto\' in table \'ElencoCartellini\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoCartellini.CodSoggettoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public int NumCont {
+ get {
+ try {
+ return ((int)(this[this.tableElencoCartellini.NumContColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'NumCont\' in table \'ElencoCartellini\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoCartellini.NumContColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public double Tara {
+ get {
+ try {
+ return ((double)(this[this.tableElencoCartellini.TaraColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Tara\' in table \'ElencoCartellini\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoCartellini.TaraColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public decimal Qta {
+ get {
+ try {
+ return ((decimal)(this[this.tableElencoCartellini.QtaColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'ElencoCartellini\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoCartellini.QtaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public string CodStato {
+ get {
+ try {
+ return ((string)(this[this.tableElencoCartellini.CodStatoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodStato\' in table \'ElencoCartellini\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoCartellini.CodStatoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public int IdxPosizione {
+ get {
+ try {
+ return ((int)(this[this.tableElencoCartellini.IdxPosizioneColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'IdxPosizione\' in table \'ElencoCartellini\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoCartellini.IdxPosizioneColumn] = value;
}
}
@@ -6358,14 +6521,14 @@ namespace GMW_data {
public double PesoTot {
get {
try {
- return ((double)(this[this.tableTabCartellini.PesoTotColumn]));
+ return ((double)(this[this.tableElencoCartellini.PesoTotColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'PesoTot\' in table \'TabCartellini\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'PesoTot\' in table \'ElencoCartellini\' is DBNull.", e);
}
}
set {
- this[this.tableTabCartellini.PesoTotColumn] = value;
+ this[this.tableElencoCartellini.PesoTotColumn] = value;
}
}
@@ -6373,14 +6536,14 @@ namespace GMW_data {
public double PesoCad {
get {
try {
- return ((double)(this[this.tableTabCartellini.PesoCadColumn]));
+ return ((double)(this[this.tableElencoCartellini.PesoCadColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'PesoCad\' in table \'TabCartellini\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'PesoCad\' in table \'ElencoCartellini\' is DBNull.", e);
}
}
set {
- this[this.tableTabCartellini.PesoCadColumn] = value;
+ this[this.tableElencoCartellini.PesoCadColumn] = value;
}
}
@@ -6388,14 +6551,14 @@ namespace GMW_data {
public System.DateTime CreateDate {
get {
try {
- return ((global::System.DateTime)(this[this.tableTabCartellini.CreateDateColumn]));
+ return ((global::System.DateTime)(this[this.tableElencoCartellini.CreateDateColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'TabCartellini\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'ElencoCartellini\' is DBNull.", e);
}
}
set {
- this[this.tableTabCartellini.CreateDateColumn] = value;
+ this[this.tableElencoCartellini.CreateDateColumn] = value;
}
}
@@ -6403,226 +6566,275 @@ namespace GMW_data {
public System.DateTime ModDate {
get {
try {
- return ((global::System.DateTime)(this[this.tableTabCartellini.ModDateColumn]));
+ return ((global::System.DateTime)(this[this.tableElencoCartellini.ModDateColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'TabCartellini\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'ElencoCartellini\' is DBNull.", e);
}
}
set {
- this[this.tableTabCartellini.ModDateColumn] = value;
+ this[this.tableElencoCartellini.ModDateColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public AnagArticoliRow AnagArticoliRow {
+ public AnagCompanySitoRow AnagCompanySitoRow {
get {
- return ((AnagArticoliRow)(this.GetParentRow(this.Table.ParentRelations["FK_TabStatoOdpUdc_AnagArticoli1"])));
+ return ((AnagCompanySitoRow)(this.GetParentRow(this.Table.ParentRelations["FK_ElencoCartellini_AnagCompanySito"])));
}
set {
- this.SetParentRow(value, this.Table.ParentRelations["FK_TabStatoOdpUdc_AnagArticoli1"]);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public AnagImballiRow AnagImballiRow {
- get {
- return ((AnagImballiRow)(this.GetParentRow(this.Table.ParentRelations["FK_TabStatoOdpUdc_AnagImballi1"])));
- }
- set {
- this.SetParentRow(value, this.Table.ParentRelations["FK_TabStatoOdpUdc_AnagImballi1"]);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public AnagStatiRow AnagStatiRow {
- get {
- return ((AnagStatiRow)(this.GetParentRow(this.Table.ParentRelations["FK_TabStatoOdpUdc_AnagStati1"])));
- }
- set {
- this.SetParentRow(value, this.Table.ParentRelations["FK_TabStatoOdpUdc_AnagStati1"]);
+ this.SetParentRow(value, this.Table.ParentRelations["FK_ElencoCartellini_AnagCompanySito"]);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public AnagStatiProdottoRow AnagStatiProdottoRow {
get {
- return ((AnagStatiProdottoRow)(this.GetParentRow(this.Table.ParentRelations["FK_TabStatoOdpUdc_AnagStatiProdotto1"])));
+ return ((AnagStatiProdottoRow)(this.GetParentRow(this.Table.ParentRelations["FK_ElencoCartellini_AnagStatiProdotto"])));
}
set {
- this.SetParentRow(value, this.Table.ParentRelations["FK_TabStatoOdpUdc_AnagStatiProdotto1"]);
+ this.SetParentRow(value, this.Table.ParentRelations["FK_ElencoCartellini_AnagStatiProdotto"]);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public bool IsTaraNull() {
- return this.IsNull(this.tableTabCartellini.TaraColumn);
+ public bool IsCodCSNull() {
+ return this.IsNull(this.tableElencoCartellini.CodCSColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void SetTaraNull() {
- this[this.tableTabCartellini.TaraColumn] = global::System.Convert.DBNull;
+ public void SetCodCSNull() {
+ this[this.tableElencoCartellini.CodCSColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public bool IsIdxStatoNull() {
- return this.IsNull(this.tableTabCartellini.IdxStatoColumn);
+ public bool IsCodClienteNull() {
+ return this.IsNull(this.tableElencoCartellini.CodClienteColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void SetIdxStatoNull() {
- this[this.tableTabCartellini.IdxStatoColumn] = global::System.Convert.DBNull;
+ public void SetCodClienteNull() {
+ this[this.tableElencoCartellini.CodClienteColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public bool IsQtaNull() {
- return this.IsNull(this.tableTabCartellini.QtaColumn);
+ public bool IsRagSocialeNull() {
+ return this.IsNull(this.tableElencoCartellini.RagSocialeColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void SetQtaNull() {
- this[this.tableTabCartellini.QtaColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public bool IsCodImballoNull() {
- return this.IsNull(this.tableTabCartellini.CodImballoColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void SetCodImballoNull() {
- this[this.tableTabCartellini.CodImballoColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public bool IsCodImpiantoNull() {
- return this.IsNull(this.tableTabCartellini.CodImpiantoColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void SetCodImpiantoNull() {
- this[this.tableTabCartellini.CodImpiantoColumn] = global::System.Convert.DBNull;
+ public void SetRagSocialeNull() {
+ this[this.tableElencoCartellini.RagSocialeColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsParticolareNull() {
- return this.IsNull(this.tableTabCartellini.ParticolareColumn);
+ return this.IsNull(this.tableElencoCartellini.ParticolareColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetParticolareNull() {
- this[this.tableTabCartellini.ParticolareColumn] = global::System.Convert.DBNull;
+ this[this.tableElencoCartellini.ParticolareColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public bool IsCodStatoNull() {
- return this.IsNull(this.tableTabCartellini.CodStatoColumn);
+ public bool IsDescParticolareNull() {
+ return this.IsNull(this.tableElencoCartellini.DescParticolareColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void SetCodStatoNull() {
- this[this.tableTabCartellini.CodStatoColumn] = global::System.Convert.DBNull;
+ public void SetDescParticolareNull() {
+ this[this.tableElencoCartellini.DescParticolareColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsDisegnoGrezzoNull() {
+ return this.IsNull(this.tableElencoCartellini.DisegnoGrezzoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetDisegnoGrezzoNull() {
+ this[this.tableElencoCartellini.DisegnoGrezzoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsEsponenteNull() {
+ return this.IsNull(this.tableElencoCartellini.EsponenteColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetEsponenteNull() {
+ this[this.tableElencoCartellini.EsponenteColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsCodImpiantoNull() {
+ return this.IsNull(this.tableElencoCartellini.CodImpiantoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetCodImpiantoNull() {
+ this[this.tableElencoCartellini.CodImpiantoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsDescImpiantoNull() {
+ return this.IsNull(this.tableElencoCartellini.DescImpiantoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetDescImpiantoNull() {
+ this[this.tableElencoCartellini.DescImpiantoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsCodStampoNull() {
- return this.IsNull(this.tableTabCartellini.CodStampoColumn);
+ return this.IsNull(this.tableElencoCartellini.CodStampoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetCodStampoNull() {
- this[this.tableTabCartellini.CodStampoColumn] = global::System.Convert.DBNull;
+ this[this.tableElencoCartellini.CodStampoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsFiguraNull() {
- return this.IsNull(this.tableTabCartellini.FiguraColumn);
+ return this.IsNull(this.tableElencoCartellini.FiguraColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetFiguraNull() {
- this[this.tableTabCartellini.FiguraColumn] = global::System.Convert.DBNull;
+ this[this.tableElencoCartellini.FiguraColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public bool IsFiguraIncisaNull() {
- return this.IsNull(this.tableTabCartellini.FiguraIncisaColumn);
+ public bool IsDataFusNull() {
+ return this.IsNull(this.tableElencoCartellini.DataFusColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void SetFiguraIncisaNull() {
- this[this.tableTabCartellini.FiguraIncisaColumn] = global::System.Convert.DBNull;
+ public void SetDataFusNull() {
+ this[this.tableElencoCartellini.DataFusColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsTurnoFusNull() {
+ return this.IsNull(this.tableElencoCartellini.TurnoFusColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetTurnoFusNull() {
+ this[this.tableElencoCartellini.TurnoFusColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsCodImballoNull() {
+ return this.IsNull(this.tableElencoCartellini.CodImballoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetCodImballoNull() {
+ this[this.tableElencoCartellini.CodImballoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsCodSoggettoNull() {
+ return this.IsNull(this.tableElencoCartellini.CodSoggettoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetCodSoggettoNull() {
+ this[this.tableElencoCartellini.CodSoggettoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsNumContNull() {
+ return this.IsNull(this.tableElencoCartellini.NumContColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetNumContNull() {
+ this[this.tableElencoCartellini.NumContColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsTaraNull() {
+ return this.IsNull(this.tableElencoCartellini.TaraColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetTaraNull() {
+ this[this.tableElencoCartellini.TaraColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsQtaNull() {
+ return this.IsNull(this.tableElencoCartellini.QtaColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetQtaNull() {
+ this[this.tableElencoCartellini.QtaColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsCodStatoNull() {
+ return this.IsNull(this.tableElencoCartellini.CodStatoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetCodStatoNull() {
+ this[this.tableElencoCartellini.CodStatoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool IsIdxPosizioneNull() {
+ return this.IsNull(this.tableElencoCartellini.IdxPosizioneColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void SetIdxPosizioneNull() {
+ this[this.tableElencoCartellini.IdxPosizioneColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsPesoTotNull() {
- return this.IsNull(this.tableTabCartellini.PesoTotColumn);
+ return this.IsNull(this.tableElencoCartellini.PesoTotColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetPesoTotNull() {
- this[this.tableTabCartellini.PesoTotColumn] = global::System.Convert.DBNull;
+ this[this.tableElencoCartellini.PesoTotColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsPesoCadNull() {
- return this.IsNull(this.tableTabCartellini.PesoCadColumn);
+ return this.IsNull(this.tableElencoCartellini.PesoCadColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetPesoCadNull() {
- this[this.tableTabCartellini.PesoCadColumn] = global::System.Convert.DBNull;
+ this[this.tableElencoCartellini.PesoCadColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsCreateDateNull() {
- return this.IsNull(this.tableTabCartellini.CreateDateColumn);
+ return this.IsNull(this.tableElencoCartellini.CreateDateColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetCreateDateNull() {
- this[this.tableTabCartellini.CreateDateColumn] = global::System.Convert.DBNull;
+ this[this.tableElencoCartellini.CreateDateColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsModDateNull() {
- return this.IsNull(this.tableTabCartellini.ModDateColumn);
+ return this.IsNull(this.tableElencoCartellini.ModDateColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetModDateNull() {
- this[this.tableTabCartellini.ModDateColumn] = global::System.Convert.DBNull;
- }
- }
-
- ///
- ///Row event argument class
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class AnagBilanceRowChangeEvent : global::System.EventArgs {
-
- private AnagBilanceRow eventRow;
-
- private global::System.Data.DataRowAction eventAction;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public AnagBilanceRowChangeEvent(AnagBilanceRow row, global::System.Data.DataRowAction action) {
- this.eventRow = row;
- this.eventAction = action;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public AnagBilanceRow Row {
- get {
- return this.eventRow;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataRowAction Action {
- get {
- return this.eventAction;
- }
+ this[this.tableElencoCartellini.ModDateColumn] = global::System.Convert.DBNull;
}
}
@@ -6971,20 +7183,51 @@ namespace GMW_data {
///Row event argument class
///
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class TabCartelliniRowChangeEvent : global::System.EventArgs {
+ public class AnagBilanceRowChangeEvent : global::System.EventArgs {
- private TabCartelliniRow eventRow;
+ private AnagBilanceRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public TabCartelliniRowChangeEvent(TabCartelliniRow row, global::System.Data.DataRowAction action) {
+ public AnagBilanceRowChangeEvent(AnagBilanceRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public TabCartelliniRow Row {
+ public AnagBilanceRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
+ public class ElencoCartelliniRowChangeEvent : global::System.EventArgs {
+
+ private ElencoCartelliniRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public ElencoCartelliniRowChangeEvent(ElencoCartelliniRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public ElencoCartelliniRow Row {
get {
return this.eventRow;
}
@@ -7002,453 +7245,6 @@ namespace GMW_data {
namespace GMW_data.DS_ApplicazioneTableAdapters {
- ///
- ///Represents the connection and commands used to retrieve and save data.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [global::System.ComponentModel.DesignerCategoryAttribute("code")]
- [global::System.ComponentModel.ToolboxItem(true)]
- [global::System.ComponentModel.DataObjectAttribute(true)]
- [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
- ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public partial class AnagBilanceTableAdapter : global::System.ComponentModel.Component {
-
- private global::System.Data.SqlClient.SqlDataAdapter _adapter;
-
- private global::System.Data.SqlClient.SqlConnection _connection;
-
- private global::System.Data.SqlClient.SqlTransaction _transaction;
-
- private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
-
- private bool _clearBeforeFill;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public AnagBilanceTableAdapter() {
- this.ClearBeforeFill = true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
- get {
- if ((this._adapter == null)) {
- this.InitAdapter();
- }
- return this._adapter;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal global::System.Data.SqlClient.SqlConnection Connection {
- get {
- if ((this._connection == null)) {
- this.InitConnection();
- }
- return this._connection;
- }
- set {
- this._connection = value;
- if ((this.Adapter.InsertCommand != null)) {
- this.Adapter.InsertCommand.Connection = value;
- }
- if ((this.Adapter.DeleteCommand != null)) {
- this.Adapter.DeleteCommand.Connection = value;
- }
- if ((this.Adapter.UpdateCommand != null)) {
- this.Adapter.UpdateCommand.Connection = value;
- }
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
- if ((this.CommandCollection[i] != null)) {
- ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
- }
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal global::System.Data.SqlClient.SqlTransaction Transaction {
- get {
- return this._transaction;
- }
- set {
- this._transaction = value;
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
- this.CommandCollection[i].Transaction = this._transaction;
- }
- if (((this.Adapter != null)
- && (this.Adapter.DeleteCommand != null))) {
- this.Adapter.DeleteCommand.Transaction = this._transaction;
- }
- if (((this.Adapter != null)
- && (this.Adapter.InsertCommand != null))) {
- this.Adapter.InsertCommand.Transaction = this._transaction;
- }
- if (((this.Adapter != null)
- && (this.Adapter.UpdateCommand != null))) {
- this.Adapter.UpdateCommand.Transaction = this._transaction;
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
- get {
- if ((this._commandCollection == null)) {
- this.InitCommandCollection();
- }
- return this._commandCollection;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public bool ClearBeforeFill {
- get {
- return this._clearBeforeFill;
- }
- set {
- this._clearBeforeFill = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private void InitAdapter() {
- this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
- global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
- tableMapping.SourceTable = "Table";
- tableMapping.DataSetTable = "AnagBilance";
- tableMapping.ColumnMappings.Add("CodBilancia", "CodBilancia");
- tableMapping.ColumnMappings.Add("DescrImpianto", "DescrImpianto");
- tableMapping.ColumnMappings.Add("CodCompany", "CodCompany");
- tableMapping.ColumnMappings.Add("CodSito", "CodSito");
- 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].[AnagBilance] WHERE (([CodBilancia] = @Original_CodBilancia) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCompany = 1 AND [CodCompany] IS NULL) OR ([CodCompany] = @Original_CodCompany)) AND ((@IsNull_CodSito = 1 AND [CodSito] IS NULL) OR ([CodSito] = @Original_CodSito)))";
- this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodBilancia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBilancia", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCompany", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSito", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", 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].[AnagBilance] ([CodBilancia], [DescrImpianto], [CodCompany], [CodSito]) VALUES (@CodBilancia, @DescrImpianto, @CodCompany, @CodSito);
-SELECT CodBilancia, DescrImpianto, CodCompany, CodSito FROM AnagBilance WHERE (CodBilancia = @CodBilancia)";
- this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBilancia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBilancia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", 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].[AnagBilance] SET [CodBilancia] = @CodBilancia, [DescrImpianto] = @DescrImpianto, [CodCompany] = @CodCompany, [CodSito] = @CodSito WHERE (([CodBilancia] = @Original_CodBilancia) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCompany = 1 AND [CodCompany] IS NULL) OR ([CodCompany] = @Original_CodCompany)) AND ((@IsNull_CodSito = 1 AND [CodSito] IS NULL) OR ([CodSito] = @Original_CodSito)));
-SELECT CodBilancia, DescrImpianto, CodCompany, CodSito FROM AnagBilance WHERE (CodBilancia = @CodBilancia)";
- this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBilancia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBilancia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodBilancia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBilancia", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCompany", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSito", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private void InitConnection() {
- this._connection = new global::System.Data.SqlClient.SqlConnection();
- this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.GMWConnectionString;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private void InitCommandCollection() {
- this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
- this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[0].Connection = this.Connection;
- this._commandCollection[0].CommandText = "SELECT CodBilancia, DescrImpianto, CodCompany, CodSito FROM dbo.AnagBilance";
- this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[1].Connection = this.Connection;
- this._commandCollection[1].CommandText = "SELECT CodBilancia, DescrImpianto, CodCompany, CodSito\r\nFROM An" +
- "agBilance\r\nWHERE (CodBilancia = @CodBilancia)";
- this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBilancia", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodBilancia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[2].Connection = this.Connection;
- this._commandCollection[2].CommandText = "SELECT CodBilancia, DescrImpianto, CodCompany, CodSito\r\nFROM An" +
- "agBilance\r\nWHERE (CodCompany = @CodCompany) AND (CodSito = @CodSito) ";
- this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSito", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
- public virtual int Fill(DS_Applicazione.AnagBilanceDataTable dataTable) {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((this.ClearBeforeFill == true)) {
- dataTable.Clear();
- }
- int returnValue = this.Adapter.Fill(dataTable);
- return returnValue;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
- public virtual DS_Applicazione.AnagBilanceDataTable GetData() {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- DS_Applicazione.AnagBilanceDataTable dataTable = new DS_Applicazione.AnagBilanceDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual DS_Applicazione.AnagBilanceDataTable getByCod(string CodBilancia) {
- this.Adapter.SelectCommand = this.CommandCollection[1];
- if ((CodBilancia == null)) {
- throw new global::System.ArgumentNullException("CodBilancia");
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodBilancia));
- }
- DS_Applicazione.AnagBilanceDataTable dataTable = new DS_Applicazione.AnagBilanceDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual DS_Applicazione.AnagBilanceDataTable getByCompanySito(string CodCompany, string CodSito) {
- this.Adapter.SelectCommand = this.CommandCollection[2];
- if ((CodCompany == null)) {
- this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodCompany));
- }
- if ((CodSito == null)) {
- this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodSito));
- }
- DS_Applicazione.AnagBilanceDataTable dataTable = new DS_Applicazione.AnagBilanceDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(DS_Applicazione.AnagBilanceDataTable dataTable) {
- return this.Adapter.Update(dataTable);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(DS_Applicazione dataSet) {
- return this.Adapter.Update(dataSet, "AnagBilance");
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(global::System.Data.DataRow dataRow) {
- return this.Adapter.Update(new global::System.Data.DataRow[] {
- dataRow});
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(global::System.Data.DataRow[] dataRows) {
- return this.Adapter.Update(dataRows);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
- public virtual int Delete(string Original_CodBilancia, string Original_DescrImpianto, string Original_CodCompany, string Original_CodSito) {
- if ((Original_CodBilancia == null)) {
- throw new global::System.ArgumentNullException("Original_CodBilancia");
- }
- else {
- this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodBilancia));
- }
- if ((Original_DescrImpianto == null)) {
- this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrImpianto));
- }
- if ((Original_CodCompany == null)) {
- this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodCompany));
- }
- if ((Original_CodSito == null)) {
- this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_CodSito));
- }
- global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
- if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open)) {
- this.Adapter.DeleteCommand.Connection.Open();
- }
- try {
- int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
- return returnValue;
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- this.Adapter.DeleteCommand.Connection.Close();
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
- public virtual int Insert(string CodBilancia, string DescrImpianto, string CodCompany, string CodSito) {
- if ((CodBilancia == null)) {
- throw new global::System.ArgumentNullException("CodBilancia");
- }
- else {
- this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodBilancia));
- }
- if ((DescrImpianto == null)) {
- this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrImpianto));
- }
- if ((CodCompany == null)) {
- this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodCompany));
- }
- if ((CodSito == null)) {
- this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodSito));
- }
- global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
- if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open)) {
- this.Adapter.InsertCommand.Connection.Open();
- }
- try {
- int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
- return returnValue;
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- this.Adapter.InsertCommand.Connection.Close();
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
- public virtual int Update(string CodBilancia, string DescrImpianto, string CodCompany, string CodSito, string Original_CodBilancia, string Original_DescrImpianto, string Original_CodCompany, string Original_CodSito) {
- if ((CodBilancia == null)) {
- throw new global::System.ArgumentNullException("CodBilancia");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodBilancia));
- }
- if ((DescrImpianto == null)) {
- this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrImpianto));
- }
- if ((CodCompany == null)) {
- this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodCompany));
- }
- if ((CodSito == null)) {
- this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodSito));
- }
- if ((Original_CodBilancia == null)) {
- throw new global::System.ArgumentNullException("Original_CodBilancia");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodBilancia));
- }
- if ((Original_DescrImpianto == null)) {
- this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_DescrImpianto));
- }
- if ((Original_CodCompany == null)) {
- this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodCompany));
- }
- if ((Original_CodSito == null)) {
- this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_CodSito));
- }
- global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
- if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open)) {
- this.Adapter.UpdateCommand.Connection.Open();
- }
- try {
- int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
- return returnValue;
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- this.Adapter.UpdateCommand.Connection.Close();
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
- public virtual int Update(string DescrImpianto, string CodCompany, string CodSito, string Original_CodBilancia, string Original_DescrImpianto, string Original_CodCompany, string Original_CodSito) {
- return this.Update(Original_CodBilancia, DescrImpianto, CodCompany, CodSito, Original_CodBilancia, Original_DescrImpianto, Original_CodCompany, Original_CodSito);
- }
- }
-
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -11960,7 +11756,7 @@ SELECT CodCS, CodCompany, DescCompany, CodSito, DescSito FROM AnagCompanySito WH
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public partial class TabCartelliniTableAdapter : global::System.ComponentModel.Component {
+ public partial class AnagBilanceTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
@@ -11973,7 +11769,7 @@ SELECT CodCS, CodCompany, DescCompany, CodSito, DescSito FROM AnagCompanySito WH
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public TabCartelliniTableAdapter() {
+ public AnagBilanceTableAdapter() {
this.ClearBeforeFill = true;
}
@@ -12064,20 +11860,434 @@ SELECT CodCS, CodCompany, DescCompany, CodSito, DescSito FROM AnagCompanySito WH
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 = "TabCartellini";
- tableMapping.ColumnMappings.Add("CodCompany", "CodCompany");
- tableMapping.ColumnMappings.Add("ODP", "ODP");
+ tableMapping.DataSetTable = "AnagBilance";
+ tableMapping.ColumnMappings.Add("CodBilancia", "CodBilancia");
+ tableMapping.ColumnMappings.Add("DescrImpianto", "DescrImpianto");
+ tableMapping.ColumnMappings.Add("CodCS", "CodCS");
+ 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].[AnagBilance] WHERE (([CodBilancia] = @Original_CodBilancia) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodBilancia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBilancia", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCS", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", 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].[AnagBilance] ([CodBilancia], [DescrImpianto], [CodCS]) VALUES " +
+ "(@CodBilancia, @DescrImpianto, @CodCS);\r\nSELECT CodBilancia, DescrImpianto, CodC" +
+ "S FROM AnagBilance WHERE (CodBilancia = @CodBilancia)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBilancia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBilancia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", 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].[AnagBilance] SET [CodBilancia] = @CodBilancia, [DescrImpianto] = @DescrImpianto, [CodCS] = @CodCS WHERE (([CodBilancia] = @Original_CodBilancia) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)));
+SELECT CodBilancia, DescrImpianto, CodCS FROM AnagBilance WHERE (CodBilancia = @CodBilancia)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBilancia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBilancia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodBilancia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBilancia", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCS", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.GMWConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT CodBilancia, DescrImpianto, CodCS FROM dbo.AnagBilance";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_getBilanceByCodBilancia";
+ 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("@CodBilancia", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dbo.stp_getBilanceByCodCS";
+ 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("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Applicazione.AnagBilanceDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Applicazione.AnagBilanceDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.AnagBilanceDataTable dataTable = new DS_Applicazione.AnagBilanceDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.AnagBilanceDataTable stp_getByCodBilancia(string CodBilancia) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((CodBilancia == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodBilancia));
+ }
+ DS_Applicazione.AnagBilanceDataTable dataTable = new DS_Applicazione.AnagBilanceDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.AnagBilanceDataTable stp_getByCodCS(string CodCS) {
+ this.Adapter.SelectCommand = this.CommandCollection[2];
+ if ((CodCS == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS));
+ }
+ DS_Applicazione.AnagBilanceDataTable dataTable = new DS_Applicazione.AnagBilanceDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Applicazione.AnagBilanceDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Applicazione dataSet) {
+ return this.Adapter.Update(dataSet, "AnagBilance");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(string Original_CodBilancia, string Original_DescrImpianto, string Original_CodCS) {
+ if ((Original_CodBilancia == null)) {
+ throw new global::System.ArgumentNullException("Original_CodBilancia");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodBilancia));
+ }
+ if ((Original_DescrImpianto == null)) {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrImpianto));
+ }
+ if ((Original_CodCS == null)) {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodCS));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(string CodBilancia, string DescrImpianto, string CodCS) {
+ if ((CodBilancia == null)) {
+ throw new global::System.ArgumentNullException("CodBilancia");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodBilancia));
+ }
+ if ((DescrImpianto == null)) {
+ this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrImpianto));
+ }
+ if ((CodCS == null)) {
+ this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodCS));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string CodBilancia, string DescrImpianto, string CodCS, string Original_CodBilancia, string Original_DescrImpianto, string Original_CodCS) {
+ if ((CodBilancia == null)) {
+ throw new global::System.ArgumentNullException("CodBilancia");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodBilancia));
+ }
+ if ((DescrImpianto == null)) {
+ this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrImpianto));
+ }
+ if ((CodCS == null)) {
+ this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodCS));
+ }
+ if ((Original_CodBilancia == null)) {
+ throw new global::System.ArgumentNullException("Original_CodBilancia");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_CodBilancia));
+ }
+ if ((Original_DescrImpianto == null)) {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_DescrImpianto));
+ }
+ if ((Original_CodCS == null)) {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_CodCS));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string DescrImpianto, string CodCS, string Original_CodBilancia, string Original_DescrImpianto, string Original_CodCS) {
+ return this.Update(Original_CodBilancia, DescrImpianto, CodCS, Original_CodBilancia, Original_DescrImpianto, Original_CodCS);
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class ElencoCartelliniTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public ElencoCartelliniTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "ElencoCartellini";
tableMapping.ColumnMappings.Add("UDC", "UDC");
- tableMapping.ColumnMappings.Add("Tara", "Tara");
- tableMapping.ColumnMappings.Add("IdxStato", "IdxStato");
- tableMapping.ColumnMappings.Add("Qta", "Qta");
- tableMapping.ColumnMappings.Add("CodImballo", "CodImballo");
- tableMapping.ColumnMappings.Add("CodImpianto", "CodImpianto");
+ tableMapping.ColumnMappings.Add("CodCS", "CodCS");
+ tableMapping.ColumnMappings.Add("CodCliente", "CodCliente");
+ tableMapping.ColumnMappings.Add("RagSociale", "RagSociale");
tableMapping.ColumnMappings.Add("Particolare", "Particolare");
- tableMapping.ColumnMappings.Add("CodStato", "CodStato");
+ tableMapping.ColumnMappings.Add("DescParticolare", "DescParticolare");
+ tableMapping.ColumnMappings.Add("DisegnoGrezzo", "DisegnoGrezzo");
+ tableMapping.ColumnMappings.Add("Esponente", "Esponente");
+ tableMapping.ColumnMappings.Add("CodImpianto", "CodImpianto");
+ tableMapping.ColumnMappings.Add("DescImpianto", "DescImpianto");
tableMapping.ColumnMappings.Add("CodStampo", "CodStampo");
tableMapping.ColumnMappings.Add("Figura", "Figura");
- tableMapping.ColumnMappings.Add("FiguraIncisa", "FiguraIncisa");
+ tableMapping.ColumnMappings.Add("DataFus", "DataFus");
+ tableMapping.ColumnMappings.Add("TurnoFus", "TurnoFus");
+ tableMapping.ColumnMappings.Add("CodImballo", "CodImballo");
+ tableMapping.ColumnMappings.Add("CodSoggetto", "CodSoggetto");
+ tableMapping.ColumnMappings.Add("NumCont", "NumCont");
+ tableMapping.ColumnMappings.Add("Tara", "Tara");
+ tableMapping.ColumnMappings.Add("Qta", "Qta");
+ tableMapping.ColumnMappings.Add("CodStato", "CodStato");
+ tableMapping.ColumnMappings.Add("IdxPosizione", "IdxPosizione");
tableMapping.ColumnMappings.Add("PesoTot", "PesoTot");
tableMapping.ColumnMappings.Add("PesoCad", "PesoCad");
tableMapping.ColumnMappings.Add("CreateDate", "CreateDate");
@@ -12085,31 +12295,77 @@ SELECT CodCS, CodCompany, DescCompany, CodSito, DescSito FROM AnagCompanySito WH
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].[TabCartellini] WHERE (([CodCompany] = @Original_CodCompany) AND ([ODP] = @Original_ODP) AND ([UDC] = @Original_UDC) AND ((@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNull_IdxStato = 1 AND [IdxStato] IS NULL) OR ([IdxStato] = @Original_IdxStato)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodImballo = 1 AND [CodImballo] IS NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CodImpianto = 1 AND [CodImpianto] IS NULL) OR ([CodImpianto] = @Original_CodImpianto)) AND ((@IsNull_Particolare = 1 AND [Particolare] IS NULL) OR ([Particolare] = @Original_Particolare)) AND ((@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsNull_CodStampo = 1 AND [CodStampo] IS NULL) OR ([CodStampo] = @Original_CodStampo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura] = @Original_Figura)) AND ((@IsNull_FiguraIncisa = 1 AND [FiguraIncisa] IS NULL) OR ([FiguraIncisa] = @Original_FiguraIncisa)) AND ((@IsNull_PesoTot = 1 AND [PesoTot] IS NULL) OR ([PesoTot] = @Original_PesoTot)) AND ((@IsNull_PesoCad = 1 AND [PesoCad] IS NULL) OR ([PesoCad] = @Original_PesoCad)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR ([CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS NULL) OR ([ModDate] = @Original_ModDate)))";
+ this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[ElencoCartellini] WHERE (([UDC] = @Original_UDC) AND ((@IsNull" +
+ "_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNull_Co" +
+ "dCliente = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodCliente))" +
+ " AND ((@IsNull_RagSociale = 1 AND [RagSociale] IS NULL) OR ([RagSociale] = @Orig" +
+ "inal_RagSociale)) AND ((@IsNull_Particolare = 1 AND [Particolare] IS NULL) OR ([" +
+ "Particolare] = @Original_Particolare)) AND ((@IsNull_DescParticolare = 1 AND [De" +
+ "scParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare)) AND " +
+ "((@IsNull_DisegnoGrezzo = 1 AND [DisegnoGrezzo] IS NULL) OR ([DisegnoGrezzo] = @" +
+ "Original_DisegnoGrezzo)) AND ((@IsNull_Esponente = 1 AND [Esponente] IS NULL) OR" +
+ " ([Esponente] = @Original_Esponente)) AND ((@IsNull_CodImpianto = 1 AND [CodImpi" +
+ "anto] IS NULL) OR ([CodImpianto] = @Original_CodImpianto)) AND ((@IsNull_DescImp" +
+ "ianto = 1 AND [DescImpianto] IS NULL) OR ([DescImpianto] = @Original_DescImpiant" +
+ "o)) AND ((@IsNull_CodStampo = 1 AND [CodStampo] IS NULL) OR ([CodStampo] = @Orig" +
+ "inal_CodStampo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura] = @" +
+ "Original_Figura)) AND ((@IsNull_DataFus = 1 AND [DataFus] IS NULL) OR ([DataFus]" +
+ " = @Original_DataFus)) AND ((@IsNull_TurnoFus = 1 AND [TurnoFus] IS NULL) OR ([T" +
+ "urnoFus] = @Original_TurnoFus)) AND ((@IsNull_CodImballo = 1 AND [CodImballo] IS" +
+ " NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CodSoggetto = 1 A" +
+ "ND [CodSoggetto] IS NULL) OR ([CodSoggetto] = @Original_CodSoggetto)) AND ((@IsN" +
+ "ull_NumCont = 1 AND [NumCont] IS NULL) OR ([NumCont] = @Original_NumCont)) AND (" +
+ "(@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNul" +
+ "l_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodStato " +
+ "= 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsNull_" +
+ "IdxPosizione = 1 AND [IdxPosizione] IS NULL) OR ([IdxPosizione] = @Original_IdxP" +
+ "osizione)) AND ((@IsNull_PesoTot = 1 AND [PesoTot] IS NULL) OR ([PesoTot] = @Ori" +
+ "ginal_PesoTot)) AND ((@IsNull_PesoCad = 1 AND [PesoCad] IS NULL) OR ([PesoCad] =" +
+ " @Original_PesoCad)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR (" +
+ "[CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS" +
+ " NULL) OR ([ModDate] = @Original_ModDate)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ODP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ODP", 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("@IsNull_Tara", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImballo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCS", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCliente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RagSociale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Particolare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, true, 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("@IsNull_CodStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescParticolare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, true, 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("@IsNull_DisegnoGrezzo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Esponente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Esponente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodStampo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStampo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Figura", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Figura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FiguraIncisa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FiguraIncisa", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FiguraIncisa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FiguraIncisa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataFus", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImballo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSoggetto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Tara", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PesoTot", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PesoTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PesoCad", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoCad", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -12120,95 +12376,144 @@ SELECT CodCS, CodCompany, DescCompany, CodSito, DescSito FROM AnagCompanySito WH
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", 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].[TabCartellini] ([CodCompany], [ODP], [UDC], [Tara], [IdxStato], [Qta], [CodImballo], [CodImpianto], [Particolare], [CodStato], [CodStampo], [Figura], [FiguraIncisa], [PesoTot], [PesoCad], [CreateDate], [ModDate]) VALUES (@CodCompany, @ODP, @UDC, @Tara, @IdxStato, @Qta, @CodImballo, @CodImpianto, @Particolare, @CodStato, @CodStampo, @Figura, @FiguraIncisa, @PesoTot, @PesoCad, @CreateDate, @ModDate);
-SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Particolare, CodStato, CodStampo, Figura, FiguraIncisa, PesoTot, PesoCad, CreateDate, ModDate FROM TabCartellini WHERE (CodCompany = @CodCompany) AND (ODP = @ODP) AND (UDC = @UDC)";
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[ElencoCartellini] ([UDC], [CodCS], [CodCliente], [RagSociale], [Particolare], [DescParticolare], [DisegnoGrezzo], [Esponente], [CodImpianto], [DescImpianto], [CodStampo], [Figura], [DataFus], [TurnoFus], [CodImballo], [CodSoggetto], [NumCont], [Tara], [Qta], [CodStato], [IdxPosizione], [PesoTot], [PesoCad], [CreateDate], [ModDate]) VALUES (@UDC, @CodCS, @CodCliente, @RagSociale, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente, @CodImpianto, @DescImpianto, @CodStampo, @Figura, @DataFus, @TurnoFus, @CodImballo, @CodSoggetto, @NumCont, @Tara, @Qta, @CodStato, @IdxPosizione, @PesoTot, @PesoCad, @CreateDate, @ModDate);
+SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, CreateDate, ModDate FROM ElencoCartellini WHERE (UDC = @UDC)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ODP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ODP", 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("@Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", 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("@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("@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("@DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStampo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FiguraIncisa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FiguraIncisa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", 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("@IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoCad", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoCad", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", 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].[TabCartellini] SET [CodCompany] = @CodCompany, [ODP] = @ODP, [UDC] " +
- "= @UDC, [Tara] = @Tara, [IdxStato] = @IdxStato, [Qta] = @Qta, [CodImballo] = @Co" +
- "dImballo, [CodImpianto] = @CodImpianto, [Particolare] = @Particolare, [CodStato]" +
- " = @CodStato, [CodStampo] = @CodStampo, [Figura] = @Figura, [FiguraIncisa] = @Fi" +
- "guraIncisa, [PesoTot] = @PesoTot, [PesoCad] = @PesoCad, [CreateDate] = @CreateDa" +
- "te, [ModDate] = @ModDate WHERE (([CodCompany] = @Original_CodCompany) AND ([ODP]" +
- " = @Original_ODP) AND ([UDC] = @Original_UDC) AND ((@IsNull_Tara = 1 AND [Tara] " +
- "IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNull_IdxStato = 1 AND [IdxStato]" +
- " IS NULL) OR ([IdxStato] = @Original_IdxStato)) AND ((@IsNull_Qta = 1 AND [Qta] " +
- "IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodImballo = 1 AND [CodImball" +
- "o] IS NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CodImpianto " +
- "= 1 AND [CodImpianto] IS NULL) OR ([CodImpianto] = @Original_CodImpianto)) AND (" +
- "(@IsNull_Particolare = 1 AND [Particolare] IS NULL) OR ([Particolare] = @Origina" +
- "l_Particolare)) AND ((@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodStato" +
- "] = @Original_CodStato)) AND ((@IsNull_CodStampo = 1 AND [CodStampo] IS NULL) OR" +
- " ([CodStampo] = @Original_CodStampo)) AND ((@IsNull_Figura = 1 AND [Figura] IS N" +
- "ULL) OR ([Figura] = @Original_Figura)) AND ((@IsNull_FiguraIncisa = 1 AND [Figur" +
- "aIncisa] IS NULL) OR ([FiguraIncisa] = @Original_FiguraIncisa)) AND ((@IsNull_Pe" +
- "soTot = 1 AND [PesoTot] IS NULL) OR ([PesoTot] = @Original_PesoTot)) AND ((@IsNu" +
- "ll_PesoCad = 1 AND [PesoCad] IS NULL) OR ([PesoCad] = @Original_PesoCad)) AND ((" +
- "@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR ([CreateDate] = @Original_Cr" +
- "eateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS NULL) OR ([ModDate] = @Ori" +
- "ginal_ModDate)));\r\nSELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo," +
- " CodImpianto, Particolare, CodStato, CodStampo, Figura, FiguraIncisa, PesoTot, P" +
- "esoCad, CreateDate, ModDate FROM TabCartellini WHERE (CodCompany = @CodCompany) " +
- "AND (ODP = @ODP) AND (UDC = @UDC)";
+ this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[ElencoCartellini] SET [UDC] = @UDC, [CodCS] = @CodCS, [CodCliente] " +
+ "= @CodCliente, [RagSociale] = @RagSociale, [Particolare] = @Particolare, [DescPa" +
+ "rticolare] = @DescParticolare, [DisegnoGrezzo] = @DisegnoGrezzo, [Esponente] = @" +
+ "Esponente, [CodImpianto] = @CodImpianto, [DescImpianto] = @DescImpianto, [CodSta" +
+ "mpo] = @CodStampo, [Figura] = @Figura, [DataFus] = @DataFus, [TurnoFus] = @Turno" +
+ "Fus, [CodImballo] = @CodImballo, [CodSoggetto] = @CodSoggetto, [NumCont] = @NumC" +
+ "ont, [Tara] = @Tara, [Qta] = @Qta, [CodStato] = @CodStato, [IdxPosizione] = @Idx" +
+ "Posizione, [PesoTot] = @PesoTot, [PesoCad] = @PesoCad, [CreateDate] = @CreateDat" +
+ "e, [ModDate] = @ModDate WHERE (([UDC] = @Original_UDC) AND ((@IsNull_CodCS = 1 A" +
+ "ND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNull_CodCliente = 1" +
+ " AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodCliente)) AND ((@IsNu" +
+ "ll_RagSociale = 1 AND [RagSociale] IS NULL) OR ([RagSociale] = @Original_RagSoci" +
+ "ale)) AND ((@IsNull_Particolare = 1 AND [Particolare] IS NULL) OR ([Particolare]" +
+ " = @Original_Particolare)) AND ((@IsNull_DescParticolare = 1 AND [DescParticolar" +
+ "e] IS NULL) OR ([DescParticolare] = @Original_DescParticolare)) AND ((@IsNull_Di" +
+ "segnoGrezzo = 1 AND [DisegnoGrezzo] IS NULL) OR ([DisegnoGrezzo] = @Original_Dis" +
+ "egnoGrezzo)) AND ((@IsNull_Esponente = 1 AND [Esponente] IS NULL) OR ([Esponente" +
+ "] = @Original_Esponente)) AND ((@IsNull_CodImpianto = 1 AND [CodImpianto] IS NUL" +
+ "L) OR ([CodImpianto] = @Original_CodImpianto)) AND ((@IsNull_DescImpianto = 1 AN" +
+ "D [DescImpianto] IS NULL) OR ([DescImpianto] = @Original_DescImpianto)) AND ((@I" +
+ "sNull_CodStampo = 1 AND [CodStampo] IS NULL) OR ([CodStampo] = @Original_CodStam" +
+ "po)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura] = @Original_Fig" +
+ "ura)) AND ((@IsNull_DataFus = 1 AND [DataFus] IS NULL) OR ([DataFus] = @Original" +
+ "_DataFus)) AND ((@IsNull_TurnoFus = 1 AND [TurnoFus] IS NULL) OR ([TurnoFus] = @" +
+ "Original_TurnoFus)) AND ((@IsNull_CodImballo = 1 AND [CodImballo] IS NULL) OR ([" +
+ "CodImballo] = @Original_CodImballo)) AND ((@IsNull_CodSoggetto = 1 AND [CodSogge" +
+ "tto] IS NULL) OR ([CodSoggetto] = @Original_CodSoggetto)) AND ((@IsNull_NumCont " +
+ "= 1 AND [NumCont] IS NULL) OR ([NumCont] = @Original_NumCont)) AND ((@IsNull_Tar" +
+ "a = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNull_Qta = 1 AN" +
+ "D [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodStato = 1 AND [Cod" +
+ "Stato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsNull_IdxPosizione" +
+ " = 1 AND [IdxPosizione] IS NULL) OR ([IdxPosizione] = @Original_IdxPosizione)) A" +
+ "ND ((@IsNull_PesoTot = 1 AND [PesoTot] IS NULL) OR ([PesoTot] = @Original_PesoTo" +
+ "t)) AND ((@IsNull_PesoCad = 1 AND [PesoCad] IS NULL) OR ([PesoCad] = @Original_P" +
+ "esoCad)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR ([CreateDate]" +
+ " = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS NULL) OR ([" +
+ "ModDate] = @Original_ModDate)));\r\nSELECT UDC, CodCS, CodCliente, RagSociale, Par" +
+ "ticolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, " +
+ "CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qt" +
+ "a, CodStato, IdxPosizione, PesoTot, PesoCad, CreateDate, ModDate FROM ElencoCart" +
+ "ellini WHERE (UDC = @UDC)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ODP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ODP", 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("@Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", 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("@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("@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("@DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStampo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FiguraIncisa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FiguraIncisa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", 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("@IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoCad", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoCad", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ODP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ODP", 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("@IsNull_Tara", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImballo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCS", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCliente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RagSociale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Particolare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, true, 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("@IsNull_CodStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescParticolare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, true, 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("@IsNull_DisegnoGrezzo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Esponente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Esponente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodStampo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStampo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Figura", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Figura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FiguraIncisa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FiguraIncisa", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FiguraIncisa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FiguraIncisa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataFus", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImballo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSoggetto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Tara", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PesoTot", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PesoTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PesoCad", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoCad", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -12230,9 +12535,7 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
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 CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Partic" +
- "olare, CodStato, CodStampo, Figura, FiguraIncisa, PesoTot, PesoCad, CreateDate, " +
- "ModDate FROM dbo.TabCartellini";
+ this._commandCollection[0].CommandText = @"SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, CreateDate, ModDate FROM dbo.ElencoCartellini";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
@@ -12251,8 +12554,7 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
this._commandCollection[3].CommandText = "dbo.stp_UDC_insNew";
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("@CodCompany", global::System.Data.SqlDbType.VarChar, 4, 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("@CodSito", global::System.Data.SqlDbType.VarChar, 4, 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("@CodCS", global::System.Data.SqlDbType.VarChar, 2, 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("@Flusso", global::System.Data.SqlDbType.VarChar, 2, 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("@Anno", global::System.Data.SqlDbType.VarChar, 2, 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("@Tara", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -12265,24 +12567,32 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
this._commandCollection[4].CommandText = "dbo.stp_UDC_insNewFull";
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("@CodCompany", global::System.Data.SqlDbType.VarChar, 4, 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("@CodSito", global::System.Data.SqlDbType.VarChar, 4, 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("@CodCS", global::System.Data.SqlDbType.VarChar, 2, 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("@Flusso", global::System.Data.SqlDbType.VarChar, 2, 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("@Anno", global::System.Data.SqlDbType.VarChar, 2, 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("@CodCliente", global::System.Data.SqlDbType.VarChar, 6, 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("@RagSociale", global::System.Data.SqlDbType.VarChar, 35, 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.VarChar, 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.VarChar, 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("@DisegnoGrezzo", global::System.Data.SqlDbType.VarChar, 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("@Esponente", global::System.Data.SqlDbType.VarChar, 6, 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("@CodImpianto", global::System.Data.SqlDbType.VarChar, 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("@DescImpianto", global::System.Data.SqlDbType.VarChar, 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("@CodStampo", global::System.Data.SqlDbType.VarChar, 8, 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("@Figura", global::System.Data.SqlDbType.VarChar, 4, 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("@DataFus", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.VarChar, 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("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 16, 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("@NumCont", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.VarChar, 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("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 1, 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("@CodOperatore", global::System.Data.SqlDbType.VarChar, 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("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, 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("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoTot", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoCad", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 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.VarChar, 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("@CodStato", global::System.Data.SqlDbType.VarChar, 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("@CodStampo", global::System.Data.SqlDbType.VarChar, 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("@Figura", global::System.Data.SqlDbType.VarChar, 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("@FiguraIncisa", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[5].Connection = this.Connection;
this._commandCollection[5].CommandText = "dbo.stp_sbloccaUdc";
@@ -12294,7 +12604,7 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
- public virtual int Fill(DS_Applicazione.TabCartelliniDataTable dataTable) {
+ public virtual int Fill(DS_Applicazione.ElencoCartelliniDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
@@ -12306,9 +12616,9 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
- public virtual DS_Applicazione.TabCartelliniDataTable GetData() {
+ public virtual DS_Applicazione.ElencoCartelliniDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
- DS_Applicazione.TabCartelliniDataTable dataTable = new DS_Applicazione.TabCartelliniDataTable();
+ DS_Applicazione.ElencoCartelliniDataTable dataTable = new DS_Applicazione.ElencoCartelliniDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
@@ -12316,7 +12626,7 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual DS_Applicazione.TabCartelliniDataTable stp_getStatoByUdc(string UDC) {
+ public virtual DS_Applicazione.ElencoCartelliniDataTable stp_getStatoByUdc(string UDC) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((UDC == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
@@ -12324,7 +12634,7 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC));
}
- DS_Applicazione.TabCartelliniDataTable dataTable = new DS_Applicazione.TabCartelliniDataTable();
+ DS_Applicazione.ElencoCartelliniDataTable dataTable = new DS_Applicazione.ElencoCartelliniDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
@@ -12332,63 +12642,57 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual DS_Applicazione.TabCartelliniDataTable stp_insNew(string CodCompany, string CodSito, string Flusso, string Anno, global::System.Nullable Tara, string CodImballo, string CodTipoDichiaraz, string CodOperatore, string CodEvento) {
+ public virtual DS_Applicazione.ElencoCartelliniDataTable stp_insNew(string CodCS, string Flusso, string Anno, global::System.Nullable Tara, string CodImballo, string CodTipoDichiaraz, string CodOperatore, string CodEvento) {
this.Adapter.SelectCommand = this.CommandCollection[3];
- if ((CodCompany == null)) {
+ if ((CodCS == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCompany));
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS));
}
- if ((CodSito == null)) {
+ if ((Flusso == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodSito));
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Flusso));
}
- if ((Flusso == null)) {
+ if ((Anno == null)) {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Flusso));
- }
- if ((Anno == null)) {
- this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[4].Value = ((string)(Anno));
+ this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Anno));
}
if ((Tara.HasValue == true)) {
- this.Adapter.SelectCommand.Parameters[5].Value = ((double)(Tara.Value));
+ this.Adapter.SelectCommand.Parameters[4].Value = ((double)(Tara.Value));
}
else {
- this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
+ this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
}
if ((CodImballo == null)) {
+ this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[5].Value = ((string)(CodImballo));
+ }
+ if ((CodTipoDichiaraz == null)) {
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.SelectCommand.Parameters[6].Value = ((string)(CodImballo));
+ this.Adapter.SelectCommand.Parameters[6].Value = ((string)(CodTipoDichiaraz));
}
- if ((CodTipoDichiaraz == null)) {
+ if ((CodOperatore == null)) {
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.SelectCommand.Parameters[7].Value = ((string)(CodTipoDichiaraz));
+ this.Adapter.SelectCommand.Parameters[7].Value = ((string)(CodOperatore));
}
- if ((CodOperatore == null)) {
+ if ((CodEvento == null)) {
this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.SelectCommand.Parameters[8].Value = ((string)(CodOperatore));
+ this.Adapter.SelectCommand.Parameters[8].Value = ((string)(CodEvento));
}
- if ((CodEvento == null)) {
- this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[9].Value = ((string)(CodEvento));
- }
- DS_Applicazione.TabCartelliniDataTable dataTable = new DS_Applicazione.TabCartelliniDataTable();
+ DS_Applicazione.ElencoCartelliniDataTable dataTable = new DS_Applicazione.ElencoCartelliniDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
@@ -12396,149 +12700,205 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual DS_Applicazione.TabCartelliniDataTable stp_insNewFull(
- string CodCompany,
- string CodSito,
+ public virtual DS_Applicazione.ElencoCartelliniDataTable stp_insNewFull(
+ string CodCS,
string Flusso,
string Anno,
- global::System.Nullable Tara,
- global::System.Nullable IdxStato,
+ string CodCliente,
+ string RagSociale,
+ string Particolare,
+ string DescParticolare,
+ string DisegnoGrezzo,
+ string Esponente,
+ string CodImpianto,
+ string DescImpianto,
+ string CodStampo,
+ string Figura,
+ global::System.Nullable DataFus,
+ global::System.Nullable TurnoFus,
string CodImballo,
+ string CodSoggetto,
+ global::System.Nullable NumCont,
+ global::System.Nullable Tara,
+ global::System.Nullable IdxPosizione,
string CodTipoDichiaraz,
- string CodOperatore,
string CodEvento,
global::System.Nullable Qta,
global::System.Nullable PesoTot,
global::System.Nullable PesoCad,
- string Particolare,
- string CodStato,
- string CodStampo,
- string Figura,
- string FiguraIncisa) {
+ string CodStato) {
this.Adapter.SelectCommand = this.CommandCollection[4];
- if ((CodCompany == null)) {
+ if ((CodCS == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCompany));
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS));
}
- if ((CodSito == null)) {
+ if ((Flusso == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodSito));
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Flusso));
}
- if ((Flusso == null)) {
+ if ((Anno == null)) {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Flusso));
+ this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Anno));
}
- if ((Anno == null)) {
+ if ((CodCliente == null)) {
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.SelectCommand.Parameters[4].Value = ((string)(Anno));
+ this.Adapter.SelectCommand.Parameters[4].Value = ((string)(CodCliente));
}
- if ((Tara.HasValue == true)) {
- this.Adapter.SelectCommand.Parameters[5].Value = ((double)(Tara.Value));
- }
- else {
+ if ((RagSociale == null)) {
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
}
- if ((IdxStato.HasValue == true)) {
- this.Adapter.SelectCommand.Parameters[6].Value = ((int)(IdxStato.Value));
- }
else {
+ this.Adapter.SelectCommand.Parameters[5].Value = ((string)(RagSociale));
+ }
+ if ((Particolare == null)) {
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
}
- if ((CodImballo == null)) {
+ else {
+ this.Adapter.SelectCommand.Parameters[6].Value = ((string)(Particolare));
+ }
+ if ((DescParticolare == null)) {
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.SelectCommand.Parameters[7].Value = ((string)(CodImballo));
+ this.Adapter.SelectCommand.Parameters[7].Value = ((string)(DescParticolare));
}
- if ((CodTipoDichiaraz == null)) {
+ if ((DisegnoGrezzo == null)) {
this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.SelectCommand.Parameters[8].Value = ((string)(CodTipoDichiaraz));
+ this.Adapter.SelectCommand.Parameters[8].Value = ((string)(DisegnoGrezzo));
}
- if ((CodOperatore == null)) {
+ if ((Esponente == null)) {
this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.SelectCommand.Parameters[9].Value = ((string)(CodOperatore));
+ this.Adapter.SelectCommand.Parameters[9].Value = ((string)(Esponente));
}
- if ((CodEvento == null)) {
+ if ((CodImpianto == null)) {
this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.SelectCommand.Parameters[10].Value = ((string)(CodEvento));
+ this.Adapter.SelectCommand.Parameters[10].Value = ((string)(CodImpianto));
}
- if ((Qta.HasValue == true)) {
- this.Adapter.SelectCommand.Parameters[11].Value = ((decimal)(Qta.Value));
- }
- else {
+ if ((DescImpianto == null)) {
this.Adapter.SelectCommand.Parameters[11].Value = global::System.DBNull.Value;
}
- if ((PesoTot.HasValue == true)) {
- this.Adapter.SelectCommand.Parameters[12].Value = ((double)(PesoTot.Value));
- }
else {
- this.Adapter.SelectCommand.Parameters[12].Value = global::System.DBNull.Value;
- }
- if ((PesoCad.HasValue == true)) {
- this.Adapter.SelectCommand.Parameters[13].Value = ((double)(PesoCad.Value));
- }
- else {
- this.Adapter.SelectCommand.Parameters[13].Value = global::System.DBNull.Value;
- }
- if ((Particolare == null)) {
- this.Adapter.SelectCommand.Parameters[14].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[14].Value = ((string)(Particolare));
- }
- if ((CodStato == null)) {
- this.Adapter.SelectCommand.Parameters[15].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[15].Value = ((string)(CodStato));
+ this.Adapter.SelectCommand.Parameters[11].Value = ((string)(DescImpianto));
}
if ((CodStampo == null)) {
+ this.Adapter.SelectCommand.Parameters[12].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[12].Value = ((string)(CodStampo));
+ }
+ if ((Figura == null)) {
+ this.Adapter.SelectCommand.Parameters[13].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[13].Value = ((string)(Figura));
+ }
+ if ((DataFus.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[14].Value = ((System.DateTime)(DataFus.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ if ((TurnoFus.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[15].Value = ((int)(TurnoFus.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ if ((CodImballo == null)) {
this.Adapter.SelectCommand.Parameters[16].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.SelectCommand.Parameters[16].Value = ((string)(CodStampo));
+ this.Adapter.SelectCommand.Parameters[16].Value = ((string)(CodImballo));
}
- if ((Figura == null)) {
+ if ((CodSoggetto == null)) {
this.Adapter.SelectCommand.Parameters[17].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.SelectCommand.Parameters[17].Value = ((string)(Figura));
+ this.Adapter.SelectCommand.Parameters[17].Value = ((string)(CodSoggetto));
}
- if ((FiguraIncisa == null)) {
- this.Adapter.SelectCommand.Parameters[18].Value = global::System.DBNull.Value;
+ if ((NumCont.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[18].Value = ((int)(NumCont.Value));
}
else {
- this.Adapter.SelectCommand.Parameters[18].Value = ((string)(FiguraIncisa));
+ this.Adapter.SelectCommand.Parameters[18].Value = global::System.DBNull.Value;
}
- DS_Applicazione.TabCartelliniDataTable dataTable = new DS_Applicazione.TabCartelliniDataTable();
+ if ((Tara.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[19].Value = ((double)(Tara.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ if ((IdxPosizione.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[20].Value = ((int)(IdxPosizione.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[20].Value = global::System.DBNull.Value;
+ }
+ if ((CodTipoDichiaraz == null)) {
+ this.Adapter.SelectCommand.Parameters[21].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[21].Value = ((string)(CodTipoDichiaraz));
+ }
+ if ((CodEvento == null)) {
+ this.Adapter.SelectCommand.Parameters[22].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[22].Value = ((string)(CodEvento));
+ }
+ if ((Qta.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[23].Value = ((decimal)(Qta.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[23].Value = global::System.DBNull.Value;
+ }
+ if ((PesoTot.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[24].Value = ((double)(PesoTot.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[24].Value = global::System.DBNull.Value;
+ }
+ if ((PesoCad.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[25].Value = ((double)(PesoCad.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[25].Value = global::System.DBNull.Value;
+ }
+ if ((CodStato == null)) {
+ this.Adapter.SelectCommand.Parameters[26].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[26].Value = ((string)(CodStato));
+ }
+ DS_Applicazione.ElencoCartelliniDataTable dataTable = new DS_Applicazione.ElencoCartelliniDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(DS_Applicazione.TabCartelliniDataTable dataTable) {
+ public virtual int Update(DS_Applicazione.ElencoCartelliniDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DS_Applicazione dataSet) {
- return this.Adapter.Update(dataSet, "TabCartellini");
+ return this.Adapter.Update(dataSet, "ElencoCartellini");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -12558,153 +12918,229 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(
- string Original_CodCompany,
- string Original_ODP,
string Original_UDC,
- global::System.Nullable Original_Tara,
- global::System.Nullable Original_IdxStato,
- global::System.Nullable Original_Qta,
- string Original_CodImballo,
- string Original_CodImpianto,
+ string Original_CodCS,
+ string Original_CodCliente,
+ string Original_RagSociale,
string Original_Particolare,
- string Original_CodStato,
+ string Original_DescParticolare,
+ string Original_DisegnoGrezzo,
+ string Original_Esponente,
+ string Original_CodImpianto,
+ string Original_DescImpianto,
string Original_CodStampo,
string Original_Figura,
- string Original_FiguraIncisa,
+ global::System.Nullable Original_DataFus,
+ global::System.Nullable Original_TurnoFus,
+ string Original_CodImballo,
+ string Original_CodSoggetto,
+ global::System.Nullable Original_NumCont,
+ global::System.Nullable Original_Tara,
+ global::System.Nullable Original_Qta,
+ string Original_CodStato,
+ global::System.Nullable Original_IdxPosizione,
global::System.Nullable Original_PesoTot,
global::System.Nullable Original_PesoCad,
global::System.Nullable Original_CreateDate,
global::System.Nullable Original_ModDate) {
- if ((Original_CodCompany == null)) {
- throw new global::System.ArgumentNullException("Original_CodCompany");
- }
- else {
- this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodCompany));
- }
- if ((Original_ODP == null)) {
- throw new global::System.ArgumentNullException("Original_ODP");
- }
- else {
- this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_ODP));
- }
if ((Original_UDC == null)) {
throw new global::System.ArgumentNullException("Original_UDC");
}
else {
- this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_UDC));
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_UDC));
}
- if ((Original_Tara.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[4].Value = ((double)(Original_Tara.Value));
+ if ((Original_CodCS == null)) {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodCS));
+ }
+ if ((Original_CodCliente == null)) {
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
}
- if ((Original_IdxStato.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[6].Value = ((int)(Original_IdxStato.Value));
- }
else {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodCliente));
+ }
+ if ((Original_RagSociale == null)) {
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
}
- if ((Original_Qta.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[8].Value = ((decimal)(Original_Qta.Value));
- }
else {
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_RagSociale));
+ }
+ if ((Original_Particolare == null)) {
this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
}
- if ((Original_CodImballo == null)) {
+ else {
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_Particolare));
+ }
+ if ((Original_DescParticolare == null)) {
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_CodImballo));
+ this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_DescParticolare));
}
- if ((Original_CodImpianto == null)) {
+ if ((Original_DisegnoGrezzo == null)) {
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_CodImpianto));
+ this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_DisegnoGrezzo));
}
- if ((Original_Particolare == null)) {
+ if ((Original_Esponente == null)) {
this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_Particolare));
+ this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_Esponente));
}
- if ((Original_CodStato == null)) {
+ if ((Original_CodImpianto == null)) {
this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_CodStato));
+ this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_CodImpianto));
}
- if ((Original_CodStampo == null)) {
+ if ((Original_DescImpianto == null)) {
this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_CodStampo));
+ this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_DescImpianto));
}
- if ((Original_Figura == null)) {
+ if ((Original_CodStampo == null)) {
this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_Figura));
+ this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_CodStampo));
}
- if ((Original_FiguraIncisa == null)) {
+ if ((Original_Figura == null)) {
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_FiguraIncisa));
+ this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_Figura));
}
- if ((Original_PesoTot.HasValue == true)) {
+ if ((Original_DataFus.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[24].Value = ((double)(Original_PesoTot.Value));
+ this.Adapter.DeleteCommand.Parameters[24].Value = ((System.DateTime)(Original_DataFus.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value;
}
- if ((Original_PesoCad.HasValue == true)) {
+ if ((Original_TurnoFus.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[26].Value = ((double)(Original_PesoCad.Value));
+ this.Adapter.DeleteCommand.Parameters[26].Value = ((int)(Original_TurnoFus.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value;
}
- if ((Original_CreateDate.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[28].Value = ((System.DateTime)(Original_CreateDate.Value));
- }
- else {
+ if ((Original_CodImballo == null)) {
this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value;
}
- if ((Original_ModDate.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[30].Value = ((System.DateTime)(Original_ModDate.Value));
- }
else {
+ this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_CodImballo));
+ }
+ if ((Original_CodSoggetto == null)) {
this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value;
}
+ else {
+ this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_CodSoggetto));
+ }
+ if ((Original_NumCont.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[32].Value = ((int)(Original_NumCont.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value;
+ }
+ if ((Original_Tara.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[34].Value = ((double)(Original_Tara.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value;
+ }
+ if ((Original_Qta.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[36].Value = ((decimal)(Original_Qta.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value;
+ }
+ if ((Original_CodStato == null)) {
+ this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[38].Value = ((string)(Original_CodStato));
+ }
+ if ((Original_IdxPosizione.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[40].Value = ((int)(Original_IdxPosizione.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value;
+ }
+ if ((Original_PesoTot.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[42].Value = ((double)(Original_PesoTot.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[42].Value = global::System.DBNull.Value;
+ }
+ if ((Original_PesoCad.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[44].Value = ((double)(Original_PesoCad.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[44].Value = global::System.DBNull.Value;
+ }
+ if ((Original_CreateDate.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[46].Value = ((System.DateTime)(Original_CreateDate.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[46].Value = global::System.DBNull.Value;
+ }
+ if ((Original_ModDate.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[48].Value = ((System.DateTime)(Original_ModDate.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[48].Value = global::System.DBNull.Value;
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -12725,82 +13161,90 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(
- string CodCompany,
- string ODP,
string UDC,
- global::System.Nullable Tara,
- global::System.Nullable IdxStato,
- global::System.Nullable Qta,
- string CodImballo,
- string CodImpianto,
+ string CodCS,
+ string CodCliente,
+ string RagSociale,
string Particolare,
- string CodStato,
+ string DescParticolare,
+ string DisegnoGrezzo,
+ string Esponente,
+ string CodImpianto,
+ string DescImpianto,
string CodStampo,
string Figura,
- string FiguraIncisa,
+ global::System.Nullable DataFus,
+ global::System.Nullable TurnoFus,
+ string CodImballo,
+ string CodSoggetto,
+ global::System.Nullable NumCont,
+ global::System.Nullable Tara,
+ global::System.Nullable Qta,
+ string CodStato,
+ global::System.Nullable IdxPosizione,
global::System.Nullable PesoTot,
global::System.Nullable PesoCad,
global::System.Nullable CreateDate,
global::System.Nullable ModDate) {
- if ((CodCompany == null)) {
- throw new global::System.ArgumentNullException("CodCompany");
- }
- else {
- this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodCompany));
- }
- if ((ODP == null)) {
- throw new global::System.ArgumentNullException("ODP");
- }
- else {
- this.Adapter.InsertCommand.Parameters[1].Value = ((string)(ODP));
- }
if ((UDC == null)) {
throw new global::System.ArgumentNullException("UDC");
}
else {
- this.Adapter.InsertCommand.Parameters[2].Value = ((string)(UDC));
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(UDC));
}
- if ((Tara.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[3].Value = ((double)(Tara.Value));
+ if ((CodCS == null)) {
+ this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodCS));
+ }
+ if ((CodCliente == null)) {
+ this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodCliente));
+ }
+ if ((RagSociale == null)) {
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
}
- if ((IdxStato.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[4].Value = ((int)(IdxStato.Value));
- }
else {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((string)(RagSociale));
+ }
+ if ((Particolare == null)) {
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
}
- if ((Qta.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[5].Value = ((decimal)(Qta.Value));
- }
else {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Particolare));
+ }
+ if ((DescParticolare == null)) {
this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
}
- if ((CodImballo == null)) {
+ else {
+ this.Adapter.InsertCommand.Parameters[5].Value = ((string)(DescParticolare));
+ }
+ if ((DisegnoGrezzo == null)) {
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.InsertCommand.Parameters[6].Value = ((string)(CodImballo));
+ this.Adapter.InsertCommand.Parameters[6].Value = ((string)(DisegnoGrezzo));
}
- if ((CodImpianto == null)) {
+ if ((Esponente == null)) {
this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.InsertCommand.Parameters[7].Value = ((string)(CodImpianto));
+ this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Esponente));
}
- if ((Particolare == null)) {
+ if ((CodImpianto == null)) {
this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Particolare));
+ this.Adapter.InsertCommand.Parameters[8].Value = ((string)(CodImpianto));
}
- if ((CodStato == null)) {
+ if ((DescImpianto == null)) {
this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.InsertCommand.Parameters[9].Value = ((string)(CodStato));
+ this.Adapter.InsertCommand.Parameters[9].Value = ((string)(DescImpianto));
}
if ((CodStampo == null)) {
this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
@@ -12814,36 +13258,84 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
else {
this.Adapter.InsertCommand.Parameters[11].Value = ((string)(Figura));
}
- if ((FiguraIncisa == null)) {
- this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
+ if ((DataFus.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[12].Value = ((System.DateTime)(DataFus.Value));
}
else {
- this.Adapter.InsertCommand.Parameters[12].Value = ((string)(FiguraIncisa));
+ this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
}
- if ((PesoTot.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[13].Value = ((double)(PesoTot.Value));
+ if ((TurnoFus.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[13].Value = ((int)(TurnoFus.Value));
}
else {
this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
}
- if ((PesoCad.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[14].Value = ((double)(PesoCad.Value));
- }
- else {
+ if ((CodImballo == null)) {
this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
}
- if ((CreateDate.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[15].Value = ((System.DateTime)(CreateDate.Value));
- }
else {
+ this.Adapter.InsertCommand.Parameters[14].Value = ((string)(CodImballo));
+ }
+ if ((CodSoggetto == null)) {
this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
}
- if ((ModDate.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[16].Value = ((System.DateTime)(ModDate.Value));
+ else {
+ this.Adapter.InsertCommand.Parameters[15].Value = ((string)(CodSoggetto));
+ }
+ if ((NumCont.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[16].Value = ((int)(NumCont.Value));
}
else {
this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
}
+ if ((Tara.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[17].Value = ((double)(Tara.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
+ }
+ if ((Qta.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[18].Value = ((decimal)(Qta.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ if ((CodStato == null)) {
+ this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[19].Value = ((string)(CodStato));
+ }
+ if ((IdxPosizione.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[20].Value = ((int)(IdxPosizione.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value;
+ }
+ if ((PesoTot.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[21].Value = ((double)(PesoTot.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value;
+ }
+ if ((PesoCad.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[22].Value = ((double)(PesoCad.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value;
+ }
+ if ((CreateDate.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[23].Value = ((System.DateTime)(CreateDate.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value;
+ }
+ if ((ModDate.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[24].Value = ((System.DateTime)(ModDate.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value;
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -12864,99 +13356,115 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
- string CodCompany,
- string ODP,
string UDC,
- global::System.Nullable Tara,
- global::System.Nullable IdxStato,
- global::System.Nullable Qta,
- string CodImballo,
- string CodImpianto,
+ string CodCS,
+ string CodCliente,
+ string RagSociale,
string Particolare,
- string CodStato,
+ string DescParticolare,
+ string DisegnoGrezzo,
+ string Esponente,
+ string CodImpianto,
+ string DescImpianto,
string CodStampo,
string Figura,
- string FiguraIncisa,
+ global::System.Nullable DataFus,
+ global::System.Nullable TurnoFus,
+ string CodImballo,
+ string CodSoggetto,
+ global::System.Nullable NumCont,
+ global::System.Nullable Tara,
+ global::System.Nullable Qta,
+ string CodStato,
+ global::System.Nullable IdxPosizione,
global::System.Nullable PesoTot,
global::System.Nullable PesoCad,
global::System.Nullable CreateDate,
global::System.Nullable ModDate,
- string Original_CodCompany,
- string Original_ODP,
string Original_UDC,
- global::System.Nullable Original_Tara,
- global::System.Nullable Original_IdxStato,
- global::System.Nullable Original_Qta,
- string Original_CodImballo,
- string Original_CodImpianto,
+ string Original_CodCS,
+ string Original_CodCliente,
+ string Original_RagSociale,
string Original_Particolare,
- string Original_CodStato,
+ string Original_DescParticolare,
+ string Original_DisegnoGrezzo,
+ string Original_Esponente,
+ string Original_CodImpianto,
+ string Original_DescImpianto,
string Original_CodStampo,
string Original_Figura,
- string Original_FiguraIncisa,
+ global::System.Nullable Original_DataFus,
+ global::System.Nullable Original_TurnoFus,
+ string Original_CodImballo,
+ string Original_CodSoggetto,
+ global::System.Nullable Original_NumCont,
+ global::System.Nullable Original_Tara,
+ global::System.Nullable Original_Qta,
+ string Original_CodStato,
+ global::System.Nullable Original_IdxPosizione,
global::System.Nullable Original_PesoTot,
global::System.Nullable Original_PesoCad,
global::System.Nullable Original_CreateDate,
global::System.Nullable Original_ModDate) {
- if ((CodCompany == null)) {
- throw new global::System.ArgumentNullException("CodCompany");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodCompany));
- }
- if ((ODP == null)) {
- throw new global::System.ArgumentNullException("ODP");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(ODP));
- }
if ((UDC == null)) {
throw new global::System.ArgumentNullException("UDC");
}
else {
- this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(UDC));
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(UDC));
}
- if ((Tara.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[3].Value = ((double)(Tara.Value));
+ if ((CodCS == null)) {
+ this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodCS));
+ }
+ if ((CodCliente == null)) {
+ this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodCliente));
+ }
+ if ((RagSociale == null)) {
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
}
- if ((IdxStato.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(IdxStato.Value));
- }
else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(RagSociale));
+ }
+ if ((Particolare == null)) {
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
}
- if ((Qta.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[5].Value = ((decimal)(Qta.Value));
- }
else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Particolare));
+ }
+ if ((DescParticolare == null)) {
this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
}
- if ((CodImballo == null)) {
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(DescParticolare));
+ }
+ if ((DisegnoGrezzo == null)) {
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(CodImballo));
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(DisegnoGrezzo));
}
- if ((CodImpianto == null)) {
+ if ((Esponente == null)) {
this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(CodImpianto));
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Esponente));
}
- if ((Particolare == null)) {
+ if ((CodImpianto == null)) {
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Particolare));
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(CodImpianto));
}
- if ((CodStato == null)) {
+ if ((DescImpianto == null)) {
this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(CodStato));
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(DescImpianto));
}
if ((CodStampo == null)) {
this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
@@ -12970,166 +13478,282 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
else {
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Figura));
}
- if ((FiguraIncisa == null)) {
- this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
+ if ((DataFus.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(DataFus.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(FiguraIncisa));
+ this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
}
- if ((PesoTot.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[13].Value = ((double)(PesoTot.Value));
+ if ((TurnoFus.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(TurnoFus.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
}
- if ((PesoCad.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[14].Value = ((double)(PesoCad.Value));
- }
- else {
+ if ((CodImballo == null)) {
this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
}
- if ((CreateDate.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(CreateDate.Value));
- }
else {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(CodImballo));
+ }
+ if ((CodSoggetto == null)) {
this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
}
- if ((ModDate.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[16].Value = ((System.DateTime)(ModDate.Value));
+ else {
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(CodSoggetto));
+ }
+ if ((NumCont.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(NumCont.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
}
- if ((Original_CodCompany == null)) {
- throw new global::System.ArgumentNullException("Original_CodCompany");
+ if ((Tara.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((double)(Tara.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_CodCompany));
+ this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
}
- if ((Original_ODP == null)) {
- throw new global::System.ArgumentNullException("Original_ODP");
+ if ((Qta.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(Qta.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_ODP));
+ this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ if ((CodStato == null)) {
+ this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(CodStato));
+ }
+ if ((IdxPosizione.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(IdxPosizione.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
+ }
+ if ((PesoTot.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((double)(PesoTot.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
+ }
+ if ((PesoCad.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((double)(PesoCad.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
+ }
+ if ((CreateDate.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((System.DateTime)(CreateDate.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
+ }
+ if ((ModDate.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((System.DateTime)(ModDate.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
}
if ((Original_UDC == null)) {
throw new global::System.ArgumentNullException("Original_UDC");
}
else {
- this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_UDC));
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_UDC));
}
- if ((Original_Tara.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[21].Value = ((double)(Original_Tara.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
- }
- if ((Original_IdxStato.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(Original_IdxStato.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
- }
- if ((Original_Qta.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[25].Value = ((decimal)(Original_Qta.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
- }
- if ((Original_CodImballo == null)) {
+ if ((Original_CodCS == null)) {
this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_CodImballo));
+ this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_CodCS));
}
- if ((Original_CodImpianto == null)) {
+ if ((Original_CodCliente == null)) {
this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_CodImpianto));
+ this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_CodCliente));
}
- if ((Original_Particolare == null)) {
+ if ((Original_RagSociale == null)) {
this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_Particolare));
+ this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_RagSociale));
}
- if ((Original_CodStato == null)) {
+ if ((Original_Particolare == null)) {
this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_CodStato));
+ this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_Particolare));
}
- if ((Original_CodStampo == null)) {
+ if ((Original_DescParticolare == null)) {
this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_CodStampo));
+ this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_DescParticolare));
}
- if ((Original_Figura == null)) {
+ if ((Original_DisegnoGrezzo == null)) {
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_Figura));
+ this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_DisegnoGrezzo));
}
- if ((Original_FiguraIncisa == null)) {
+ if ((Original_Esponente == null)) {
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_FiguraIncisa));
+ this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_Esponente));
}
- if ((Original_PesoTot.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[41].Value = ((double)(Original_PesoTot.Value));
- }
- else {
+ if ((Original_CodImpianto == null)) {
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
}
- if ((Original_PesoCad.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[43].Value = ((double)(Original_PesoCad.Value));
- }
else {
+ this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_CodImpianto));
+ }
+ if ((Original_DescImpianto == null)) {
this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value;
}
- if ((Original_CreateDate.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[45].Value = ((System.DateTime)(Original_CreateDate.Value));
- }
else {
+ this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_DescImpianto));
+ }
+ if ((Original_CodStampo == null)) {
this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value;
}
- if ((Original_ModDate.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[47].Value = ((System.DateTime)(Original_ModDate.Value));
- }
else {
+ this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_CodStampo));
+ }
+ if ((Original_Figura == null)) {
this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value;
}
+ else {
+ this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Original_Figura));
+ }
+ if ((Original_DataFus.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[49].Value = ((System.DateTime)(Original_DataFus.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value;
+ }
+ if ((Original_TurnoFus.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[51].Value = ((int)(Original_TurnoFus.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value;
+ }
+ if ((Original_CodImballo == null)) {
+ this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[53].Value = ((string)(Original_CodImballo));
+ }
+ if ((Original_CodSoggetto == null)) {
+ this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[55].Value = ((string)(Original_CodSoggetto));
+ }
+ if ((Original_NumCont.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[57].Value = ((int)(Original_NumCont.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value;
+ }
+ if ((Original_Tara.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[59].Value = ((double)(Original_Tara.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value;
+ }
+ if ((Original_Qta.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[61].Value = ((decimal)(Original_Qta.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value;
+ }
+ if ((Original_CodStato == null)) {
+ this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[63].Value = ((string)(Original_CodStato));
+ }
+ if ((Original_IdxPosizione.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[65].Value = ((int)(Original_IdxPosizione.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value;
+ }
+ if ((Original_PesoTot.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[67].Value = ((double)(Original_PesoTot.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value;
+ }
+ if ((Original_PesoCad.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[69].Value = ((double)(Original_PesoCad.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value;
+ }
+ if ((Original_CreateDate.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[71].Value = ((System.DateTime)(Original_CreateDate.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value;
+ }
+ if ((Original_ModDate.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[73].Value = ((System.DateTime)(Original_ModDate.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[73].Value = global::System.DBNull.Value;
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -13150,38 +13774,56 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
- global::System.Nullable Tara,
- global::System.Nullable IdxStato,
- global::System.Nullable Qta,
- string CodImballo,
- string CodImpianto,
+ string CodCS,
+ string CodCliente,
+ string RagSociale,
string Particolare,
- string CodStato,
+ string DescParticolare,
+ string DisegnoGrezzo,
+ string Esponente,
+ string CodImpianto,
+ string DescImpianto,
string CodStampo,
string Figura,
- string FiguraIncisa,
+ global::System.Nullable DataFus,
+ global::System.Nullable TurnoFus,
+ string CodImballo,
+ string CodSoggetto,
+ global::System.Nullable NumCont,
+ global::System.Nullable Tara,
+ global::System.Nullable Qta,
+ string CodStato,
+ global::System.Nullable IdxPosizione,
global::System.Nullable PesoTot,
global::System.Nullable PesoCad,
global::System.Nullable CreateDate,
global::System.Nullable ModDate,
- string Original_CodCompany,
- string Original_ODP,
string Original_UDC,
- global::System.Nullable Original_Tara,
- global::System.Nullable Original_IdxStato,
- global::System.Nullable Original_Qta,
- string Original_CodImballo,
- string Original_CodImpianto,
+ string Original_CodCS,
+ string Original_CodCliente,
+ string Original_RagSociale,
string Original_Particolare,
- string Original_CodStato,
+ string Original_DescParticolare,
+ string Original_DisegnoGrezzo,
+ string Original_Esponente,
+ string Original_CodImpianto,
+ string Original_DescImpianto,
string Original_CodStampo,
string Original_Figura,
- string Original_FiguraIncisa,
+ global::System.Nullable Original_DataFus,
+ global::System.Nullable Original_TurnoFus,
+ string Original_CodImballo,
+ string Original_CodSoggetto,
+ global::System.Nullable Original_NumCont,
+ global::System.Nullable Original_Tara,
+ global::System.Nullable Original_Qta,
+ string Original_CodStato,
+ global::System.Nullable Original_IdxPosizione,
global::System.Nullable Original_PesoTot,
global::System.Nullable Original_PesoCad,
global::System.Nullable Original_CreateDate,
global::System.Nullable Original_ModDate) {
- return this.Update(Original_CodCompany, Original_ODP, Original_UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Particolare, CodStato, CodStampo, Figura, FiguraIncisa, PesoTot, PesoCad, CreateDate, ModDate, Original_CodCompany, Original_ODP, Original_UDC, Original_Tara, Original_IdxStato, Original_Qta, Original_CodImballo, Original_CodImpianto, Original_Particolare, Original_CodStato, Original_CodStampo, Original_Figura, Original_FiguraIncisa, Original_PesoTot, Original_PesoCad, Original_CreateDate, Original_ModDate);
+ return this.Update(Original_UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, CreateDate, ModDate, Original_UDC, Original_CodCS, Original_CodCliente, Original_RagSociale, Original_Particolare, Original_DescParticolare, Original_DisegnoGrezzo, Original_Esponente, Original_CodImpianto, Original_DescImpianto, Original_CodStampo, Original_Figura, Original_DataFus, Original_TurnoFus, Original_CodImballo, Original_CodSoggetto, Original_NumCont, Original_Tara, Original_Qta, Original_CodStato, Original_IdxPosizione, Original_PesoTot, Original_PesoCad, Original_CreateDate, Original_ModDate);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -13252,8 +13894,6 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
private UpdateOrderOption _updateOrder;
- private AnagBilanceTableAdapter _anagBilanceTableAdapter;
-
private AnagStatiTableAdapter _anagStatiTableAdapter;
private AnagTipoDichiarazTableAdapter _anagTipoDichiarazTableAdapter;
@@ -13274,7 +13914,9 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
private AnagCompanySitoTableAdapter _anagCompanySitoTableAdapter;
- private TabCartelliniTableAdapter _tabCartelliniTableAdapter;
+ private AnagBilanceTableAdapter _anagBilanceTableAdapter;
+
+ private ElencoCartelliniTableAdapter _elencoCartelliniTableAdapter;
private bool _backupDataSetBeforeUpdate;
@@ -13290,19 +13932,6 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
- "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" +
- "", "System.Drawing.Design.UITypeEditor")]
- public AnagBilanceTableAdapter AnagBilanceTableAdapter {
- get {
- return this._anagBilanceTableAdapter;
- }
- set {
- this._anagBilanceTableAdapter = value;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" +
@@ -13437,12 +14066,25 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" +
"", "System.Drawing.Design.UITypeEditor")]
- public TabCartelliniTableAdapter TabCartelliniTableAdapter {
+ public AnagBilanceTableAdapter AnagBilanceTableAdapter {
get {
- return this._tabCartelliniTableAdapter;
+ return this._anagBilanceTableAdapter;
}
set {
- this._tabCartelliniTableAdapter = value;
+ this._anagBilanceTableAdapter = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" +
+ "", "System.Drawing.Design.UITypeEditor")]
+ public ElencoCartelliniTableAdapter ElencoCartelliniTableAdapter {
+ get {
+ return this._elencoCartelliniTableAdapter;
+ }
+ set {
+ this._elencoCartelliniTableAdapter = value;
}
}
@@ -13463,10 +14105,6 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
if ((this._connection != null)) {
return this._connection;
}
- if (((this._anagBilanceTableAdapter != null)
- && (this._anagBilanceTableAdapter.Connection != null))) {
- return this._anagBilanceTableAdapter.Connection;
- }
if (((this._anagStatiTableAdapter != null)
&& (this._anagStatiTableAdapter.Connection != null))) {
return this._anagStatiTableAdapter.Connection;
@@ -13507,9 +14145,13 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
&& (this._anagCompanySitoTableAdapter.Connection != null))) {
return this._anagCompanySitoTableAdapter.Connection;
}
- if (((this._tabCartelliniTableAdapter != null)
- && (this._tabCartelliniTableAdapter.Connection != null))) {
- return this._tabCartelliniTableAdapter.Connection;
+ if (((this._anagBilanceTableAdapter != null)
+ && (this._anagBilanceTableAdapter.Connection != null))) {
+ return this._anagBilanceTableAdapter.Connection;
+ }
+ if (((this._elencoCartelliniTableAdapter != null)
+ && (this._elencoCartelliniTableAdapter.Connection != null))) {
+ return this._elencoCartelliniTableAdapter.Connection;
}
return null;
}
@@ -13523,9 +14165,6 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
public int TableAdapterInstanceCount {
get {
int count = 0;
- if ((this._anagBilanceTableAdapter != null)) {
- count = (count + 1);
- }
if ((this._anagStatiTableAdapter != null)) {
count = (count + 1);
}
@@ -13556,7 +14195,10 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
if ((this._anagCompanySitoTableAdapter != null)) {
count = (count + 1);
}
- if ((this._tabCartelliniTableAdapter != null)) {
+ if ((this._anagBilanceTableAdapter != null)) {
+ count = (count + 1);
+ }
+ if ((this._elencoCartelliniTableAdapter != null)) {
count = (count + 1);
}
return count;
@@ -13578,15 +14220,6 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._anagArticoliTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.AnagArticoli.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
- updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length))) {
- result = (result + this._anagArticoliTableAdapter.Update(updatedRows));
- allChangedRows.AddRange(updatedRows);
- }
- }
if ((this._anagImpiantiTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.AnagImpianti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -13596,30 +14229,12 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._anagStatiProdottoTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ if ((this._anagArticoliTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.AnagArticoli.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
- result = (result + this._anagStatiProdottoTableAdapter.Update(updatedRows));
- allChangedRows.AddRange(updatedRows);
- }
- }
- if ((this._anagStatiTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
- updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length))) {
- result = (result + this._anagStatiTableAdapter.Update(updatedRows));
- allChangedRows.AddRange(updatedRows);
- }
- }
- if ((this._anagImballiTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
- updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length))) {
- result = (result + this._anagImballiTableAdapter.Update(updatedRows));
+ result = (result + this._anagArticoliTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
@@ -13632,6 +14247,15 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
allChangedRows.AddRange(updatedRows);
}
}
+ if ((this._anagStatiProdottoTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._anagStatiProdottoTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
if ((this._relazUDCTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.RelazUDC.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -13641,21 +14265,12 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._tabCartelliniTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.TabCartellini.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ if ((this._elencoCartelliniTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
- result = (result + this._tabCartelliniTableAdapter.Update(updatedRows));
- allChangedRows.AddRange(updatedRows);
- }
- }
- if ((this._impianti2ArticoliTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.Impianti2Articoli.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
- updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length))) {
- result = (result + this._impianti2ArticoliTableAdapter.Update(updatedRows));
+ result = (result + this._elencoCartelliniTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
@@ -13668,6 +14283,33 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
allChangedRows.AddRange(updatedRows);
}
}
+ if ((this._anagImballiTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._anagImballiTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ if ((this._anagStatiTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._anagStatiTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ if ((this._impianti2ArticoliTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.Impianti2Articoli.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._impianti2ArticoliTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
if ((this._storicoEventiTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.StoricoEventi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -13694,14 +14336,6 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
allAddedRows.AddRange(addedRows);
}
}
- if ((this._anagArticoliTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.AnagArticoli.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length))) {
- result = (result + this._anagArticoliTableAdapter.Update(addedRows));
- allAddedRows.AddRange(addedRows);
- }
- }
if ((this._anagImpiantiTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.AnagImpianti.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -13710,27 +14344,11 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
allAddedRows.AddRange(addedRows);
}
}
- if ((this._anagStatiProdottoTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if ((this._anagArticoliTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.AnagArticoli.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
- result = (result + this._anagStatiProdottoTableAdapter.Update(addedRows));
- allAddedRows.AddRange(addedRows);
- }
- }
- if ((this._anagStatiTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length))) {
- result = (result + this._anagStatiTableAdapter.Update(addedRows));
- allAddedRows.AddRange(addedRows);
- }
- }
- if ((this._anagImballiTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length))) {
- result = (result + this._anagImballiTableAdapter.Update(addedRows));
+ result = (result + this._anagArticoliTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
@@ -13742,6 +14360,14 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
allAddedRows.AddRange(addedRows);
}
}
+ if ((this._anagStatiProdottoTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._anagStatiProdottoTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
if ((this._relazUDCTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.RelazUDC.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -13750,19 +14376,11 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
allAddedRows.AddRange(addedRows);
}
}
- if ((this._tabCartelliniTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.TabCartellini.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if ((this._elencoCartelliniTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
- result = (result + this._tabCartelliniTableAdapter.Update(addedRows));
- allAddedRows.AddRange(addedRows);
- }
- }
- if ((this._impianti2ArticoliTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.Impianti2Articoli.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length))) {
- result = (result + this._impianti2ArticoliTableAdapter.Update(addedRows));
+ result = (result + this._elencoCartelliniTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
@@ -13774,6 +14392,30 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
allAddedRows.AddRange(addedRows);
}
}
+ if ((this._anagImballiTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._anagImballiTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ if ((this._anagStatiTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._anagStatiTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ if ((this._impianti2ArticoliTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.Impianti2Articoli.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._impianti2ArticoliTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
if ((this._storicoEventiTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.StoricoEventi.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -13799,14 +14441,6 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._anagBilanceTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.AnagBilance.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length))) {
- result = (result + this._anagBilanceTableAdapter.Update(deletedRows));
- allChangedRows.AddRange(deletedRows);
- }
- }
if ((this._impianti2ArticoliTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.Impianti2Articoli.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -13815,38 +14449,6 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._tabCartelliniTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.TabCartellini.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length))) {
- result = (result + this._tabCartelliniTableAdapter.Update(deletedRows));
- allChangedRows.AddRange(deletedRows);
- }
- }
- if ((this._relazUDCTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.RelazUDC.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length))) {
- result = (result + this._relazUDCTableAdapter.Update(deletedRows));
- allChangedRows.AddRange(deletedRows);
- }
- }
- if ((this._anagTipoDichiarazTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.AnagTipoDichiaraz.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length))) {
- result = (result + this._anagTipoDichiarazTableAdapter.Update(deletedRows));
- allChangedRows.AddRange(deletedRows);
- }
- }
- if ((this._anagImballiTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length))) {
- result = (result + this._anagImballiTableAdapter.Update(deletedRows));
- allChangedRows.AddRange(deletedRows);
- }
- }
if ((this._anagStatiTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -13855,6 +14457,38 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
allChangedRows.AddRange(deletedRows);
}
}
+ if ((this._anagImballiTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._anagImballiTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._anagBilanceTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.AnagBilance.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._anagBilanceTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._elencoCartelliniTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._elencoCartelliniTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._relazUDCTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.RelazUDC.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._relazUDCTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
if ((this._anagStatiProdottoTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -13863,11 +14497,11 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._anagImpiantiTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.AnagImpianti.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if ((this._anagTipoDichiarazTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.AnagTipoDichiaraz.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
- result = (result + this._anagImpiantiTableAdapter.Update(deletedRows));
+ result = (result + this._anagTipoDichiarazTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
@@ -13879,6 +14513,14 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
allChangedRows.AddRange(deletedRows);
}
}
+ if ((this._anagImpiantiTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.AnagImpianti.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._anagImpiantiTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
if ((this._anagCompanySitoTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagCompanySito.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -13924,11 +14566,6 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
if ((dataSet.HasChanges() == false)) {
return 0;
}
- if (((this._anagBilanceTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._anagBilanceTableAdapter.Connection) == false))) {
- throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
- "tring.");
- }
if (((this._anagStatiTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._anagStatiTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
@@ -13979,8 +14616,13 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
- if (((this._tabCartelliniTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._tabCartelliniTableAdapter.Connection) == false))) {
+ if (((this._anagBilanceTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._anagBilanceTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
+ "tring.");
+ }
+ if (((this._elencoCartelliniTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._elencoCartelliniTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
@@ -14016,15 +14658,6 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
try {
// ---- Prepare for update -----------
//
- if ((this._anagBilanceTableAdapter != null)) {
- revertConnections.Add(this._anagBilanceTableAdapter, this._anagBilanceTableAdapter.Connection);
- this._anagBilanceTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
- this._anagBilanceTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
- if (this._anagBilanceTableAdapter.Adapter.AcceptChangesDuringUpdate) {
- this._anagBilanceTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
- adaptersWithAcceptChangesDuringUpdate.Add(this._anagBilanceTableAdapter.Adapter);
- }
- }
if ((this._anagStatiTableAdapter != null)) {
revertConnections.Add(this._anagStatiTableAdapter, this._anagStatiTableAdapter.Connection);
this._anagStatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
@@ -14115,13 +14748,22 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
adaptersWithAcceptChangesDuringUpdate.Add(this._anagCompanySitoTableAdapter.Adapter);
}
}
- if ((this._tabCartelliniTableAdapter != null)) {
- revertConnections.Add(this._tabCartelliniTableAdapter, this._tabCartelliniTableAdapter.Connection);
- this._tabCartelliniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
- this._tabCartelliniTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
- if (this._tabCartelliniTableAdapter.Adapter.AcceptChangesDuringUpdate) {
- this._tabCartelliniTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
- adaptersWithAcceptChangesDuringUpdate.Add(this._tabCartelliniTableAdapter.Adapter);
+ if ((this._anagBilanceTableAdapter != null)) {
+ revertConnections.Add(this._anagBilanceTableAdapter, this._anagBilanceTableAdapter.Connection);
+ this._anagBilanceTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._anagBilanceTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._anagBilanceTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._anagBilanceTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._anagBilanceTableAdapter.Adapter);
+ }
+ }
+ if ((this._elencoCartelliniTableAdapter != null)) {
+ revertConnections.Add(this._elencoCartelliniTableAdapter, this._elencoCartelliniTableAdapter.Connection);
+ this._elencoCartelliniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._elencoCartelliniTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._elencoCartelliniTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._elencoCartelliniTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._elencoCartelliniTableAdapter.Adapter);
}
}
//
@@ -14182,10 +14824,6 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
if (workConnOpened) {
workConnection.Close();
}
- if ((this._anagBilanceTableAdapter != null)) {
- this._anagBilanceTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagBilanceTableAdapter]));
- this._anagBilanceTableAdapter.Transaction = null;
- }
if ((this._anagStatiTableAdapter != null)) {
this._anagStatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagStatiTableAdapter]));
this._anagStatiTableAdapter.Transaction = null;
@@ -14226,9 +14864,13 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
this._anagCompanySitoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagCompanySitoTableAdapter]));
this._anagCompanySitoTableAdapter.Transaction = null;
}
- if ((this._tabCartelliniTableAdapter != null)) {
- this._tabCartelliniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tabCartelliniTableAdapter]));
- this._tabCartelliniTableAdapter.Transaction = null;
+ if ((this._anagBilanceTableAdapter != null)) {
+ this._anagBilanceTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagBilanceTableAdapter]));
+ this._anagBilanceTableAdapter.Transaction = null;
+ }
+ if ((this._elencoCartelliniTableAdapter != null)) {
+ this._elencoCartelliniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._elencoCartelliniTableAdapter]));
+ this._elencoCartelliniTableAdapter.Transaction = null;
}
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
diff --git a/GMW/GMW_data/DS_Applicazione.xsd b/GMW/GMW_data/DS_Applicazione.xsd
index c5a7e60b..e7c34ce2 100644
--- a/GMW/GMW_data/DS_Applicazione.xsd
+++ b/GMW/GMW_data/DS_Applicazione.xsd
@@ -7,96 +7,6 @@
-
-
-
-
-
- DELETE FROM [dbo].[AnagBilance] WHERE (([CodBilancia] = @Original_CodBilancia) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCompany = 1 AND [CodCompany] IS NULL) OR ([CodCompany] = @Original_CodCompany)) AND ((@IsNull_CodSito = 1 AND [CodSito] IS NULL) OR ([CodSito] = @Original_CodSito)))
-
-
-
-
-
-
-
-
-
-
-
-
-
- INSERT INTO [dbo].[AnagBilance] ([CodBilancia], [DescrImpianto], [CodCompany], [CodSito]) VALUES (@CodBilancia, @DescrImpianto, @CodCompany, @CodSito);
-SELECT CodBilancia, DescrImpianto, CodCompany, CodSito FROM AnagBilance WHERE (CodBilancia = @CodBilancia)
-
-
-
-
-
-
-
-
-
-
- SELECT CodBilancia, DescrImpianto, CodCompany, CodSito FROM dbo.AnagBilance
-
-
-
-
-
- UPDATE [dbo].[AnagBilance] SET [CodBilancia] = @CodBilancia, [DescrImpianto] = @DescrImpianto, [CodCompany] = @CodCompany, [CodSito] = @CodSito WHERE (([CodBilancia] = @Original_CodBilancia) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCompany = 1 AND [CodCompany] IS NULL) OR ([CodCompany] = @Original_CodCompany)) AND ((@IsNull_CodSito = 1 AND [CodSito] IS NULL) OR ([CodSito] = @Original_CodSito)));
-SELECT CodBilancia, DescrImpianto, CodCompany, CodSito FROM AnagBilance WHERE (CodBilancia = @CodBilancia)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SELECT CodBilancia, DescrImpianto, CodCompany, CodSito
-FROM AnagBilance
-WHERE (CodBilancia = @CodBilancia)
-
-
-
-
-
-
-
-
-
- SELECT CodBilancia, DescrImpianto, CodCompany, CodSito
-FROM AnagBilance
-WHERE (CodCompany = @CodCompany) AND (CodSito = @CodSito)
-
-
-
-
-
-
-
-
-
@@ -857,36 +767,134 @@ SELECT CodCS, CodCompany, DescCompany, CodSito, DescSito FROM AnagCompanySito WH
-
+
-
+
- DELETE FROM [dbo].[TabCartellini] WHERE (([CodCompany] = @Original_CodCompany) AND ([ODP] = @Original_ODP) AND ([UDC] = @Original_UDC) AND ((@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNull_IdxStato = 1 AND [IdxStato] IS NULL) OR ([IdxStato] = @Original_IdxStato)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodImballo = 1 AND [CodImballo] IS NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CodImpianto = 1 AND [CodImpianto] IS NULL) OR ([CodImpianto] = @Original_CodImpianto)) AND ((@IsNull_Particolare = 1 AND [Particolare] IS NULL) OR ([Particolare] = @Original_Particolare)) AND ((@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsNull_CodStampo = 1 AND [CodStampo] IS NULL) OR ([CodStampo] = @Original_CodStampo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura] = @Original_Figura)) AND ((@IsNull_FiguraIncisa = 1 AND [FiguraIncisa] IS NULL) OR ([FiguraIncisa] = @Original_FiguraIncisa)) AND ((@IsNull_PesoTot = 1 AND [PesoTot] IS NULL) OR ([PesoTot] = @Original_PesoTot)) AND ((@IsNull_PesoCad = 1 AND [PesoCad] IS NULL) OR ([PesoCad] = @Original_PesoCad)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR ([CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS NULL) OR ([ModDate] = @Original_ModDate)))
+ DELETE FROM [dbo].[AnagBilance] WHERE (([CodBilancia] = @Original_CodBilancia) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)))
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [dbo].[AnagBilance] ([CodBilancia], [DescrImpianto], [CodCS]) VALUES (@CodBilancia, @DescrImpianto, @CodCS);
+SELECT CodBilancia, DescrImpianto, CodCS FROM AnagBilance WHERE (CodBilancia = @CodBilancia)
+
+
+
+
+
+
+
+
+
+ SELECT CodBilancia, DescrImpianto, CodCS FROM dbo.AnagBilance
+
+
+
+
+
+ UPDATE [dbo].[AnagBilance] SET [CodBilancia] = @CodBilancia, [DescrImpianto] = @DescrImpianto, [CodCS] = @CodCS WHERE (([CodBilancia] = @Original_CodBilancia) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)));
+SELECT CodBilancia, DescrImpianto, CodCS FROM AnagBilance WHERE (CodBilancia = @CodBilancia)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_getBilanceByCodBilancia
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_getBilanceByCodCS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM [dbo].[ElencoCartellini] WHERE (([UDC] = @Original_UDC) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNull_CodCliente = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodCliente)) AND ((@IsNull_RagSociale = 1 AND [RagSociale] IS NULL) OR ([RagSociale] = @Original_RagSociale)) AND ((@IsNull_Particolare = 1 AND [Particolare] IS NULL) OR ([Particolare] = @Original_Particolare)) AND ((@IsNull_DescParticolare = 1 AND [DescParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare)) AND ((@IsNull_DisegnoGrezzo = 1 AND [DisegnoGrezzo] IS NULL) OR ([DisegnoGrezzo] = @Original_DisegnoGrezzo)) AND ((@IsNull_Esponente = 1 AND [Esponente] IS NULL) OR ([Esponente] = @Original_Esponente)) AND ((@IsNull_CodImpianto = 1 AND [CodImpianto] IS NULL) OR ([CodImpianto] = @Original_CodImpianto)) AND ((@IsNull_DescImpianto = 1 AND [DescImpianto] IS NULL) OR ([DescImpianto] = @Original_DescImpianto)) AND ((@IsNull_CodStampo = 1 AND [CodStampo] IS NULL) OR ([CodStampo] = @Original_CodStampo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura] = @Original_Figura)) AND ((@IsNull_DataFus = 1 AND [DataFus] IS NULL) OR ([DataFus] = @Original_DataFus)) AND ((@IsNull_TurnoFus = 1 AND [TurnoFus] IS NULL) OR ([TurnoFus] = @Original_TurnoFus)) AND ((@IsNull_CodImballo = 1 AND [CodImballo] IS NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CodSoggetto = 1 AND [CodSoggetto] IS NULL) OR ([CodSoggetto] = @Original_CodSoggetto)) AND ((@IsNull_NumCont = 1 AND [NumCont] IS NULL) OR ([NumCont] = @Original_NumCont)) AND ((@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsNull_IdxPosizione = 1 AND [IdxPosizione] IS NULL) OR ([IdxPosizione] = @Original_IdxPosizione)) AND ((@IsNull_PesoTot = 1 AND [PesoTot] IS NULL) OR ([PesoTot] = @Original_PesoTot)) AND ((@IsNull_PesoCad = 1 AND [PesoCad] IS NULL) OR ([PesoCad] = @Original_PesoCad)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR ([CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS NULL) OR ([ModDate] = @Original_ModDate)))
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -900,22 +908,30 @@ SELECT CodCS, CodCompany, DescCompany, CodSito, DescSito FROM AnagCompanySito WH
- INSERT INTO [dbo].[TabCartellini] ([CodCompany], [ODP], [UDC], [Tara], [IdxStato], [Qta], [CodImballo], [CodImpianto], [Particolare], [CodStato], [CodStampo], [Figura], [FiguraIncisa], [PesoTot], [PesoCad], [CreateDate], [ModDate]) VALUES (@CodCompany, @ODP, @UDC, @Tara, @IdxStato, @Qta, @CodImballo, @CodImpianto, @Particolare, @CodStato, @CodStampo, @Figura, @FiguraIncisa, @PesoTot, @PesoCad, @CreateDate, @ModDate);
-SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Particolare, CodStato, CodStampo, Figura, FiguraIncisa, PesoTot, PesoCad, CreateDate, ModDate FROM TabCartellini WHERE (CodCompany = @CodCompany) AND (ODP = @ODP) AND (UDC = @UDC)
+ INSERT INTO [dbo].[ElencoCartellini] ([UDC], [CodCS], [CodCliente], [RagSociale], [Particolare], [DescParticolare], [DisegnoGrezzo], [Esponente], [CodImpianto], [DescImpianto], [CodStampo], [Figura], [DataFus], [TurnoFus], [CodImballo], [CodSoggetto], [NumCont], [Tara], [Qta], [CodStato], [IdxPosizione], [PesoTot], [PesoCad], [CreateDate], [ModDate]) VALUES (@UDC, @CodCS, @CodCliente, @RagSociale, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente, @CodImpianto, @DescImpianto, @CodStampo, @Figura, @DataFus, @TurnoFus, @CodImballo, @CodSoggetto, @NumCont, @Tara, @Qta, @CodStato, @IdxPosizione, @PesoTot, @PesoCad, @CreateDate, @ModDate);
+SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, CreateDate, ModDate FROM ElencoCartellini WHERE (UDC = @UDC)
-
-
-
-
-
-
-
+
+
+
-
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
@@ -925,55 +941,81 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
- SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Particolare, CodStato, CodStampo, Figura, FiguraIncisa, PesoTot, PesoCad, CreateDate, ModDate FROM dbo.TabCartellini
+ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, CreateDate, ModDate FROM dbo.ElencoCartellini
- UPDATE [dbo].[TabCartellini] SET [CodCompany] = @CodCompany, [ODP] = @ODP, [UDC] = @UDC, [Tara] = @Tara, [IdxStato] = @IdxStato, [Qta] = @Qta, [CodImballo] = @CodImballo, [CodImpianto] = @CodImpianto, [Particolare] = @Particolare, [CodStato] = @CodStato, [CodStampo] = @CodStampo, [Figura] = @Figura, [FiguraIncisa] = @FiguraIncisa, [PesoTot] = @PesoTot, [PesoCad] = @PesoCad, [CreateDate] = @CreateDate, [ModDate] = @ModDate WHERE (([CodCompany] = @Original_CodCompany) AND ([ODP] = @Original_ODP) AND ([UDC] = @Original_UDC) AND ((@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNull_IdxStato = 1 AND [IdxStato] IS NULL) OR ([IdxStato] = @Original_IdxStato)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodImballo = 1 AND [CodImballo] IS NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CodImpianto = 1 AND [CodImpianto] IS NULL) OR ([CodImpianto] = @Original_CodImpianto)) AND ((@IsNull_Particolare = 1 AND [Particolare] IS NULL) OR ([Particolare] = @Original_Particolare)) AND ((@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsNull_CodStampo = 1 AND [CodStampo] IS NULL) OR ([CodStampo] = @Original_CodStampo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura] = @Original_Figura)) AND ((@IsNull_FiguraIncisa = 1 AND [FiguraIncisa] IS NULL) OR ([FiguraIncisa] = @Original_FiguraIncisa)) AND ((@IsNull_PesoTot = 1 AND [PesoTot] IS NULL) OR ([PesoTot] = @Original_PesoTot)) AND ((@IsNull_PesoCad = 1 AND [PesoCad] IS NULL) OR ([PesoCad] = @Original_PesoCad)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR ([CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS NULL) OR ([ModDate] = @Original_ModDate)));
-SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Particolare, CodStato, CodStampo, Figura, FiguraIncisa, PesoTot, PesoCad, CreateDate, ModDate FROM TabCartellini WHERE (CodCompany = @CodCompany) AND (ODP = @ODP) AND (UDC = @UDC)
+ UPDATE [dbo].[ElencoCartellini] SET [UDC] = @UDC, [CodCS] = @CodCS, [CodCliente] = @CodCliente, [RagSociale] = @RagSociale, [Particolare] = @Particolare, [DescParticolare] = @DescParticolare, [DisegnoGrezzo] = @DisegnoGrezzo, [Esponente] = @Esponente, [CodImpianto] = @CodImpianto, [DescImpianto] = @DescImpianto, [CodStampo] = @CodStampo, [Figura] = @Figura, [DataFus] = @DataFus, [TurnoFus] = @TurnoFus, [CodImballo] = @CodImballo, [CodSoggetto] = @CodSoggetto, [NumCont] = @NumCont, [Tara] = @Tara, [Qta] = @Qta, [CodStato] = @CodStato, [IdxPosizione] = @IdxPosizione, [PesoTot] = @PesoTot, [PesoCad] = @PesoCad, [CreateDate] = @CreateDate, [ModDate] = @ModDate WHERE (([UDC] = @Original_UDC) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNull_CodCliente = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodCliente)) AND ((@IsNull_RagSociale = 1 AND [RagSociale] IS NULL) OR ([RagSociale] = @Original_RagSociale)) AND ((@IsNull_Particolare = 1 AND [Particolare] IS NULL) OR ([Particolare] = @Original_Particolare)) AND ((@IsNull_DescParticolare = 1 AND [DescParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare)) AND ((@IsNull_DisegnoGrezzo = 1 AND [DisegnoGrezzo] IS NULL) OR ([DisegnoGrezzo] = @Original_DisegnoGrezzo)) AND ((@IsNull_Esponente = 1 AND [Esponente] IS NULL) OR ([Esponente] = @Original_Esponente)) AND ((@IsNull_CodImpianto = 1 AND [CodImpianto] IS NULL) OR ([CodImpianto] = @Original_CodImpianto)) AND ((@IsNull_DescImpianto = 1 AND [DescImpianto] IS NULL) OR ([DescImpianto] = @Original_DescImpianto)) AND ((@IsNull_CodStampo = 1 AND [CodStampo] IS NULL) OR ([CodStampo] = @Original_CodStampo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura] = @Original_Figura)) AND ((@IsNull_DataFus = 1 AND [DataFus] IS NULL) OR ([DataFus] = @Original_DataFus)) AND ((@IsNull_TurnoFus = 1 AND [TurnoFus] IS NULL) OR ([TurnoFus] = @Original_TurnoFus)) AND ((@IsNull_CodImballo = 1 AND [CodImballo] IS NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CodSoggetto = 1 AND [CodSoggetto] IS NULL) OR ([CodSoggetto] = @Original_CodSoggetto)) AND ((@IsNull_NumCont = 1 AND [NumCont] IS NULL) OR ([NumCont] = @Original_NumCont)) AND ((@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsNull_IdxPosizione = 1 AND [IdxPosizione] IS NULL) OR ([IdxPosizione] = @Original_IdxPosizione)) AND ((@IsNull_PesoTot = 1 AND [PesoTot] IS NULL) OR ([PesoTot] = @Original_PesoTot)) AND ((@IsNull_PesoCad = 1 AND [PesoCad] IS NULL) OR ([PesoCad] = @Original_PesoCad)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR ([CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS NULL) OR ([ModDate] = @Original_ModDate)));
+SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, CreateDate, ModDate FROM ElencoCartellini WHERE (UDC = @UDC)
-
-
-
-
-
-
-
+
+
+
-
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -988,19 +1030,27 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
-
-
-
-
-
-
+
+
+
-
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
@@ -1029,14 +1079,13 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
+
dbo.stp_UDC_insNew
-
-
+
@@ -1054,24 +1103,32 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
dbo.stp_UDC_insNewFull
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
-
-
-
-
-
@@ -1097,45 +1154,11 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -1148,14 +1171,14 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
+
-
+
@@ -1168,14 +1191,14 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
+
-
+
@@ -1188,14 +1211,14 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
+
-
+
@@ -1208,28 +1231,28 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
+
-
+
-
+
-
+
@@ -1242,37 +1265,37 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
+
-
+
-
-
-
+
+
+
-
+
-
+
@@ -1285,51 +1308,51 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
+
-
+
-
+
-
+
-
-
-
+
+
+
-
+
-
+
@@ -1342,82 +1365,82 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
+
+
+
+
-
+
-
+
-
+
-
+
@@ -1430,14 +1453,14 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
+
-
+
@@ -1447,38 +1470,38 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
+
-
+
-
+
-
+
-
+
-
+
@@ -1488,38 +1511,38 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
+
-
+
-
+
-
+
-
+
-
+
@@ -1529,23 +1552,36 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1553,13 +1589,52 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
-
-
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1570,14 +1645,7 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
-
-
-
-
-
-
-
+
@@ -1587,24 +1655,44 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1615,10 +1703,6 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
-
-
-
@@ -1667,10 +1751,12 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
-
-
-
+
+
+
+
+
+
@@ -1680,10 +1766,8 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CodImpianto, Parti
-
-
-
-
+
+
\ No newline at end of file
diff --git a/GMW/GMW_data/DS_Applicazione.xss b/GMW/GMW_data/DS_Applicazione.xss
index 4351a489..171be80a 100644
--- a/GMW/GMW_data/DS_Applicazione.xss
+++ b/GMW/GMW_data/DS_Applicazione.xss
@@ -4,24 +4,24 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
-->
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
385
@@ -33,7 +33,7 @@
-
+
1185
@@ -49,7 +49,7 @@
-
+
853
@@ -61,7 +61,7 @@
-
+
1156
@@ -73,55 +73,35 @@
-
+
- 360
- 196
+ 1173
+ 164
- 360
- 511
+ 1173
+ 415
- 439
- 511
+ 762
+ 415
-
+
- 360
- 627
+ 336
+ 722
- 439
- 627
-
-
-
-
-
-
- 867
- 590
+ 336
+ 471
- 739
- 590
-
-
-
-
-
-
- 353
- 768
-
-
- 439
- 768
+ 462
+ 471
diff --git a/GMW/GMW_data/DataProxy.cs b/GMW/GMW_data/DataProxy.cs
index af1c9c2c..30b6d5e0 100644
--- a/GMW/GMW_data/DataProxy.cs
+++ b/GMW/GMW_data/DataProxy.cs
@@ -17,7 +17,7 @@ namespace GMW_data
public DS_ApplicazioneTableAdapters.AnagImpiantiTableAdapter taAnagImp;
public DS_ApplicazioneTableAdapters.AnagBilanceTableAdapter taAnagBil;
public DS_ApplicazioneTableAdapters.Impianti2ArticoliTableAdapter taImp2Art;
- public DS_ApplicazioneTableAdapters.TabCartelliniTableAdapter taCartellini;
+ public DS_ApplicazioneTableAdapters.ElencoCartelliniTableAdapter taCartellini;
public DS_ApplicazioneTableAdapters.AnagTipoDichiarazTableAdapter taTipoDich;
public DS_ApplicazioneTableAdapters.AnagStatiProdottoTableAdapter taStatiProd;
public DS_ApplicazioneTableAdapters.AnagImballiTableAdapter taAnagImballi;
@@ -35,7 +35,7 @@ namespace GMW_data
taAnagBil = new GMW_data.DS_ApplicazioneTableAdapters.AnagBilanceTableAdapter();
taTipoDich = new GMW_data.DS_ApplicazioneTableAdapters.AnagTipoDichiarazTableAdapter();
taImp2Art = new GMW_data.DS_ApplicazioneTableAdapters.Impianti2ArticoliTableAdapter();
- taCartellini = new GMW_data.DS_ApplicazioneTableAdapters.TabCartelliniTableAdapter();
+ taCartellini = new GMW_data.DS_ApplicazioneTableAdapters.ElencoCartelliniTableAdapter();
taStatiProd = new GMW_data.DS_ApplicazioneTableAdapters.AnagStatiProdottoTableAdapter();
taAnagImballi = new GMW_data.DS_ApplicazioneTableAdapters.AnagImballiTableAdapter();
taArtInProd = new GMW_data.DS_ApplicazioneTableAdapters.v_ArtInProdTableAdapter();
diff --git a/GMW/GMW_data/bin/Debug/GMW_data.dll b/GMW/GMW_data/bin/Debug/GMW_data.dll
index 30c2e3c8..e42a60ff 100644
Binary files a/GMW/GMW_data/bin/Debug/GMW_data.dll and b/GMW/GMW_data/bin/Debug/GMW_data.dll differ
diff --git a/GMW/GMW_data/obj/Debug/GMW_data.dll b/GMW/GMW_data/obj/Debug/GMW_data.dll
index 30c2e3c8..e42a60ff 100644
Binary files a/GMW/GMW_data/obj/Debug/GMW_data.dll and b/GMW/GMW_data/obj/Debug/GMW_data.dll differ
diff --git a/GMW/GMW_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll b/GMW/GMW_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll
index 28d71baa..76ababee 100644
Binary files a/GMW/GMW_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll and b/GMW/GMW_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll differ