Completata gestioen DIP2ATR

This commit is contained in:
Samuele Locatelli
2021-10-19 09:44:12 +02:00
parent ebc495fe77
commit aca7f72d86
14 changed files with 192 additions and 80 deletions
+48 -14
View File
@@ -21257,36 +21257,42 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
[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[5];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT * FROM v_Dip2ATR";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = "dbo.stp_D2ATR_getBazOrd";
this._commandCollection[1].CommandText = "dbo.stp_D2ATR_deleteQuery";
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "dbo.stp_D2ATR_getByGroup";
this._commandCollection[2].CommandText = "dbo.stp_D2ATR_getBazOrd";
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].CommandText = "dbo.stp_D2ATR_getByGroup";
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@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] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection;
this._commandCollection[4].CommandText = "dbo.stp_D2ATR_updateQuery";
this._commandCollection[4].CommandText = "dbo.stp_D2ATR_insertMissing";
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, "", "", ""));
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[5].Connection = this.Connection;
this._commandCollection[5].CommandText = "dbo.stp_D2ATR_updateQuery";
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@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[5].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[5].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[5].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()]
@@ -21318,7 +21324,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual Ds_ProjEts.Dip2ATRDataTable getBazOrd() {
this.Adapter.SelectCommand = this.CommandCollection[1];
this.Adapter.SelectCommand = this.CommandCollection[2];
Ds_ProjEts.Dip2ATRDataTable dataTable = new Ds_ProjEts.Dip2ATRDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
@@ -21329,7 +21335,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual Ds_ProjEts.Dip2ATRDataTable GetByGroup(string Gruppo) {
this.Adapter.SelectCommand = this.CommandCollection[2];
this.Adapter.SelectCommand = this.CommandCollection[3];
if ((Gruppo == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -21346,7 +21352,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[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];
this.Adapter.SelectCommand = this.CommandCollection[5];
if ((Original_idxDipendente.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Original_idxDipendente.Value));
}
@@ -21376,11 +21382,39 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int deleteQuery(global::System.Nullable<int> Original_idxDipendente) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
if ((Original_idxDipendente.HasValue == true)) {
command.Parameters[1].Value = ((int)(Original_idxDipendente.Value));
}
else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int insertMissing() {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
+39 -28
View File
@@ -977,6 +977,17 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
<Mapping SourceColumn="attivo" DataSetColumn="attivo" />
</Mappings>
<Sources>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_D2ATR_deleteQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="deleteQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_D2ATR_deleteQuery</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" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_D2ATR_getBazOrd" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getBazOrd" GetMethodModifier="Public" GetMethodName="getBazOrd" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getBazOrd" UserSourceName="getBazOrd">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -2026,7 +2037,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_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: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: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" />
@@ -2069,7 +2080,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_RowChangedName="AnagFasiRowChanged" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_RowClassName="AnagFasiRow" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent">
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent" msprop:Generator_RowClassName="AnagFasiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="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" />
@@ -2119,7 +2130,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_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: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: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" />
@@ -2215,7 +2226,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_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: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: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" />
@@ -2266,7 +2277,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_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: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: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" />
@@ -2318,7 +2329,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_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: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: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" />
@@ -2421,7 +2432,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_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: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: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" />
@@ -2469,7 +2480,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_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: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: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" />
@@ -2486,7 +2497,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_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: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:complexType>
<xs:sequence>
<xs:element name="CodTipoRisorsa" msprop:Generator_ColumnVarNameInTable="columnCodTipoRisorsa" msprop:Generator_ColumnPropNameInRow="CodTipoRisorsa" msprop:Generator_ColumnPropNameInTable="CodTipoRisorsaColumn" msprop:Generator_UserColumnName="CodTipoRisorsa">
@@ -2507,7 +2518,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_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: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: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" />
@@ -2552,7 +2563,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_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: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: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" />
@@ -2687,7 +2698,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_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: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: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" />
@@ -2706,7 +2717,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_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: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: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" />
@@ -2717,7 +2728,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_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: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: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" />
@@ -2733,7 +2744,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_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: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: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" />
@@ -2762,7 +2773,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_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: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:complexType>
<xs:sequence>
<xs:element name="CodLabel" msprop:Generator_ColumnVarNameInTable="columnCodLabel" msprop:Generator_ColumnPropNameInRow="CodLabel" msprop:Generator_ColumnPropNameInTable="CodLabelColumn" msprop:Generator_UserColumnName="CodLabel">
@@ -2782,7 +2793,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_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: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: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" />
@@ -2796,7 +2807,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_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: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: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" />
@@ -2811,7 +2822,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_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: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: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" />
@@ -2827,7 +2838,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_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: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: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" />
@@ -2926,7 +2937,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_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: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:complexType>
<xs:sequence>
<xs:element name="Gruppo" msprop:Generator_ColumnVarNameInTable="columnGruppo" msprop:Generator_ColumnPropNameInRow="Gruppo" msprop:Generator_ColumnPropNameInTable="GruppoColumn" msprop:Generator_UserColumnName="Gruppo">
@@ -3049,13 +3060,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_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" />
<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" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+2 -2
View File
@@ -4,7 +4,7 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="15" ViewPortY="566" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="208" 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="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" />
@@ -15,7 +15,7 @@
<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="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="1" X="910" Y="1354" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:Dip2ATR" ZOrder="1" X="902" Y="1337" Height="343" 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" />
+27 -2
View File
@@ -321,6 +321,11 @@ RETURN
GO
insert into AnagTipoRisorse(CodTipoRisorsa, DescrTipoRisorsa, costoOrario)
VALUES ('ND', 'NON ASSEGNATO', 40)
GO
/**********************************************************
* STORED stp_D2ATR_insertMissing
*
@@ -338,11 +343,11 @@ WITH cteNewUser AS
SELECT D.idxDipendente
FROM Dipendenti D
LEFT OUTER JOIN Dip2ATR D2A ON D.idxDipendente = D2A.idxDipendente
WHERE D2A.idxDipendente IS NULL
WHERE D.gruppo = 'ETS' AND D2A.idxDipendente IS NULL
)
INSERT INTO Dip2ATR(idxDipendente, CodTipoRisorsa, Gruppo, GrpOrder)
SELECT idxDipendente, 'DIS', 'ZZZ', 999
SELECT idxDipendente, 'ND', 'ZZZ', 999
FROM cteNewUser
RETURN
@@ -356,3 +361,23 @@ ALTER TABLE Dip2ATR
ADD CONSTRAINT PK_Dip2ATR PRIMARY KEY (idxDipendente)
GO
/**********************************************************
* STORED stp_D2ATR_deleteQuery
*
* eliminazione dipentente NON gestito in Bazaar
*
* mod: S.E.L. 2021.10.19 release
*
**********************************************************/
create PROCEDURE [dbo].[stp_D2ATR_deleteQuery]
(
@Original_idxDipendente INT = 0
)
AS
DELETE
FROM Dip2ATR
WHERE idxDipendente = @Original_idxDipendente
RETURN
GO
Binary file not shown.
+1 -14
View File
@@ -10,20 +10,7 @@
<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>
<uc1:mod_Dip2Atr runat="server" ID="mod_Dip2Atr" />
</div>
</div>
</asp:Content>
+6
View File
@@ -11,6 +11,11 @@ namespace PROJ_ETS
{
#region Private Methods
private void Mod_Dip2Atr_eh_Updated(object sender, EventArgs e)
{
mod_GroupsMan.doUpdate();
}
private void Mod_GroupsMan_eh_Reset(object sender, EventArgs e)
{
mod_Dip2Atr.Gruppo = "#";
@@ -36,6 +41,7 @@ namespace PROJ_ETS
}
mod_GroupsMan.eh_Select += Mod_GroupsMan_eh_Select;
mod_GroupsMan.eh_Reset += Mod_GroupsMan_eh_Reset;
mod_Dip2Atr.eh_Updated += Mod_Dip2Atr_eh_Updated;
}
#endregion Protected Methods
-9
View File
@@ -32,15 +32,6 @@ namespace PROJ_ETS
/// </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>
@@ -25,13 +25,6 @@
<i class="fa fa-pencil" aria-hidden="true"></i></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<%--<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>--%>
<asp:TemplateField HeaderText="Tipo" SortExpression="CodTipoRisorsa">
<EditItemTemplate>
<asp:DropDownList runat="server" ID="ddlTipoRisorsa" DataSourceID="odsTipoRis" DataTextField="CodTipoRisorsa" DataValueField="CodTipoRisorsa" SelectedValue='<%# Bind("CodTipoRisorsa") %>'></asp:DropDownList>
@@ -42,7 +35,6 @@
</asp:TemplateField>
<asp:TemplateField HeaderText="Gruppo" SortExpression="Gruppo">
<EditItemTemplate>
<%--<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Gruppo") %>'></asp:TextBox>--%>
<asp:DropDownList runat="server" ID="ddlGruppo" DataSourceID="odsGruppo" DataTextField="Gruppo" DataValueField="Gruppo" SelectedValue='<%# Bind("Gruppo") %>'></asp:DropDownList>
</EditItemTemplate>
<ItemTemplate>
@@ -55,17 +47,27 @@
<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" />
<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?')"><i class="fa fa-trash" aria-hidden="true"></i></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="Original_{0}" SelectMethod="GetByGroup" TypeName="ETS_Data.Ds_ProjEtsTableAdapters.Dip2ATRTableAdapter" UpdateMethod="updateQuery">
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="original_{0}" SelectMethod="GetByGroup" TypeName="ETS_Data.Ds_ProjEtsTableAdapters.Dip2ATRTableAdapter" UpdateMethod="updateQuery" DeleteMethod="deleteQuery" OnDeleted="ods_Deleted" OnUpdated="ods_Updated">
<DeleteParameters>
<asp:Parameter Name="Original_idxDipendente" Type="Int32" />
</DeleteParameters>
<SelectParameters>
<asp:ControlParameter ControlID="hfGruppo" DefaultValue="#" Name="Gruppo" PropertyName="Value" Type="String" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="Original_idxDipendente" Type="Int32" />
<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="" />
@@ -9,6 +9,12 @@ namespace PROJ_ETS.WebUserControls
{
public partial class mod_Dip2Atr : System.Web.UI.UserControl
{
#region Public Events
public event EventHandler eh_Updated;
#endregion Public Events
#region Public Properties
public string Gruppo
@@ -26,6 +32,18 @@ namespace PROJ_ETS.WebUserControls
#endregion Public Properties
#region Private Methods
private void reportUpdate()
{
if (eh_Updated != null)
{
eh_Updated(this, new EventArgs());
}
}
#endregion Private Methods
#region Protected Methods
protected void lbtReset_Click(object sender, EventArgs e)
@@ -34,6 +52,16 @@ namespace PROJ_ETS.WebUserControls
grView.DataBind();
}
protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e)
{
reportUpdate();
}
protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e)
{
reportUpdate();
}
protected void Page_Load(object sender, EventArgs e)
{
}
@@ -31,6 +31,11 @@
<asp:CheckBoxField DataField="Visibile" HeaderText="Visibile" SortExpression="Visibile" />
<asp:BoundField DataField="NumDip" HeaderText=" Dip" SortExpression="NumDip" ReadOnly="true" />
<asp:TemplateField ShowHeader="False">
<HeaderTemplate>
<asp:LinkButton ID="lbtUserSync" runat="server" CausesValidation="false" CssClass="btn btn-primary px-4 text-light" OnClick="lbtUserSync_Click" ToolTip="Import mancanti">
<i class="fa fa-users" aria-hidden="true"></i>
</asp:LinkButton>
</HeaderTemplate>
<EditItemTemplate>
</EditItemTemplate>
<ItemTemplate>
@@ -1,4 +1,5 @@
using System;
using ETS_Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
@@ -49,10 +50,32 @@ namespace PROJ_ETS.WebUserControls
}
}
protected void lbtUserSync_Click(object sender, EventArgs e)
{
// chiama import missing
DataProxy_ProjEts.DP.taD2ATR.insertMissing();
// reset gridview...
grView.SelectedIndex = -1;
grView.DataBind();
if (eh_Reset != null)
{
eh_Reset(this, new EventArgs());
}
}
protected void Page_Load(object sender, EventArgs e)
{
}
#endregion Protected Methods
#region Internal Methods
internal void doUpdate()
{
grView.DataBind();
}
#endregion Internal Methods
}
}
Binary file not shown.
Binary file not shown.