OK editing preliminare Dip2ATR
This commit is contained in:
Binary file not shown.
Generated
+45
-227
@@ -5390,10 +5390,9 @@ namespace ETS_Data {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public Dip2ATRRow FindByidxDipendenteCodTipoRisorsa(int idxDipendente, string CodTipoRisorsa) {
|
||||
public Dip2ATRRow FindByidxDipendente(int idxDipendente) {
|
||||
return ((Dip2ATRRow)(this.Rows.Find(new object[] {
|
||||
idxDipendente,
|
||||
CodTipoRisorsa})));
|
||||
idxDipendente})));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -5446,9 +5445,9 @@ namespace ETS_Data {
|
||||
this.columnattivo = new global::System.Data.DataColumn("attivo", typeof(bool), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnattivo);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnidxDipendente,
|
||||
this.columnCodTipoRisorsa}, true));
|
||||
this.columnidxDipendente}, true));
|
||||
this.columnidxDipendente.AllowDBNull = false;
|
||||
this.columnidxDipendente.Unique = true;
|
||||
this.columnCodTipoRisorsa.AllowDBNull = false;
|
||||
this.columnCodTipoRisorsa.MaxLength = 50;
|
||||
this.columnGruppo.AllowDBNull = false;
|
||||
@@ -21246,36 +21245,6 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
|
||||
tableMapping.ColumnMappings.Add("SIGLA", "SIGLA");
|
||||
tableMapping.ColumnMappings.Add("attivo", "attivo");
|
||||
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].[Dip2ATR] WHERE (([idxDipendente] = @Original_idxDipendente) AN" +
|
||||
"D ([CodTipoRisorsa] = @Original_CodTipoRisorsa) AND ((@IsNull_Gruppo = 1 AND [Gr" +
|
||||
"uppo] IS NULL) OR ([Gruppo] = @Original_Gruppo)))";
|
||||
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoRisorsa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoRisorsa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Gruppo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Gruppo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Gruppo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Gruppo", 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].[Dip2ATR] ([idxDipendente], [CodTipoRisorsa], [Gruppo]) VALUES (@idxDipendente, @CodTipoRisorsa, @Gruppo);
|
||||
SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa = @CodTipoRisorsa) AND (idxDipendente = @idxDipendente)";
|
||||
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoRisorsa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoRisorsa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Gruppo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Gruppo", 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].[Dip2ATR] SET [idxDipendente] = @idxDipendente, [CodTipoRisorsa] = @CodTipoRisorsa, [Gruppo] = @Gruppo WHERE (([idxDipendente] = @Original_idxDipendente) AND ([CodTipoRisorsa] = @Original_CodTipoRisorsa) AND ((@IsNull_Gruppo = 1 AND [Gruppo] IS NULL) OR ([Gruppo] = @Original_Gruppo)));
|
||||
SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa = @CodTipoRisorsa) AND (idxDipendente = @idxDipendente)";
|
||||
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoRisorsa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoRisorsa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Gruppo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Gruppo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoRisorsa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoRisorsa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Gruppo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Gruppo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Gruppo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Gruppo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -21288,7 +21257,7 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
|
||||
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 * FROM v_Dip2ATR";
|
||||
@@ -21304,6 +21273,20 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
|
||||
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("@Gruppo", 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_D2ATR_insertMissing";
|
||||
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[4] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[4].Connection = this.Connection;
|
||||
this._commandCollection[4].CommandText = "dbo.stp_D2ATR_updateQuery";
|
||||
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("@Original_idxDipendente", 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("@CodTipoRisorsa", 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("@Gruppo", 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("@GrpOrder", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -21361,157 +21344,58 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int Update(Ds_ProjEts.Dip2ATRDataTable dataTable) {
|
||||
return this.Adapter.Update(dataTable);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int Update(Ds_ProjEts dataSet) {
|
||||
return this.Adapter.Update(dataSet, "Dip2ATR");
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int Update(global::System.Data.DataRow dataRow) {
|
||||
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
||||
dataRow});
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
||||
return this.Adapter.Update(dataRows);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
||||
public virtual int Delete(int Original_idxDipendente, string Original_CodTipoRisorsa, string Original_Gruppo) {
|
||||
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxDipendente));
|
||||
if ((Original_CodTipoRisorsa == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodTipoRisorsa");
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual Ds_ProjEts.Dip2ATRDataTable updateQuery(global::System.Nullable<int> Original_idxDipendente, string CodTipoRisorsa, string Gruppo, global::System.Nullable<int> GrpOrder) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[4];
|
||||
if ((Original_idxDipendente.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Original_idxDipendente.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodTipoRisorsa));
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_Gruppo == null)) {
|
||||
this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
|
||||
this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
|
||||
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_Gruppo));
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
||||
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
this.Adapter.DeleteCommand.Connection.Open();
|
||||
}
|
||||
try {
|
||||
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
||||
return returnValue;
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
this.Adapter.DeleteCommand.Connection.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
||||
public virtual int Insert(int idxDipendente, string CodTipoRisorsa, string Gruppo) {
|
||||
this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idxDipendente));
|
||||
if ((CodTipoRisorsa == null)) {
|
||||
throw new global::System.ArgumentNullException("CodTipoRisorsa");
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodTipoRisorsa));
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodTipoRisorsa));
|
||||
}
|
||||
if ((Gruppo == null)) {
|
||||
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Gruppo));
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Gruppo));
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
||||
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
this.Adapter.InsertCommand.Connection.Open();
|
||||
if ((GrpOrder.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = ((int)(GrpOrder.Value));
|
||||
}
|
||||
try {
|
||||
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
|
||||
return returnValue;
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
this.Adapter.InsertCommand.Connection.Close();
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
Ds_ProjEts.Dip2ATRDataTable dataTable = new Ds_ProjEts.Dip2ATRDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
||||
public virtual int Update(int idxDipendente, string CodTipoRisorsa, string Gruppo, int Original_idxDipendente, string Original_CodTipoRisorsa, string Original_Gruppo) {
|
||||
this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(idxDipendente));
|
||||
if ((CodTipoRisorsa == null)) {
|
||||
throw new global::System.ArgumentNullException("CodTipoRisorsa");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodTipoRisorsa));
|
||||
}
|
||||
if ((Gruppo == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Gruppo));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_idxDipendente));
|
||||
if ((Original_CodTipoRisorsa == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodTipoRisorsa");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodTipoRisorsa));
|
||||
}
|
||||
if ((Original_Gruppo == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_Gruppo));
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
||||
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
public virtual int insertMissing() {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
this.Adapter.UpdateCommand.Connection.Open();
|
||||
command.Connection.Open();
|
||||
}
|
||||
int returnValue;
|
||||
try {
|
||||
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
|
||||
return returnValue;
|
||||
returnValue = command.ExecuteNonQuery();
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
this.Adapter.UpdateCommand.Connection.Close();
|
||||
command.Connection.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
||||
public virtual int Update(string Gruppo, int Original_idxDipendente, string Original_CodTipoRisorsa, string Original_Gruppo) {
|
||||
return this.Update(Original_idxDipendente, Original_CodTipoRisorsa, Gruppo, Original_idxDipendente, Original_CodTipoRisorsa, Original_Gruppo);
|
||||
return returnValue;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26041,8 +25925,6 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND
|
||||
|
||||
private AnagTipoRisorseTableAdapter _anagTipoRisorseTableAdapter;
|
||||
|
||||
private Dip2ATRTableAdapter _dip2ATRTableAdapter;
|
||||
|
||||
private BazaarRisorseTableAdapter _bazaarRisorseTableAdapter;
|
||||
|
||||
private ImpiegoRisorseTableAdapter _impiegoRisorseTableAdapter;
|
||||
@@ -26170,20 +26052,6 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
||||
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
||||
"a", "System.Drawing.Design.UITypeEditor")]
|
||||
public Dip2ATRTableAdapter Dip2ATRTableAdapter {
|
||||
get {
|
||||
return this._dip2ATRTableAdapter;
|
||||
}
|
||||
set {
|
||||
this._dip2ATRTableAdapter = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
||||
@@ -26329,10 +26197,6 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND
|
||||
&& (this._anagTipoRisorseTableAdapter.Connection != null))) {
|
||||
return this._anagTipoRisorseTableAdapter.Connection;
|
||||
}
|
||||
if (((this._dip2ATRTableAdapter != null)
|
||||
&& (this._dip2ATRTableAdapter.Connection != null))) {
|
||||
return this._dip2ATRTableAdapter.Connection;
|
||||
}
|
||||
if (((this._bazaarRisorseTableAdapter != null)
|
||||
&& (this._bazaarRisorseTableAdapter.Connection != null))) {
|
||||
return this._bazaarRisorseTableAdapter.Connection;
|
||||
@@ -26395,9 +26259,6 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND
|
||||
if ((this._anagTipoRisorseTableAdapter != null)) {
|
||||
count = (count + 1);
|
||||
}
|
||||
if ((this._dip2ATRTableAdapter != null)) {
|
||||
count = (count + 1);
|
||||
}
|
||||
if ((this._bazaarRisorseTableAdapter != null)) {
|
||||
count = (count + 1);
|
||||
}
|
||||
@@ -26520,15 +26381,6 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
if ((this._dip2ATRTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.Dip2ATR.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
if (((updatedRows != null)
|
||||
&& (0 < updatedRows.Length))) {
|
||||
result = (result + this._dip2ATRTableAdapter.Update(updatedRows));
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
if ((this._bdgtRisorseFasiTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.BdgtRisorseFasi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
@@ -26655,14 +26507,6 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
if ((this._dip2ATRTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.Dip2ATR.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
&& (0 < addedRows.Length))) {
|
||||
result = (result + this._dip2ATRTableAdapter.Update(addedRows));
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
if ((this._bdgtRisorseFasiTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.BdgtRisorseFasi.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
@@ -26737,14 +26581,6 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
if ((this._dip2ATRTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.Dip2ATR.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
&& (0 < deletedRows.Length))) {
|
||||
result = (result + this._dip2ATRTableAdapter.Update(deletedRows));
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
if ((this._impiegoRisorseTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.ImpiegoRisorse.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
@@ -26899,11 +26735,6 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND
|
||||
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
||||
"tring.");
|
||||
}
|
||||
if (((this._dip2ATRTableAdapter != null)
|
||||
&& (this.MatchTableAdapterConnection(this._dip2ATRTableAdapter.Connection) == false))) {
|
||||
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
||||
"tring.");
|
||||
}
|
||||
if (((this._bazaarRisorseTableAdapter != null)
|
||||
&& (this.MatchTableAdapterConnection(this._bazaarRisorseTableAdapter.Connection) == false))) {
|
||||
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
||||
@@ -27034,15 +26865,6 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND
|
||||
adaptersWithAcceptChangesDuringUpdate.Add(this._anagTipoRisorseTableAdapter.Adapter);
|
||||
}
|
||||
}
|
||||
if ((this._dip2ATRTableAdapter != null)) {
|
||||
revertConnections.Add(this._dip2ATRTableAdapter, this._dip2ATRTableAdapter.Connection);
|
||||
this._dip2ATRTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
||||
this._dip2ATRTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
||||
if (this._dip2ATRTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
||||
this._dip2ATRTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
||||
adaptersWithAcceptChangesDuringUpdate.Add(this._dip2ATRTableAdapter.Adapter);
|
||||
}
|
||||
}
|
||||
if ((this._bazaarRisorseTableAdapter != null)) {
|
||||
revertConnections.Add(this._bazaarRisorseTableAdapter, this._bazaarRisorseTableAdapter.Connection);
|
||||
this._bazaarRisorseTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
||||
@@ -27192,10 +27014,6 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND
|
||||
this._anagTipoRisorseTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagTipoRisorseTableAdapter]));
|
||||
this._anagTipoRisorseTableAdapter.Transaction = null;
|
||||
}
|
||||
if ((this._dip2ATRTableAdapter != null)) {
|
||||
this._dip2ATRTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._dip2ATRTableAdapter]));
|
||||
this._dip2ATRTableAdapter.Transaction = null;
|
||||
}
|
||||
if ((this._bazaarRisorseTableAdapter != null)) {
|
||||
this._bazaarRisorseTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._bazaarRisorseTableAdapter]));
|
||||
this._bazaarRisorseTableAdapter.Transaction = null;
|
||||
|
||||
+54
-68
@@ -956,50 +956,13 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Dip2ATRTableAdapter" GeneratorDataComponentClassName="Dip2ATRTableAdapter" Name="Dip2ATR" UserDataComponentName="Dip2ATRTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.v_Dip2Atr" DbObjectType="View" 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].[Dip2ATR] WHERE (([idxDipendente] = @Original_idxDipendente) AND ([CodTipoRisorsa] = @Original_CodTipoRisorsa) AND ((@IsNull_Gruppo = 1 AND [Gruppo] IS NULL) OR ([Gruppo] = @Original_Gruppo)))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodTipoRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTipoRisorsa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Gruppo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Gruppo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Gruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Gruppo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[Dip2ATR] ([idxDipendente], [CodTipoRisorsa], [Gruppo]) VALUES (@idxDipendente, @CodTipoRisorsa, @Gruppo);
|
||||
SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa = @CodTipoRisorsa) AND (idxDipendente = @idxDipendente)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodTipoRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTipoRisorsa" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Gruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Gruppo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.v_Dip2ATR" 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="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT * FROM v_Dip2ATR</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[Dip2ATR] SET [idxDipendente] = @idxDipendente, [CodTipoRisorsa] = @CodTipoRisorsa, [Gruppo] = @Gruppo WHERE (([idxDipendente] = @Original_idxDipendente) AND ([CodTipoRisorsa] = @Original_CodTipoRisorsa) AND ((@IsNull_Gruppo = 1 AND [Gruppo] IS NULL) OR ([Gruppo] = @Original_Gruppo)));
|
||||
SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa = @CodTipoRisorsa) AND (idxDipendente = @idxDipendente)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodTipoRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTipoRisorsa" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Gruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Gruppo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodTipoRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTipoRisorsa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Gruppo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Gruppo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Gruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Gruppo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
@@ -1035,6 +998,30 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_D2ATR_insertMissing" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertMissing" Modifier="Public" Name="insertMissing" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insertMissing">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_D2ATR_insertMissing</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" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_D2ATR_updateQuery" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="updateQuery" GeneratorSourceName="updateQuery" GetMethodModifier="Public" GetMethodName="updateQuery" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="updateQuery" UserSourceName="updateQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_D2ATR_updateQuery</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="int" DbType="Int32" Direction="Input" ParameterName="@Original_idxDipendente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodTipoRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Gruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@GrpOrder" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DipendentiTableAdapter" GeneratorDataComponentClassName="DipendentiTableAdapter" Name="Dipendenti" UserDataComponentName="DipendentiTableAdapter">
|
||||
@@ -2039,7 +2026,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
<xs:element name="Ds_ProjEts" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="Ds_ProjEts" msprop:Generator_UserDSName="Ds_ProjEts">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="AnagProgetti" msprop:Generator_TableClassName="AnagProgettiDataTable" msprop:Generator_TableVarName="tableAnagProgetti" msprop:Generator_TablePropName="AnagProgetti" msprop:Generator_RowDeletingName="AnagProgettiRowDeleting" msprop:Generator_RowChangingName="AnagProgettiRowChanging" msprop:Generator_RowEvHandlerName="AnagProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgettiRowDeleted" msprop:Generator_UserTableName="AnagProgetti" msprop:Generator_RowChangedName="AnagProgettiRowChanged" msprop:Generator_RowEvArgName="AnagProgettiRowChangeEvent" msprop:Generator_RowClassName="AnagProgettiRow">
|
||||
<xs:element name="AnagProgetti" msprop:Generator_TableClassName="AnagProgettiDataTable" msprop:Generator_TableVarName="tableAnagProgetti" msprop:Generator_RowChangedName="AnagProgettiRowChanged" msprop:Generator_TablePropName="AnagProgetti" msprop:Generator_RowDeletingName="AnagProgettiRowDeleting" msprop:Generator_RowChangingName="AnagProgettiRowChanging" msprop:Generator_RowEvHandlerName="AnagProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgettiRowDeleted" msprop:Generator_RowClassName="AnagProgettiRow" msprop:Generator_UserTableName="AnagProgetti" msprop:Generator_RowEvArgName="AnagProgettiRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxProgetto" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxProgetto" msprop:Generator_ColumnPropNameInRow="idxProgetto" msprop:Generator_ColumnPropNameInTable="idxProgettoColumn" msprop:Generator_UserColumnName="idxProgetto" type="xs:int" />
|
||||
@@ -2082,7 +2069,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<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: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:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxFase" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
|
||||
@@ -2132,7 +2119,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="DatiCommessa" msprop:Generator_TableClassName="DatiCommessaDataTable" msprop:Generator_TableVarName="tableDatiCommessa" msprop:Generator_TablePropName="DatiCommessa" msprop:Generator_RowDeletingName="DatiCommessaRowDeleting" msprop:Generator_RowChangingName="DatiCommessaRowChanging" msprop:Generator_RowEvHandlerName="DatiCommessaRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommessaRowDeleted" msprop:Generator_UserTableName="DatiCommessa" msprop:Generator_RowChangedName="DatiCommessaRowChanged" msprop:Generator_RowEvArgName="DatiCommessaRowChangeEvent" msprop:Generator_RowClassName="DatiCommessaRow">
|
||||
<xs:element name="DatiCommessa" msprop:Generator_TableClassName="DatiCommessaDataTable" msprop:Generator_TableVarName="tableDatiCommessa" msprop:Generator_RowChangedName="DatiCommessaRowChanged" msprop:Generator_TablePropName="DatiCommessa" msprop:Generator_RowDeletingName="DatiCommessaRowDeleting" msprop:Generator_RowChangingName="DatiCommessaRowChanging" msprop:Generator_RowEvHandlerName="DatiCommessaRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommessaRowDeleted" msprop:Generator_RowClassName="DatiCommessaRow" msprop:Generator_UserTableName="DatiCommessa" msprop:Generator_RowEvArgName="DatiCommessaRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
|
||||
@@ -2228,7 +2215,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="DatiCommForn" msprop:Generator_TableClassName="DatiCommFornDataTable" msprop:Generator_TableVarName="tableDatiCommForn" msprop:Generator_RowChangedName="DatiCommFornRowChanged" msprop:Generator_TablePropName="DatiCommForn" msprop:Generator_RowDeletingName="DatiCommFornRowDeleting" msprop:Generator_RowChangingName="DatiCommFornRowChanging" msprop:Generator_RowEvHandlerName="DatiCommFornRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommFornRowDeleted" msprop:Generator_RowClassName="DatiCommFornRow" msprop:Generator_UserTableName="DatiCommForn" msprop:Generator_RowEvArgName="DatiCommFornRowChangeEvent">
|
||||
<xs:element name="DatiCommForn" msprop:Generator_TableClassName="DatiCommFornDataTable" msprop:Generator_TableVarName="tableDatiCommForn" msprop:Generator_TablePropName="DatiCommForn" msprop:Generator_RowDeletingName="DatiCommFornRowDeleting" msprop:Generator_RowChangingName="DatiCommFornRowChanging" msprop:Generator_RowEvHandlerName="DatiCommFornRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommFornRowDeleted" msprop:Generator_UserTableName="DatiCommForn" msprop:Generator_RowChangedName="DatiCommFornRowChanged" msprop:Generator_RowEvArgName="DatiCommFornRowChangeEvent" msprop:Generator_RowClassName="DatiCommFornRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxDCF" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxDCF" msprop:Generator_ColumnPropNameInRow="idxDCF" msprop:Generator_ColumnPropNameInTable="idxDCFColumn" msprop:Generator_UserColumnName="idxDCF" type="xs:int" />
|
||||
@@ -2279,7 +2266,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="DatiCommInteg" msprop:Generator_TableClassName="DatiCommIntegDataTable" msprop:Generator_TableVarName="tableDatiCommInteg" msprop:Generator_RowChangedName="DatiCommIntegRowChanged" msprop:Generator_TablePropName="DatiCommInteg" msprop:Generator_RowDeletingName="DatiCommIntegRowDeleting" msprop:Generator_RowChangingName="DatiCommIntegRowChanging" msprop:Generator_RowEvHandlerName="DatiCommIntegRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommIntegRowDeleted" msprop:Generator_RowClassName="DatiCommIntegRow" msprop:Generator_UserTableName="DatiCommInteg" msprop:Generator_RowEvArgName="DatiCommIntegRowChangeEvent">
|
||||
<xs:element name="DatiCommInteg" msprop:Generator_TableClassName="DatiCommIntegDataTable" msprop:Generator_TableVarName="tableDatiCommInteg" msprop:Generator_TablePropName="DatiCommInteg" msprop:Generator_RowDeletingName="DatiCommIntegRowDeleting" msprop:Generator_RowChangingName="DatiCommIntegRowChanging" msprop:Generator_RowEvHandlerName="DatiCommIntegRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommIntegRowDeleted" msprop:Generator_UserTableName="DatiCommInteg" msprop:Generator_RowChangedName="DatiCommIntegRowChanged" msprop:Generator_RowEvArgName="DatiCommIntegRowChangeEvent" msprop:Generator_RowClassName="DatiCommIntegRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxDCI" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxDCI" msprop:Generator_ColumnPropNameInRow="idxDCI" msprop:Generator_ColumnPropNameInTable="idxDCIColumn" msprop:Generator_UserColumnName="idxDCI" type="xs:int" />
|
||||
@@ -2331,7 +2318,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagCommFasi" msprop:Generator_TableClassName="AnagCommFasiDataTable" msprop:Generator_TableVarName="tableAnagCommFasi" msprop:Generator_RowChangedName="AnagCommFasiRowChanged" msprop:Generator_TablePropName="AnagCommFasi" msprop:Generator_RowDeletingName="AnagCommFasiRowDeleting" msprop:Generator_RowChangingName="AnagCommFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagCommFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagCommFasiRowDeleted" msprop:Generator_RowClassName="AnagCommFasiRow" msprop:Generator_UserTableName="AnagCommFasi" msprop:Generator_RowEvArgName="AnagCommFasiRowChangeEvent">
|
||||
<xs:element name="AnagCommFasi" msprop:Generator_TableClassName="AnagCommFasiDataTable" msprop:Generator_TableVarName="tableAnagCommFasi" msprop:Generator_TablePropName="AnagCommFasi" msprop:Generator_RowDeletingName="AnagCommFasiRowDeleting" msprop:Generator_RowChangingName="AnagCommFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagCommFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagCommFasiRowDeleted" msprop:Generator_UserTableName="AnagCommFasi" msprop:Generator_RowChangedName="AnagCommFasiRowChanged" msprop:Generator_RowEvArgName="AnagCommFasiRowChangeEvent" msprop:Generator_RowClassName="AnagCommFasiRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxProgetto" msprop:Generator_ColumnVarNameInTable="columnidxProgetto" msprop:Generator_ColumnPropNameInRow="idxProgetto" msprop:Generator_ColumnPropNameInTable="idxProgettoColumn" msprop:Generator_UserColumnName="idxProgetto" type="xs:int" minOccurs="0" />
|
||||
@@ -2434,7 +2421,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ElencoFasiExpl" msprop:Generator_TableClassName="ElencoFasiExplDataTable" msprop:Generator_TableVarName="tableElencoFasiExpl" msprop:Generator_TablePropName="ElencoFasiExpl" msprop:Generator_RowDeletingName="ElencoFasiExplRowDeleting" msprop:Generator_RowChangingName="ElencoFasiExplRowChanging" msprop:Generator_RowEvHandlerName="ElencoFasiExplRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoFasiExplRowDeleted" msprop:Generator_UserTableName="ElencoFasiExpl" msprop:Generator_RowChangedName="ElencoFasiExplRowChanged" msprop:Generator_RowEvArgName="ElencoFasiExplRowChangeEvent" msprop:Generator_RowClassName="ElencoFasiExplRow">
|
||||
<xs:element name="ElencoFasiExpl" msprop:Generator_TableClassName="ElencoFasiExplDataTable" msprop:Generator_TableVarName="tableElencoFasiExpl" msprop:Generator_RowChangedName="ElencoFasiExplRowChanged" msprop:Generator_TablePropName="ElencoFasiExpl" msprop:Generator_RowDeletingName="ElencoFasiExplRowDeleting" msprop:Generator_RowChangingName="ElencoFasiExplRowChanging" msprop:Generator_RowEvHandlerName="ElencoFasiExplRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoFasiExplRowDeleted" msprop:Generator_RowClassName="ElencoFasiExplRow" msprop:Generator_UserTableName="ElencoFasiExpl" msprop:Generator_RowEvArgName="ElencoFasiExplRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
|
||||
@@ -2482,7 +2469,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="BdgtRisorseFasi" msprop:Generator_TableClassName="BdgtRisorseFasiDataTable" msprop:Generator_TableVarName="tableBdgtRisorseFasi" msprop:Generator_RowChangedName="BdgtRisorseFasiRowChanged" msprop:Generator_TablePropName="BdgtRisorseFasi" msprop:Generator_RowDeletingName="BdgtRisorseFasiRowDeleting" msprop:Generator_RowChangingName="BdgtRisorseFasiRowChanging" msprop:Generator_RowEvHandlerName="BdgtRisorseFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="BdgtRisorseFasiRowDeleted" msprop:Generator_RowClassName="BdgtRisorseFasiRow" msprop:Generator_UserTableName="BdgtRisorseFasi" msprop:Generator_RowEvArgName="BdgtRisorseFasiRowChangeEvent">
|
||||
<xs:element name="BdgtRisorseFasi" msprop:Generator_TableClassName="BdgtRisorseFasiDataTable" msprop:Generator_TableVarName="tableBdgtRisorseFasi" msprop:Generator_TablePropName="BdgtRisorseFasi" msprop:Generator_RowDeletingName="BdgtRisorseFasiRowDeleting" msprop:Generator_RowChangingName="BdgtRisorseFasiRowChanging" msprop:Generator_RowEvHandlerName="BdgtRisorseFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="BdgtRisorseFasiRowDeleted" msprop:Generator_UserTableName="BdgtRisorseFasi" msprop:Generator_RowChangedName="BdgtRisorseFasiRowChanged" msprop:Generator_RowEvArgName="BdgtRisorseFasiRowChangeEvent" msprop:Generator_RowClassName="BdgtRisorseFasiRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
|
||||
@@ -2499,7 +2486,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagTipoRisorse" msprop:Generator_TableClassName="AnagTipoRisorseDataTable" msprop:Generator_TableVarName="tableAnagTipoRisorse" msprop:Generator_RowChangedName="AnagTipoRisorseRowChanged" msprop:Generator_TablePropName="AnagTipoRisorse" msprop:Generator_RowDeletingName="AnagTipoRisorseRowDeleting" msprop:Generator_RowChangingName="AnagTipoRisorseRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoRisorseRowDeleted" msprop:Generator_RowClassName="AnagTipoRisorseRow" msprop:Generator_UserTableName="AnagTipoRisorse" msprop:Generator_RowEvArgName="AnagTipoRisorseRowChangeEvent">
|
||||
<xs:element name="AnagTipoRisorse" msprop:Generator_TableClassName="AnagTipoRisorseDataTable" msprop:Generator_TableVarName="tableAnagTipoRisorse" msprop:Generator_TablePropName="AnagTipoRisorse" msprop:Generator_RowDeletingName="AnagTipoRisorseRowDeleting" msprop:Generator_RowChangingName="AnagTipoRisorseRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoRisorseRowDeleted" msprop:Generator_UserTableName="AnagTipoRisorse" msprop:Generator_RowChangedName="AnagTipoRisorseRowChanged" msprop:Generator_RowEvArgName="AnagTipoRisorseRowChangeEvent" msprop:Generator_RowClassName="AnagTipoRisorseRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodTipoRisorsa" msprop:Generator_ColumnVarNameInTable="columnCodTipoRisorsa" msprop:Generator_ColumnPropNameInRow="CodTipoRisorsa" msprop:Generator_ColumnPropNameInTable="CodTipoRisorsaColumn" msprop:Generator_UserColumnName="CodTipoRisorsa">
|
||||
@@ -2520,7 +2507,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Dip2ATR" msprop:Generator_TableClassName="Dip2ATRDataTable" msprop:Generator_TableVarName="tableDip2ATR" msprop:Generator_TablePropName="Dip2ATR" msprop:Generator_RowDeletingName="Dip2ATRRowDeleting" msprop:Generator_RowChangingName="Dip2ATRRowChanging" msprop:Generator_RowEvHandlerName="Dip2ATRRowChangeEventHandler" msprop:Generator_RowDeletedName="Dip2ATRRowDeleted" msprop:Generator_UserTableName="Dip2ATR" msprop:Generator_RowChangedName="Dip2ATRRowChanged" msprop:Generator_RowEvArgName="Dip2ATRRowChangeEvent" msprop:Generator_RowClassName="Dip2ATRRow">
|
||||
<xs:element name="Dip2ATR" msprop:Generator_TableClassName="Dip2ATRDataTable" msprop:Generator_TableVarName="tableDip2ATR" msprop:Generator_RowChangedName="Dip2ATRRowChanged" msprop:Generator_TablePropName="Dip2ATR" msprop:Generator_RowDeletingName="Dip2ATRRowDeleting" msprop:Generator_RowChangingName="Dip2ATRRowChanging" msprop:Generator_RowEvHandlerName="Dip2ATRRowChangeEventHandler" msprop:Generator_RowDeletedName="Dip2ATRRowDeleted" msprop:Generator_RowClassName="Dip2ATRRow" msprop:Generator_UserTableName="Dip2ATR" msprop:Generator_RowEvArgName="Dip2ATRRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
|
||||
@@ -2565,7 +2552,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Dipendenti" msprop:Generator_TableClassName="DipendentiDataTable" msprop:Generator_TableVarName="tableDipendenti" msprop:Generator_TablePropName="Dipendenti" msprop:Generator_RowDeletingName="DipendentiRowDeleting" msprop:Generator_RowChangingName="DipendentiRowChanging" msprop:Generator_RowEvHandlerName="DipendentiRowChangeEventHandler" msprop:Generator_RowDeletedName="DipendentiRowDeleted" msprop:Generator_UserTableName="Dipendenti" msprop:Generator_RowChangedName="DipendentiRowChanged" msprop:Generator_RowEvArgName="DipendentiRowChangeEvent" msprop:Generator_RowClassName="DipendentiRow">
|
||||
<xs:element name="Dipendenti" msprop:Generator_TableClassName="DipendentiDataTable" msprop:Generator_TableVarName="tableDipendenti" msprop:Generator_RowChangedName="DipendentiRowChanged" msprop:Generator_TablePropName="Dipendenti" msprop:Generator_RowDeletingName="DipendentiRowDeleting" msprop:Generator_RowChangingName="DipendentiRowChanging" msprop:Generator_RowEvHandlerName="DipendentiRowChangeEventHandler" msprop:Generator_RowDeletedName="DipendentiRowDeleted" msprop:Generator_RowClassName="DipendentiRow" msprop:Generator_UserTableName="Dipendenti" msprop:Generator_RowEvArgName="DipendentiRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
|
||||
@@ -2700,7 +2687,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="BazaarRisorse" msprop:Generator_TableClassName="BazaarRisorseDataTable" msprop:Generator_TableVarName="tableBazaarRisorse" msprop:Generator_TablePropName="BazaarRisorse" msprop:Generator_RowDeletingName="BazaarRisorseRowDeleting" msprop:Generator_RowChangingName="BazaarRisorseRowChanging" msprop:Generator_RowEvHandlerName="BazaarRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="BazaarRisorseRowDeleted" msprop:Generator_UserTableName="BazaarRisorse" msprop:Generator_RowChangedName="BazaarRisorseRowChanged" msprop:Generator_RowEvArgName="BazaarRisorseRowChangeEvent" msprop:Generator_RowClassName="BazaarRisorseRow">
|
||||
<xs:element name="BazaarRisorse" msprop:Generator_TableClassName="BazaarRisorseDataTable" msprop:Generator_TableVarName="tableBazaarRisorse" msprop:Generator_RowChangedName="BazaarRisorseRowChanged" msprop:Generator_TablePropName="BazaarRisorse" msprop:Generator_RowDeletingName="BazaarRisorseRowDeleting" msprop:Generator_RowChangingName="BazaarRisorseRowChanging" msprop:Generator_RowEvHandlerName="BazaarRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="BazaarRisorseRowDeleted" msprop:Generator_RowClassName="BazaarRisorseRow" msprop:Generator_UserTableName="BazaarRisorse" msprop:Generator_RowEvArgName="BazaarRisorseRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Anno" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" />
|
||||
@@ -2719,7 +2706,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ImpiegoRisorse" msprop:Generator_TableClassName="ImpiegoRisorseDataTable" msprop:Generator_TableVarName="tableImpiegoRisorse" msprop:Generator_RowChangedName="ImpiegoRisorseRowChanged" msprop:Generator_TablePropName="ImpiegoRisorse" msprop:Generator_RowDeletingName="ImpiegoRisorseRowDeleting" msprop:Generator_RowChangingName="ImpiegoRisorseRowChanging" msprop:Generator_RowEvHandlerName="ImpiegoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpiegoRisorseRowDeleted" msprop:Generator_RowClassName="ImpiegoRisorseRow" msprop:Generator_UserTableName="ImpiegoRisorse" msprop:Generator_RowEvArgName="ImpiegoRisorseRowChangeEvent">
|
||||
<xs:element name="ImpiegoRisorse" msprop:Generator_TableClassName="ImpiegoRisorseDataTable" msprop:Generator_TableVarName="tableImpiegoRisorse" msprop:Generator_TablePropName="ImpiegoRisorse" msprop:Generator_RowDeletingName="ImpiegoRisorseRowDeleting" msprop:Generator_RowChangingName="ImpiegoRisorseRowChanging" msprop:Generator_RowEvHandlerName="ImpiegoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpiegoRisorseRowDeleted" msprop:Generator_UserTableName="ImpiegoRisorse" msprop:Generator_RowChangedName="ImpiegoRisorseRowChanged" msprop:Generator_RowEvArgName="ImpiegoRisorseRowChangeEvent" msprop:Generator_RowClassName="ImpiegoRisorseRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Anno" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" />
|
||||
@@ -2730,7 +2717,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ReleasedWeek" msprop:Generator_TableClassName="ReleasedWeekDataTable" msprop:Generator_TableVarName="tableReleasedWeek" msprop:Generator_TablePropName="ReleasedWeek" msprop:Generator_RowDeletingName="ReleasedWeekRowDeleting" msprop:Generator_RowChangingName="ReleasedWeekRowChanging" msprop:Generator_RowEvHandlerName="ReleasedWeekRowChangeEventHandler" msprop:Generator_RowDeletedName="ReleasedWeekRowDeleted" msprop:Generator_UserTableName="ReleasedWeek" msprop:Generator_RowChangedName="ReleasedWeekRowChanged" msprop:Generator_RowEvArgName="ReleasedWeekRowChangeEvent" msprop:Generator_RowClassName="ReleasedWeekRow">
|
||||
<xs:element name="ReleasedWeek" msprop:Generator_TableClassName="ReleasedWeekDataTable" msprop:Generator_TableVarName="tableReleasedWeek" msprop:Generator_RowChangedName="ReleasedWeekRowChanged" msprop:Generator_TablePropName="ReleasedWeek" msprop:Generator_RowDeletingName="ReleasedWeekRowDeleting" msprop:Generator_RowChangingName="ReleasedWeekRowChanging" msprop:Generator_RowEvHandlerName="ReleasedWeekRowChangeEventHandler" msprop:Generator_RowDeletedName="ReleasedWeekRowDeleted" msprop:Generator_RowClassName="ReleasedWeekRow" msprop:Generator_UserTableName="ReleasedWeek" msprop:Generator_RowEvArgName="ReleasedWeekRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Anno" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" />
|
||||
@@ -2746,7 +2733,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ResocontoComm" msprop:Generator_TableClassName="ResocontoCommDataTable" msprop:Generator_TableVarName="tableResocontoComm" msprop:Generator_TablePropName="ResocontoComm" msprop:Generator_RowDeletingName="ResocontoCommRowDeleting" msprop:Generator_RowChangingName="ResocontoCommRowChanging" msprop:Generator_RowEvHandlerName="ResocontoCommRowChangeEventHandler" msprop:Generator_RowDeletedName="ResocontoCommRowDeleted" msprop:Generator_UserTableName="ResocontoComm" msprop:Generator_RowChangedName="ResocontoCommRowChanged" msprop:Generator_RowEvArgName="ResocontoCommRowChangeEvent" msprop:Generator_RowClassName="ResocontoCommRow">
|
||||
<xs:element name="ResocontoComm" msprop:Generator_TableClassName="ResocontoCommDataTable" msprop:Generator_TableVarName="tableResocontoComm" msprop:Generator_RowChangedName="ResocontoCommRowChanged" msprop:Generator_TablePropName="ResocontoComm" msprop:Generator_RowDeletingName="ResocontoCommRowDeleting" msprop:Generator_RowChangingName="ResocontoCommRowChanging" msprop:Generator_RowEvHandlerName="ResocontoCommRowChangeEventHandler" msprop:Generator_RowDeletedName="ResocontoCommRowDeleted" msprop:Generator_RowClassName="ResocontoCommRow" msprop:Generator_UserTableName="ResocontoComm" msprop:Generator_RowEvArgName="ResocontoCommRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
|
||||
@@ -2775,7 +2762,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagLabels" msprop:Generator_TableClassName="AnagLabelsDataTable" msprop:Generator_TableVarName="tableAnagLabels" msprop:Generator_RowChangedName="AnagLabelsRowChanged" msprop:Generator_TablePropName="AnagLabels" msprop:Generator_RowDeletingName="AnagLabelsRowDeleting" msprop:Generator_RowChangingName="AnagLabelsRowChanging" msprop:Generator_RowEvHandlerName="AnagLabelsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagLabelsRowDeleted" msprop:Generator_RowClassName="AnagLabelsRow" msprop:Generator_UserTableName="AnagLabels" msprop:Generator_RowEvArgName="AnagLabelsRowChangeEvent">
|
||||
<xs:element name="AnagLabels" msprop:Generator_TableClassName="AnagLabelsDataTable" msprop:Generator_TableVarName="tableAnagLabels" msprop:Generator_TablePropName="AnagLabels" msprop:Generator_RowDeletingName="AnagLabelsRowDeleting" msprop:Generator_RowChangingName="AnagLabelsRowChanging" msprop:Generator_RowEvHandlerName="AnagLabelsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagLabelsRowDeleted" msprop:Generator_UserTableName="AnagLabels" msprop:Generator_RowChangedName="AnagLabelsRowChanged" msprop:Generator_RowEvArgName="AnagLabelsRowChangeEvent" msprop:Generator_RowClassName="AnagLabelsRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodLabel" msprop:Generator_ColumnVarNameInTable="columnCodLabel" msprop:Generator_ColumnPropNameInRow="CodLabel" msprop:Generator_ColumnPropNameInTable="CodLabelColumn" msprop:Generator_UserColumnName="CodLabel">
|
||||
@@ -2795,7 +2782,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="LabelsComm" msprop:Generator_TableClassName="LabelsCommDataTable" msprop:Generator_TableVarName="tableLabelsComm" msprop:Generator_RowChangedName="LabelsCommRowChanged" msprop:Generator_TablePropName="LabelsComm" msprop:Generator_RowDeletingName="LabelsCommRowDeleting" msprop:Generator_RowChangingName="LabelsCommRowChanging" msprop:Generator_RowEvHandlerName="LabelsCommRowChangeEventHandler" msprop:Generator_RowDeletedName="LabelsCommRowDeleted" msprop:Generator_RowClassName="LabelsCommRow" msprop:Generator_UserTableName="LabelsComm" msprop:Generator_RowEvArgName="LabelsCommRowChangeEvent">
|
||||
<xs:element name="LabelsComm" msprop:Generator_TableClassName="LabelsCommDataTable" msprop:Generator_TableVarName="tableLabelsComm" msprop:Generator_TablePropName="LabelsComm" msprop:Generator_RowDeletingName="LabelsCommRowDeleting" msprop:Generator_RowChangingName="LabelsCommRowChanging" msprop:Generator_RowEvHandlerName="LabelsCommRowChangeEventHandler" msprop:Generator_RowDeletedName="LabelsCommRowDeleted" msprop:Generator_UserTableName="LabelsComm" msprop:Generator_RowChangedName="LabelsCommRowChanged" msprop:Generator_RowEvArgName="LabelsCommRowChangeEvent" msprop:Generator_RowClassName="LabelsCommRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
|
||||
@@ -2809,7 +2796,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="TLockBazRA" msprop:Generator_TableClassName="TLockBazRADataTable" msprop:Generator_TableVarName="tableTLockBazRA" msprop:Generator_TablePropName="TLockBazRA" msprop:Generator_RowDeletingName="TLockBazRARowDeleting" msprop:Generator_RowChangingName="TLockBazRARowChanging" msprop:Generator_RowEvHandlerName="TLockBazRARowChangeEventHandler" msprop:Generator_RowDeletedName="TLockBazRARowDeleted" msprop:Generator_UserTableName="TLockBazRA" msprop:Generator_RowChangedName="TLockBazRARowChanged" msprop:Generator_RowEvArgName="TLockBazRARowChangeEvent" msprop:Generator_RowClassName="TLockBazRARow">
|
||||
<xs:element name="TLockBazRA" msprop:Generator_TableClassName="TLockBazRADataTable" msprop:Generator_TableVarName="tableTLockBazRA" msprop:Generator_RowChangedName="TLockBazRARowChanged" msprop:Generator_TablePropName="TLockBazRA" msprop:Generator_RowDeletingName="TLockBazRARowDeleting" msprop:Generator_RowChangingName="TLockBazRARowChanging" msprop:Generator_RowEvHandlerName="TLockBazRARowChangeEventHandler" msprop:Generator_RowDeletedName="TLockBazRARowDeleted" msprop:Generator_RowClassName="TLockBazRARow" msprop:Generator_UserTableName="TLockBazRA" msprop:Generator_RowEvArgName="TLockBazRARowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
|
||||
@@ -2824,7 +2811,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="LogEmailBaz" msprop:Generator_TableClassName="LogEmailBazDataTable" msprop:Generator_TableVarName="tableLogEmailBaz" msprop:Generator_RowChangedName="LogEmailBazRowChanged" msprop:Generator_TablePropName="LogEmailBaz" msprop:Generator_RowDeletingName="LogEmailBazRowDeleting" msprop:Generator_RowChangingName="LogEmailBazRowChanging" msprop:Generator_RowEvHandlerName="LogEmailBazRowChangeEventHandler" msprop:Generator_RowDeletedName="LogEmailBazRowDeleted" msprop:Generator_RowClassName="LogEmailBazRow" msprop:Generator_UserTableName="LogEmailBaz" msprop:Generator_RowEvArgName="LogEmailBazRowChangeEvent">
|
||||
<xs:element name="LogEmailBaz" msprop:Generator_TableClassName="LogEmailBazDataTable" msprop:Generator_TableVarName="tableLogEmailBaz" msprop:Generator_TablePropName="LogEmailBaz" msprop:Generator_RowDeletingName="LogEmailBazRowDeleting" msprop:Generator_RowChangingName="LogEmailBazRowChanging" msprop:Generator_RowEvHandlerName="LogEmailBazRowChangeEventHandler" msprop:Generator_RowDeletedName="LogEmailBazRowDeleted" msprop:Generator_UserTableName="LogEmailBaz" msprop:Generator_RowChangedName="LogEmailBazRowChanged" msprop:Generator_RowEvArgName="LogEmailBazRowChangeEvent" msprop:Generator_RowClassName="LogEmailBazRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Anno" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" />
|
||||
@@ -2840,7 +2827,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_Commessa" msprop:Generator_TableClassName="v_CommessaDataTable" msprop:Generator_TableVarName="tablev_Commessa" msprop:Generator_TablePropName="v_Commessa" msprop:Generator_RowDeletingName="v_CommessaRowDeleting" msprop:Generator_RowChangingName="v_CommessaRowChanging" msprop:Generator_RowEvHandlerName="v_CommessaRowChangeEventHandler" msprop:Generator_RowDeletedName="v_CommessaRowDeleted" msprop:Generator_UserTableName="v_Commessa" msprop:Generator_RowChangedName="v_CommessaRowChanged" msprop:Generator_RowEvArgName="v_CommessaRowChangeEvent" msprop:Generator_RowClassName="v_CommessaRow">
|
||||
<xs:element name="v_Commessa" msprop:Generator_TableClassName="v_CommessaDataTable" msprop:Generator_TableVarName="tablev_Commessa" msprop:Generator_RowChangedName="v_CommessaRowChanged" msprop:Generator_TablePropName="v_Commessa" msprop:Generator_RowDeletingName="v_CommessaRowDeleting" msprop:Generator_RowChangingName="v_CommessaRowChanging" msprop:Generator_RowEvHandlerName="v_CommessaRowChangeEventHandler" msprop:Generator_RowDeletedName="v_CommessaRowDeleted" msprop:Generator_RowClassName="v_CommessaRow" msprop:Generator_UserTableName="v_Commessa" msprop:Generator_RowEvArgName="v_CommessaRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
|
||||
@@ -2939,7 +2926,7 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagGruppi" msprop:Generator_TableClassName="AnagGruppiDataTable" msprop:Generator_TableVarName="tableAnagGruppi" msprop:Generator_TablePropName="AnagGruppi" msprop:Generator_RowDeletingName="AnagGruppiRowDeleting" msprop:Generator_RowChangingName="AnagGruppiRowChanging" msprop:Generator_RowEvHandlerName="AnagGruppiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagGruppiRowDeleted" msprop:Generator_UserTableName="AnagGruppi" msprop:Generator_RowChangedName="AnagGruppiRowChanged" msprop:Generator_RowEvArgName="AnagGruppiRowChangeEvent" msprop:Generator_RowClassName="AnagGruppiRow">
|
||||
<xs:element name="AnagGruppi" msprop:Generator_TableClassName="AnagGruppiDataTable" msprop:Generator_TableVarName="tableAnagGruppi" msprop:Generator_RowChangedName="AnagGruppiRowChanged" msprop:Generator_TablePropName="AnagGruppi" msprop:Generator_RowDeletingName="AnagGruppiRowDeleting" msprop:Generator_RowChangingName="AnagGruppiRowChanging" msprop:Generator_RowEvHandlerName="AnagGruppiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagGruppiRowDeleted" msprop:Generator_RowClassName="AnagGruppiRow" msprop:Generator_UserTableName="AnagGruppi" msprop:Generator_RowEvArgName="AnagGruppiRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Gruppo" msprop:Generator_ColumnVarNameInTable="columnGruppo" msprop:Generator_ColumnPropNameInRow="Gruppo" msprop:Generator_ColumnPropNameInTable="GruppoColumn" msprop:Generator_UserColumnName="Gruppo">
|
||||
@@ -3004,7 +2991,6 @@ ORDER BY OrdGruppo</CommandText>
|
||||
<xs:unique name="Dip2ATR_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:Dip2ATR" />
|
||||
<xs:field xpath="mstns:idxDipendente" />
|
||||
<xs:field xpath="mstns:CodTipoRisorsa" />
|
||||
</xs:unique>
|
||||
<xs:unique name="Dipendenti_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:Dipendenti" />
|
||||
@@ -3063,13 +3049,13 @@ ORDER BY OrdGruppo</CommandText>
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="AnagProgetti_AnagFasi" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="AnagProgetti_AnagFasi" msprop:Generator_ParentPropName="AnagProgettiRow" msprop:Generator_RelationVarName="relationAnagProgetti_AnagFasi" msprop:Generator_UserParentTable="AnagProgetti" />
|
||||
<msdata:Relationship name="DatiCommessa_AnagFasi" msdata:parent="DatiCommessa" msdata:child="AnagFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="DatiCommessa_AnagFasi" msprop:Generator_RelationVarName="relationDatiCommessa_AnagFasi" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
|
||||
<msdata:Relationship name="DatiCommessa_DatiCommForn" msdata:parent="DatiCommessa" msdata:child="DatiCommForn" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommForn" msprop:Generator_ChildPropName="GetDatiCommFornRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommForn" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommForn" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
|
||||
<msdata:Relationship name="DatiCommessa_DatiCommInteg" msdata:parent="DatiCommessa" msdata:child="DatiCommInteg" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommInteg" msprop:Generator_ChildPropName="GetDatiCommIntegRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommInteg" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommInteg" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
|
||||
<msdata:Relationship name="AnagFasi_BdgtRisorseFasi" msdata:parent="AnagFasi" msdata:child="BdgtRisorseFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="AnagFasi_BdgtRisorseFasi" msprop:Generator_RelationVarName="relationAnagFasi_BdgtRisorseFasi" msprop:Generator_UserParentTable="AnagFasi" msprop:Generator_ParentPropName="AnagFasiRow" />
|
||||
<msdata:Relationship name="FK_BdgtRisorseFasi_AnagTipoRisorse" msdata:parent="AnagTipoRisorse" msdata:child="BdgtRisorseFasi" msdata:parentkey="CodTipoRisorsa" msdata:childkey="CodTipoRisorsa" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="FK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_ParentPropName="AnagTipoRisorseRow" msprop:Generator_RelationVarName="relationFK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_UserParentTable="AnagTipoRisorse" />
|
||||
<msdata:Relationship name="FK_LabelsComm_AnagLabels" msdata:parent="AnagLabels" msdata:child="LabelsComm" msdata:parentkey="CodLabel" msdata:childkey="CodLabel" msprop:Generator_UserChildTable="LabelsComm" msprop:Generator_ChildPropName="GetLabelsCommRows" msprop:Generator_UserRelationName="FK_LabelsComm_AnagLabels" msprop:Generator_RelationVarName="relationFK_LabelsComm_AnagLabels" msprop:Generator_UserParentTable="AnagLabels" msprop:Generator_ParentPropName="AnagLabelsRow" />
|
||||
<msdata:Relationship name="AnagProgetti_AnagFasi" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="AnagProgetti_AnagFasi" msprop:Generator_RelationVarName="relationAnagProgetti_AnagFasi" msprop:Generator_UserParentTable="AnagProgetti" msprop:Generator_ParentPropName="AnagProgettiRow" />
|
||||
<msdata:Relationship name="DatiCommessa_AnagFasi" msdata:parent="DatiCommessa" msdata:child="AnagFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="DatiCommessa_AnagFasi" msprop:Generator_ParentPropName="DatiCommessaRow" msprop:Generator_RelationVarName="relationDatiCommessa_AnagFasi" msprop:Generator_UserParentTable="DatiCommessa" />
|
||||
<msdata:Relationship name="DatiCommessa_DatiCommForn" msdata:parent="DatiCommessa" msdata:child="DatiCommForn" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommForn" msprop:Generator_ChildPropName="GetDatiCommFornRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommForn" msprop:Generator_ParentPropName="DatiCommessaRow" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommForn" msprop:Generator_UserParentTable="DatiCommessa" />
|
||||
<msdata:Relationship name="DatiCommessa_DatiCommInteg" msdata:parent="DatiCommessa" msdata:child="DatiCommInteg" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommInteg" msprop:Generator_ChildPropName="GetDatiCommIntegRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommInteg" msprop:Generator_ParentPropName="DatiCommessaRow" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommInteg" msprop:Generator_UserParentTable="DatiCommessa" />
|
||||
<msdata:Relationship name="AnagFasi_BdgtRisorseFasi" msdata:parent="AnagFasi" msdata:child="BdgtRisorseFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="AnagFasi_BdgtRisorseFasi" msprop:Generator_ParentPropName="AnagFasiRow" msprop:Generator_RelationVarName="relationAnagFasi_BdgtRisorseFasi" msprop:Generator_UserParentTable="AnagFasi" />
|
||||
<msdata:Relationship name="FK_BdgtRisorseFasi_AnagTipoRisorse" msdata:parent="AnagTipoRisorse" msdata:child="BdgtRisorseFasi" msdata:parentkey="CodTipoRisorsa" msdata:childkey="CodTipoRisorsa" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="FK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_RelationVarName="relationFK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_UserParentTable="AnagTipoRisorse" msprop:Generator_ParentPropName="AnagTipoRisorseRow" />
|
||||
<msdata:Relationship name="FK_LabelsComm_AnagLabels" msdata:parent="AnagLabels" msdata:child="LabelsComm" msdata:parentkey="CodLabel" msdata:childkey="CodLabel" msprop:Generator_UserChildTable="LabelsComm" msprop:Generator_ChildPropName="GetLabelsCommRows" msprop:Generator_UserRelationName="FK_LabelsComm_AnagLabels" msprop:Generator_ParentPropName="AnagLabelsRow" msprop:Generator_RelationVarName="relationFK_LabelsComm_AnagLabels" msprop:Generator_UserParentTable="AnagLabels" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
+20
-20
@@ -6,27 +6,27 @@
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="15" ViewPortY="566" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:AnagProgetti" ZOrder="28" X="70" Y="36" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="273" />
|
||||
<Shape ID="DesignTable:AnagFasi" ZOrder="23" X="495" Y="56" Height="533" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
|
||||
<Shape ID="DesignTable:DatiCommessa" ZOrder="22" X="876" Y="56" Height="552" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="482" />
|
||||
<Shape ID="DesignTable:DatiCommForn" ZOrder="14" X="1185" Y="69" Height="248" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:AnagProgetti" ZOrder="28" X="70" Y="36" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagFasi" ZOrder="23" X="495" Y="56" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:DatiCommessa" ZOrder="22" X="876" Y="56" Height="324" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:DatiCommForn" ZOrder="15" X="1185" Y="69" Height="248" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:DatiCommInteg" ZOrder="24" X="1189" Y="378" Height="267" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
<Shape ID="DesignTable:AnagCommFasi" ZOrder="16" X="532" Y="600" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagCommFasi" ZOrder="17" X="532" Y="600" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:ElencoFasiExpl" ZOrder="20" X="851" Y="651" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:BdgtRisorseFasi" ZOrder="13" X="290" Y="667" Height="248" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:BdgtRisorseFasi" ZOrder="14" X="290" Y="667" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:AnagTipoRisorse" ZOrder="19" X="69" Y="501" Height="153" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:Dip2ATR" ZOrder="17" X="954" Y="1356" Height="286" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:Dipendenti" ZOrder="1" X="548" Y="971" Height="388" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:BazaarRisorse" ZOrder="8" X="1208" Y="1055" Height="480" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="191" />
|
||||
<Shape ID="DesignTable:ImpiegoRisorse" ZOrder="2" X="768" Y="1026" Height="286" Width="215" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="138" />
|
||||
<Shape ID="DesignTable:ReleasedWeek" ZOrder="15" X="25" Y="1174" Height="172" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:ResocontoComm" ZOrder="12" X="285" Y="939" Height="305" Width="243" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagLabels" ZOrder="11" X="1176" Y="658" Height="153" Width="250" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:LabelsComm" ZOrder="9" X="1182" Y="841" Height="191" Width="238" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:TLockBazRA" ZOrder="7" X="36" Y="770" Height="210" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:LogEmailBaz" ZOrder="5" X="994" Y="1027" Height="172" Width="184" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:v_Commessa" ZOrder="4" X="284" Y="1279" Height="411" Width="260" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:AnagGruppi" ZOrder="3" X="580" Y="1397" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Dip2ATR" ZOrder="1" X="910" Y="1354" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:Dipendenti" ZOrder="2" X="548" Y="971" Height="324" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:BazaarRisorse" ZOrder="9" X="1208" Y="1055" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:ImpiegoRisorse" ZOrder="3" X="768" Y="1026" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:ReleasedWeek" ZOrder="16" X="25" Y="1174" Height="172" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:ResocontoComm" ZOrder="13" X="285" Y="939" Height="305" Width="243" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagLabels" ZOrder="12" X="1176" Y="658" Height="153" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:LabelsComm" ZOrder="10" X="1182" Y="841" Height="191" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:TLockBazRA" ZOrder="8" X="36" Y="770" Height="210" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:LogEmailBaz" ZOrder="6" X="994" Y="1027" Height="172" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:v_Commessa" ZOrder="5" X="284" Y="1279" Height="343" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagGruppi" ZOrder="4" X="580" Y="1397" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:AnagProgetti_AnagFasi" ZOrder="27" LineWidth="11">
|
||||
@@ -101,7 +101,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_BdgtRisorseFasi_AnagTipoRisorse" ZOrder="6" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_BdgtRisorseFasi_AnagTipoRisorse" ZOrder="7" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>172</X>
|
||||
@@ -117,7 +117,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_LabelsComm_AnagLabels" ZOrder="10" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_LabelsComm_AnagLabels" ZOrder="11" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1298</X>
|
||||
|
||||
@@ -54,6 +54,13 @@ insert into AnagGruppi
|
||||
select distinct REPLACE(gruppo, LEFT(gruppo,3),'') as gruppo, gruppo as descrizione, left(gruppo, 2) as OrdGruppo, 1 as visibile from dip2atr
|
||||
GO
|
||||
|
||||
-- gruppo zzz non visibile...
|
||||
UPDATE AnagGruppi
|
||||
SET Visibile = 0
|
||||
, Descrizione = 'NON ASSEGNATO'
|
||||
WHERE Gruppo = 'ZZZ'
|
||||
GO
|
||||
|
||||
|
||||
-- sistemo gruppi sugli utenti
|
||||
UPDATE Dip2ATR
|
||||
@@ -281,3 +288,71 @@ ORDER BY GrpOrder
|
||||
|
||||
RETURN
|
||||
GO
|
||||
|
||||
|
||||
/**********************************************************
|
||||
* STORED stp_D2ATR_updateQuery
|
||||
*
|
||||
* update dipentente x editing tipo, gruppo, ordinamento
|
||||
*
|
||||
* mod: S.E.L. 2021.10.15 release
|
||||
*
|
||||
**********************************************************/
|
||||
CREATE PROCEDURE [dbo].[stp_D2ATR_updateQuery]
|
||||
(
|
||||
@Original_idxDipendente INT = 0,
|
||||
@CodTipoRisorsa NVARCHAR(50),
|
||||
@Gruppo NVARCHAR(50),
|
||||
@GrpOrder INT
|
||||
)
|
||||
AS
|
||||
|
||||
UPDATE Dip2ATR
|
||||
SET CodTipoRisorsa = @CodTipoRisorsa
|
||||
, Gruppo = @Gruppo
|
||||
, GrpOrder = @GrpOrder
|
||||
WHERE idxDipendente = @Original_idxDipendente
|
||||
|
||||
SELECT *
|
||||
FROM Dip2ATR
|
||||
WHERE idxDipendente = @Original_idxDipendente
|
||||
|
||||
RETURN
|
||||
GO
|
||||
|
||||
|
||||
/**********************************************************
|
||||
* STORED stp_D2ATR_insertMissing
|
||||
*
|
||||
* aggiunta dipententi mancanti in gruppo zzz
|
||||
*
|
||||
* mod: S.E.L. 2021.10.16 release
|
||||
*
|
||||
**********************************************************/
|
||||
CREATE PROCEDURE [dbo].[stp_D2ATR_insertMissing]
|
||||
|
||||
AS
|
||||
|
||||
WITH cteNewUser AS
|
||||
(
|
||||
SELECT D.idxDipendente
|
||||
FROM Dipendenti D
|
||||
LEFT OUTER JOIN Dip2ATR D2A ON D.idxDipendente = D2A.idxDipendente
|
||||
WHERE D2A.idxDipendente IS NULL
|
||||
)
|
||||
|
||||
INSERT INTO Dip2ATR(idxDipendente, CodTipoRisorsa, Gruppo, GrpOrder)
|
||||
SELECT idxDipendente, 'DIS', 'ZZZ', 999
|
||||
FROM cteNewUser
|
||||
|
||||
RETURN
|
||||
GO
|
||||
|
||||
|
||||
-- fix primary key
|
||||
ALTER TABLE Dip2ATR
|
||||
DROP CONSTRAINT PK_Dip2ATR
|
||||
ALTER TABLE Dip2ATR
|
||||
ADD CONSTRAINT PK_Dip2ATR PRIMARY KEY (idxDipendente)
|
||||
GO
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,7 +1,29 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Bazaar.master" AutoEventWireup="true" CodeBehind="BazaarGroups.aspx.cs" Inherits="PROJ_ETS.BazaarGroups" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_GroupsMan.ascx" TagPrefix="uc1" TagName="mod_GroupsMan" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_Dip2Atr.ascx" TagPrefix="uc1" TagName="mod_Dip2Atr" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="Contenuto" runat="server">
|
||||
<uc1:mod_GroupsMan runat="server" id="mod_GroupsMan" />
|
||||
|
||||
<div class="d-flex">
|
||||
<div class="py-2 px-0 flex-grow-1">
|
||||
<uc1:mod_GroupsMan runat="server" ID="mod_GroupsMan" />
|
||||
</div>
|
||||
<div class="p-2 small table-info" runat="server" id="divDetail">
|
||||
<asp:UpdatePanel runat="server" ID="updDip2ATR">
|
||||
<ContentTemplate>
|
||||
<uc1:mod_Dip2Atr runat="server" ID="mod_Dip2Atr" />
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
gestione gruppi:
|
||||
<ul>
|
||||
<li>Anagrafica gruppi EDIT</li>
|
||||
<li>Anagrafica gruppi SELECT --> detail utenti</li>
|
||||
<li>Anagrafica gruppi ADD</li>
|
||||
<li>Anagrafica gruppi DELETE</li>
|
||||
<li>Sync utenti</li>
|
||||
<li>Edit Assegnazione utenti-Gruppi</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -9,9 +9,35 @@ namespace PROJ_ETS
|
||||
{
|
||||
public partial class BazaarGroups : System.Web.UI.Page
|
||||
{
|
||||
#region Private Methods
|
||||
|
||||
private void Mod_GroupsMan_eh_Reset(object sender, EventArgs e)
|
||||
{
|
||||
mod_Dip2Atr.Gruppo = "#";
|
||||
divDetail.Visible = false;
|
||||
}
|
||||
|
||||
private void Mod_GroupsMan_eh_Select(object sender, EventArgs e)
|
||||
{
|
||||
mod_Dip2Atr.Gruppo = mod_GroupsMan.GruppoSel;
|
||||
divDetail.Visible = true;
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
mod_Dip2Atr.Gruppo = "#";
|
||||
divDetail.Visible = false;
|
||||
}
|
||||
mod_GroupsMan.eh_Select += Mod_GroupsMan_eh_Select;
|
||||
mod_GroupsMan.eh_Reset += Mod_GroupsMan_eh_Reset;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
+27
@@ -22,5 +22,32 @@ namespace PROJ_ETS
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::PROJ_ETS.WebUserControls.mod_GroupsMan mod_GroupsMan;
|
||||
|
||||
/// <summary>
|
||||
/// divDetail control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divDetail;
|
||||
|
||||
/// <summary>
|
||||
/// updDip2ATR control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel updDip2ATR;
|
||||
|
||||
/// <summary>
|
||||
/// mod_Dip2Atr control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::PROJ_ETS.WebUserControls.mod_Dip2Atr mod_Dip2Atr;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_Dip2Atr.ascx.cs" Inherits="PROJ_ETS.WebUserControls.mod_Dip2Atr" %>
|
||||
|
||||
<asp:GridView runat="server" ID="grView" AutoGenerateColumns="False" DataKeyNames="idxDipendente,CodTipoRisorsa" DataSourceID="ods" CssClass="table table-striped" AllowSorting="True">
|
||||
<asp:GridView runat="server" ID="grView" AutoGenerateColumns="False" DataKeyNames="idxDipendente" DataSourceID="ods" CssClass="table table-striped table-light table-sm" AllowSorting="True">
|
||||
<SelectedRowStyle CssClass="table-info" />
|
||||
<Columns>
|
||||
<%--<asp:TemplateField ShowHeader="False">
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbtReset" runat="server" CausesValidation="false" CssClass="btn btn-info px-4 text-light" OnClick="lbtReset_Click" ToolTip="Reset selezione">
|
||||
<%--<asp:LinkButton ID="lbtReset" runat="server" CausesValidation="false" CssClass="btn btn-info px-4 text-light" OnClick="lbtReset_Click" ToolTip="Reset selezione">
|
||||
<i class="fa fa-refresh" aria-hidden="true"></i>
|
||||
</asp:LinkButton>
|
||||
</asp:LinkButton>--%>
|
||||
</HeaderTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="lbtUpdate" runat="server" CausesValidation="True" CommandName="Update" Text="Update" CssClass="btn btn-sm btn-success">
|
||||
@@ -18,13 +18,13 @@
|
||||
</asp:LinkButton>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbtSelect" runat="server" CausesValidation="False" CommandName="Select" Text="Select" CssClass="btn btn-sm btn-info text-light">
|
||||
<%--<asp:LinkButton ID="lbtSelect" runat="server" CausesValidation="False" CommandName="Select" Text="Select" CssClass="btn btn-sm btn-info text-light">
|
||||
<i class="fa fa-search" aria-hidden="true"></i>
|
||||
</asp:LinkButton>
|
||||
</asp:LinkButton>--%>
|
||||
<asp:LinkButton ID="lbtEdit" runat="server" CausesValidation="False" CommandName="Edit" Text="Edit" CssClass="btn btn-sm btn-primary text-light">
|
||||
<i class="fa fa-pencil" aria-hidden="true"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>--%>
|
||||
</asp:TemplateField>
|
||||
<%--<asp:TemplateField ShowHeader="False">
|
||||
<EditItemTemplate>
|
||||
</EditItemTemplate>
|
||||
@@ -32,20 +32,25 @@
|
||||
<asp:LinkButton ID="lbDelete" runat="server" CausesValidation="False" CommandName="Delete" Text="Delete" CssClass="btn btn-sm btn-danger text-light" OnClientClick="return confirm('Confermi eliminazione record?')" Visible='<%# Eval("NumDip").ToString() == "0" %>'><i class="fa fa-trash" aria-hidden="true"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>--%>
|
||||
<asp:BoundField DataField="idxDipendente" HeaderText="idxDipendente" SortExpression="idxDipendente" ReadOnly="True" />
|
||||
<asp:BoundField DataField="CodTipoRisorsa" HeaderText="CodTipoRisorsa" SortExpression="CodTipoRisorsa" ReadOnly="True" />
|
||||
<asp:BoundField DataField="CodTipoRisorsa" HeaderText="Tipo" SortExpression="CodTipoRisorsa" />
|
||||
<asp:BoundField DataField="Gruppo" HeaderText="Gruppo" SortExpression="Gruppo" />
|
||||
<asp:BoundField DataField="GrpOrder" HeaderText="GrpOrder" SortExpression="GrpOrder" />
|
||||
<asp:BoundField DataField="Cognome" HeaderText="Cognome" SortExpression="Cognome" />
|
||||
<asp:BoundField DataField="Nome" HeaderText="Nome" SortExpression="Nome" />
|
||||
<asp:BoundField DataField="dataNascita" HeaderText="dataNascita" ReadOnly="True" SortExpression="dataNascita" />
|
||||
<asp:BoundField DataField="SIGLA" HeaderText="SIGLA" SortExpression="SIGLA" />
|
||||
<asp:CheckBoxField DataField="attivo" HeaderText="attivo" SortExpression="attivo" />
|
||||
<asp:BoundField DataField="GrpOrder" HeaderText="Ord." SortExpression="GrpOrder" />
|
||||
<asp:BoundField DataField="Cognome" HeaderText="Cognome" SortExpression="Cognome" ReadOnly="True" />
|
||||
<asp:BoundField DataField="Nome" HeaderText="Nome" SortExpression="Nome" ReadOnly="True" />
|
||||
<asp:BoundField DataField="dataNascita" HeaderText="Nato" ReadOnly="True" SortExpression="dataNascita" DataFormatString="{0:dd.MM.yyyy}" />
|
||||
<asp:BoundField DataField="SIGLA" HeaderText="#" SortExpression="SIGLA" ReadOnly="True" />
|
||||
<asp:CheckBoxField DataField="attivo" HeaderText="Attivo" SortExpression="attivo" ReadOnly="True" />
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="Original_{0}" SelectMethod="GetByGroup" TypeName="ETS_Data.Ds_ProjEtsTableAdapters.Dip2ATRTableAdapter">
|
||||
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="Original_{0}" SelectMethod="GetByGroup" TypeName="ETS_Data.Ds_ProjEtsTableAdapters.Dip2ATRTableAdapter" UpdateMethod="updateQuery">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfGruppo" DefaultValue="#" Name="Gruppo" PropertyName="Value" Type="String" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="CodTipoRisorsa" Type="String" />
|
||||
<asp:Parameter Name="Gruppo" Type="String" />
|
||||
<asp:Parameter Name="GrpOrder" Type="Int32" />
|
||||
<asp:Parameter Name="Original_idxDipendente" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:HiddenField runat="server" ID="hfGruppo" Value="" />
|
||||
@@ -1,73 +1,56 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_GroupsMan.ascx.cs" Inherits="PROJ_ETS.WebUserControls.mod_GroupsMan" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_Dip2Atr.ascx" TagPrefix="uc1" TagName="mod_Dip2Atr" %>
|
||||
|
||||
<div class="d-flex">
|
||||
<div class="p-2 flex-grow-1">
|
||||
<asp:GridView runat="server" ID="grView" AutoGenerateColumns="False" DataKeyNames="Gruppo" DataSourceID="ods" CssClass="table table-striped" AllowSorting="True" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<SelectedRowStyle CssClass="table-info" />
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbtReset" runat="server" CausesValidation="false" CssClass="btn btn-info px-4 text-light" OnClick="lbtReset_Click" ToolTip="Reset selezione">
|
||||
<asp:GridView runat="server" ID="grView" AutoGenerateColumns="False" DataKeyNames="Gruppo" DataSourceID="ods" CssClass="table table-striped" AllowSorting="True" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<SelectedRowStyle CssClass="table-info" />
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbtReset" runat="server" CausesValidation="false" CssClass="btn btn-info px-4 text-light" OnClick="lbtReset_Click" ToolTip="Reset selezione">
|
||||
<i class="fa fa-refresh" aria-hidden="true"></i>
|
||||
</asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="lbtUpdate" runat="server" CausesValidation="True" CommandName="Update" Text="Update" CssClass="btn btn-sm btn-success">
|
||||
</asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="lbtUpdate" runat="server" CausesValidation="True" CommandName="Update" Text="Update" CssClass="btn btn-sm btn-success">
|
||||
<i class="fa fa-check" aria-hidden="true"></i>
|
||||
</asp:LinkButton>
|
||||
<asp:LinkButton ID="lbtCancel" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel" CssClass="btn btn-sm btn-warning">
|
||||
</asp:LinkButton>
|
||||
<asp:LinkButton ID="lbtCancel" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel" CssClass="btn btn-sm btn-warning">
|
||||
<i class="fa fa-ban" aria-hidden="true"></i>
|
||||
</asp:LinkButton>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbtSelect" runat="server" CausesValidation="False" CommandName="Select" Text="Select" CssClass="btn btn-sm btn-info text-light">
|
||||
</asp:LinkButton>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbtSelect" runat="server" CausesValidation="False" CommandName="Select" Text="Select" CssClass="btn btn-sm btn-info text-light">
|
||||
<i class="fa fa-search" aria-hidden="true"></i>
|
||||
</asp:LinkButton>
|
||||
<asp:LinkButton ID="lbtEdit" runat="server" CausesValidation="False" CommandName="Edit" Text="Edit" CssClass="btn btn-sm btn-primary text-light">
|
||||
</asp:LinkButton>
|
||||
<asp:LinkButton ID="lbtEdit" runat="server" CausesValidation="False" CommandName="Edit" Text="Edit" CssClass="btn btn-sm btn-primary text-light">
|
||||
<i class="fa fa-pencil" aria-hidden="true"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="OrdGruppo" HeaderText="Ord." SortExpression="OrdGruppo" />
|
||||
<asp:BoundField DataField="Gruppo" HeaderText="Gruppo" ReadOnly="True" SortExpression="Gruppo" />
|
||||
<asp:BoundField DataField="Descrizione" HeaderText="Descrizione" SortExpression="Descrizione" />
|
||||
<asp:CheckBoxField DataField="Visibile" HeaderText="Visibile" SortExpression="Visibile" />
|
||||
<asp:BoundField DataField="NumDip" HeaderText=" Dip" SortExpression="NumDip" ReadOnly="true" />
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<EditItemTemplate>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbDelete" runat="server" CausesValidation="False" CommandName="Delete" Text="Delete" CssClass="btn btn-sm btn-danger text-light" OnClientClick="return confirm('Confermi eliminazione record?')" Visible='<%# Eval("NumDip").ToString() == "0" %>'><i class="fa fa-trash" aria-hidden="true"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource runat="server" ID="ods" DeleteMethod="deleteQuery" InsertMethod="InsertQuery" OldValuesParameterFormatString="Original_{0}" SelectMethod="GetDataOrd" TypeName="ETS_Data.Ds_ProjEtsTableAdapters.AnagGruppiTableAdapter" UpdateMethod="updateQuery">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_Gruppo" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="Gruppo" Type="String" />
|
||||
<asp:Parameter Name="Descrizione" Type="String" />
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_Gruppo" Type="String" />
|
||||
<asp:Parameter Name="Descrizione" Type="String" />
|
||||
<asp:Parameter Name="OrdGruppo" Type="Int32" />
|
||||
<asp:Parameter Name="Visibile" Type="Boolean" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="p-2 small" runat="server" id="divDetail">
|
||||
<uc1:mod_Dip2Atr runat="server" ID="mod_Dip2Atr" />
|
||||
gestione gruppi:
|
||||
<ul>
|
||||
<li>Anagrafica gruppi EDIT</li>
|
||||
<li>Anagrafica gruppi SELECT --> detail utenti</li>
|
||||
<li>Anagrafica gruppi ADD</li>
|
||||
<li>Anagrafica gruppi DELETE</li>
|
||||
<li>Sync utenti</li>
|
||||
<li>Edit Assegnazione utenti-Gruppi</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="OrdGruppo" HeaderText="Ord." SortExpression="OrdGruppo" />
|
||||
<asp:BoundField DataField="Gruppo" HeaderText="Gruppo" ReadOnly="True" SortExpression="Gruppo" />
|
||||
<asp:BoundField DataField="Descrizione" HeaderText="Descrizione" SortExpression="Descrizione" />
|
||||
<asp:CheckBoxField DataField="Visibile" HeaderText="Visibile" SortExpression="Visibile" />
|
||||
<asp:BoundField DataField="NumDip" HeaderText=" Dip" SortExpression="NumDip" ReadOnly="true" />
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<EditItemTemplate>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbDelete" runat="server" CausesValidation="False" CommandName="Delete" Text="Delete" CssClass="btn btn-sm btn-danger text-light" OnClientClick="return confirm('Confermi eliminazione record?')" Visible='<%# Eval("NumDip").ToString() == "0" %>'><i class="fa fa-trash" aria-hidden="true"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource runat="server" ID="ods" DeleteMethod="deleteQuery" InsertMethod="InsertQuery" OldValuesParameterFormatString="Original_{0}" SelectMethod="GetDataOrd" TypeName="ETS_Data.Ds_ProjEtsTableAdapters.AnagGruppiTableAdapter" UpdateMethod="updateQuery">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_Gruppo" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="Gruppo" Type="String" />
|
||||
<asp:Parameter Name="Descrizione" Type="String" />
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_Gruppo" Type="String" />
|
||||
<asp:Parameter Name="Descrizione" Type="String" />
|
||||
<asp:Parameter Name="OrdGruppo" Type="Int32" />
|
||||
<asp:Parameter Name="Visibile" Type="Boolean" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
@@ -9,25 +9,48 @@ namespace PROJ_ETS.WebUserControls
|
||||
{
|
||||
public partial class mod_GroupsMan : System.Web.UI.UserControl
|
||||
{
|
||||
#region Public Events
|
||||
|
||||
public event EventHandler eh_Reset;
|
||||
|
||||
public event EventHandler eh_Select;
|
||||
|
||||
#endregion Public Events
|
||||
|
||||
#region Public Properties
|
||||
|
||||
public string GruppoSel
|
||||
{
|
||||
get
|
||||
{
|
||||
return $"{grView.SelectedValue}";
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
divDetail.Visible = true;
|
||||
if (eh_Select != null)
|
||||
{
|
||||
eh_Select(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
protected void lbtReset_Click(object sender, EventArgs e)
|
||||
{
|
||||
grView.SelectedIndex = -1;
|
||||
mod_Dip2Atr.Gruppo = "#";
|
||||
divDetail.Visible = false;
|
||||
grView.DataBind();
|
||||
if (eh_Reset != null)
|
||||
{
|
||||
eh_Reset(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
mod_Dip2Atr.Gruppo = $"{grView.SelectedValue}";
|
||||
divDetail.Visible = false;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
@@ -31,23 +31,5 @@ namespace PROJ_ETS.WebUserControls
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// divDetail control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divDetail;
|
||||
|
||||
/// <summary>
|
||||
/// mod_Dip2Atr control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::PROJ_ETS.WebUserControls.mod_Dip2Atr mod_Dip2Atr;
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user