completato editing cod visibilità (FCS) e gestioen opz scehda (X/C/O/...)

This commit is contained in:
Samuele E. Locatelli
2015-06-24 18:32:30 +02:00
parent f0549e3e1a
commit eab2006204
29 changed files with 524 additions and 221 deletions
+324 -95
View File
@@ -1893,6 +1893,8 @@ namespace CMS_SC_Data {
private global::System.Data.DataColumn columnNomePar;
private global::System.Data.DataColumn columnCodVisib;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DettSchedaDataTable() {
@@ -1974,6 +1976,14 @@ namespace CMS_SC_Data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodVisibColumn {
get {
return this.columnCodVisib;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -2011,7 +2021,7 @@ namespace CMS_SC_Data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DettSchedaRow AddDettSchedaRow(string CodScheda, int Vers, string CodMisura, string NomeMisura, string TipoValMisura, string NomePar) {
public DettSchedaRow AddDettSchedaRow(string CodScheda, int Vers, string CodMisura, string NomeMisura, string TipoValMisura, string NomePar, string CodVisib) {
DettSchedaRow rowDettSchedaRow = ((DettSchedaRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
CodScheda,
@@ -2019,7 +2029,8 @@ namespace CMS_SC_Data {
CodMisura,
NomeMisura,
TipoValMisura,
NomePar};
NomePar,
CodVisib};
rowDettSchedaRow.ItemArray = columnValuesArray;
this.Rows.Add(rowDettSchedaRow);
return rowDettSchedaRow;
@@ -2057,6 +2068,7 @@ namespace CMS_SC_Data {
this.columnNomeMisura = base.Columns["NomeMisura"];
this.columnTipoValMisura = base.Columns["TipoValMisura"];
this.columnNomePar = base.Columns["NomePar"];
this.columnCodVisib = base.Columns["CodVisib"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2074,6 +2086,8 @@ namespace CMS_SC_Data {
base.Columns.Add(this.columnTipoValMisura);
this.columnNomePar = new global::System.Data.DataColumn("NomePar", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNomePar);
this.columnCodVisib = new global::System.Data.DataColumn("CodVisib", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodVisib);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnCodScheda,
this.columnVers,
@@ -2089,6 +2103,8 @@ namespace CMS_SC_Data {
this.columnTipoValMisura.MaxLength = 50;
this.columnNomePar.AllowDBNull = false;
this.columnNomePar.MaxLength = 50;
this.columnCodVisib.AllowDBNull = false;
this.columnCodVisib.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2593,6 +2609,8 @@ namespace CMS_SC_Data {
private global::System.Data.DataColumn columnDescrizione;
private global::System.Data.DataColumn columnopz;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public SchemaCollFamMaccDataTable() {
@@ -2690,6 +2708,14 @@ namespace CMS_SC_Data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn opzColumn {
get {
return this.columnopz;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -2727,7 +2753,7 @@ namespace CMS_SC_Data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public SchemaCollFamMaccRow AddSchemaCollFamMaccRow(ElencoFamMaccRow parentElencoFamMaccRowByFK_SchemaCollFamMacc_ElencoFamMacc, string CodScheda, int Vers, string CodSchedaVers, string DescrScheda, string Path, int NumSchede, string Descrizione) {
public SchemaCollFamMaccRow AddSchemaCollFamMaccRow(ElencoFamMaccRow parentElencoFamMaccRowByFK_SchemaCollFamMacc_ElencoFamMacc, string CodScheda, int Vers, string CodSchedaVers, string DescrScheda, string Path, int NumSchede, string Descrizione, string opz) {
SchemaCollFamMaccRow rowSchemaCollFamMaccRow = ((SchemaCollFamMaccRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -2737,7 +2763,8 @@ namespace CMS_SC_Data {
DescrScheda,
Path,
NumSchede,
Descrizione};
Descrizione,
opz};
if ((parentElencoFamMaccRowByFK_SchemaCollFamMacc_ElencoFamMacc != null)) {
columnValuesArray[0] = parentElencoFamMaccRowByFK_SchemaCollFamMacc_ElencoFamMacc[0];
}
@@ -2780,6 +2807,7 @@ namespace CMS_SC_Data {
this.columnPath = base.Columns["Path"];
this.columnNumSchede = base.Columns["NumSchede"];
this.columnDescrizione = base.Columns["Descrizione"];
this.columnopz = base.Columns["opz"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2801,6 +2829,8 @@ namespace CMS_SC_Data {
base.Columns.Add(this.columnNumSchede);
this.columnDescrizione = new global::System.Data.DataColumn("Descrizione", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescrizione);
this.columnopz = new global::System.Data.DataColumn("opz", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnopz);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnCodFam,
this.columnCodScheda,
@@ -2818,6 +2848,8 @@ namespace CMS_SC_Data {
this.columnPath.MaxLength = 2147483647;
this.columnNumSchede.AllowDBNull = false;
this.columnDescrizione.MaxLength = 250;
this.columnopz.AllowDBNull = false;
this.columnopz.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -3348,6 +3380,8 @@ namespace CMS_SC_Data {
private global::System.Data.DataColumn columnDescrizione;
private global::System.Data.DataColumn columnopz;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public SchemaCollMaccDataTable() {
@@ -3421,6 +3455,14 @@ namespace CMS_SC_Data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn opzColumn {
get {
return this.columnopz;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -3458,14 +3500,15 @@ namespace CMS_SC_Data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public SchemaCollMaccRow AddSchemaCollMaccRow(ElencoDossierRow parentElencoDossierRowByFK_SchemaCollMacc_ElencoDossier, string CodScheda, int Vers, int NumScheda, string Descrizione) {
public SchemaCollMaccRow AddSchemaCollMaccRow(ElencoDossierRow parentElencoDossierRowByFK_SchemaCollMacc_ElencoDossier, string CodScheda, int Vers, int NumScheda, string Descrizione, string opz) {
SchemaCollMaccRow rowSchemaCollMaccRow = ((SchemaCollMaccRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
CodScheda,
Vers,
NumScheda,
Descrizione};
Descrizione,
opz};
if ((parentElencoDossierRowByFK_SchemaCollMacc_ElencoDossier != null)) {
columnValuesArray[0] = parentElencoDossierRowByFK_SchemaCollMacc_ElencoDossier[0];
}
@@ -3506,6 +3549,7 @@ namespace CMS_SC_Data {
this.columnVers = base.Columns["Vers"];
this.columnNumScheda = base.Columns["NumScheda"];
this.columnDescrizione = base.Columns["Descrizione"];
this.columnopz = base.Columns["opz"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -3521,6 +3565,8 @@ namespace CMS_SC_Data {
base.Columns.Add(this.columnNumScheda);
this.columnDescrizione = new global::System.Data.DataColumn("Descrizione", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescrizione);
this.columnopz = new global::System.Data.DataColumn("opz", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnopz);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnIdxDossier,
this.columnCodScheda,
@@ -3532,6 +3578,8 @@ namespace CMS_SC_Data {
this.columnVers.AllowDBNull = false;
this.columnNumScheda.AllowDBNull = false;
this.columnDescrizione.MaxLength = 250;
this.columnopz.AllowDBNull = false;
this.columnopz.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -3705,6 +3753,8 @@ namespace CMS_SC_Data {
private global::System.Data.DataColumn columnCodSchedaVersNum;
private global::System.Data.DataColumn columnCodVisib;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public MisureDataTable() {
@@ -3898,6 +3948,14 @@ namespace CMS_SC_Data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodVisibColumn {
get {
return this.columnCodVisib;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -3955,7 +4013,8 @@ namespace CMS_SC_Data {
double MaxPar,
double LIVal,
double LSVal,
string CodSchedaVersNum) {
string CodSchedaVersNum,
string CodVisib) {
MisureRow rowMisureRow = ((MisureRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
IdxDossier,
@@ -3977,7 +4036,8 @@ namespace CMS_SC_Data {
MaxPar,
LIVal,
LSVal,
CodSchedaVersNum};
CodSchedaVersNum,
CodVisib};
if ((parentAnagFasiRowByFK_IstanzeMisura_AnagFasi1 != null)) {
columnValuesArray[5] = parentAnagFasiRowByFK_IstanzeMisura_AnagFasi1[0];
}
@@ -4035,6 +4095,7 @@ namespace CMS_SC_Data {
this.columnLIVal = base.Columns["LIVal"];
this.columnLSVal = base.Columns["LSVal"];
this.columnCodSchedaVersNum = base.Columns["CodSchedaVersNum"];
this.columnCodVisib = base.Columns["CodVisib"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -4080,6 +4141,8 @@ namespace CMS_SC_Data {
base.Columns.Add(this.columnLSVal);
this.columnCodSchedaVersNum = new global::System.Data.DataColumn("CodSchedaVersNum", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodSchedaVersNum);
this.columnCodVisib = new global::System.Data.DataColumn("CodVisib", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodVisib);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnIdxDossier,
this.columnCodScheda,
@@ -4113,6 +4176,8 @@ namespace CMS_SC_Data {
this.columnNomePar.MaxLength = 50;
this.columnCodSchedaVersNum.ReadOnly = true;
this.columnCodSchedaVersNum.MaxLength = 152;
this.columnCodVisib.AllowDBNull = false;
this.columnCodVisib.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -5242,6 +5307,17 @@ namespace CMS_SC_Data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodVisib {
get {
return ((string)(this[this.tableDettScheda.CodVisibColumn]));
}
set {
this[this.tableDettScheda.CodVisibColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public AnagSchedeRow AnagSchedeRowParent {
@@ -5480,6 +5556,17 @@ namespace CMS_SC_Data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string opz {
get {
return ((string)(this[this.tableSchemaCollFamMacc.opzColumn]));
}
set {
this[this.tableSchemaCollFamMacc.opzColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public AnagSchedeRow AnagSchedeRowParent {
@@ -5839,6 +5926,17 @@ namespace CMS_SC_Data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string opz {
get {
return ((string)(this[this.tableSchemaCollMacc.opzColumn]));
}
set {
this[this.tableSchemaCollMacc.opzColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public AnagSchedeRow AnagSchedeRowParent {
@@ -6144,6 +6242,17 @@ namespace CMS_SC_Data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodVisib {
get {
return ((string)(this[this.tableMisure.CodVisibColumn]));
}
set {
this[this.tableMisure.CodVisibColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public AnagFasiRow AnagFasiRow {
@@ -9160,10 +9269,11 @@ SELECT CodScheda, Vers, Descrizione, Path FROM AnagSchede WHERE (CodScheda = @Co
tableMapping.ColumnMappings.Add("NomeMisura", "NomeMisura");
tableMapping.ColumnMappings.Add("TipoValMisura", "TipoValMisura");
tableMapping.ColumnMappings.Add("NomePar", "NomePar");
tableMapping.ColumnMappings.Add("CodVisib", "CodVisib");
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 [DettScheda] WHERE (([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([CodMisura] = @Original_CodMisura) AND ([NomeMisura] = @Original_NomeMisura) AND ([TipoValMisura] = @Original_TipoValMisura) AND ([NomePar] = @Original_NomePar))";
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [DettScheda] WHERE (([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([CodMisura] = @Original_CodMisura) AND ([NomeMisura] = @Original_NomeMisura) AND ([TipoValMisura] = @Original_TipoValMisura) AND ([NomePar] = @Original_NomePar) AND ([CodVisib] = @Original_CodVisib))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodScheda", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScheda", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Vers", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Vers", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -9171,10 +9281,11 @@ SELECT CodScheda, Vers, Descrizione, Path FROM AnagSchede WHERE (CodScheda = @Co
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NomeMisura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NomeMisura", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TipoValMisura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoValMisura", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NomePar", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NomePar", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodVisib", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodVisib", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [DettScheda] ([CodScheda], [Vers], [CodMisura], [NomeMisura], [TipoValMisura], [NomePar]) VALUES (@CodScheda, @Vers, @CodMisura, @NomeMisura, @TipoValMisura, @NomePar);
SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettScheda WHERE (CodMisura = @CodMisura) AND (CodScheda = @CodScheda) AND (Vers = @Vers)";
this._adapter.InsertCommand.CommandText = @"INSERT INTO [DettScheda] ([CodScheda], [Vers], [CodMisura], [NomeMisura], [TipoValMisura], [NomePar], [CodVisib]) VALUES (@CodScheda, @Vers, @CodMisura, @NomeMisura, @TipoValMisura, @NomePar, @CodVisib);
SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar, CodVisib FROM DettScheda WHERE (CodMisura = @CodMisura) AND (CodScheda = @CodScheda) AND (Vers = @Vers)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodScheda", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScheda", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Vers", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Vers", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -9182,10 +9293,11 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NomeMisura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NomeMisura", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoValMisura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoValMisura", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NomePar", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NomePar", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodVisib", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodVisib", 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 [DettScheda] SET [CodScheda] = @CodScheda, [Vers] = @Vers, [CodMisura] = @CodMisura, [NomeMisura] = @NomeMisura, [TipoValMisura] = @TipoValMisura, [NomePar] = @NomePar WHERE (([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([CodMisura] = @Original_CodMisura) AND ([NomeMisura] = @Original_NomeMisura) AND ([TipoValMisura] = @Original_TipoValMisura) AND ([NomePar] = @Original_NomePar));
SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettScheda WHERE (CodMisura = @CodMisura) AND (CodScheda = @CodScheda) AND (Vers = @Vers)";
this._adapter.UpdateCommand.CommandText = @"UPDATE [DettScheda] SET [CodScheda] = @CodScheda, [Vers] = @Vers, [CodMisura] = @CodMisura, [NomeMisura] = @NomeMisura, [TipoValMisura] = @TipoValMisura, [NomePar] = @NomePar, [CodVisib] = @CodVisib WHERE (([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([CodMisura] = @Original_CodMisura) AND ([NomeMisura] = @Original_NomeMisura) AND ([TipoValMisura] = @Original_TipoValMisura) AND ([NomePar] = @Original_NomePar) AND ([CodVisib] = @Original_CodVisib));
SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar, CodVisib FROM DettScheda WHERE (CodMisura = @CodMisura) AND (CodScheda = @CodScheda) AND (Vers = @Vers)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodScheda", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScheda", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Vers", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Vers", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -9193,12 +9305,14 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NomeMisura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NomeMisura", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoValMisura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoValMisura", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NomePar", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NomePar", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodVisib", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodVisib", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodScheda", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScheda", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Vers", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Vers", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMisura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMisura", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NomeMisura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NomeMisura", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TipoValMisura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoValMisura", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NomePar", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NomePar", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodVisib", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodVisib", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -9211,54 +9325,61 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettSc" +
"heda";
this._commandCollection[0].CommandText = "SELECT *\r\nFROM DettScheda";
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_DS_deleteQuery";
this._commandCollection[1].CommandText = "dbo.stp_DS_clone";
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodScheda", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Vers", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMisura", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSchedaVers", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMisura", global::System.Data.SqlDbType.NVarChar, 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_DS_getByCodScheda";
this._commandCollection[2].CommandText = "dbo.stp_DS_deleteQuery";
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("@CodSchedaVers", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodScheda", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Vers", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMisura", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "dbo.stp_DS_insertNew";
this._commandCollection[3].CommandText = "dbo.stp_DS_getByCodScheda";
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("@CodSchedaVers", global::System.Data.SqlDbType.NVarChar, 100, 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("@NomeMisura", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection;
this._commandCollection[4].CommandText = "dbo.stp_DS_moveUpDown";
this._commandCollection[4].CommandText = "dbo.stp_DS_insertNew";
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("@MovType", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodScheda", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Vers", 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("@CodMisura", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSchedaVers", global::System.Data.SqlDbType.NVarChar, 100, 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("@NomeMisura", global::System.Data.SqlDbType.NVarChar, 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_DS_updateQuery";
this._commandCollection[5].CommandText = "dbo.stp_DS_moveUpDown";
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MovType", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodScheda", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Vers", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMisura", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NomeMisura", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoValMisura", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NomePar", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodScheda", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Vers", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMisura", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[6].Connection = this.Connection;
this._commandCollection[6].CommandText = "dbo.stp_DS_updateQuery";
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMisura", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NomeMisura", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoValMisura", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NomePar", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodVisib", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodScheda", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Vers", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMisura", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -9290,7 +9411,7 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Applicazione.DettSchedaDataTable getByScheda(string CodSchedaVers) {
this.Adapter.SelectCommand = this.CommandCollection[2];
this.Adapter.SelectCommand = this.CommandCollection[3];
if ((CodSchedaVers == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -9335,7 +9456,7 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(string Original_CodScheda, int Original_Vers, string Original_CodMisura, string Original_NomeMisura, string Original_TipoValMisura, string Original_NomePar) {
public virtual int Delete(string Original_CodScheda, int Original_Vers, string Original_CodMisura, string Original_NomeMisura, string Original_TipoValMisura, string Original_NomePar, string Original_CodVisib) {
if ((Original_CodScheda == null)) {
throw new global::System.ArgumentNullException("Original_CodScheda");
}
@@ -9367,6 +9488,12 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_NomePar));
}
if ((Original_CodVisib == null)) {
throw new global::System.ArgumentNullException("Original_CodVisib");
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_CodVisib));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -9387,7 +9514,7 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string CodScheda, int Vers, string CodMisura, string NomeMisura, string TipoValMisura, string NomePar) {
public virtual int Insert(string CodScheda, int Vers, string CodMisura, string NomeMisura, string TipoValMisura, string NomePar, string CodVisib) {
if ((CodScheda == null)) {
throw new global::System.ArgumentNullException("CodScheda");
}
@@ -9419,6 +9546,12 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(NomePar));
}
if ((CodVisib == null)) {
throw new global::System.ArgumentNullException("CodVisib");
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(CodVisib));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -9439,7 +9572,7 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string CodScheda, int Vers, string CodMisura, string NomeMisura, string TipoValMisura, string NomePar, string Original_CodScheda, int Original_Vers, string Original_CodMisura, string Original_NomeMisura, string Original_TipoValMisura, string Original_NomePar) {
public virtual int Update(string CodScheda, int Vers, string CodMisura, string NomeMisura, string TipoValMisura, string NomePar, string CodVisib, string Original_CodScheda, int Original_Vers, string Original_CodMisura, string Original_NomeMisura, string Original_TipoValMisura, string Original_NomePar, string Original_CodVisib) {
if ((CodScheda == null)) {
throw new global::System.ArgumentNullException("CodScheda");
}
@@ -9471,36 +9604,48 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(NomePar));
}
if ((CodVisib == null)) {
throw new global::System.ArgumentNullException("CodVisib");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(CodVisib));
}
if ((Original_CodScheda == null)) {
throw new global::System.ArgumentNullException("Original_CodScheda");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_CodScheda));
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_CodScheda));
}
this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_Vers));
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_Vers));
if ((Original_CodMisura == null)) {
throw new global::System.ArgumentNullException("Original_CodMisura");
}
else {
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodMisura));
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_CodMisura));
}
if ((Original_NomeMisura == null)) {
throw new global::System.ArgumentNullException("Original_NomeMisura");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_NomeMisura));
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_NomeMisura));
}
if ((Original_TipoValMisura == null)) {
throw new global::System.ArgumentNullException("Original_TipoValMisura");
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_TipoValMisura));
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_TipoValMisura));
}
if ((Original_NomePar == null)) {
throw new global::System.ArgumentNullException("Original_NomePar");
}
else {
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_NomePar));
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_NomePar));
}
if ((Original_CodVisib == null)) {
throw new global::System.ArgumentNullException("Original_CodVisib");
}
else {
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_CodVisib));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
@@ -9522,8 +9667,42 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string NomeMisura, string TipoValMisura, string NomePar, string Original_CodScheda, int Original_Vers, string Original_CodMisura, string Original_NomeMisura, string Original_TipoValMisura, string Original_NomePar) {
return this.Update(Original_CodScheda, Original_Vers, Original_CodMisura, NomeMisura, TipoValMisura, NomePar, Original_CodScheda, Original_Vers, Original_CodMisura, Original_NomeMisura, Original_TipoValMisura, Original_NomePar);
public virtual int Update(string NomeMisura, string TipoValMisura, string NomePar, string CodVisib, string Original_CodScheda, int Original_Vers, string Original_CodMisura, string Original_NomeMisura, string Original_TipoValMisura, string Original_NomePar, string Original_CodVisib) {
return this.Update(Original_CodScheda, Original_Vers, Original_CodMisura, NomeMisura, TipoValMisura, NomePar, CodVisib, Original_CodScheda, Original_Vers, Original_CodMisura, Original_NomeMisura, Original_TipoValMisura, Original_NomePar, Original_CodVisib);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int clone(string CodSchedaVers, string CodMisura) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
if ((CodSchedaVers == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(CodSchedaVers));
}
if ((CodMisura == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(CodMisura));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -9531,7 +9710,7 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
public virtual int deleteQuery(string Original_CodScheda, global::System.Nullable<int> Original_Vers, string Original_CodMisura) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
if ((Original_CodScheda == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -9571,7 +9750,7 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int insertNew(string CodSchedaVers, string NomeMisura) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
if ((CodSchedaVers == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -9605,7 +9784,7 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int moveUpDown(string MovType, string CodScheda, global::System.Nullable<int> Vers, string CodMisura) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
if ((MovType == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -9651,8 +9830,8 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
public virtual int updateQuery(string CodMisura, string NomeMisura, string TipoValMisura, string NomePar, string Original_CodScheda, global::System.Nullable<int> Original_Vers, string Original_CodMisura) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
public virtual int updateQuery(string CodMisura, string NomeMisura, string TipoValMisura, string NomePar, string CodVisib, string Original_CodScheda, global::System.Nullable<int> Original_Vers, string Original_CodMisura) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
if ((CodMisura == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -9677,23 +9856,29 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
else {
command.Parameters[4].Value = ((string)(NomePar));
}
if ((Original_CodScheda == null)) {
if ((CodVisib == null)) {
command.Parameters[5].Value = global::System.DBNull.Value;
}
else {
command.Parameters[5].Value = ((string)(Original_CodScheda));
command.Parameters[5].Value = ((string)(CodVisib));
}
if ((Original_Vers.HasValue == true)) {
command.Parameters[6].Value = ((int)(Original_Vers.Value));
}
else {
if ((Original_CodScheda == null)) {
command.Parameters[6].Value = global::System.DBNull.Value;
}
if ((Original_CodMisura == null)) {
command.Parameters[7].Value = global::System.DBNull.Value;
else {
command.Parameters[6].Value = ((string)(Original_CodScheda));
}
if ((Original_Vers.HasValue == true)) {
command.Parameters[7].Value = ((int)(Original_Vers.Value));
}
else {
command.Parameters[7].Value = ((string)(Original_CodMisura));
command.Parameters[7].Value = global::System.DBNull.Value;
}
if ((Original_CodMisura == null)) {
command.Parameters[8].Value = global::System.DBNull.Value;
}
else {
command.Parameters[8].Value = ((string)(Original_CodMisura));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
@@ -10436,6 +10621,7 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
tableMapping.ColumnMappings.Add("Path", "Path");
tableMapping.ColumnMappings.Add("NumSchede", "NumSchede");
tableMapping.ColumnMappings.Add("Descrizione", "Descrizione");
tableMapping.ColumnMappings.Add("opz", "opz");
this._adapter.TableMappings.Add(tableMapping);
}
@@ -10452,7 +10638,7 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT * FROM v_SchemaCollFamMacc";
this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_SchemaCollFamMacc";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
@@ -10497,6 +10683,7 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSchedaVers", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFam", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumSchede", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@opz", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSchedaVers", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFam", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -10666,7 +10853,7 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int updateQuery(string CodSchedaVers, string CodFam, global::System.Nullable<int> NumSchede, string Descrizione, string Original_CodSchedaVers, string Original_CodFam) {
public virtual int updateQuery(string CodSchedaVers, string CodFam, global::System.Nullable<int> NumSchede, string opz, string Descrizione, string Original_CodSchedaVers, string Original_CodFam) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
if ((CodSchedaVers == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
@@ -10686,23 +10873,29 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
else {
command.Parameters[3].Value = global::System.DBNull.Value;
}
if ((Descrizione == null)) {
if ((opz == null)) {
command.Parameters[4].Value = global::System.DBNull.Value;
}
else {
command.Parameters[4].Value = ((string)(Descrizione));
command.Parameters[4].Value = ((string)(opz));
}
if ((Original_CodSchedaVers == null)) {
if ((Descrizione == null)) {
command.Parameters[5].Value = global::System.DBNull.Value;
}
else {
command.Parameters[5].Value = ((string)(Original_CodSchedaVers));
command.Parameters[5].Value = ((string)(Descrizione));
}
if ((Original_CodFam == null)) {
if ((Original_CodSchedaVers == null)) {
command.Parameters[6].Value = global::System.DBNull.Value;
}
else {
command.Parameters[6].Value = ((string)(Original_CodFam));
command.Parameters[6].Value = ((string)(Original_CodSchedaVers));
}
if ((Original_CodFam == null)) {
command.Parameters[7].Value = global::System.DBNull.Value;
}
else {
command.Parameters[7].Value = ((string)(Original_CodFam));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
@@ -11064,43 +11257,48 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
tableMapping.ColumnMappings.Add("Vers", "Vers");
tableMapping.ColumnMappings.Add("NumScheda", "NumScheda");
tableMapping.ColumnMappings.Add("Descrizione", "Descrizione");
tableMapping.ColumnMappings.Add("opz", "opz");
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].[SchemaCollMacc] WHERE (([IdxDossier] = @Original_IdxDossier) AND ([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([NumScheda] = @Original_NumScheda) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)))";
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[SchemaCollMacc] WHERE (([IdxDossier] = @Original_IdxDossier) AND ([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([NumScheda] = @Original_NumScheda) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ([opz] = @Original_opz))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxDossier", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxDossier", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodScheda", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScheda", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Vers", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Vers", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumScheda", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumScheda", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Descrizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_opz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "opz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[SchemaCollMacc] ([IdxDossier], [CodScheda], [Vers], [NumScheda], [Descrizione]) VALUES (@IdxDossier, @CodScheda, @Vers, @NumScheda, @Descrizione);
SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc WHERE (CodScheda = @CodScheda) AND (IdxDossier = @IdxDossier) AND (NumScheda = @NumScheda) AND (Vers = @Vers)";
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[SchemaCollMacc] ([IdxDossier], [CodScheda], [Vers], [NumScheda], [Descrizione], [opz]) VALUES (@IdxDossier, @CodScheda, @Vers, @NumScheda, @Descrizione, @opz);
SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz FROM SchemaCollMacc WHERE (CodScheda = @CodScheda) AND (IdxDossier = @IdxDossier) AND (NumScheda = @NumScheda) AND (Vers = @Vers)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxDossier", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxDossier", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodScheda", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScheda", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Vers", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Vers", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumScheda", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumScheda", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@opz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "opz", 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].[SchemaCollMacc] SET [IdxDossier] = @IdxDossier, [CodScheda] = @CodScheda, [Vers] = @Vers, [NumScheda] = @NumScheda, [Descrizione] = @Descrizione WHERE (([IdxDossier] = @Original_IdxDossier) AND ([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([NumScheda] = @Original_NumScheda) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)));
SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc WHERE (CodScheda = @CodScheda) AND (IdxDossier = @IdxDossier) AND (NumScheda = @NumScheda) AND (Vers = @Vers)";
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[SchemaCollMacc] SET [IdxDossier] = @IdxDossier, [CodScheda] = @CodScheda, [Vers] = @Vers, [NumScheda] = @NumScheda, [Descrizione] = @Descrizione, [opz] = @opz WHERE (([IdxDossier] = @Original_IdxDossier) AND ([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([NumScheda] = @Original_NumScheda) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ([opz] = @Original_opz));
SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz FROM SchemaCollMacc WHERE (CodScheda = @CodScheda) AND (IdxDossier = @IdxDossier) AND (NumScheda = @NumScheda) AND (Vers = @Vers)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxDossier", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxDossier", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodScheda", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScheda", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Vers", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Vers", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumScheda", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumScheda", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@opz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "opz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxDossier", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxDossier", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodScheda", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScheda", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Vers", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Vers", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumScheda", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumScheda", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Descrizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_opz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "opz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -11116,8 +11314,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc W
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM dbo.SchemaCollMac" +
"c";
this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.SchemaCollMacc";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
@@ -11224,7 +11421,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc W
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int Original_IdxDossier, string Original_CodScheda, int Original_Vers, int Original_NumScheda, string Original_Descrizione) {
public virtual int Delete(int Original_IdxDossier, string Original_CodScheda, int Original_Vers, int Original_NumScheda, string Original_Descrizione, string Original_opz) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxDossier));
if ((Original_CodScheda == null)) {
throw new global::System.ArgumentNullException("Original_CodScheda");
@@ -11242,6 +11439,12 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc W
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_Descrizione));
}
if ((Original_opz == null)) {
throw new global::System.ArgumentNullException("Original_opz");
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_opz));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -11262,7 +11465,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc W
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(int IdxDossier, string CodScheda, int Vers, int NumScheda, string Descrizione) {
public virtual int Insert(int IdxDossier, string CodScheda, int Vers, int NumScheda, string Descrizione, string opz) {
this.Adapter.InsertCommand.Parameters[0].Value = ((int)(IdxDossier));
if ((CodScheda == null)) {
throw new global::System.ArgumentNullException("CodScheda");
@@ -11278,6 +11481,12 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc W
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Descrizione));
}
if ((opz == null)) {
throw new global::System.ArgumentNullException("opz");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(opz));
}
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)) {
@@ -11298,7 +11507,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc W
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(int IdxDossier, string CodScheda, int Vers, int NumScheda, string Descrizione, int Original_IdxDossier, string Original_CodScheda, int Original_Vers, int Original_NumScheda, string Original_Descrizione) {
public virtual int Update(int IdxDossier, string CodScheda, int Vers, int NumScheda, string Descrizione, string opz, int Original_IdxDossier, string Original_CodScheda, int Original_Vers, int Original_NumScheda, string Original_Descrizione, string Original_opz) {
this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(IdxDossier));
if ((CodScheda == null)) {
throw new global::System.ArgumentNullException("CodScheda");
@@ -11314,22 +11523,34 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc W
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Descrizione));
}
this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Original_IdxDossier));
if ((opz == null)) {
throw new global::System.ArgumentNullException("opz");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(opz));
}
this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(Original_IdxDossier));
if ((Original_CodScheda == null)) {
throw new global::System.ArgumentNullException("Original_CodScheda");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_CodScheda));
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_CodScheda));
}
this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_Vers));
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_NumScheda));
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_Vers));
this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_NumScheda));
if ((Original_Descrizione == null)) {
this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_Descrizione));
this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_Descrizione));
}
if ((Original_opz == null)) {
throw new global::System.ArgumentNullException("Original_opz");
}
else {
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_opz));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
@@ -11351,8 +11572,8 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc W
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string Descrizione, int Original_IdxDossier, string Original_CodScheda, int Original_Vers, int Original_NumScheda, string Original_Descrizione) {
return this.Update(Original_IdxDossier, Original_CodScheda, Original_Vers, Original_NumScheda, Descrizione, Original_IdxDossier, Original_CodScheda, Original_Vers, Original_NumScheda, Original_Descrizione);
public virtual int Update(string Descrizione, string opz, int Original_IdxDossier, string Original_CodScheda, int Original_Vers, int Original_NumScheda, string Original_Descrizione, string Original_opz) {
return this.Update(Original_IdxDossier, Original_CodScheda, Original_Vers, Original_NumScheda, Descrizione, opz, Original_IdxDossier, Original_CodScheda, Original_Vers, Original_NumScheda, Original_Descrizione, Original_opz);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -11611,6 +11832,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc W
tableMapping.ColumnMappings.Add("LIVal", "LIVal");
tableMapping.ColumnMappings.Add("LSVal", "LSVal");
tableMapping.ColumnMappings.Add("CodSchedaVersNum", "CodSchedaVersNum");
tableMapping.ColumnMappings.Add("CodVisib", "CodVisib");
this._adapter.TableMappings.Add(tableMapping);
}
@@ -11679,6 +11901,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc W
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Operatore", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValorePar", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValoreMis", global::System.Data.SqlDbType.NVarChar, 4000, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodVisib", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -11870,7 +12093,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc W
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int updateMis(global::System.Nullable<int> Original_IdxDossier, string Original_CodScheda, global::System.Nullable<int> Original_Vers, global::System.Nullable<int> Original_NumScheda, string Original_CodMisura, string Original_Fase, string Operatore, global::System.Nullable<double> ValorePar, string ValoreMis) {
public virtual int updateMis(global::System.Nullable<int> Original_IdxDossier, string Original_CodScheda, global::System.Nullable<int> Original_Vers, global::System.Nullable<int> Original_NumScheda, string Original_CodMisura, string Original_Fase, string Operatore, global::System.Nullable<double> ValorePar, string ValoreMis, string CodVisib) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
if ((Original_IdxDossier.HasValue == true)) {
command.Parameters[1].Value = ((int)(Original_IdxDossier.Value));
@@ -11926,6 +12149,12 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc W
else {
command.Parameters[9].Value = ((string)(ValoreMis));
}
if ((CodVisib == null)) {
command.Parameters[10].Value = global::System.DBNull.Value;
}
else {
command.Parameters[10].Value = ((string)(CodVisib));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
+97 -39
View File
@@ -393,7 +393,7 @@ SELECT CodScheda, Vers, Descrizione, Path FROM AnagSchede WHERE (CodScheda = @Co
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.DettScheda" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [DettScheda] WHERE (([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([CodMisura] = @Original_CodMisura) AND ([NomeMisura] = @Original_NomeMisura) AND ([TipoValMisura] = @Original_TipoValMisura) AND ([NomePar] = @Original_NomePar))</CommandText>
<CommandText>DELETE FROM [DettScheda] WHERE (([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([CodMisura] = @Original_CodMisura) AND ([NomeMisura] = @Original_NomeMisura) AND ([TipoValMisura] = @Original_TipoValMisura) AND ([NomePar] = @Original_NomePar) AND ([CodVisib] = @Original_CodVisib))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodScheda" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Vers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vers" SourceColumnNullMapping="false" SourceVersion="Original" />
@@ -401,13 +401,14 @@ SELECT CodScheda, Vers, Descrizione, Path FROM AnagSchede WHERE (CodScheda = @Co
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_NomeMisura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NomeMisura" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TipoValMisura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TipoValMisura" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_NomePar" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NomePar" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodVisib" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodVisib" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [DettScheda] ([CodScheda], [Vers], [CodMisura], [NomeMisura], [TipoValMisura], [NomePar]) VALUES (@CodScheda, @Vers, @CodMisura, @NomeMisura, @TipoValMisura, @NomePar);
SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettScheda WHERE (CodMisura = @CodMisura) AND (CodScheda = @CodScheda) AND (Vers = @Vers)</CommandText>
<CommandText>INSERT INTO [DettScheda] ([CodScheda], [Vers], [CodMisura], [NomeMisura], [TipoValMisura], [NomePar], [CodVisib]) VALUES (@CodScheda, @Vers, @CodMisura, @NomeMisura, @TipoValMisura, @NomePar, @CodVisib);
SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar, CodVisib FROM DettScheda WHERE (CodMisura = @CodMisura) AND (CodScheda = @CodScheda) AND (Vers = @Vers)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodScheda" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Vers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vers" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -415,19 +416,21 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NomeMisura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NomeMisura" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TipoValMisura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TipoValMisura" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NomePar" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NomePar" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodVisib" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodVisib" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettScheda</CommandText>
<CommandText>SELECT *
FROM DettScheda</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [DettScheda] SET [CodScheda] = @CodScheda, [Vers] = @Vers, [CodMisura] = @CodMisura, [NomeMisura] = @NomeMisura, [TipoValMisura] = @TipoValMisura, [NomePar] = @NomePar WHERE (([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([CodMisura] = @Original_CodMisura) AND ([NomeMisura] = @Original_NomeMisura) AND ([TipoValMisura] = @Original_TipoValMisura) AND ([NomePar] = @Original_NomePar));
SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettScheda WHERE (CodMisura = @CodMisura) AND (CodScheda = @CodScheda) AND (Vers = @Vers)</CommandText>
<CommandText>UPDATE [DettScheda] SET [CodScheda] = @CodScheda, [Vers] = @Vers, [CodMisura] = @CodMisura, [NomeMisura] = @NomeMisura, [TipoValMisura] = @TipoValMisura, [NomePar] = @NomePar, [CodVisib] = @CodVisib WHERE (([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([CodMisura] = @Original_CodMisura) AND ([NomeMisura] = @Original_NomeMisura) AND ([TipoValMisura] = @Original_TipoValMisura) AND ([NomePar] = @Original_NomePar) AND ([CodVisib] = @Original_CodVisib));
SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar, CodVisib FROM DettScheda WHERE (CodMisura = @CodMisura) AND (CodScheda = @CodScheda) AND (Vers = @Vers)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodScheda" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Vers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vers" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -435,12 +438,14 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NomeMisura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NomeMisura" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TipoValMisura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TipoValMisura" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NomePar" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NomePar" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodVisib" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodVisib" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodScheda" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Vers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vers" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodMisura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodMisura" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_NomeMisura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NomeMisura" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TipoValMisura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TipoValMisura" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_NomePar" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NomePar" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodVisib" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodVisib" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
@@ -453,8 +458,21 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
<Mapping SourceColumn="NomeMisura" DataSetColumn="NomeMisura" />
<Mapping SourceColumn="TipoValMisura" DataSetColumn="TipoValMisura" />
<Mapping SourceColumn="NomePar" DataSetColumn="NomePar" />
<Mapping SourceColumn="CodVisib" DataSetColumn="CodVisib" />
</Mappings>
<Sources>
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_DS_clone" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="clone" Modifier="Public" Name="clone" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="clone">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_DS_clone</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodSchedaVers" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodMisura" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
<DeleteCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -515,6 +533,7 @@ SELECT CodScheda, Vers, CodMisura, NomeMisura, TipoValMisura, NomePar FROM DettS
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@NomeMisura" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@TipoValMisura" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@NomePar" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodVisib" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_Vers" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_CodMisura" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -659,7 +678,8 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.v_SchemaCollFamMacc" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM v_SchemaCollFamMacc</CommandText>
<CommandText>SELECT *
FROM v_SchemaCollFamMacc</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
@@ -674,6 +694,7 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
<Mapping SourceColumn="Path" DataSetColumn="Path" />
<Mapping SourceColumn="NumSchede" DataSetColumn="NumSchede" />
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
<Mapping SourceColumn="opz" DataSetColumn="opz" />
</Mappings>
<Sources>
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_SCFM_deleteQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
@@ -745,6 +766,7 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodSchedaVers" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodFam" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@NumSchede" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@opz" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_CodSchedaVers" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_CodFam" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -797,52 +819,57 @@ FROM v_ElencoDossier</CommandText>
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.SchemaCollMacc" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[SchemaCollMacc] WHERE (([IdxDossier] = @Original_IdxDossier) AND ([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([NumScheda] = @Original_NumScheda) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)))</CommandText>
<CommandText>DELETE FROM [dbo].[SchemaCollMacc] WHERE (([IdxDossier] = @Original_IdxDossier) AND ([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([NumScheda] = @Original_NumScheda) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ([opz] = @Original_opz))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxDossier" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxDossier" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodScheda" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Vers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vers" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumScheda" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumScheda" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Descrizione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_opz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opz" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[SchemaCollMacc] ([IdxDossier], [CodScheda], [Vers], [NumScheda], [Descrizione]) VALUES (@IdxDossier, @CodScheda, @Vers, @NumScheda, @Descrizione);
SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc WHERE (CodScheda = @CodScheda) AND (IdxDossier = @IdxDossier) AND (NumScheda = @NumScheda) AND (Vers = @Vers)</CommandText>
<CommandText>INSERT INTO [dbo].[SchemaCollMacc] ([IdxDossier], [CodScheda], [Vers], [NumScheda], [Descrizione], [opz]) VALUES (@IdxDossier, @CodScheda, @Vers, @NumScheda, @Descrizione, @opz);
SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz FROM SchemaCollMacc WHERE (CodScheda = @CodScheda) AND (IdxDossier = @IdxDossier) AND (NumScheda = @NumScheda) AND (Vers = @Vers)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxDossier" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxDossier" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodScheda" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Vers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vers" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumScheda" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumScheda" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@opz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opz" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM dbo.SchemaCollMacc</CommandText>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM dbo.SchemaCollMacc</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[SchemaCollMacc] SET [IdxDossier] = @IdxDossier, [CodScheda] = @CodScheda, [Vers] = @Vers, [NumScheda] = @NumScheda, [Descrizione] = @Descrizione WHERE (([IdxDossier] = @Original_IdxDossier) AND ([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([NumScheda] = @Original_NumScheda) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)));
SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc WHERE (CodScheda = @CodScheda) AND (IdxDossier = @IdxDossier) AND (NumScheda = @NumScheda) AND (Vers = @Vers)</CommandText>
<CommandText>UPDATE [dbo].[SchemaCollMacc] SET [IdxDossier] = @IdxDossier, [CodScheda] = @CodScheda, [Vers] = @Vers, [NumScheda] = @NumScheda, [Descrizione] = @Descrizione, [opz] = @opz WHERE (([IdxDossier] = @Original_IdxDossier) AND ([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([NumScheda] = @Original_NumScheda) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ([opz] = @Original_opz));
SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz FROM SchemaCollMacc WHERE (CodScheda = @CodScheda) AND (IdxDossier = @IdxDossier) AND (NumScheda = @NumScheda) AND (Vers = @Vers)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxDossier" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxDossier" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodScheda" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Vers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vers" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumScheda" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumScheda" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@opz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opz" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxDossier" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxDossier" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodScheda" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Vers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vers" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumScheda" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumScheda" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Descrizione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_opz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opz" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
@@ -854,6 +881,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc W
<Mapping SourceColumn="Vers" DataSetColumn="Vers" />
<Mapping SourceColumn="NumScheda" DataSetColumn="NumScheda" />
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
<Mapping SourceColumn="opz" DataSetColumn="opz" />
</Mappings>
<Sources>
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_SCM_deleteQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
@@ -940,6 +968,7 @@ FROM v_Misure</CommandText>
<Mapping SourceColumn="LIVal" DataSetColumn="LIVal" />
<Mapping SourceColumn="LSVal" DataSetColumn="LSVal" />
<Mapping SourceColumn="CodSchedaVersNum" DataSetColumn="CodSchedaVersNum" />
<Mapping SourceColumn="CodVisib" DataSetColumn="CodVisib" />
</Mappings>
<Sources>
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_Mis_Deroga" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deroga" Modifier="Public" Name="deroga" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deroga">
@@ -1013,6 +1042,7 @@ FROM v_Misure</CommandText>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Operatore" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@ValorePar" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ValoreMis" Precision="0" ProviderType="NVarChar" Scale="0" Size="4000" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodVisib" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -1070,7 +1100,7 @@ FROM v_Misure</CommandText>
<xs:element name="DS_Applicazione" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Applicazione" msprop:Generator_UserDSName="DS_Applicazione">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="ElencoFamMacc" msprop:Generator_TableClassName="ElencoFamMaccDataTable" msprop:Generator_TableVarName="tableElencoFamMacc" msprop:Generator_RowChangedName="ElencoFamMaccRowChanged" msprop:Generator_TablePropName="ElencoFamMacc" msprop:Generator_RowDeletingName="ElencoFamMaccRowDeleting" msprop:Generator_RowChangingName="ElencoFamMaccRowChanging" msprop:Generator_RowEvHandlerName="ElencoFamMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoFamMaccRowDeleted" msprop:Generator_RowClassName="ElencoFamMaccRow" msprop:Generator_UserTableName="ElencoFamMacc" msprop:Generator_RowEvArgName="ElencoFamMaccRowChangeEvent">
<xs:element name="ElencoFamMacc" msprop:Generator_TableClassName="ElencoFamMaccDataTable" msprop:Generator_TableVarName="tableElencoFamMacc" msprop:Generator_TablePropName="ElencoFamMacc" msprop:Generator_RowDeletingName="ElencoFamMaccRowDeleting" msprop:Generator_RowChangingName="ElencoFamMaccRowChanging" msprop:Generator_RowEvHandlerName="ElencoFamMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoFamMaccRowDeleted" msprop:Generator_UserTableName="ElencoFamMacc" msprop:Generator_RowChangedName="ElencoFamMaccRowChanged" msprop:Generator_RowEvArgName="ElencoFamMaccRowChangeEvent" msprop:Generator_RowClassName="ElencoFamMaccRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodFam" msprop:Generator_ColumnVarNameInTable="columnCodFam" msprop:Generator_ColumnPropNameInRow="CodFam" msprop:Generator_ColumnPropNameInTable="CodFamColumn" msprop:Generator_UserColumnName="CodFam">
@@ -1090,7 +1120,7 @@ FROM v_Misure</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoMacchineCN" msprop:Generator_TableClassName="ElencoMacchineCNDataTable" msprop:Generator_TableVarName="tableElencoMacchineCN" msprop:Generator_RowChangedName="ElencoMacchineCNRowChanged" msprop:Generator_TablePropName="ElencoMacchineCN" msprop:Generator_RowDeletingName="ElencoMacchineCNRowDeleting" msprop:Generator_RowChangingName="ElencoMacchineCNRowChanging" msprop:Generator_RowEvHandlerName="ElencoMacchineCNRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoMacchineCNRowDeleted" msprop:Generator_RowClassName="ElencoMacchineCNRow" msprop:Generator_UserTableName="ElencoMacchineCN" msprop:Generator_RowEvArgName="ElencoMacchineCNRowChangeEvent">
<xs:element name="ElencoMacchineCN" msprop:Generator_TableClassName="ElencoMacchineCNDataTable" msprop:Generator_TableVarName="tableElencoMacchineCN" msprop:Generator_TablePropName="ElencoMacchineCN" msprop:Generator_RowDeletingName="ElencoMacchineCNRowDeleting" msprop:Generator_RowChangingName="ElencoMacchineCNRowChanging" msprop:Generator_RowEvHandlerName="ElencoMacchineCNRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoMacchineCNRowDeleted" msprop:Generator_UserTableName="ElencoMacchineCN" msprop:Generator_RowChangedName="ElencoMacchineCNRowChanged" msprop:Generator_RowEvArgName="ElencoMacchineCNRowChangeEvent" msprop:Generator_RowClassName="ElencoMacchineCNRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Matricola" msprop:Generator_ColumnVarNameInTable="columnMatricola" msprop:Generator_ColumnPropNameInRow="Matricola" msprop:Generator_ColumnPropNameInTable="MatricolaColumn" msprop:Generator_UserColumnName="Matricola">
@@ -1124,7 +1154,7 @@ FROM v_Misure</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_RowClassName="AnagFasiRow" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent">
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent" msprop:Generator_RowClassName="AnagFasiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Fase" msprop:Generator_ColumnVarNameInTable="columnFase" msprop:Generator_ColumnPropNameInRow="Fase" msprop:Generator_ColumnPropNameInTable="FaseColumn" msprop:Generator_UserColumnName="Fase">
@@ -1144,7 +1174,7 @@ FROM v_Misure</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagSchede" msprop:Generator_TableClassName="AnagSchedeDataTable" msprop:Generator_TableVarName="tableAnagSchede" msprop:Generator_TablePropName="AnagSchede" msprop:Generator_RowDeletingName="AnagSchedeRowDeleting" msprop:Generator_RowChangingName="AnagSchedeRowChanging" msprop:Generator_RowEvHandlerName="AnagSchedeRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSchedeRowDeleted" msprop:Generator_UserTableName="AnagSchede" msprop:Generator_RowChangedName="AnagSchedeRowChanged" msprop:Generator_RowEvArgName="AnagSchedeRowChangeEvent" msprop:Generator_RowClassName="AnagSchedeRow">
<xs:element name="AnagSchede" msprop:Generator_TableClassName="AnagSchedeDataTable" msprop:Generator_TableVarName="tableAnagSchede" msprop:Generator_RowChangedName="AnagSchedeRowChanged" msprop:Generator_TablePropName="AnagSchede" msprop:Generator_RowDeletingName="AnagSchedeRowDeleting" msprop:Generator_RowChangingName="AnagSchedeRowChanging" msprop:Generator_RowEvHandlerName="AnagSchedeRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSchedeRowDeleted" msprop:Generator_RowClassName="AnagSchedeRow" msprop:Generator_UserTableName="AnagSchede" msprop:Generator_RowEvArgName="AnagSchedeRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodScheda" msprop:Generator_ColumnVarNameInTable="columnCodScheda" msprop:Generator_ColumnPropNameInRow="CodScheda" msprop:Generator_ColumnPropNameInTable="CodSchedaColumn" msprop:Generator_UserColumnName="CodScheda">
@@ -1172,7 +1202,7 @@ FROM v_Misure</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DettScheda" msprop:Generator_TableClassName="DettSchedaDataTable" msprop:Generator_TableVarName="tableDettScheda" msprop:Generator_RowChangedName="DettSchedaRowChanged" msprop:Generator_TablePropName="DettScheda" msprop:Generator_RowDeletingName="DettSchedaRowDeleting" msprop:Generator_RowChangingName="DettSchedaRowChanging" msprop:Generator_RowEvHandlerName="DettSchedaRowChangeEventHandler" msprop:Generator_RowDeletedName="DettSchedaRowDeleted" msprop:Generator_RowClassName="DettSchedaRow" msprop:Generator_UserTableName="DettScheda" msprop:Generator_RowEvArgName="DettSchedaRowChangeEvent">
<xs:element name="DettScheda" msprop:Generator_TableClassName="DettSchedaDataTable" msprop:Generator_TableVarName="tableDettScheda" msprop:Generator_TablePropName="DettScheda" msprop:Generator_RowDeletingName="DettSchedaRowDeleting" msprop:Generator_RowChangingName="DettSchedaRowChanging" msprop:Generator_RowEvHandlerName="DettSchedaRowChangeEventHandler" msprop:Generator_RowDeletedName="DettSchedaRowDeleted" msprop:Generator_UserTableName="DettScheda" msprop:Generator_RowChangedName="DettSchedaRowChanged" msprop:Generator_RowEvArgName="DettSchedaRowChangeEvent" msprop:Generator_RowClassName="DettSchedaRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodScheda" msprop:Generator_ColumnVarNameInTable="columnCodScheda" msprop:Generator_ColumnPropNameInRow="CodScheda" msprop:Generator_ColumnPropNameInTable="CodSchedaColumn" msprop:Generator_UserColumnName="CodScheda">
@@ -1211,10 +1241,17 @@ FROM v_Misure</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodVisib" msprop:Generator_ColumnVarNameInTable="columnCodVisib" msprop:Generator_ColumnPropNameInRow="CodVisib" msprop:Generator_ColumnPropNameInTable="CodVisibColumn" msprop:Generator_UserColumnName="CodVisib">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ValidVal" msprop:Generator_TableClassName="ValidValDataTable" msprop:Generator_TableVarName="tableValidVal" msprop:Generator_RowChangedName="ValidValRowChanged" msprop:Generator_TablePropName="ValidVal" msprop:Generator_RowDeletingName="ValidValRowDeleting" msprop:Generator_RowChangingName="ValidValRowChanging" msprop:Generator_RowEvHandlerName="ValidValRowChangeEventHandler" msprop:Generator_RowDeletedName="ValidValRowDeleted" msprop:Generator_RowClassName="ValidValRow" msprop:Generator_UserTableName="ValidVal" msprop:Generator_RowEvArgName="ValidValRowChangeEvent">
<xs:element name="ValidVal" msprop:Generator_TableClassName="ValidValDataTable" msprop:Generator_TableVarName="tableValidVal" msprop:Generator_TablePropName="ValidVal" msprop:Generator_RowDeletingName="ValidValRowDeleting" msprop:Generator_RowChangingName="ValidValRowChanging" msprop:Generator_RowEvHandlerName="ValidValRowChangeEventHandler" msprop:Generator_RowDeletedName="ValidValRowDeleted" msprop:Generator_UserTableName="ValidVal" msprop:Generator_RowChangedName="ValidValRowChanged" msprop:Generator_RowEvArgName="ValidValRowChangeEvent" msprop:Generator_RowClassName="ValidValRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodScheda" msprop:Generator_ColumnVarNameInTable="columnCodScheda" msprop:Generator_ColumnPropNameInRow="CodScheda" msprop:Generator_ColumnPropNameInTable="CodSchedaColumn" msprop:Generator_UserColumnName="CodScheda">
@@ -1239,7 +1276,7 @@ FROM v_Misure</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SchemaCollFamMacc" msprop:Generator_TableClassName="SchemaCollFamMaccDataTable" msprop:Generator_TableVarName="tableSchemaCollFamMacc" msprop:Generator_RowChangedName="SchemaCollFamMaccRowChanged" msprop:Generator_TablePropName="SchemaCollFamMacc" msprop:Generator_RowDeletingName="SchemaCollFamMaccRowDeleting" msprop:Generator_RowChangingName="SchemaCollFamMaccRowChanging" msprop:Generator_RowEvHandlerName="SchemaCollFamMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="SchemaCollFamMaccRowDeleted" msprop:Generator_RowClassName="SchemaCollFamMaccRow" msprop:Generator_UserTableName="SchemaCollFamMacc" msprop:Generator_RowEvArgName="SchemaCollFamMaccRowChangeEvent">
<xs:element name="SchemaCollFamMacc" msprop:Generator_TableClassName="SchemaCollFamMaccDataTable" msprop:Generator_TableVarName="tableSchemaCollFamMacc" msprop:Generator_TablePropName="SchemaCollFamMacc" msprop:Generator_RowDeletingName="SchemaCollFamMaccRowDeleting" msprop:Generator_RowChangingName="SchemaCollFamMaccRowChanging" msprop:Generator_RowEvHandlerName="SchemaCollFamMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="SchemaCollFamMaccRowDeleted" msprop:Generator_UserTableName="SchemaCollFamMacc" msprop:Generator_RowChangedName="SchemaCollFamMaccRowChanged" msprop:Generator_RowEvArgName="SchemaCollFamMaccRowChangeEvent" msprop:Generator_RowClassName="SchemaCollFamMaccRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodFam" msprop:Generator_ColumnVarNameInTable="columnCodFam" msprop:Generator_ColumnPropNameInRow="CodFam" msprop:Generator_ColumnPropNameInTable="CodFamColumn" msprop:Generator_UserColumnName="CodFam">
@@ -1286,10 +1323,17 @@ FROM v_Misure</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="opz" msprop:Generator_ColumnVarNameInTable="columnopz" msprop:Generator_ColumnPropNameInRow="opz" msprop:Generator_ColumnPropNameInTable="opzColumn" msprop:Generator_UserColumnName="opz">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoDossier" msprop:Generator_TableClassName="ElencoDossierDataTable" msprop:Generator_TableVarName="tableElencoDossier" msprop:Generator_TablePropName="ElencoDossier" msprop:Generator_RowDeletingName="ElencoDossierRowDeleting" msprop:Generator_RowChangingName="ElencoDossierRowChanging" msprop:Generator_RowEvHandlerName="ElencoDossierRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoDossierRowDeleted" msprop:Generator_UserTableName="ElencoDossier" msprop:Generator_RowChangedName="ElencoDossierRowChanged" msprop:Generator_RowEvArgName="ElencoDossierRowChangeEvent" msprop:Generator_RowClassName="ElencoDossierRow">
<xs:element name="ElencoDossier" msprop:Generator_TableClassName="ElencoDossierDataTable" msprop:Generator_TableVarName="tableElencoDossier" msprop:Generator_RowChangedName="ElencoDossierRowChanged" msprop:Generator_TablePropName="ElencoDossier" msprop:Generator_RowDeletingName="ElencoDossierRowDeleting" msprop:Generator_RowChangingName="ElencoDossierRowChanging" msprop:Generator_RowEvHandlerName="ElencoDossierRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoDossierRowDeleted" msprop:Generator_RowClassName="ElencoDossierRow" msprop:Generator_UserTableName="ElencoDossier" msprop:Generator_RowEvArgName="ElencoDossierRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxDossier" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxDossier" msprop:Generator_ColumnPropNameInRow="IdxDossier" msprop:Generator_ColumnPropNameInTable="IdxDossierColumn" msprop:Generator_UserColumnName="IdxDossier" type="xs:int" />
@@ -1328,7 +1372,7 @@ FROM v_Misure</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SchemaCollMacc" msprop:Generator_TableClassName="SchemaCollMaccDataTable" msprop:Generator_TableVarName="tableSchemaCollMacc" msprop:Generator_TablePropName="SchemaCollMacc" msprop:Generator_RowDeletingName="SchemaCollMaccRowDeleting" msprop:Generator_RowChangingName="SchemaCollMaccRowChanging" msprop:Generator_RowEvHandlerName="SchemaCollMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="SchemaCollMaccRowDeleted" msprop:Generator_UserTableName="SchemaCollMacc" msprop:Generator_RowChangedName="SchemaCollMaccRowChanged" msprop:Generator_RowEvArgName="SchemaCollMaccRowChangeEvent" msprop:Generator_RowClassName="SchemaCollMaccRow">
<xs:element name="SchemaCollMacc" msprop:Generator_TableClassName="SchemaCollMaccDataTable" msprop:Generator_TableVarName="tableSchemaCollMacc" msprop:Generator_RowChangedName="SchemaCollMaccRowChanged" msprop:Generator_TablePropName="SchemaCollMacc" msprop:Generator_RowDeletingName="SchemaCollMaccRowDeleting" msprop:Generator_RowChangingName="SchemaCollMaccRowChanging" msprop:Generator_RowEvHandlerName="SchemaCollMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="SchemaCollMaccRowDeleted" msprop:Generator_RowClassName="SchemaCollMaccRow" msprop:Generator_UserTableName="SchemaCollMacc" msprop:Generator_RowEvArgName="SchemaCollMaccRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxDossier" msprop:Generator_ColumnVarNameInTable="columnIdxDossier" msprop:Generator_ColumnPropNameInRow="IdxDossier" msprop:Generator_ColumnPropNameInTable="IdxDossierColumn" msprop:Generator_UserColumnName="IdxDossier" type="xs:int" />
@@ -1348,10 +1392,17 @@ FROM v_Misure</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="opz" msprop:Generator_ColumnVarNameInTable="columnopz" msprop:Generator_ColumnPropNameInRow="opz" msprop:Generator_ColumnPropNameInTable="opzColumn" msprop:Generator_UserColumnName="opz">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Misure" msprop:Generator_TableClassName="MisureDataTable" msprop:Generator_TableVarName="tableMisure" msprop:Generator_TablePropName="Misure" msprop:Generator_RowDeletingName="MisureRowDeleting" msprop:Generator_RowChangingName="MisureRowChanging" msprop:Generator_RowEvHandlerName="MisureRowChangeEventHandler" msprop:Generator_RowDeletedName="MisureRowDeleted" msprop:Generator_UserTableName="Misure" msprop:Generator_RowChangedName="MisureRowChanged" msprop:Generator_RowEvArgName="MisureRowChangeEvent" msprop:Generator_RowClassName="MisureRow">
<xs:element name="Misure" msprop:Generator_TableClassName="MisureDataTable" msprop:Generator_TableVarName="tableMisure" msprop:Generator_RowChangedName="MisureRowChanged" msprop:Generator_TablePropName="Misure" msprop:Generator_RowDeletingName="MisureRowDeleting" msprop:Generator_RowChangingName="MisureRowChanging" msprop:Generator_RowEvHandlerName="MisureRowChangeEventHandler" msprop:Generator_RowDeletedName="MisureRowDeleted" msprop:Generator_RowClassName="MisureRow" msprop:Generator_UserTableName="Misure" msprop:Generator_RowEvArgName="MisureRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxDossier" msprop:Generator_ColumnVarNameInTable="columnIdxDossier" msprop:Generator_ColumnPropNameInRow="IdxDossier" msprop:Generator_ColumnPropNameInTable="IdxDossierColumn" msprop:Generator_UserColumnName="IdxDossier" type="xs:int" />
@@ -1434,10 +1485,17 @@ FROM v_Misure</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodVisib" msprop:Generator_ColumnVarNameInTable="columnCodVisib" msprop:Generator_ColumnPropNameInRow="CodVisib" msprop:Generator_ColumnPropNameInTable="CodVisibColumn" msprop:Generator_UserColumnName="CodVisib">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ReportData" msprop:Generator_TableClassName="ReportDataDataTable" msprop:Generator_TableVarName="tableReportData" msprop:Generator_RowChangedName="ReportDataRowChanged" msprop:Generator_TablePropName="ReportData" msprop:Generator_RowDeletingName="ReportDataRowDeleting" msprop:Generator_RowChangingName="ReportDataRowChanging" msprop:Generator_RowEvHandlerName="ReportDataRowChangeEventHandler" msprop:Generator_RowDeletedName="ReportDataRowDeleted" msprop:Generator_RowClassName="ReportDataRow" msprop:Generator_UserTableName="ReportData" msprop:Generator_RowEvArgName="ReportDataRowChangeEvent">
<xs:element name="ReportData" msprop:Generator_TableClassName="ReportDataDataTable" msprop:Generator_TableVarName="tableReportData" msprop:Generator_TablePropName="ReportData" msprop:Generator_RowDeletingName="ReportDataRowDeleting" msprop:Generator_RowChangingName="ReportDataRowChanging" msprop:Generator_RowEvHandlerName="ReportDataRowChangeEventHandler" msprop:Generator_RowDeletedName="ReportDataRowDeleted" msprop:Generator_UserTableName="ReportData" msprop:Generator_RowChangedName="ReportDataRowChanged" msprop:Generator_RowEvArgName="ReportDataRowChangeEvent" msprop:Generator_RowClassName="ReportDataRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxDossier" msprop:Generator_ColumnVarNameInTable="columnIdxDossier" msprop:Generator_ColumnPropNameInRow="IdxDossier" msprop:Generator_ColumnPropNameInTable="IdxDossierColumn" msprop:Generator_UserColumnName="IdxDossier" type="xs:int" />
@@ -1612,16 +1670,16 @@ FROM v_Misure</CommandText>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_DettScheda_AnagSchede1" msdata:parent="AnagSchede" msdata:child="DettScheda" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="DettScheda" msprop:Generator_ChildPropName="GetDettSchedaRows" msprop:Generator_UserRelationName="FK_DettScheda_AnagSchede1" msprop:Generator_RelationVarName="relationFK_DettScheda_AnagSchede1" msprop:Generator_UserParentTable="AnagSchede" msprop:Generator_ParentPropName="AnagSchedeRowParent" />
<msdata:Relationship name="FK_ElencoMacchineCN_ElencoFamMacc" msdata:parent="ElencoFamMacc" msdata:child="ElencoMacchineCN" msdata:parentkey="CodFam" msdata:childkey="CodFam" msprop:Generator_UserChildTable="ElencoMacchineCN" msprop:Generator_ChildPropName="GetElencoMacchineCNRows" msprop:Generator_UserRelationName="FK_ElencoMacchineCN_ElencoFamMacc" msprop:Generator_RelationVarName="relationFK_ElencoMacchineCN_ElencoFamMacc" msprop:Generator_UserParentTable="ElencoFamMacc" msprop:Generator_ParentPropName="ElencoFamMaccRow" />
<msdata:Relationship name="FK_ValidVal_DettScheda" msdata:parent="DettScheda" msdata:child="ValidVal" msdata:parentkey="CodScheda Vers CodMisura" msdata:childkey="CodScheda Vers CodMisura" msprop:Generator_UserChildTable="ValidVal" msprop:Generator_ChildPropName="GetValidValRows" msprop:Generator_UserRelationName="FK_ValidVal_DettScheda" msprop:Generator_RelationVarName="relationFK_ValidVal_DettScheda" msprop:Generator_UserParentTable="DettScheda" msprop:Generator_ParentPropName="DettSchedaRowParent" />
<msdata:Relationship name="FK_SchemaCollFamMacc_AnagSchede1" msdata:parent="AnagSchede" msdata:child="SchemaCollFamMacc" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="SchemaCollFamMacc" msprop:Generator_ChildPropName="GetSchemaCollFamMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollFamMacc_AnagSchede1" msprop:Generator_RelationVarName="relationFK_SchemaCollFamMacc_AnagSchede1" msprop:Generator_UserParentTable="AnagSchede" msprop:Generator_ParentPropName="AnagSchedeRowParent" />
<msdata:Relationship name="FK_SchemaCollFamMacc_ElencoFamMacc" msdata:parent="ElencoFamMacc" msdata:child="SchemaCollFamMacc" msdata:parentkey="CodFam" msdata:childkey="CodFam" msprop:Generator_UserChildTable="SchemaCollFamMacc" msprop:Generator_ChildPropName="GetSchemaCollFamMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollFamMacc_ElencoFamMacc" msprop:Generator_RelationVarName="relationFK_SchemaCollFamMacc_ElencoFamMacc" msprop:Generator_UserParentTable="ElencoFamMacc" msprop:Generator_ParentPropName="ElencoFamMaccRow" />
<msdata:Relationship name="FK_ElencoDossier_ElencoMacchineCN" msdata:parent="ElencoMacchineCN" msdata:child="ElencoDossier" msdata:parentkey="Matricola" msdata:childkey="Matricola" msprop:Generator_UserChildTable="ElencoDossier" msprop:Generator_ChildPropName="GetElencoDossierRows" msprop:Generator_UserRelationName="FK_ElencoDossier_ElencoMacchineCN" msprop:Generator_ParentPropName="ElencoMacchineCNRow" msprop:Generator_RelationVarName="relationFK_ElencoDossier_ElencoMacchineCN" msprop:Generator_UserParentTable="ElencoMacchineCN" />
<msdata:Relationship name="FK_SchemaCollMacc_AnagSchede" msdata:parent="AnagSchede" msdata:child="SchemaCollMacc" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="SchemaCollMacc" msprop:Generator_ChildPropName="GetSchemaCollMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollMacc_AnagSchede" msprop:Generator_ParentPropName="AnagSchedeRowParent" msprop:Generator_RelationVarName="relationFK_SchemaCollMacc_AnagSchede" msprop:Generator_UserParentTable="AnagSchede" />
<msdata:Relationship name="FK_SchemaCollMacc_ElencoDossier" msdata:parent="ElencoDossier" msdata:child="SchemaCollMacc" msdata:parentkey="IdxDossier" msdata:childkey="IdxDossier" msprop:Generator_UserChildTable="SchemaCollMacc" msprop:Generator_ChildPropName="GetSchemaCollMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollMacc_ElencoDossier" msprop:Generator_ParentPropName="ElencoDossierRow" msprop:Generator_RelationVarName="relationFK_SchemaCollMacc_ElencoDossier" msprop:Generator_UserParentTable="ElencoDossier" />
<msdata:Relationship name="FK_IstanzeMisura_AnagFasi1" msdata:parent="AnagFasi" msdata:child="Misure" msdata:parentkey="Fase" msdata:childkey="Fase" msprop:Generator_UserChildTable="Misure" msprop:Generator_ChildPropName="GetMisureRows" msprop:Generator_UserRelationName="FK_IstanzeMisura_AnagFasi1" msprop:Generator_ParentPropName="AnagFasiRow" msprop:Generator_RelationVarName="relationFK_IstanzeMisura_AnagFasi1" msprop:Generator_UserParentTable="AnagFasi" />
<msdata:Relationship name="FK_Misure_SchemaCollMacc1" msdata:parent="SchemaCollMacc" msdata:child="Misure" msdata:parentkey="IdxDossier CodScheda Vers NumScheda" msdata:childkey="IdxDossier CodScheda Vers NumScheda" msprop:Generator_UserChildTable="Misure" msprop:Generator_ChildPropName="GetMisureRows" msprop:Generator_UserRelationName="FK_Misure_SchemaCollMacc1" msprop:Generator_ParentPropName="SchemaCollMaccRowParent" msprop:Generator_RelationVarName="relationFK_Misure_SchemaCollMacc1" msprop:Generator_UserParentTable="SchemaCollMacc" />
<msdata:Relationship name="FK_DettScheda_AnagSchede1" msdata:parent="AnagSchede" msdata:child="DettScheda" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="DettScheda" msprop:Generator_ChildPropName="GetDettSchedaRows" msprop:Generator_UserRelationName="FK_DettScheda_AnagSchede1" msprop:Generator_ParentPropName="AnagSchedeRowParent" msprop:Generator_RelationVarName="relationFK_DettScheda_AnagSchede1" msprop:Generator_UserParentTable="AnagSchede" />
<msdata:Relationship name="FK_ElencoMacchineCN_ElencoFamMacc" msdata:parent="ElencoFamMacc" msdata:child="ElencoMacchineCN" msdata:parentkey="CodFam" msdata:childkey="CodFam" msprop:Generator_UserChildTable="ElencoMacchineCN" msprop:Generator_ChildPropName="GetElencoMacchineCNRows" msprop:Generator_UserRelationName="FK_ElencoMacchineCN_ElencoFamMacc" msprop:Generator_ParentPropName="ElencoFamMaccRow" msprop:Generator_RelationVarName="relationFK_ElencoMacchineCN_ElencoFamMacc" msprop:Generator_UserParentTable="ElencoFamMacc" />
<msdata:Relationship name="FK_ValidVal_DettScheda" msdata:parent="DettScheda" msdata:child="ValidVal" msdata:parentkey="CodScheda Vers CodMisura" msdata:childkey="CodScheda Vers CodMisura" msprop:Generator_UserChildTable="ValidVal" msprop:Generator_ChildPropName="GetValidValRows" msprop:Generator_UserRelationName="FK_ValidVal_DettScheda" msprop:Generator_ParentPropName="DettSchedaRowParent" msprop:Generator_RelationVarName="relationFK_ValidVal_DettScheda" msprop:Generator_UserParentTable="DettScheda" />
<msdata:Relationship name="FK_SchemaCollFamMacc_AnagSchede1" msdata:parent="AnagSchede" msdata:child="SchemaCollFamMacc" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="SchemaCollFamMacc" msprop:Generator_ChildPropName="GetSchemaCollFamMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollFamMacc_AnagSchede1" msprop:Generator_ParentPropName="AnagSchedeRowParent" msprop:Generator_RelationVarName="relationFK_SchemaCollFamMacc_AnagSchede1" msprop:Generator_UserParentTable="AnagSchede" />
<msdata:Relationship name="FK_SchemaCollFamMacc_ElencoFamMacc" msdata:parent="ElencoFamMacc" msdata:child="SchemaCollFamMacc" msdata:parentkey="CodFam" msdata:childkey="CodFam" msprop:Generator_UserChildTable="SchemaCollFamMacc" msprop:Generator_ChildPropName="GetSchemaCollFamMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollFamMacc_ElencoFamMacc" msprop:Generator_ParentPropName="ElencoFamMaccRow" msprop:Generator_RelationVarName="relationFK_SchemaCollFamMacc_ElencoFamMacc" msprop:Generator_UserParentTable="ElencoFamMacc" />
<msdata:Relationship name="FK_ElencoDossier_ElencoMacchineCN" msdata:parent="ElencoMacchineCN" msdata:child="ElencoDossier" msdata:parentkey="Matricola" msdata:childkey="Matricola" msprop:Generator_UserChildTable="ElencoDossier" msprop:Generator_ChildPropName="GetElencoDossierRows" msprop:Generator_UserRelationName="FK_ElencoDossier_ElencoMacchineCN" msprop:Generator_RelationVarName="relationFK_ElencoDossier_ElencoMacchineCN" msprop:Generator_UserParentTable="ElencoMacchineCN" msprop:Generator_ParentPropName="ElencoMacchineCNRow" />
<msdata:Relationship name="FK_SchemaCollMacc_AnagSchede" msdata:parent="AnagSchede" msdata:child="SchemaCollMacc" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="SchemaCollMacc" msprop:Generator_ChildPropName="GetSchemaCollMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollMacc_AnagSchede" msprop:Generator_RelationVarName="relationFK_SchemaCollMacc_AnagSchede" msprop:Generator_UserParentTable="AnagSchede" msprop:Generator_ParentPropName="AnagSchedeRowParent" />
<msdata:Relationship name="FK_SchemaCollMacc_ElencoDossier" msdata:parent="ElencoDossier" msdata:child="SchemaCollMacc" msdata:parentkey="IdxDossier" msdata:childkey="IdxDossier" msprop:Generator_UserChildTable="SchemaCollMacc" msprop:Generator_ChildPropName="GetSchemaCollMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollMacc_ElencoDossier" msprop:Generator_RelationVarName="relationFK_SchemaCollMacc_ElencoDossier" msprop:Generator_UserParentTable="ElencoDossier" msprop:Generator_ParentPropName="ElencoDossierRow" />
<msdata:Relationship name="FK_IstanzeMisura_AnagFasi1" msdata:parent="AnagFasi" msdata:child="Misure" msdata:parentkey="Fase" msdata:childkey="Fase" msprop:Generator_UserChildTable="Misure" msprop:Generator_ChildPropName="GetMisureRows" msprop:Generator_UserRelationName="FK_IstanzeMisura_AnagFasi1" msprop:Generator_RelationVarName="relationFK_IstanzeMisura_AnagFasi1" msprop:Generator_UserParentTable="AnagFasi" msprop:Generator_ParentPropName="AnagFasiRow" />
<msdata:Relationship name="FK_Misure_SchemaCollMacc1" msdata:parent="SchemaCollMacc" msdata:child="Misure" msdata:parentkey="IdxDossier CodScheda Vers NumScheda" msdata:childkey="IdxDossier CodScheda Vers NumScheda" msprop:Generator_UserChildTable="Misure" msprop:Generator_ChildPropName="GetMisureRows" msprop:Generator_UserRelationName="FK_Misure_SchemaCollMacc1" msprop:Generator_RelationVarName="relationFK_Misure_SchemaCollMacc1" msprop:Generator_UserParentTable="SchemaCollMacc" msprop:Generator_ParentPropName="SchemaCollMaccRowParent" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+39 -39
View File
@@ -4,34 +4,34 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="38" ViewPortY="118" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:ElencoFamMacc" ZOrder="18" X="602" Y="-11" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:ElencoMacchineCN" ZOrder="17" X="961" Y="-7" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:AnagFasi" ZOrder="6" X="1100" Y="545" Height="172" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:AnagSchede" ZOrder="11" X="59" Y="300" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:DettScheda" ZOrder="21" X="401" Y="444" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:ValidVal" ZOrder="15" X="106" Y="567" Height="286" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:SchemaCollFamMacc" ZOrder="13" X="67" Y="-36" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:ElencoDossier" ZOrder="10" X="1068" Y="251" Height="267" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:SchemaCollMacc" ZOrder="5" X="744" Y="249" Height="248" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Misure" ZOrder="4" X="750" Y="562" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:ReportData" ZOrder="1" X="410" Y="783" Height="305" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:ElencoFamMacc" ZOrder="19" X="602" Y="-11" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:ElencoMacchineCN" ZOrder="18" X="961" Y="-7" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:AnagFasi" ZOrder="8" X="1100" Y="545" Height="172" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:AnagSchede" ZOrder="13" X="50" Y="322" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:DettScheda" ZOrder="2" X="401" Y="434" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:ValidVal" ZOrder="16" X="106" Y="567" Height="286" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:SchemaCollFamMacc" ZOrder="3" X="67" Y="-36" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:ElencoDossier" ZOrder="12" X="1068" Y="251" Height="267" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:SchemaCollMacc" ZOrder="7" X="745" Y="241" Height="267" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:Misure" ZOrder="1" X="750" Y="562" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:ReportData" ZOrder="4" X="410" Y="783" Height="305" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_DettScheda_AnagSchede1" ZOrder="20" LineWidth="11">
<Connector ID="DesignRelation:FK_DettScheda_AnagSchede1" ZOrder="21" LineWidth="11">
<RoutePoints>
<Point>
<X>359</X>
<Y>493</Y>
<X>350</X>
<Y>515</Y>
</Point>
<Point>
<X>401</X>
<Y>493</Y>
<Y>515</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_ElencoMacchineCN_ElencoFamMacc" ZOrder="19" LineWidth="11">
<Connector ID="DesignRelation:FK_ElencoMacchineCN_ElencoFamMacc" ZOrder="20" LineWidth="11">
<RoutePoints>
<Point>
<X>902</X>
@@ -43,7 +43,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_ValidVal_DettScheda" ZOrder="16" LineWidth="11">
<Connector ID="DesignRelation:FK_ValidVal_DettScheda" ZOrder="17" LineWidth="11">
<RoutePoints>
<Point>
<X>401</X>
@@ -55,19 +55,19 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_SchemaCollFamMacc_AnagSchede1" ZOrder="12" LineWidth="11">
<Connector ID="DesignRelation:FK_SchemaCollFamMacc_AnagSchede1" ZOrder="14" LineWidth="11">
<RoutePoints>
<Point>
<X>219</X>
<Y>300</Y>
<X>210</X>
<Y>322</Y>
</Point>
<Point>
<X>219</X>
<Y>250</Y>
<X>210</X>
<Y>288</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_SchemaCollFamMacc_ElencoFamMacc" ZOrder="14" LineWidth="11">
<Connector ID="DesignRelation:FK_SchemaCollFamMacc_ElencoFamMacc" ZOrder="15" LineWidth="11">
<RoutePoints>
<Point>
<X>602</X>
@@ -79,7 +79,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_ElencoDossier_ElencoMacchineCN" ZOrder="9" LineWidth="11">
<Connector ID="DesignRelation:FK_ElencoDossier_ElencoMacchineCN" ZOrder="11" LineWidth="11">
<RoutePoints>
<Point>
<X>1126</X>
@@ -91,31 +91,31 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_SchemaCollMacc_AnagSchede" ZOrder="8" LineWidth="11">
<Connector ID="DesignRelation:FK_SchemaCollMacc_AnagSchede" ZOrder="10" LineWidth="11">
<RoutePoints>
<Point>
<X>359</X>
<Y>332</Y>
<X>350</X>
<Y>346</Y>
</Point>
<Point>
<X>744</X>
<Y>332</Y>
<X>745</X>
<Y>346</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_SchemaCollMacc_ElencoDossier" ZOrder="7" LineWidth="11">
<Connector ID="DesignRelation:FK_SchemaCollMacc_ElencoDossier" ZOrder="9" LineWidth="11">
<RoutePoints>
<Point>
<X>1068</X>
<Y>282</Y>
<Y>274</Y>
</Point>
<Point>
<X>977</X>
<Y>282</Y>
<X>981</X>
<Y>274</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_IstanzeMisura_AnagFasi1" ZOrder="3" LineWidth="11">
<Connector ID="DesignRelation:FK_IstanzeMisura_AnagFasi1" ZOrder="6" LineWidth="11">
<RoutePoints>
<Point>
<X>1100</X>
@@ -127,14 +127,14 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_Misure_SchemaCollMacc1" ZOrder="2" LineWidth="11">
<Connector ID="DesignRelation:FK_Misure_SchemaCollMacc1" ZOrder="5" LineWidth="11">
<RoutePoints>
<Point>
<X>813</X>
<Y>497</Y>
<X>814</X>
<Y>508</Y>
</Point>
<Point>
<X>813</X>
<X>814</X>
<Y>562</Y>
</Point>
</RoutePoints>
Binary file not shown.
Binary file not shown.
+6 -6
View File
@@ -289,9 +289,9 @@
<Content Include="Files\Schede\Cg0063-2.doc" />
<Content Include="Files\Schede\Cg0175-1.pdf" />
<Content Include="imagecache\PlaceHolder.file" />
<Content Include="Reports\ReportCli.rdl" />
<Content Include="Reports\ReportComp.rdl" />
<Content Include="Reports\ReportFull.rdl" />
<Content Include="Reports\Report_C.rdl" />
<Content Include="Reports\Report_S.rdl" />
<Content Include="Reports\Report_F.rdl" />
<Content Include="NLog.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
@@ -782,9 +782,9 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="Reports\ReportCli.rdlc" />
<Content Include="Reports\ReportComp.rdlc" />
<Content Include="Reports\ReportFull.rdlc" />
<Content Include="Reports\Report_C.rdlc" />
<Content Include="Reports\Report_S.rdlc" />
<Content Include="Reports\Report_F.rdlc" />
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
+1 -1
View File
@@ -30,7 +30,7 @@
</div>
</div>
<div style="padding: 5px;">
<uc1:mod_reportCompleto runat="server" ID="mod_reportCompleto" TipoReport="Cli" />
<uc1:mod_reportCompleto runat="server" ID="mod_reportCompleto" TipoReport="C" />
</div>
</div>
</div>
+1 -1
View File
@@ -29,7 +29,7 @@
</div>
</div>
<div style="padding: 5px;">
<uc1:mod_reportCompleto runat="server" ID="mod_reportCompleto" TipoReport="Comp" />
<uc1:mod_reportCompleto runat="server" ID="mod_reportCompleto" TipoReport="S" />
</div>
</div>
</div>
+1 -1
View File
@@ -29,7 +29,7 @@
</div>
</div>
<div style="padding: 5px;">
<uc1:mod_reportCompleto runat="server" ID="mod_reportCompleto" TipoReport="Full" />
<uc1:mod_reportCompleto runat="server" ID="mod_reportCompleto" TipoReport="F" />
</div>
</div>
</div>
+9
View File
@@ -49,6 +49,15 @@
<add key="_logMaxMb" value="30" />
<add key="defDayFrom" value="-365" />
<add key="intUpdatePagina_ms" value="60000" />
<!--area default new value-->
<add key="defASC01" value="_CG00000"/>
<add key="defASC02" value="000000 Nuova Scheda Collaudo"/>
<add key="defEM01" value="000000"/>
<add key="defEM02" value="000000 Nuova Macchina"/>
<add key="defAF01" value="000000"/>
<add key="defAF02" value="000000 Nuova Fase"/>
<add key="defEFM01" value="000000"/>
<add key="defEFM02" value="000000 Nuova Famiglia"/>
<!--area allegati -->
<add key="urlSchede" value="~/Files/Schede/{0}" />
<!--area reports-->
@@ -1,4 +1,5 @@
using CMS_SC_Data;
using SteamWare;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -37,7 +38,7 @@ namespace CMS_SC.WebUserControls
protected void lbAddNew_Click(object sender, EventArgs e)
{
// inserisco nuovo record
DtProxy.man.taEFM.insertQuery("00", "00 Nuova FAMIGLIA");
DtProxy.man.taEFM.insertQuery(memLayer.ML.CRS("defEFM01"), memLayer.ML.CRS("defEFM02"));
// update!
grView.DataBind();
}
+10 -23
View File
@@ -20,10 +20,8 @@
<asp:LinkButton ID="lbEdit" runat="server" CausesValidation="False" CommandName="Edit" ToolTip="Edit" CssClass="fa fa-edit fa-2x" />
</ItemTemplate>
</asp:TemplateField>
<%--<asp:BoundField DataField="CodScheda" HeaderText="CodScheda" ReadOnly="True" SortExpression="CodScheda" />
<asp:BoundField DataField="Vers" HeaderText="Vers" ReadOnly="True" SortExpression="Vers" />--%>
<asp:BoundField DataField="CodMisura" HeaderText="CodMisura" ReadOnly="false" SortExpression="CodMisura" />
<asp:TemplateField ShowHeader="False">
<asp:BoundField DataField="CodMisura" HeaderText="CodMisura" ReadOnly="false" SortExpression="CodMisura" ControlStyle-Width="8em" />
<asp:TemplateField ShowHeader="False" ItemStyle-Width="80px">
<HeaderTemplate>
<%# traduci("moveMis") %>
</HeaderTemplate>
@@ -31,22 +29,15 @@
</EditItemTemplate>
<ItemTemplate>
<div class="col-xs-6">
<asp:LinkButton ID="lbMoveUp" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="moveUp" OnClick="lbUpDown_Click" ToolTip="Move Up" CssClass="fa fa-arrow-up fa-2x" Visible='<%# arrowVisible("UP", Eval("CodMisura")) %>' />
<asp:LinkButton ID="lbMoveUp" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="moveUp" OnClick="lb_Click" ToolTip="Move Up" CssClass="fa fa-arrow-up fa-2x" Visible='<%# arrowVisible("UP", Eval("CodMisura")) %>' />
</div>
<div class="col-xs-6">
<asp:LinkButton ID="lbMoveDown" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="moveDown" OnClick="lbUpDown_Click" ToolTip="Move Down" CssClass="fa fa-arrow-down fa-2x" Visible='<%# arrowVisible("DOWN", Eval("CodMisura")) %>' />
<asp:LinkButton ID="lbMoveDown" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="moveDown" OnClick="lb_Click" ToolTip="Move Down" CssClass="fa fa-arrow-down fa-2x" Visible='<%# arrowVisible("DOWN", Eval("CodMisura")) %>' />
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="NomeMisura" SortExpression="NomeMisura">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("NomeMisura") %>' Width="20em" />
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("NomeMisura") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="TipoValMisura" SortExpression="TipoValMisura">
<asp:BoundField DataField="NomeMisura" HeaderText="Nome Misura" SortExpression="NomeMisura" ControlStyle-Width="25em" />
<asp:TemplateField HeaderText="Tipo Mis." SortExpression="TipoValMisura">
<EditItemTemplate>
<asp:DropDownList ID="ddlTipoValMisura" runat="server" SelectedValue='<%# Bind("TipoValMisura") %>' DataSourceID="odsTipoVal" DataTextField="label" DataValueField="value">
</asp:DropDownList>
@@ -55,14 +46,8 @@
<asp:Label ID="Label1" runat="server" Text='<%# Bind("TipoValMisura") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="NomePar" SortExpression="NomePar">
<EditItemTemplate>
<asp:TextBox ID="txtNomePar" runat="server" Text='<%# Bind("NomePar") %>' Width="20em" />
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblNomePar" runat="server" Text='<%# Eval("NomePar") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="NomePar" HeaderText="Nome Par." SortExpression="NomePar" ControlStyle-Width="20em" />
<asp:BoundField DataField="CodVisib" HeaderText="Visib." SortExpression="CodVisib" ControlStyle-Width="4em" />
<asp:TemplateField ShowHeader="False">
<HeaderTemplate>
<asp:LinkButton ID="lbAddNew" runat="server" CausesValidation="false" ToolTip="InsNew" CssClass="fa fa-plus fa-2x" OnClick="lbAddNew_Click" />
@@ -72,6 +57,7 @@
&nbsp;<asp:LinkButton ID="lbCancel2" runat="server" CausesValidation="False" CommandName="Cancel" ToolTip="Cancel" CssClass="fa fa-undo fa-2x" />
</EditItemTemplate>
<ItemTemplate>
<asp:LinkButton ID="lbClone" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="clone" OnClick="lb_Click" ToolTip="Duplicazione misura" CssClass="fa fa-magic fa-2x" />
<asp:LinkButton ID="lbDelete" runat="server" CausesValidation="False" CommandName="Delete" ToolTip="Delete" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaDel") %>' CssClass="fa fa-trash fa-2x" Visible='<%# delEnabled(Eval("CodMisura")) %>' />
</ItemTemplate>
</asp:TemplateField>
@@ -98,6 +84,7 @@
<asp:Parameter Name="NomeMisura" Type="String" />
<asp:Parameter Name="TipoValMisura" Type="String" />
<asp:Parameter Name="NomePar" Type="String" />
<asp:Parameter Name="CodVisib" Type="String" />
<asp:Parameter Name="Original_CodScheda" Type="String" />
<asp:Parameter Name="Original_Vers" Type="Int32" />
<asp:Parameter Name="Original_CodMisura" Type="String" />
+14 -3
View File
@@ -144,7 +144,7 @@ namespace CMS_SC.WebUserControls
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbUpDown_Click(object sender, EventArgs e)
protected void lb_Click(object sender, EventArgs e)
{
SteamWare.memLayer.ML.setSessionVal("nextObjCommand", ((LinkButton)sender).CommandArgument);
}
@@ -162,10 +162,21 @@ namespace CMS_SC.WebUserControls
_comando = SteamWare.memLayer.ML.StringSessionObj("nextObjCommand");
SteamWare.memLayer.ML.emptySessionVal("nextObjCommand");
}
// SE c'era comando eseguo move...
if (_comando != "")
{
DtProxy.man.taDS.moveUpDown(_comando, CodSchedaSel, VersSel, CodMisuraSel);
// SE c'era comando eseguo move...
switch (_comando)
{
case "moveUp":
case "moveDown":
DtProxy.man.taDS.moveUpDown(_comando, CodSchedaSel, VersSel, CodMisuraSel);
break;
case "clone":
DtProxy.man.taDS.clone(memLayer.ML.QSS("CodSchedaVers"), grView.SelectedDataKey["CodMisura"].ToString());
break;
default:
break;
}
resetSelezione();
}
else
@@ -21,7 +21,7 @@
</asp:TemplateField>
<asp:TemplateField HeaderText="CodFam" SortExpression="CodFam">
<EditItemTemplate>
<asp:DropDownList runat="server" ID="ddlSelFamMacc" DataSourceID="odsFamMacc" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("CodFam") %>'></asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlSelFamMacc" DataSourceID="odsFamMacc" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("CodFam") %>' Font-Size="0.75em"></asp:DropDownList>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("CodFam") %>' />
@@ -29,21 +29,23 @@
</asp:TemplateField>
<asp:TemplateField HeaderText="CodScheda" SortExpression="CodScheda">
<EditItemTemplate>
<asp:DropDownList runat="server" ID="ddlSelScheda" DataSourceID="odsScheda" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("CodSchedaVers") %>'></asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlSelScheda" DataSourceID="odsScheda" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("CodSchedaVers") %>' Font-Size="0.75em"></asp:DropDownList>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Eval("CodSchedaVers") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="NumSchede" HeaderText="NumSchede" SortExpression="NumSchede" />
<asp:TemplateField HeaderText="Descrizione" SortExpression="Descrizione">
<asp:BoundField DataField="opz" HeaderText="opz" SortExpression="opz" ControlStyle-Width="4em" />
<asp:BoundField DataField="NumSchede" HeaderText="#" SortExpression="NumSchede" />
<asp:BoundField DataField="Descrizione" HeaderText="Descrizione" SortExpression="Descrizione" ControlStyle-Width="100%" />
<%--<asp:TemplateField HeaderText="Descrizione" SortExpression="Descrizione">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Descrizione") %>' Width="20em" />
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# Eval("Descrizione") %>' />
</ItemTemplate>
</asp:TemplateField>
</asp:TemplateField>--%>
<asp:TemplateField ShowHeader="False" ItemStyle-Wrap="false">
<HeaderTemplate>
<%--<asp:LinkButton ID="lbAddNew" runat="server" CausesValidation="false" ToolTip="InsNew" CssClass="fa fa-plus fa-2x" OnClick="lbAddNew_Click" />--%>
@@ -78,6 +80,7 @@
<asp:Parameter Name="CodFam" Type="String" />
<asp:Parameter Name="NumSchede" Type="Int32" />
<asp:Parameter Name="Descrizione" Type="String" />
<asp:Parameter Name="opz" Type="String" />
<asp:Parameter Name="Original_CodSchedaVers" Type="String" />
<asp:Parameter Name="Original_CodFam" Type="String" />
</UpdateParameters>
+2 -1
View File
@@ -6,6 +6,7 @@ using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CMS_SC_Data;
using SteamWare;
namespace CMS_SC.WebUserControls
{
@@ -37,7 +38,7 @@ namespace CMS_SC.WebUserControls
protected void lbAddNew_Click(object sender, EventArgs e)
{
// inserisco nuovo record
DtProxy.man.taAF.insertQuery("000000", "000000 Nuova Fase");
DtProxy.man.taAF.insertQuery(memLayer.ML.CRS("defAF01"), memLayer.ML.CRS("defAF02"));
// update!
grView.DataBind();
}
@@ -1,4 +1,5 @@
using CMS_SC_Data;
using SteamWare;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -37,7 +38,7 @@ namespace CMS_SC.WebUserControls
protected void lbAddNew_Click(object sender, EventArgs e)
{
// inserisco nuovo record
DtProxy.man.taEM.insertQuery("000000", "000000 Nuova Macchina", "ND", "ND");
DtProxy.man.taEM.insertQuery(memLayer.ML.CRS("defEM01"), memLayer.ML.CRS("defEM02"), "ND", "ND");
// update!
grView.DataBind();
}
@@ -37,7 +37,7 @@ namespace CMS_SC.WebUserControls
protected void lbAddNew_Click(object sender, EventArgs e)
{
// inserisco nuovo record
DtProxy.man.taASC.insertQuery("_CG00000", 0, "000000 Nuova Scheda", "");
DtProxy.man.taASC.insertQuery(memLayer.ML.CRS("defASC01"), 0, memLayer.ML.CRS("defASC02"), "");
// update!
grView.DataBind();
}
+4 -2
View File
@@ -23,7 +23,7 @@
<ItemTemplate>
<asp:Label ID="lblValoreMis" runat="server" Text='<%# Bind("ValoreMis") %>' />
<br />
<asp:Label ID="lblLS_ValMis" runat="server" Text='<%# string.Format("{0} ÷ {1}",Eval("LIVal"),Eval("LSVal")) %>' Visible='<%# Eval("NomePar")!="" %>' Font-Size="0.8em" ForeColor="#696969" />
<asp:Label ID="lblLS_ValMis" runat="server" Text='<%# string.Format("({0} ÷ {1})",Eval("LIVal"),Eval("LSVal")) %>' Visible='<%# Eval("NomePar")!="" %>' Font-Size="0.8em" ForeColor="#696969" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Nome Param." SortExpression="NomePar">
@@ -41,9 +41,10 @@
<ItemTemplate>
<asp:Label ID="lblValorePar" runat="server" Text='<%# Eval("ValorePar") %>' Visible='<%# Eval("NomePar")!="" %>' />
<br />
<asp:Label ID="lblLS_ValPar" runat="server" Text='<%# string.Format("{0} ÷ {1}",Eval("MinPar"),Eval("MaxPar")) %>' Visible='<%# Eval("NomePar")!="" %>' Font-Size="0.8em" ForeColor="#696969" />
<asp:Label ID="lblLS_ValPar" runat="server" Text='<%# string.Format("({0} ÷ {1})",Eval("MinPar"),Eval("MaxPar")) %>' Visible='<%# Eval("NomePar")!="" %>' Font-Size="0.8em" ForeColor="#696969" />
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="CodVisib" HeaderText="Visib." SortExpression="CodVisib" ControlStyle-Width="4em" />
<asp:TemplateField HeaderText="Oper." SortExpression="Operatore">
<EditItemTemplate>
<asp:Label ID="lblOperatore" runat="server" Text='<%# Eval("Operatore") %>' />
@@ -96,6 +97,7 @@
<asp:Parameter Name="Operatore" Type="String" />
<asp:Parameter Name="ValorePar" Type="Double" />
<asp:Parameter Name="ValoreMis" Type="String" />
<asp:Parameter Name="CodVisib" Type="String" />
</UpdateParameters>
</asp:ObjectDataSource>
<asp:HiddenField runat="server" ID="hfIdxDossier" Value="0" />
@@ -7,6 +7,7 @@
<%--<asp:BoundField DataField="IdxDossier" HeaderText="IdxDossier" SortExpression="IdxDossier" ReadOnly="True" />--%>
<asp:BoundField DataField="CodScheda" HeaderText="CodScheda" ReadOnly="True" SortExpression="CodScheda" />
<asp:BoundField DataField="Vers" HeaderText="Vers" ReadOnly="True" SortExpression="Vers" />
<asp:BoundField DataField="opz" HeaderText="opz" SortExpression="opz" ControlStyle-Width="4em" />
<asp:BoundField DataField="NumScheda" HeaderText="#" ReadOnly="True" SortExpression="NumScheda" />
<asp:BoundField DataField="Descrizione" HeaderText="Descrizione" SortExpression="Descrizione" />
<asp:TemplateField ShowHeader="False" ItemStyle-Wrap="false">
@@ -14,7 +14,7 @@ namespace CMS_SC.WebUserControls
public partial class mod_reportCompleto : System.Web.UI.UserControl
{
/// <summary>
/// Tipo di report richiesto (da URL): Full / Comp / Cli
/// Tipo di report richiesto (da URL): Full / Cli / Short
/// </summary>
public string TipoReport { get; set; }
/// <summary>
@@ -57,7 +57,7 @@ namespace CMS_SC.WebUserControls
{
// 1) impostazione file report
localReport.ReportPath = string.Format(@".\Reports\Report{0}.rdlc", TipoReport);
localReport.ReportPath = string.Format(@".\Reports\Report_{0}.rdlc", TipoReport);
// 2) caricamento tab dati
DataTable tabDati = new DataTable();
Binary file not shown.
Binary file not shown.