update x costruzione dinamica tabella riserve ore bazaar

This commit is contained in:
Samuele Locatelli
2013-09-04 18:17:55 +02:00
parent b8dde8a7ab
commit 34935e3555
12 changed files with 3381 additions and 64 deletions
+6
View File
@@ -21,6 +21,8 @@ namespace ETS_Data
public Ds_ProjEtsTableAdapters.BdgtRisorseFasiTableAdapter taBRF;
public Ds_ProjEtsTableAdapters.AnagTipoRisorseTableAdapter taATR;
public Ds_ProjEtsTableAdapters.BazaarRisorseTableAdapter taBaz;
public Ds_ProjEtsTableAdapters.Dip2ATRTableAdapter taD2ATR;
public Ds_ProjEtsTableAdapters.DipendentiTableAdapter taDip;
/* DS_utilsProjEts */
public DS_utilsProjEtsTableAdapters.v_selClientiTableAdapter taSelCli;
public DS_utilsProjEtsTableAdapters.v_selProgettiTableAdapter taSelPro;
@@ -39,6 +41,8 @@ namespace ETS_Data
taBRF = new Ds_ProjEtsTableAdapters.BdgtRisorseFasiTableAdapter();
taATR = new Ds_ProjEtsTableAdapters.AnagTipoRisorseTableAdapter();
taBaz = new Ds_ProjEtsTableAdapters.BazaarRisorseTableAdapter();
taD2ATR = new Ds_ProjEtsTableAdapters.Dip2ATRTableAdapter();
taDip = new Ds_ProjEtsTableAdapters.DipendentiTableAdapter();
taSelCli = new DS_utilsProjEtsTableAdapters.v_selClientiTableAdapter();
taSelPro = new DS_utilsProjEtsTableAdapters.v_selProgettiTableAdapter();
taSelCom = new DS_utilsProjEtsTableAdapters.v_selCommesseTableAdapter();
@@ -57,6 +61,8 @@ namespace ETS_Data
taBRF.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taATR.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taBaz.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taD2ATR.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taDip.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taSelCli.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taSelPro.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taSelCom.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
+2611 -1
View File
File diff suppressed because it is too large Load Diff
+333 -16
View File
@@ -1018,6 +1018,151 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_BAZ_getByAnnoSett" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByAnnoSett" GetMethodModifier="Public" GetMethodName="getByAnnoSett" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByAnnoSett" UserSourceName="getByAnnoSett">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_BAZ_getByAnnoSett</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="@Anno" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Sett" 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_BAZ_getByAnnoSettDip" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByAnnoSettDip" GetMethodModifier="Public" GetMethodName="getByAnnoSettDip" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByAnnoSettDip" UserSourceName="getByAnnoSettDip">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_BAZ_getByAnnoSettDip</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="@Anno" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Sett" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" 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="Dip2ATRTableAdapter" GeneratorDataComponentClassName="Dip2ATRTableAdapter" Name="Dip2ATR" UserDataComponentName="Dip2ATRTableAdapter">
<MainSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.Dip2ATR" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[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>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM dbo.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>
<Mapping SourceColumn="idxDipendente" DataSetColumn="idxDipendente" />
<Mapping SourceColumn="CodTipoRisorsa" DataSetColumn="CodTipoRisorsa" />
<Mapping SourceColumn="Gruppo" DataSetColumn="Gruppo" />
</Mappings>
<Sources>
<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">
<CommandText>dbo.stp_D2ATR_getBazOrd</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>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DipendentiTableAdapter" GeneratorDataComponentClassName="DipendentiTableAdapter" Name="Dipendenti" UserDataComponentName="DipendentiTableAdapter">
<MainSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.Dipendenti" 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">
<CommandText>SELECT idxDipendente, matricola, CF, Cognome, Nome, dataNascita, luogoNascita, provNascita, nazNascita, codHw, codOrario, mailLastOp, mailDay, mailWeek, mailMonth, email, authKey, numAuth, WOL_MAC, dominio, utente, codDipendenteExt, gruppo, dataAssunzione, dataCessazione, attivo, SIGLA, GrpFunz FROM dbo.Dipendenti</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="idxDipendente" DataSetColumn="idxDipendente" />
<Mapping SourceColumn="matricola" DataSetColumn="matricola" />
<Mapping SourceColumn="CF" DataSetColumn="CF" />
<Mapping SourceColumn="Cognome" DataSetColumn="Cognome" />
<Mapping SourceColumn="Nome" DataSetColumn="Nome" />
<Mapping SourceColumn="dataNascita" DataSetColumn="dataNascita" />
<Mapping SourceColumn="luogoNascita" DataSetColumn="luogoNascita" />
<Mapping SourceColumn="provNascita" DataSetColumn="provNascita" />
<Mapping SourceColumn="nazNascita" DataSetColumn="nazNascita" />
<Mapping SourceColumn="codHw" DataSetColumn="codHw" />
<Mapping SourceColumn="codOrario" DataSetColumn="codOrario" />
<Mapping SourceColumn="mailLastOp" DataSetColumn="mailLastOp" />
<Mapping SourceColumn="mailDay" DataSetColumn="mailDay" />
<Mapping SourceColumn="mailWeek" DataSetColumn="mailWeek" />
<Mapping SourceColumn="mailMonth" DataSetColumn="mailMonth" />
<Mapping SourceColumn="email" DataSetColumn="email" />
<Mapping SourceColumn="authKey" DataSetColumn="authKey" />
<Mapping SourceColumn="numAuth" DataSetColumn="numAuth" />
<Mapping SourceColumn="WOL_MAC" DataSetColumn="WOL_MAC" />
<Mapping SourceColumn="dominio" DataSetColumn="dominio" />
<Mapping SourceColumn="utente" DataSetColumn="utente" />
<Mapping SourceColumn="codDipendenteExt" DataSetColumn="codDipendenteExt" />
<Mapping SourceColumn="gruppo" DataSetColumn="gruppo" />
<Mapping SourceColumn="dataAssunzione" DataSetColumn="dataAssunzione" />
<Mapping SourceColumn="dataCessazione" DataSetColumn="dataCessazione" />
<Mapping SourceColumn="attivo" DataSetColumn="attivo" />
<Mapping SourceColumn="SIGLA" DataSetColumn="SIGLA" />
<Mapping SourceColumn="GrpFunz" DataSetColumn="GrpFunz" />
</Mappings>
<Sources>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_DIP_getBazOrd" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getOrdBaz" GetMethodModifier="Public" GetMethodName="getOrdBaz" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getOrdBaz" UserSourceName="getOrdBaz">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_DIP_getBazOrd</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>
</Sources>
</TableAdapter>
</Tables>
@@ -1028,7 +1173,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
<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" />
@@ -1071,7 +1216,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
</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" />
@@ -1121,7 +1266,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
</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" />
@@ -1210,7 +1355,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
</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" />
@@ -1254,7 +1399,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
</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" />
@@ -1299,7 +1444,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
</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" />
@@ -1379,7 +1524,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
</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" />
@@ -1427,7 +1572,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
</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" />
@@ -1444,7 +1589,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
</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">
@@ -1465,7 +1610,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
</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" />
@@ -1484,6 +1629,169 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
</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: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" />
<xs:element name="CodTipoRisorsa" msprop:Generator_ColumnVarNameInTable="columnCodTipoRisorsa" msprop:Generator_ColumnPropNameInRow="CodTipoRisorsa" msprop:Generator_ColumnPropNameInTable="CodTipoRisorsaColumn" msprop:Generator_UserColumnName="CodTipoRisorsa">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Gruppo" msprop:Generator_ColumnVarNameInTable="columnGruppo" msprop:Generator_ColumnPropNameInRow="Gruppo" msprop:Generator_ColumnPropNameInTable="GruppoColumn" msprop:Generator_UserColumnName="Gruppo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="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" />
<xs:element name="matricola" msprop:Generator_ColumnVarNameInTable="columnmatricola" msprop:Generator_ColumnPropNameInRow="matricola" msprop:Generator_ColumnPropNameInTable="matricolaColumn" msprop:Generator_UserColumnName="matricola" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CF" msprop:Generator_ColumnVarNameInTable="columnCF" msprop:Generator_ColumnPropNameInRow="CF" msprop:Generator_ColumnPropNameInTable="CFColumn" msprop:Generator_UserColumnName="CF" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="16" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Cognome" msprop:Generator_ColumnVarNameInTable="columnCognome" msprop:Generator_ColumnPropNameInRow="Cognome" msprop:Generator_ColumnPropNameInTable="CognomeColumn" msprop:Generator_UserColumnName="Cognome" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_UserColumnName="Nome" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dataNascita" msprop:Generator_ColumnVarNameInTable="columndataNascita" msprop:Generator_ColumnPropNameInRow="dataNascita" msprop:Generator_ColumnPropNameInTable="dataNascitaColumn" msprop:Generator_UserColumnName="dataNascita" type="xs:dateTime" minOccurs="0" />
<xs:element name="luogoNascita" msprop:Generator_ColumnVarNameInTable="columnluogoNascita" msprop:Generator_ColumnPropNameInRow="luogoNascita" msprop:Generator_ColumnPropNameInTable="luogoNascitaColumn" msprop:Generator_UserColumnName="luogoNascita" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="provNascita" msprop:Generator_ColumnVarNameInTable="columnprovNascita" msprop:Generator_ColumnPropNameInRow="provNascita" msprop:Generator_ColumnPropNameInTable="provNascitaColumn" msprop:Generator_UserColumnName="provNascita" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nazNascita" msprop:Generator_ColumnVarNameInTable="columnnazNascita" msprop:Generator_ColumnPropNameInRow="nazNascita" msprop:Generator_ColumnPropNameInTable="nazNascitaColumn" msprop:Generator_UserColumnName="nazNascita" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codHw" msprop:Generator_ColumnVarNameInTable="columncodHw" msprop:Generator_ColumnPropNameInRow="codHw" msprop:Generator_ColumnPropNameInTable="codHwColumn" msprop:Generator_UserColumnName="codHw" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codOrario" msprop:Generator_ColumnVarNameInTable="columncodOrario" msprop:Generator_ColumnPropNameInRow="codOrario" msprop:Generator_ColumnPropNameInTable="codOrarioColumn" msprop:Generator_UserColumnName="codOrario" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="mailLastOp" msprop:Generator_ColumnVarNameInTable="columnmailLastOp" msprop:Generator_ColumnPropNameInRow="mailLastOp" msprop:Generator_ColumnPropNameInTable="mailLastOpColumn" msprop:Generator_UserColumnName="mailLastOp" type="xs:boolean" minOccurs="0" />
<xs:element name="mailDay" msprop:Generator_ColumnVarNameInTable="columnmailDay" msprop:Generator_ColumnPropNameInRow="mailDay" msprop:Generator_ColumnPropNameInTable="mailDayColumn" msprop:Generator_UserColumnName="mailDay" type="xs:boolean" minOccurs="0" />
<xs:element name="mailWeek" msprop:Generator_ColumnVarNameInTable="columnmailWeek" msprop:Generator_ColumnPropNameInRow="mailWeek" msprop:Generator_ColumnPropNameInTable="mailWeekColumn" msprop:Generator_UserColumnName="mailWeek" type="xs:boolean" minOccurs="0" />
<xs:element name="mailMonth" msprop:Generator_ColumnVarNameInTable="columnmailMonth" msprop:Generator_ColumnPropNameInRow="mailMonth" msprop:Generator_ColumnPropNameInTable="mailMonthColumn" msprop:Generator_UserColumnName="mailMonth" type="xs:boolean" minOccurs="0" />
<xs:element name="email" msprop:Generator_ColumnVarNameInTable="columnemail" msprop:Generator_ColumnPropNameInRow="email" msprop:Generator_ColumnPropNameInTable="emailColumn" msprop:Generator_UserColumnName="email" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="authKey" msprop:Generator_ColumnVarNameInTable="columnauthKey" msprop:Generator_ColumnPropNameInRow="authKey" msprop:Generator_ColumnPropNameInTable="authKeyColumn" msprop:Generator_UserColumnName="authKey" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="numAuth" msprop:Generator_ColumnVarNameInTable="columnnumAuth" msprop:Generator_ColumnPropNameInRow="numAuth" msprop:Generator_ColumnPropNameInTable="numAuthColumn" msprop:Generator_UserColumnName="numAuth" type="xs:int" minOccurs="0" />
<xs:element name="WOL_MAC" msprop:Generator_ColumnVarNameInTable="columnWOL_MAC" msprop:Generator_ColumnPropNameInRow="WOL_MAC" msprop:Generator_ColumnPropNameInTable="WOL_MACColumn" msprop:Generator_UserColumnName="WOL_MAC" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dominio" msprop:Generator_ColumnVarNameInTable="columndominio" msprop:Generator_ColumnPropNameInRow="dominio" msprop:Generator_ColumnPropNameInTable="dominioColumn" msprop:Generator_UserColumnName="dominio" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="utente" msprop:Generator_ColumnVarNameInTable="columnutente" msprop:Generator_ColumnPropNameInRow="utente" msprop:Generator_ColumnPropNameInTable="utenteColumn" msprop:Generator_UserColumnName="utente" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codDipendenteExt" msprop:Generator_ColumnVarNameInTable="columncodDipendenteExt" msprop:Generator_ColumnPropNameInRow="codDipendenteExt" msprop:Generator_ColumnPropNameInTable="codDipendenteExtColumn" msprop:Generator_UserColumnName="codDipendenteExt" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="gruppo" msprop:Generator_ColumnVarNameInTable="columngruppo" msprop:Generator_ColumnPropNameInRow="gruppo" msprop:Generator_ColumnPropNameInTable="gruppoColumn" msprop:Generator_UserColumnName="gruppo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dataAssunzione" msprop:Generator_ColumnVarNameInTable="columndataAssunzione" msprop:Generator_ColumnPropNameInRow="dataAssunzione" msprop:Generator_ColumnPropNameInTable="dataAssunzioneColumn" msprop:Generator_UserColumnName="dataAssunzione" type="xs:dateTime" minOccurs="0" />
<xs:element name="dataCessazione" msprop:Generator_ColumnVarNameInTable="columndataCessazione" msprop:Generator_ColumnPropNameInRow="dataCessazione" msprop:Generator_ColumnPropNameInTable="dataCessazioneColumn" msprop:Generator_UserColumnName="dataCessazione" type="xs:dateTime" minOccurs="0" />
<xs:element name="attivo" msprop:Generator_ColumnVarNameInTable="columnattivo" msprop:Generator_ColumnPropNameInRow="attivo" msprop:Generator_ColumnPropNameInTable="attivoColumn" msprop:Generator_UserColumnName="attivo" type="xs:boolean" minOccurs="0" />
<xs:element name="SIGLA" msprop:Generator_ColumnVarNameInTable="columnSIGLA" msprop:Generator_ColumnPropNameInRow="SIGLA" msprop:Generator_ColumnPropNameInTable="SIGLAColumn" msprop:Generator_UserColumnName="SIGLA" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="GrpFunz" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnGrpFunz" msprop:Generator_ColumnPropNameInRow="GrpFunz" msprop:Generator_ColumnPropNameInTable="GrpFunzColumn" msprop:Generator_UserColumnName="GrpFunz" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -1530,15 +1838,24 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
<xs:field xpath="mstns:idxDipendente" />
<xs:field xpath="mstns:idxFase" />
</xs:unique>
<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" />
<xs:field xpath="mstns:idxDipendente" />
</xs:unique>
</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="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" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+21 -19
View File
@@ -4,33 +4,35 @@
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="59" ViewPortY="42" 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="55" ViewPortY="362" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:AnagProgetti" ZOrder="16" X="70" Y="54" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="273" />
<Shape ID="DesignTable:AnagFasi" ZOrder="10" X="495" Y="56" Height="533" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
<Shape ID="DesignTable:DatiCommessa" ZOrder="8" X="876" Y="56" Height="533" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="463" />
<Shape ID="DesignTable:DatiCommForn" ZOrder="11" X="1185" Y="69" Height="229" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:DatiCommInteg" ZOrder="12" X="1189" Y="378" Height="248" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:AnagCommFasi" ZOrder="9" X="489" Y="646" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:ElencoFasiExpl" ZOrder="5" X="851" Y="651" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:BdgtRisorseFasi" ZOrder="4" X="235" Y="679" Height="248" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagTipoRisorse" ZOrder="3" X="69" Y="501" Height="153" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:BazaarRisorse" ZOrder="2" X="1178" Y="738" Height="229" Width="284" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:AnagProgetti" ZOrder="18" X="70" Y="36" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="273" />
<Shape ID="DesignTable:AnagFasi" ZOrder="12" X="495" Y="56" Height="533" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
<Shape ID="DesignTable:DatiCommessa" ZOrder="10" X="876" Y="56" Height="533" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="463" />
<Shape ID="DesignTable:DatiCommForn" ZOrder="13" X="1185" Y="69" Height="229" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:DatiCommInteg" ZOrder="14" X="1189" Y="378" Height="248" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:AnagCommFasi" ZOrder="11" X="489" Y="646" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:ElencoFasiExpl" ZOrder="7" X="851" Y="651" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:BdgtRisorseFasi" ZOrder="6" X="235" Y="679" Height="248" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagTipoRisorse" ZOrder="5" X="69" Y="501" Height="153" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:BazaarRisorse" ZOrder="4" X="1186" Y="730" Height="267" Width="253" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:Dip2ATR" ZOrder="2" X="72" Y="939" Height="153" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:Dipendenti" ZOrder="1" X="274" Y="1003" Height="324" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:AnagProgetti_AnagFasi" ZOrder="15" LineWidth="11">
<Connector ID="DesignRelation:AnagProgetti_AnagFasi" ZOrder="17" LineWidth="11">
<RoutePoints>
<Point>
<X>370</X>
<Y>274</Y>
<Y>256</Y>
</Point>
<Point>
<X>495</X>
<Y>274</Y>
<Y>256</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:DatiCommessa_AnagFasi" ZOrder="14" LineWidth="11">
<Connector ID="DesignRelation:DatiCommessa_AnagFasi" ZOrder="16" LineWidth="11">
<RoutePoints>
<Point>
<X>876</X>
@@ -42,7 +44,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:DatiCommessa_DatiCommForn" ZOrder="13" LineWidth="11">
<Connector ID="DesignRelation:DatiCommessa_DatiCommForn" ZOrder="15" LineWidth="11">
<RoutePoints>
<Point>
<X>1107</X>
@@ -54,7 +56,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:DatiCommessa_DatiCommInteg" ZOrder="1" LineWidth="11">
<Connector ID="DesignRelation:DatiCommessa_DatiCommInteg" ZOrder="3" LineWidth="11">
<RoutePoints>
<Point>
<X>1107</X>
@@ -74,7 +76,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:AnagFasi_BdgtRisorseFasi" ZOrder="7" LineWidth="11">
<Connector ID="DesignRelation:AnagFasi_BdgtRisorseFasi" ZOrder="9" LineWidth="11">
<RoutePoints>
<Point>
<X>495</X>
@@ -90,7 +92,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_BdgtRisorseFasi_AnagTipoRisorse" ZOrder="6" LineWidth="11">
<Connector ID="DesignRelation:FK_BdgtRisorseFasi_AnagTipoRisorse" ZOrder="8" LineWidth="11">
<RoutePoints>
<Point>
<X>172</X>
+2 -1
View File
@@ -147,6 +147,7 @@
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
<Compile Include="SearchAndReplace.cs" />
<Compile Include="Type\BazaarRes.cs" />
<Compile Include="user_std.cs" />
<Compile Include="utils.cs" />
</ItemGroup>
@@ -198,7 +199,7 @@
<None Include="Ds_ProjEts.xsd">
<SubType>Designer</SubType>
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>Ds_ProjEts.Designer.cs</LastGenOutput>
<LastGenOutput>Ds_ProjEts1.Designer.cs</LastGenOutput>
</None>
<None Include="Ds_ProjEts.xss">
<DependentUpon>Ds_ProjEts.xsd</DependentUpon>
+43
View File
@@ -0,0 +1,43 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ETS_Data.Type
{
public class BazaarRes
{
/// <summary>
/// Inizializza l'oggetto con i valori dichiarati
/// </summary>
/// <param name="label">label da mostrare</param>
/// <param name="tooltip">tooltip da mostrare</param>
/// <param name="css">css da applicare</param>
/// <param name="idxDip">idx dipendente</param>
/// <param name="idxFase">idx della commessa(=fase)</param>
/// <param name="schemaWeek">schema settimanale</param>
/// <param name="oreTot">ore tot allocate in slot</param>
public BazaarRes(string label, string tooltip, string css, int idxDip, string nomeDip, string siglaDip, int idxFase, string schemaWeek, int oreTot)
{
Label = label;
ToolTip = tooltip;
Css = css;
IdxDipendente = idxDip;
NomeDip = nomeDip;
SiglaDip = siglaDip;
IdxFase = idxFase;
SchemaWeek = schemaWeek;
OreTot = oreTot;
}
public string Label { get; set; }
public string ToolTip { get; set; }
public string Css { get; set; }
public int IdxDipendente { get; set; }
public string NomeDip { get; set; }
public string SiglaDip { get; set; }
public int IdxFase { get; set; }
public string SchemaWeek { get; set; }
public int OreTot { get; set; }
}
}
+1
View File
@@ -899,6 +899,7 @@ div > ul > li > a.selected.menuNav {
/* end zona placard*/
/* zona colorazione filtri */
.filtro_1 {
background-color: #8888ff;
}
@@ -42,8 +42,8 @@
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:CheckBox ID="chkSelect" runat="server" />
<asp:Label runat="server" Visible="false" ID="lblValue" Text='<%# Eval("value") %>' />
<asp:CheckBox ID="chkSelect" runat="server" />
<asp:Label runat="server" Visible="false" ID="lblValue" Text='<%# Eval("value") %>' />
</ItemTemplate>
<HeaderTemplate>
<asp:CheckBox ID="btnSelAll" runat="server" Checked="false" ToolTip="Seleziona tutti" OnCheckedChanged="btnSelAll_Click" AutoPostBack="true" />
@@ -69,36 +69,21 @@
<asp:Button runat="server" ID="btnAddSelected" CssClass="btnNew" Text="Aggiungi selezionati" OnClick="btnAddSelected_Click" />
</div>
</asp:Panel>
<div class="divx"></div>
<div class="divSx fontPiccolo ui-corner-all shadowBox" style="text-align: center;">
<asp:Table runat="server" ID="tblBlocco" Width="100%" CellPadding="0" CellSpacing="0">
</asp:Table>
</div>
<div style="text-align: center;">
<asp:Button runat="server" ID="btnReset" Text="reset" Width="200px" OnClick="btnReset_Click"
Visible="false" />
</div>
</div>
<p>
Pianificazione settimanale
</p>
<p>
&nbsp;
button &quot;+&quot; x aggiungere progetti (x tutti i dipendenti &quot;marcati&quot; da dip2ATR)
</p>
<p>
quando creo su &quot;+&quot; mostro un elenco progetti ATTIVI, potrebbe venire ordianto per
</p>
<p>
- ore erogate last week/month
</p>
<p>
- data di creazione desc
</p>
<p>
&nbsp;
</p>
<p>
deve peremttere ricerca e con &quot;enter&quot; dare l&#39;ok ad inserire = creare 1 record &quot;0&quot; per ogni dip x quel progetto
</p>
<p>
ogni progetto inserito deve poter essere anche tolto (con conferma)
</p>
<p>
&nbsp;
</p>
<p>
avrò una vista che fa &quot;pivot&quot; dei dati della sett/anno indicati, con
</p>
@@ -14,6 +14,21 @@ namespace PROJ_ETS.WebUserControls
/// evento nuovi valori caricati
/// </summary>
public event EventHandler eh_newVal;
protected int numDip = 0;
protected int numComm = 0;
protected int IdxDipSel = 0;
protected int IdxFaseSel = 0;
protected ETS_Data.Type.BazaarRes[,] TabellaRisorse;
/// <summary>
/// istante corrente
/// </summary>
protected DateTime adesso
{
get
{
return DateTime.Now;
}
}
/// <summary>
/// caricamento pagina
/// </summary>
@@ -23,18 +38,323 @@ namespace PROJ_ETS.WebUserControls
{
if (!Page.IsPostBack)
{
DateTime adesso = DateTime.Now;
ddlAnno.SelectedValue = adesso.Year.ToString();
ddlWeek.SelectedValue = (datario.WeekOfYearISO8601(adesso) + 1).ToString();
showPnlAddNewComm(false);
}
doUpdate();
}
/// <summary>
/// esegue update controllo
/// </summary>
public void doUpdate()
{
caricaDatiBlocco();
aggiornaCelleOccupate();
creaLabelTooltipCelle();
disegnaTabella();
}
/// <summary>
/// anno selezionato
/// </summary>
protected int anno
{
get
{
int answ = adesso.Year;
try
{
answ = Convert.ToInt32(ddlAnno.SelectedValue);
}
catch
{ }
return answ;
}
}
/// <summary>
/// settimana selezionato
/// </summary>
protected int settimana
{
get
{
int answ = datario.WeekOfYearISO8601(adesso) + 1;
try
{
answ = Convert.ToInt32(ddlWeek.SelectedValue);
}
catch
{ }
return answ;
}
}
/// <summary>
/// carica i dati del blocco in un oggetto BlockMap (compreso attive/inattive)
/// </summary>
private void caricaDatiBlocco()
{
int totCelle = 0;
int idxDip = 0;
// recupero il numero di TUTTE le celle
Ds_ProjEts.BazaarRisorseDataTable tabBaz = new Ds_ProjEts.BazaarRisorseDataTable();
Ds_ProjEts.BazaarRisorseDataTable tabBazSingle = new Ds_ProjEts.BazaarRisorseDataTable();
Ds_ProjEts.DipendentiDataTable tabDip = new Ds_ProjEts.DipendentiDataTable();
Ds_ProjEts.BazaarRisorseRow rigaBaz;
try
{
// carico TUTTE le celle del bazaar...
tabBaz = DataProxy_ProjEts.DP.taBaz.getByAnnoSett(anno, settimana);
// calcolo il primo dip
idxDip = tabBaz[0].idxDipendente;
// calcolo num celel totali
totCelle = tabBaz.Rows.Count;
// calcolo numero commesse!
tabBazSingle = DataProxy_ProjEts.DP.taBaz.getByAnnoSettDip(anno, settimana, idxDip);
numComm = tabBazSingle.Rows.Count;
// calcolo num commesse!
numDip = totCelle / numComm;
}
catch
{ }
if (numDip > 0 && numComm > 0)
{
// inizializzo il mio array...
TabellaRisorse = new ETS_Data.Type.BazaarRes[numDip, numComm];
// carico 2 array di valori: elenco dipendenti (raggruppato x tipo) ed elenco commesse...
tabDip = DataProxy_ProjEts.DP.taDip.GetData();
// carico i dati nell'array: di default tutto VUOTO, con posizione attiva...
for (int pos_y = 0; pos_y < numComm; pos_y++)
{
for (int pos_x = 0; pos_x < numDip; pos_x++)
{
// carico valori x la singola cella
rigaBaz = (Ds_ProjEts.BazaarRisorseRow)tabBaz.Select(string.Format("idxDipendente={0} AND idxFase={1}", tabDip[pos_x].idxDipendente, tabBazSingle[pos_y].idxFase))[0];
//TabellaRisorse[pos_x, pos_y] = new ETS_Data.Type.BazaarRes(rigaBaz.SchemaWeek, "LMMGV", "cellaLibera", rigaBaz.idxDipendente, rigaBaz.idxFase, rigaBaz.SchemaWeek, rigaBaz.OreTot);
}
}
}
}
/// <summary>
/// Aggiorna la mappa con le celle occupate
/// </summary>
private void aggiornaCelleOccupate()
{
#if false
// carico il magazzino logico da visualizzare (oppure tutti...)
CodMagLogico = memLayer.ML.IntSessionObj("CodMagLogico_sel");
// carico altri dati da sessione
string ParticolareSel = memLayer.ML.StringSessionObj("Particolare_sel");
string DescStatoSel = memLayer.ML.StringSessionObj("DescStato_sel");
string EsponenteSel = memLayer.ML.StringSessionObj("Esponente_sel");
// ottengo elenco dettaglio UDC che occupano il blocco...
DS_magazzino.v_UdcDetailDataTable tabUdc = MagClass.magazzino.taDettUDC.getUdcDetailByIdxBlocco(IdxBlocco);
// SE è filtrato x mag logico utilizza altro metodo...
if (CodMagLogico != -1)
{
tabUdc = MagClass.magazzino.taDettUDC.getByIdxBloccoCodMagLog(IdxBlocco, CodMagLogico);
}
// controllo se sia un magazzino mono o multicella...
bool multicella = MagClass.magazzino.taCelle.getByIdxBlocco(IdxBlocco).Rows.Count > 1;
// SE ci sono righe aggiorno il blocco...
if (tabUdc.Rows.Count > 0)
{
// ...sovrascrivo valori di default
foreach (DS_magazzino.v_UdcDetailRow riga in tabUdc)
{
// salvo che ho 1 UDC in + nella cella...
TabellaRisorse[riga.X - 1, riga.Y - 1].NumUdc++;
// controllo se nella cella ci sia il particolare selezionato...
if (ParticolareSel == riga.Particolare && multicella)
{
// controllo se sia anche lo specifico esponente/stato
if (DescStatoSel == riga.DescStato && EsponenteSel == riga.Esponente)
{
TabellaRisorse[riga.X - 1, riga.Y - 1].Css = "cellaSelezDett";
}
else
{
TabellaRisorse[riga.X - 1, riga.Y - 1].Css = "cellaSelezAll";
}
}
else
{
// se NON C'E' alcun particolare selezionato ... controllo il blocco!
if (TabellaRisorse[riga.X - 1, riga.Y - 1].Piena)
{
TabellaRisorse[riga.X - 1, riga.Y - 1].Css = "cellaPiena";
}
else
{
TabellaRisorse[riga.X - 1, riga.Y - 1].Css = "cellaOccupata";
}
}
TabellaRisorse[riga.X - 1, riga.Y - 1].ToolTip += string.Format("{2} - {0} {1:#}pz{3}", riga.UDC, riga.Qta, riga.Particolare, Environment.NewLine);
}
}
#endif
}
/// <summary>
/// Aggiorna la mappa celle x label e tooltip
/// </summary>
private void creaLabelTooltipCelle()
{
#if false
// ...in base al setup mostro anche il disponibile o meno...
string formato = "";
if (memLayer.ML.confReadBool("showSizeCellaInDettMag"))
{
formato = "<b>{0}</b><br/>{1}";
}
else
{
formato = "<b>{0}</b>";
}
// faccio ciclo x ogni oggetto blocco..
for (int pos_y = 0; pos_y < numY; pos_y++)
{
for (int pos_x = 0; pos_x < numX; pos_x++)
{
// calcolo la capacità della cella... e mostro secondo formato definito prima
TabellaRisorse[pos_x, pos_y].Label = string.Format(formato, TabellaRisorse[pos_x, pos_y].NumUdc, TabellaRisorse[pos_x, pos_y].Capacita);
// se è attiva = 0 aggiorno label
if (!TabellaRisorse[pos_x, pos_y].Attiva)
{
TabellaRisorse[pos_x, pos_y].Css = "cellaInattiva";
//TabellaRisorse[pos_x, pos_y].Label = string.Format("[{0}]", TabellaRisorse[pos_x, pos_y].Label);
// ... e tooltip
TabellaRisorse[pos_x, pos_y].ToolTip = string.Format("{0}{1}{2}", traduci("CellaInattiva"), Environment.NewLine, TabellaRisorse[pos_x, pos_y].ToolTip);
}
}
}
#endif
}
/// <summary>
/// disegna la riga di intestazione/chiusura x dipendenti
/// </summary>
/// <param name="showOre">true = mostra totale ore / false = mostra sigla dip + nome/cognome tooltip</param>
private void setupRigaDip(bool showOre)
{
TableRow riga = new TableRow();
TableCell cell;
// cella vuota iniziale
cell = new TableCell();
riga.Cells.Add(cell);
// celle con numeri
for (int pos_x = 0; pos_x < numDip; pos_x++)
{
cell = new TableCell();
cell.CssClass = "cellaBianca";
cell.Text = string.Format("{0:0#}", pos_x + 1);
cell.ToolTip = "";
riga.Cells.Add(cell);
}
// cella vuota finale
cell = new TableCell();
riga.Cells.Add(cell);
// aggiungo riga!
tblBlocco.Rows.Add(riga);
}
/// <summary>
/// crea una cella per il numero dei livelli
/// </summary>
/// <param name="pos_y"></param>
/// <param name="riga"></param>
/// <returns></returns>
private static TableCell setupCellaConteggioY(int pos_y, TableRow riga)
{
TableCell cell;
cell = new TableCell();
cell.CssClass = "cellaBianca";
cell.Text = string.Format("{0:0#}", pos_y + 1);
cell.ToolTip = "";
riga.Cells.Add(cell);
return cell;
}
/// <summary>
/// intercetta richiesta di zoom e zoomma sull'Udc in esame...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void lnkb_Click(object sender, EventArgs e)
{
LinkButton lnk = (LinkButton)sender;
// calcolo i parametri passati
#if false
string[] valori = SteamWare.StringSplitter.CSplitter.Split(lnk.CommandArgument.ToString(), "#", true, 2, SteamWare.StringSplitter.ComparisonMethod.Text);
// setto i valori in sessione
IdxCella = Convert.ToInt32(valori[0]);
memLayer.ML.setSessionVal("IdxCellaMag", valori[0], false);
memLayer.ML.setSessionVal("CodCellaMag", valori[1], false);
// evento selezione che passa dati al modulo operazioniUdc
if (eh_selValore != null)
{
eh_selValore(this, new EventArgs());
}
Response.Redirect("~/DettaglioBlocco.aspx");
#endif
}
/// <summary>
/// esegue il vero plotting della tabella
/// </summary>
private void disegnaTabella()
{
bool tabPresente = tblBlocco.Rows.Count > 0;
if (tabPresente)
{
tblBlocco.Rows.Clear();
}
// metto prima riga con indicazione valori NUMERICI delle colonne
setupRigaDip(false);
// ciclo nel mio array e creo di conseguenza le celle di tabella
for (int pos_y = numComm - 1; pos_y >= 0; pos_y--)
{
TableRow riga = new TableRow();
TableCell cell;
// cella con numero livello
cell = setupCellaConteggioY(pos_y, riga);
for (int pos_x = 0; pos_x < numDip; pos_x++)
{
cell = new TableCell();
cell.CssClass = TabellaRisorse[pos_x, pos_y].Css;
// aggiungo button x fare elemento cliccabile
LinkButton lnkb = new LinkButton();
lnkb.ToolTip = TabellaRisorse[pos_x, pos_y].ToolTip;
lnkb.Text = TabellaRisorse[pos_x, pos_y].Label;
lnkb.Click += new EventHandler(lnkb_Click);
lnkb.CommandArgument = string.Format("{0}#{1}", TabellaRisorse[pos_x, pos_y].IdxDipendente, TabellaRisorse[pos_x, pos_y].IdxFase);
// controllo se la cella è selezionata, nel caso BOLD!
if (TabellaRisorse[pos_x, pos_y].IdxDipendente == IdxDipSel && TabellaRisorse[pos_x, pos_y].IdxFase == IdxFaseSel)
{
cell.CssClass = "selectedCell";
btnReset.Visible = true;
}
cell.Controls.Add(lnkb);
// carico in cella di tabella il linkButton
riga.Cells.Add(cell);
}
cell = setupCellaConteggioY(pos_y, riga);
tblBlocco.Rows.Add(riga);
}
// metto ultima riga con indicazione valori NUMERICI del totale ore x dipendente
setupRigaDip(true);
}
/// <summary>
/// gestione visualizzaizone pannello elenco commesse da inserire
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnAddNew_Click(object sender, EventArgs e)
{
showPnlAddNewComm(!pnlAddNew.Visible);
}
/// <summary>
/// controllo visibilità pannello
/// </summary>
/// <param name="showPnlNew"></param>
private void showPnlAddNewComm(bool showPnlNew)
{
pnlAddNew.Visible = showPnlNew;
@@ -125,5 +445,19 @@ namespace PROJ_ETS.WebUserControls
eh_newVal(this, new EventArgs());
}
}
/// <summary>
/// resetta disegno
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnReset_Click(object sender, EventArgs e)
{
#if false
memLayer.ML.emptySessionVal("IdxCellaMag");
memLayer.ML.emptySessionVal("CodCellaMag");
Response.Redirect("~/DettaglioBlocco.aspx");
#endif
}
}
}
@@ -110,5 +110,23 @@ namespace PROJ_ETS.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btnAddSelected;
/// <summary>
/// tblBlocco control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Table tblBlocco;
/// <summary>
/// btnReset control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btnReset;
}
}
Binary file not shown.
Binary file not shown.