sistemata intestazione tabelal bazaar...

This commit is contained in:
Samuele Locatelli
2013-09-04 18:31:45 +02:00
parent 34935e3555
commit fa92454d03
6 changed files with 47 additions and 60 deletions
+20 -39
View File
@@ -1116,7 +1116,7 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
<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>
<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 FROM Dipendenti</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
@@ -1150,20 +1150,8 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
<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>
<Sources />
</TableAdapter>
</Tables>
<Sources />
@@ -1173,7 +1161,7 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
<xs:element name="Ds_ProjEts" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="Ds_ProjEts" msprop:Generator_UserDSName="Ds_ProjEts">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="AnagProgetti" msprop:Generator_TableClassName="AnagProgettiDataTable" msprop:Generator_TableVarName="tableAnagProgetti" msprop:Generator_TablePropName="AnagProgetti" msprop:Generator_RowDeletingName="AnagProgettiRowDeleting" msprop:Generator_RowChangingName="AnagProgettiRowChanging" msprop:Generator_RowEvHandlerName="AnagProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgettiRowDeleted" msprop:Generator_UserTableName="AnagProgetti" msprop:Generator_RowChangedName="AnagProgettiRowChanged" msprop:Generator_RowEvArgName="AnagProgettiRowChangeEvent" msprop:Generator_RowClassName="AnagProgettiRow">
<xs:element name="AnagProgetti" msprop:Generator_TableClassName="AnagProgettiDataTable" msprop:Generator_TableVarName="tableAnagProgetti" msprop:Generator_RowChangedName="AnagProgettiRowChanged" msprop:Generator_TablePropName="AnagProgetti" msprop:Generator_RowDeletingName="AnagProgettiRowDeleting" msprop:Generator_RowChangingName="AnagProgettiRowChanging" msprop:Generator_RowEvHandlerName="AnagProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgettiRowDeleted" msprop:Generator_RowClassName="AnagProgettiRow" msprop:Generator_UserTableName="AnagProgetti" msprop:Generator_RowEvArgName="AnagProgettiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxProgetto" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxProgetto" msprop:Generator_ColumnPropNameInRow="idxProgetto" msprop:Generator_ColumnPropNameInTable="idxProgettoColumn" msprop:Generator_UserColumnName="idxProgetto" type="xs:int" />
@@ -1216,7 +1204,7 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent" msprop:Generator_RowClassName="AnagFasiRow">
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_RowClassName="AnagFasiRow" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -1266,7 +1254,7 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DatiCommessa" msprop:Generator_TableClassName="DatiCommessaDataTable" msprop:Generator_TableVarName="tableDatiCommessa" msprop:Generator_TablePropName="DatiCommessa" msprop:Generator_RowDeletingName="DatiCommessaRowDeleting" msprop:Generator_RowChangingName="DatiCommessaRowChanging" msprop:Generator_RowEvHandlerName="DatiCommessaRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommessaRowDeleted" msprop:Generator_UserTableName="DatiCommessa" msprop:Generator_RowChangedName="DatiCommessaRowChanged" msprop:Generator_RowEvArgName="DatiCommessaRowChangeEvent" msprop:Generator_RowClassName="DatiCommessaRow">
<xs:element name="DatiCommessa" msprop:Generator_TableClassName="DatiCommessaDataTable" msprop:Generator_TableVarName="tableDatiCommessa" msprop:Generator_RowChangedName="DatiCommessaRowChanged" msprop:Generator_TablePropName="DatiCommessa" msprop:Generator_RowDeletingName="DatiCommessaRowDeleting" msprop:Generator_RowChangingName="DatiCommessaRowChanging" msprop:Generator_RowEvHandlerName="DatiCommessaRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommessaRowDeleted" msprop:Generator_RowClassName="DatiCommessaRow" msprop:Generator_UserTableName="DatiCommessa" msprop:Generator_RowEvArgName="DatiCommessaRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -1355,7 +1343,7 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DatiCommForn" msprop:Generator_TableClassName="DatiCommFornDataTable" msprop:Generator_TableVarName="tableDatiCommForn" msprop:Generator_RowChangedName="DatiCommFornRowChanged" msprop:Generator_TablePropName="DatiCommForn" msprop:Generator_RowDeletingName="DatiCommFornRowDeleting" msprop:Generator_RowChangingName="DatiCommFornRowChanging" msprop:Generator_RowEvHandlerName="DatiCommFornRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommFornRowDeleted" msprop:Generator_RowClassName="DatiCommFornRow" msprop:Generator_UserTableName="DatiCommForn" msprop:Generator_RowEvArgName="DatiCommFornRowChangeEvent">
<xs:element name="DatiCommForn" msprop:Generator_TableClassName="DatiCommFornDataTable" msprop:Generator_TableVarName="tableDatiCommForn" msprop:Generator_TablePropName="DatiCommForn" msprop:Generator_RowDeletingName="DatiCommFornRowDeleting" msprop:Generator_RowChangingName="DatiCommFornRowChanging" msprop:Generator_RowEvHandlerName="DatiCommFornRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommFornRowDeleted" msprop:Generator_UserTableName="DatiCommForn" msprop:Generator_RowChangedName="DatiCommFornRowChanged" msprop:Generator_RowEvArgName="DatiCommFornRowChangeEvent" msprop:Generator_RowClassName="DatiCommFornRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDCF" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxDCF" msprop:Generator_ColumnPropNameInRow="idxDCF" msprop:Generator_ColumnPropNameInTable="idxDCFColumn" msprop:Generator_UserColumnName="idxDCF" type="xs:int" />
@@ -1399,7 +1387,7 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DatiCommInteg" msprop:Generator_TableClassName="DatiCommIntegDataTable" msprop:Generator_TableVarName="tableDatiCommInteg" msprop:Generator_RowChangedName="DatiCommIntegRowChanged" msprop:Generator_TablePropName="DatiCommInteg" msprop:Generator_RowDeletingName="DatiCommIntegRowDeleting" msprop:Generator_RowChangingName="DatiCommIntegRowChanging" msprop:Generator_RowEvHandlerName="DatiCommIntegRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommIntegRowDeleted" msprop:Generator_RowClassName="DatiCommIntegRow" msprop:Generator_UserTableName="DatiCommInteg" msprop:Generator_RowEvArgName="DatiCommIntegRowChangeEvent">
<xs:element name="DatiCommInteg" msprop:Generator_TableClassName="DatiCommIntegDataTable" msprop:Generator_TableVarName="tableDatiCommInteg" msprop:Generator_TablePropName="DatiCommInteg" msprop:Generator_RowDeletingName="DatiCommIntegRowDeleting" msprop:Generator_RowChangingName="DatiCommIntegRowChanging" msprop:Generator_RowEvHandlerName="DatiCommIntegRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommIntegRowDeleted" msprop:Generator_UserTableName="DatiCommInteg" msprop:Generator_RowChangedName="DatiCommIntegRowChanged" msprop:Generator_RowEvArgName="DatiCommIntegRowChangeEvent" msprop:Generator_RowClassName="DatiCommIntegRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDCI" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxDCI" msprop:Generator_ColumnPropNameInRow="idxDCI" msprop:Generator_ColumnPropNameInTable="idxDCIColumn" msprop:Generator_UserColumnName="idxDCI" type="xs:int" />
@@ -1444,7 +1432,7 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagCommFasi" msprop:Generator_TableClassName="AnagCommFasiDataTable" msprop:Generator_TableVarName="tableAnagCommFasi" msprop:Generator_RowChangedName="AnagCommFasiRowChanged" msprop:Generator_TablePropName="AnagCommFasi" msprop:Generator_RowDeletingName="AnagCommFasiRowDeleting" msprop:Generator_RowChangingName="AnagCommFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagCommFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagCommFasiRowDeleted" msprop:Generator_RowClassName="AnagCommFasiRow" msprop:Generator_UserTableName="AnagCommFasi" msprop:Generator_RowEvArgName="AnagCommFasiRowChangeEvent">
<xs:element name="AnagCommFasi" msprop:Generator_TableClassName="AnagCommFasiDataTable" msprop:Generator_TableVarName="tableAnagCommFasi" msprop:Generator_TablePropName="AnagCommFasi" msprop:Generator_RowDeletingName="AnagCommFasiRowDeleting" msprop:Generator_RowChangingName="AnagCommFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagCommFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagCommFasiRowDeleted" msprop:Generator_UserTableName="AnagCommFasi" msprop:Generator_RowChangedName="AnagCommFasiRowChanged" msprop:Generator_RowEvArgName="AnagCommFasiRowChangeEvent" msprop:Generator_RowClassName="AnagCommFasiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxProgetto" msprop:Generator_ColumnVarNameInTable="columnidxProgetto" msprop:Generator_ColumnPropNameInRow="idxProgetto" msprop:Generator_ColumnPropNameInTable="idxProgettoColumn" msprop:Generator_UserColumnName="idxProgetto" type="xs:int" minOccurs="0" />
@@ -1524,7 +1512,7 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoFasiExpl" msprop:Generator_TableClassName="ElencoFasiExplDataTable" msprop:Generator_TableVarName="tableElencoFasiExpl" msprop:Generator_TablePropName="ElencoFasiExpl" msprop:Generator_RowDeletingName="ElencoFasiExplRowDeleting" msprop:Generator_RowChangingName="ElencoFasiExplRowChanging" msprop:Generator_RowEvHandlerName="ElencoFasiExplRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoFasiExplRowDeleted" msprop:Generator_UserTableName="ElencoFasiExpl" msprop:Generator_RowChangedName="ElencoFasiExplRowChanged" msprop:Generator_RowEvArgName="ElencoFasiExplRowChangeEvent" msprop:Generator_RowClassName="ElencoFasiExplRow">
<xs:element name="ElencoFasiExpl" msprop:Generator_TableClassName="ElencoFasiExplDataTable" msprop:Generator_TableVarName="tableElencoFasiExpl" msprop:Generator_RowChangedName="ElencoFasiExplRowChanged" msprop:Generator_TablePropName="ElencoFasiExpl" msprop:Generator_RowDeletingName="ElencoFasiExplRowDeleting" msprop:Generator_RowChangingName="ElencoFasiExplRowChanging" msprop:Generator_RowEvHandlerName="ElencoFasiExplRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoFasiExplRowDeleted" msprop:Generator_RowClassName="ElencoFasiExplRow" msprop:Generator_UserTableName="ElencoFasiExpl" msprop:Generator_RowEvArgName="ElencoFasiExplRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -1572,7 +1560,7 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BdgtRisorseFasi" msprop:Generator_TableClassName="BdgtRisorseFasiDataTable" msprop:Generator_TableVarName="tableBdgtRisorseFasi" msprop:Generator_RowChangedName="BdgtRisorseFasiRowChanged" msprop:Generator_TablePropName="BdgtRisorseFasi" msprop:Generator_RowDeletingName="BdgtRisorseFasiRowDeleting" msprop:Generator_RowChangingName="BdgtRisorseFasiRowChanging" msprop:Generator_RowEvHandlerName="BdgtRisorseFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="BdgtRisorseFasiRowDeleted" msprop:Generator_RowClassName="BdgtRisorseFasiRow" msprop:Generator_UserTableName="BdgtRisorseFasi" msprop:Generator_RowEvArgName="BdgtRisorseFasiRowChangeEvent">
<xs:element name="BdgtRisorseFasi" msprop:Generator_TableClassName="BdgtRisorseFasiDataTable" msprop:Generator_TableVarName="tableBdgtRisorseFasi" msprop:Generator_TablePropName="BdgtRisorseFasi" msprop:Generator_RowDeletingName="BdgtRisorseFasiRowDeleting" msprop:Generator_RowChangingName="BdgtRisorseFasiRowChanging" msprop:Generator_RowEvHandlerName="BdgtRisorseFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="BdgtRisorseFasiRowDeleted" msprop:Generator_UserTableName="BdgtRisorseFasi" msprop:Generator_RowChangedName="BdgtRisorseFasiRowChanged" msprop:Generator_RowEvArgName="BdgtRisorseFasiRowChangeEvent" msprop:Generator_RowClassName="BdgtRisorseFasiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -1589,7 +1577,7 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagTipoRisorse" msprop:Generator_TableClassName="AnagTipoRisorseDataTable" msprop:Generator_TableVarName="tableAnagTipoRisorse" msprop:Generator_RowChangedName="AnagTipoRisorseRowChanged" msprop:Generator_TablePropName="AnagTipoRisorse" msprop:Generator_RowDeletingName="AnagTipoRisorseRowDeleting" msprop:Generator_RowChangingName="AnagTipoRisorseRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoRisorseRowDeleted" msprop:Generator_RowClassName="AnagTipoRisorseRow" msprop:Generator_UserTableName="AnagTipoRisorse" msprop:Generator_RowEvArgName="AnagTipoRisorseRowChangeEvent">
<xs:element name="AnagTipoRisorse" msprop:Generator_TableClassName="AnagTipoRisorseDataTable" msprop:Generator_TableVarName="tableAnagTipoRisorse" msprop:Generator_TablePropName="AnagTipoRisorse" msprop:Generator_RowDeletingName="AnagTipoRisorseRowDeleting" msprop:Generator_RowChangingName="AnagTipoRisorseRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoRisorseRowDeleted" msprop:Generator_UserTableName="AnagTipoRisorse" msprop:Generator_RowChangedName="AnagTipoRisorseRowChanged" msprop:Generator_RowEvArgName="AnagTipoRisorseRowChangeEvent" msprop:Generator_RowClassName="AnagTipoRisorseRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodTipoRisorsa" msprop:Generator_ColumnVarNameInTable="columnCodTipoRisorsa" msprop:Generator_ColumnPropNameInRow="CodTipoRisorsa" msprop:Generator_ColumnPropNameInTable="CodTipoRisorsaColumn" msprop:Generator_UserColumnName="CodTipoRisorsa">
@@ -1610,7 +1598,7 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
</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" />
@@ -1629,7 +1617,7 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Dip2ATR" msprop:Generator_TableClassName="Dip2ATRDataTable" msprop:Generator_TableVarName="tableDip2ATR" msprop:Generator_TablePropName="Dip2ATR" msprop:Generator_RowDeletingName="Dip2ATRRowDeleting" msprop:Generator_RowChangingName="Dip2ATRRowChanging" msprop:Generator_RowEvHandlerName="Dip2ATRRowChangeEventHandler" msprop:Generator_RowDeletedName="Dip2ATRRowDeleted" msprop:Generator_UserTableName="Dip2ATR" msprop:Generator_RowChangedName="Dip2ATRRowChanged" msprop:Generator_RowEvArgName="Dip2ATRRowChangeEvent" msprop:Generator_RowClassName="Dip2ATRRow">
<xs:element name="Dip2ATR" msprop:Generator_TableClassName="Dip2ATRDataTable" msprop:Generator_TableVarName="tableDip2ATR" msprop:Generator_RowChangedName="Dip2ATRRowChanged" msprop:Generator_TablePropName="Dip2ATR" msprop:Generator_RowDeletingName="Dip2ATRRowDeleting" msprop:Generator_RowChangingName="Dip2ATRRowChanging" msprop:Generator_RowEvHandlerName="Dip2ATRRowChangeEventHandler" msprop:Generator_RowDeletedName="Dip2ATRRowDeleted" msprop:Generator_RowClassName="Dip2ATRRow" msprop:Generator_UserTableName="Dip2ATR" msprop:Generator_RowEvArgName="Dip2ATRRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
@@ -1650,7 +1638,7 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Dipendenti" msprop:Generator_TableClassName="DipendentiDataTable" msprop:Generator_TableVarName="tableDipendenti" msprop:Generator_TablePropName="Dipendenti" msprop:Generator_RowDeletingName="DipendentiRowDeleting" msprop:Generator_RowChangingName="DipendentiRowChanging" msprop:Generator_RowEvHandlerName="DipendentiRowChangeEventHandler" msprop:Generator_RowDeletedName="DipendentiRowDeleted" msprop:Generator_UserTableName="Dipendenti" msprop:Generator_RowChangedName="DipendentiRowChanged" msprop:Generator_RowEvArgName="DipendentiRowChangeEvent" msprop:Generator_RowClassName="DipendentiRow">
<xs:element name="Dipendenti" msprop:Generator_TableClassName="DipendentiDataTable" msprop:Generator_TableVarName="tableDipendenti" msprop:Generator_RowChangedName="DipendentiRowChanged" msprop:Generator_TablePropName="Dipendenti" msprop:Generator_RowDeletingName="DipendentiRowDeleting" msprop:Generator_RowChangingName="DipendentiRowChanging" msprop:Generator_RowEvHandlerName="DipendentiRowChangeEventHandler" msprop:Generator_RowDeletedName="DipendentiRowDeleted" msprop:Generator_RowClassName="DipendentiRow" msprop:Generator_UserTableName="Dipendenti" msprop:Generator_RowEvArgName="DipendentiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
@@ -1782,13 +1770,6 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
</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>
@@ -1850,12 +1831,12 @@ SELECT idxDipendente, CodTipoRisorsa, Gruppo FROM Dip2ATR WHERE (CodTipoRisorsa
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="AnagProgetti_AnagFasi" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="AnagProgetti_AnagFasi" msprop:Generator_ParentPropName="AnagProgettiRow" msprop:Generator_RelationVarName="relationAnagProgetti_AnagFasi" msprop:Generator_UserParentTable="AnagProgetti" />
<msdata:Relationship name="DatiCommessa_AnagFasi" msdata:parent="DatiCommessa" msdata:child="AnagFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="DatiCommessa_AnagFasi" msprop:Generator_RelationVarName="relationDatiCommessa_AnagFasi" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
<msdata:Relationship name="DatiCommessa_DatiCommForn" msdata:parent="DatiCommessa" msdata:child="DatiCommForn" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommForn" msprop:Generator_ChildPropName="GetDatiCommFornRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommForn" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommForn" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
<msdata:Relationship name="DatiCommessa_DatiCommInteg" msdata:parent="DatiCommessa" msdata:child="DatiCommInteg" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommInteg" msprop:Generator_ChildPropName="GetDatiCommIntegRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommInteg" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommInteg" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
<msdata:Relationship name="AnagFasi_BdgtRisorseFasi" msdata:parent="AnagFasi" msdata:child="BdgtRisorseFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="AnagFasi_BdgtRisorseFasi" msprop:Generator_RelationVarName="relationAnagFasi_BdgtRisorseFasi" msprop:Generator_UserParentTable="AnagFasi" msprop:Generator_ParentPropName="AnagFasiRow" />
<msdata:Relationship name="FK_BdgtRisorseFasi_AnagTipoRisorse" msdata:parent="AnagTipoRisorse" msdata:child="BdgtRisorseFasi" msdata:parentkey="CodTipoRisorsa" msdata:childkey="CodTipoRisorsa" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="FK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_ParentPropName="AnagTipoRisorseRow" msprop:Generator_RelationVarName="relationFK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_UserParentTable="AnagTipoRisorse" />
<msdata:Relationship name="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" />
</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="55" ViewPortY="362" 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="361" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<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" />
@@ -17,7 +17,7 @@
<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" />
<Shape ID="DesignTable:Dipendenti" ZOrder="1" X="274" Y="1003" Height="305" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:AnagProgetti_AnagFasi" ZOrder="17" LineWidth="11">
@@ -82,15 +82,5 @@
Pianificazione settimanale
</p>
<p>
ogni progetto inserito deve poter essere anche tolto (con conferma)
ogni progetto inserito deve poter essere anche tolto (con conferma) - dx
</p>
<p>
avrò una vista che fa &quot;pivot&quot; dei dati della sett/anno indicati, con
</p>
<p>
righe = progetti
</p>
<p>
colonne = dip
</p>
@@ -19,6 +19,8 @@ namespace PROJ_ETS.WebUserControls
protected int IdxDipSel = 0;
protected int IdxFaseSel = 0;
protected ETS_Data.Type.BazaarRes[,] TabellaRisorse;
protected Ds_ProjEts.DipendentiDataTable tabDip = new Ds_ProjEts.DipendentiDataTable();
protected Ds_ProjEts.Dip2ATRDataTable tabD2ATR = new Ds_ProjEts.Dip2ATRDataTable();
/// <summary>
/// istante corrente
/// </summary>
@@ -42,6 +44,10 @@ namespace PROJ_ETS.WebUserControls
ddlWeek.SelectedValue = (datario.WeekOfYearISO8601(adesso) + 1).ToString();
showPnlAddNewComm(false);
}
// carico tabelle: elenco dipendenti (raggruppato x tipo) ed elenco dip in bazaar...
tabDip = DataProxy_ProjEts.DP.taDip.GetData();
tabD2ATR = DataProxy_ProjEts.DP.taD2ATR.getBazOrd();
// faccio udpate!
doUpdate();
}
/// <summary>
@@ -99,8 +105,8 @@ namespace PROJ_ETS.WebUserControls
// 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;
Ds_ProjEts.DipendentiRow rigaDip;
try
{
// carico TUTTE le celle del bazaar...
@@ -121,16 +127,15 @@ namespace PROJ_ETS.WebUserControls
{
// 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);
rigaBaz = (Ds_ProjEts.BazaarRisorseRow)tabBaz.Select(string.Format("idxDipendente={0} AND idxFase={1}", tabD2ATR[pos_x].idxDipendente, tabBazSingle[pos_y].idxFase))[0];
rigaDip = (Ds_ProjEts.DipendentiRow)tabDip.Select(string.Format("idxDipendente={0}", tabD2ATR[pos_x].idxDipendente))[0];
TabellaRisorse[pos_x, pos_y] = new ETS_Data.Type.BazaarRes(rigaBaz.SchemaWeek, "LMMGV", "cellaLibera", rigaBaz.idxDipendente, string.Format("{0} {1}", rigaDip.Nome, rigaDip.Cognome), rigaDip.SIGLA, rigaBaz.idxFase, rigaBaz.SchemaWeek, rigaBaz.OreTot);
}
}
}
@@ -241,13 +246,24 @@ namespace PROJ_ETS.WebUserControls
// cella vuota iniziale
cell = new TableCell();
riga.Cells.Add(cell);
// celle con numeri
// variabili accessorie x dip
Ds_ProjEts.DipendentiRow rigaDip;
// preparo celle!
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 = "";
if (showOre)
{
cell.Text = string.Format("{0:0#}", pos_x + 1);
cell.ToolTip = "";
}
else
{
rigaDip = (Ds_ProjEts.DipendentiRow)tabDip.Select(string.Format("idxDipendente={0}", tabD2ATR[pos_x].idxDipendente))[0];
cell.Text = rigaDip.SIGLA;
cell.ToolTip = string.Format("{0} {1}", rigaDip.Nome, rigaDip.Cognome);
}
riga.Cells.Add(cell);
}
// cella vuota finale
Binary file not shown.
Binary file not shown.