recepita modifica x export all dati alumat x nuovi campi

This commit is contained in:
Samuele E. Locatelli
2017-02-13 11:28:17 +01:00
parent 1f8918c292
commit f08eba9fa7
12 changed files with 112 additions and 29 deletions
+33 -23
View File
@@ -1821,8 +1821,8 @@ FROM v_mtzProgExp</CommandText>
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Settings)" DbObjectName="GIM.export.v_allData" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT numIntMtz, dataLav, turnoLav, matr, richiesta, codImpianto, nomeImpianto, codMacchina, nomeMacchina, descrizione, inizioIntervento, fineIntervento, descrizioneIntervento, descrCausale, minErogati, ImportoTot, durataMtz, durataOff, guasto, idxStato, idxImpianto, idxMacchina, isFermo, scheduled FROM export.v_allData</CommandText>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM export.v_allData</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
@@ -1853,6 +1853,8 @@ FROM v_mtzProgExp</CommandText>
<Mapping SourceColumn="idxMacchina" DataSetColumn="idxMacchina" />
<Mapping SourceColumn="isFermo" DataSetColumn="isFermo" />
<Mapping SourceColumn="scheduled" DataSetColumn="scheduled" />
<Mapping SourceColumn="AmbitoGuasto" DataSetColumn="AmbitoGuasto" />
<Mapping SourceColumn="Esterno" DataSetColumn="Esterno" />
</Mappings>
<Sources />
</TableAdapter>
@@ -2394,7 +2396,7 @@ FROM v_mtzProgExp</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_mtzProgExp" msprop:Generator_TableClassName="v_mtzProgExpDataTable" msprop:Generator_TableVarName="tablev_mtzProgExp" msprop:Generator_TablePropName="v_mtzProgExp" msprop:Generator_RowDeletingName="v_mtzProgExpRowDeleting" msprop:Generator_RowChangingName="v_mtzProgExpRowChanging" msprop:Generator_RowEvHandlerName="v_mtzProgExpRowChangeEventHandler" msprop:Generator_RowDeletedName="v_mtzProgExpRowDeleted" msprop:Generator_UserTableName="v_mtzProgExp" msprop:Generator_RowChangedName="v_mtzProgExpRowChanged" msprop:Generator_RowEvArgName="v_mtzProgExpRowChangeEvent" msprop:Generator_RowClassName="v_mtzProgExpRow">
<xs:element name="v_mtzProgExp" msprop:Generator_TableClassName="v_mtzProgExpDataTable" msprop:Generator_TableVarName="tablev_mtzProgExp" msprop:Generator_RowChangedName="v_mtzProgExpRowChanged" msprop:Generator_TablePropName="v_mtzProgExp" msprop:Generator_RowDeletingName="v_mtzProgExpRowDeleting" msprop:Generator_RowChangingName="v_mtzProgExpRowChanging" msprop:Generator_RowEvHandlerName="v_mtzProgExpRowChangeEventHandler" msprop:Generator_RowDeletedName="v_mtzProgExpRowDeleted" msprop:Generator_RowClassName="v_mtzProgExpRow" msprop:Generator_UserTableName="v_mtzProgExp" msprop:Generator_RowEvArgName="v_mtzProgExpRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxIntPro" msprop:Generator_ColumnVarNameInTable="columnidxIntPro" msprop:Generator_ColumnPropNameInRow="idxIntPro" msprop:Generator_ColumnPropNameInTable="idxIntProColumn" msprop:Generator_UserColumnName="idxIntPro" type="xs:int" />
@@ -2479,7 +2481,7 @@ FROM v_mtzProgExp</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ImpiegoRisorse" msprop:Generator_TableClassName="ImpiegoRisorseDataTable" msprop:Generator_TableVarName="tableImpiegoRisorse" msprop:Generator_TablePropName="ImpiegoRisorse" msprop:Generator_RowDeletingName="ImpiegoRisorseRowDeleting" msprop:Generator_RowChangingName="ImpiegoRisorseRowChanging" msprop:Generator_RowEvHandlerName="ImpiegoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpiegoRisorseRowDeleted" msprop:Generator_UserTableName="ImpiegoRisorse" msprop:Generator_RowChangedName="ImpiegoRisorseRowChanged" msprop:Generator_RowEvArgName="ImpiegoRisorseRowChangeEvent" msprop:Generator_RowClassName="ImpiegoRisorseRow">
<xs:element name="ImpiegoRisorse" msprop:Generator_TableClassName="ImpiegoRisorseDataTable" msprop:Generator_TableVarName="tableImpiegoRisorse" msprop:Generator_RowChangedName="ImpiegoRisorseRowChanged" msprop:Generator_TablePropName="ImpiegoRisorse" msprop:Generator_RowDeletingName="ImpiegoRisorseRowDeleting" msprop:Generator_RowChangingName="ImpiegoRisorseRowChanging" msprop:Generator_RowEvHandlerName="ImpiegoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpiegoRisorseRowDeleted" msprop:Generator_RowClassName="ImpiegoRisorseRow" msprop:Generator_UserTableName="ImpiegoRisorse" msprop:Generator_RowEvArgName="ImpiegoRisorseRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxImpiego" msprop:Generator_ColumnVarNameInTable="columnidxImpiego" msprop:Generator_ColumnPropNameInRow="idxImpiego" msprop:Generator_ColumnPropNameInTable="idxImpiegoColumn" msprop:Generator_UserColumnName="idxImpiego" type="xs:int" />
@@ -2504,7 +2506,7 @@ FROM v_mtzProgExp</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagTipoRisorsa" msprop:Generator_TableClassName="AnagTipoRisorsaDataTable" msprop:Generator_TableVarName="tableAnagTipoRisorsa" msprop:Generator_TablePropName="AnagTipoRisorsa" msprop:Generator_RowDeletingName="AnagTipoRisorsaRowDeleting" msprop:Generator_RowChangingName="AnagTipoRisorsaRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoRisorsaRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoRisorsaRowDeleted" msprop:Generator_UserTableName="AnagTipoRisorsa" msprop:Generator_RowChangedName="AnagTipoRisorsaRowChanged" msprop:Generator_RowEvArgName="AnagTipoRisorsaRowChangeEvent" msprop:Generator_RowClassName="AnagTipoRisorsaRow">
<xs:element name="AnagTipoRisorsa" msprop:Generator_TableClassName="AnagTipoRisorsaDataTable" msprop:Generator_TableVarName="tableAnagTipoRisorsa" msprop:Generator_RowChangedName="AnagTipoRisorsaRowChanged" msprop:Generator_TablePropName="AnagTipoRisorsa" msprop:Generator_RowDeletingName="AnagTipoRisorsaRowDeleting" msprop:Generator_RowChangingName="AnagTipoRisorsaRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoRisorsaRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoRisorsaRowDeleted" msprop:Generator_RowClassName="AnagTipoRisorsaRow" msprop:Generator_UserTableName="AnagTipoRisorsa" msprop:Generator_RowEvArgName="AnagTipoRisorsaRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodRisorsa" msprop:Generator_ColumnVarNameInTable="columnCodRisorsa" msprop:Generator_ColumnPropNameInRow="CodRisorsa" msprop:Generator_ColumnPropNameInTable="CodRisorsaColumn" msprop:Generator_UserColumnName="CodRisorsa">
@@ -2538,7 +2540,7 @@ FROM v_mtzProgExp</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_allData" msprop:Generator_TableClassName="v_allDataDataTable" msprop:Generator_TableVarName="tablev_allData" msprop:Generator_RowChangedName="v_allDataRowChanged" msprop:Generator_TablePropName="v_allData" msprop:Generator_RowDeletingName="v_allDataRowDeleting" msprop:Generator_RowChangingName="v_allDataRowChanging" msprop:Generator_RowEvHandlerName="v_allDataRowChangeEventHandler" msprop:Generator_RowDeletedName="v_allDataRowDeleted" msprop:Generator_RowClassName="v_allDataRow" msprop:Generator_UserTableName="v_allData" msprop:Generator_RowEvArgName="v_allDataRowChangeEvent">
<xs:element name="v_allData" msprop:Generator_TableClassName="v_allDataDataTable" msprop:Generator_TableVarName="tablev_allData" msprop:Generator_TablePropName="v_allData" msprop:Generator_RowDeletingName="v_allDataRowDeleting" msprop:Generator_RowChangingName="v_allDataRowChanging" msprop:Generator_RowEvHandlerName="v_allDataRowChangeEventHandler" msprop:Generator_RowDeletedName="v_allDataRowDeleted" msprop:Generator_UserTableName="v_allData" msprop:Generator_RowChangedName="v_allDataRowChanged" msprop:Generator_RowEvArgName="v_allDataRowChangeEvent" msprop:Generator_RowClassName="v_allDataRow">
<xs:complexType>
<xs:sequence>
<xs:element name="numIntMtz" msprop:Generator_ColumnVarNameInTable="columnnumIntMtz" msprop:Generator_ColumnPropNameInRow="numIntMtz" msprop:Generator_ColumnPropNameInTable="numIntMtzColumn" msprop:Generator_UserColumnName="numIntMtz" type="xs:int" />
@@ -2613,10 +2615,18 @@ FROM v_mtzProgExp</CommandText>
<xs:element name="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" msprop:Generator_UserColumnName="idxMacchina" type="xs:int" />
<xs:element name="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" msprop:Generator_UserColumnName="isFermo" type="xs:boolean" />
<xs:element name="scheduled" msprop:Generator_ColumnVarNameInTable="columnscheduled" msprop:Generator_ColumnPropNameInRow="scheduled" msprop:Generator_ColumnPropNameInTable="scheduledColumn" msprop:Generator_UserColumnName="scheduled" type="xs:boolean" minOccurs="0" />
<xs:element name="AmbitoGuasto" msprop:Generator_ColumnVarNameInTable="columnAmbitoGuasto" msprop:Generator_ColumnPropNameInRow="AmbitoGuasto" msprop:Generator_ColumnPropNameInTable="AmbitoGuastoColumn" msprop:Generator_UserColumnName="AmbitoGuasto" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Esterno" msprop:Generator_ColumnVarNameInTable="columnEsterno" msprop:Generator_ColumnPropNameInRow="Esterno" msprop:Generator_ColumnPropNameInTable="EsternoColumn" msprop:Generator_UserColumnName="Esterno" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoIntervExt" msprop:Generator_TableClassName="ElencoIntervExtDataTable" msprop:Generator_TableVarName="tableElencoIntervExt" msprop:Generator_RowChangedName="ElencoIntervExtRowChanged" msprop:Generator_TablePropName="ElencoIntervExt" msprop:Generator_RowDeletingName="ElencoIntervExtRowDeleting" msprop:Generator_RowChangingName="ElencoIntervExtRowChanging" msprop:Generator_RowEvHandlerName="ElencoIntervExtRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoIntervExtRowDeleted" msprop:Generator_RowClassName="ElencoIntervExtRow" msprop:Generator_UserTableName="ElencoIntervExt" msprop:Generator_RowEvArgName="ElencoIntervExtRowChangeEvent">
<xs:element name="ElencoIntervExt" msprop:Generator_TableClassName="ElencoIntervExtDataTable" msprop:Generator_TableVarName="tableElencoIntervExt" msprop:Generator_TablePropName="ElencoIntervExt" msprop:Generator_RowDeletingName="ElencoIntervExtRowDeleting" msprop:Generator_RowChangingName="ElencoIntervExtRowChanging" msprop:Generator_RowEvHandlerName="ElencoIntervExtRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoIntervExtRowDeleted" msprop:Generator_UserTableName="ElencoIntervExt" msprop:Generator_RowChangedName="ElencoIntervExtRowChanged" msprop:Generator_RowEvArgName="ElencoIntervExtRowChangeEvent" msprop:Generator_RowClassName="ElencoIntervExtRow">
<xs:complexType>
<xs:sequence>
<xs:element name="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" msprop:Generator_UserColumnName="codImpianto" minOccurs="0">
@@ -2810,22 +2820,22 @@ FROM v_mtzProgExp</CommandText>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_AnagMacchine_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="v_macchine" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="v_macchine" msprop:Generator_ChildPropName="Getv_macchineRows" msprop:Generator_UserRelationName="FK_AnagMacchine_AnagImpianti" msprop:Generator_RelationVarName="relationFK_AnagMacchine_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" />
<msdata:Relationship name="Macchine2FamMacchine_v_macchine" msdata:parent="v_selFamMacc" msdata:child="v_macchine" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="v_macchine" msprop:Generator_ChildPropName="Getv_macchineRows" msprop:Generator_UserRelationName="Macchine2FamMacchine_v_macchine" msprop:Generator_RelationVarName="relationMacchine2FamMacchine_v_macchine" msprop:Generator_UserParentTable="v_selFamMacc" msprop:Generator_ParentPropName="v_selFamMaccRow" />
<msdata:Relationship name="AnagFamMacchine_v_selFamMacc" msdata:parent="AnagFamMacchine" msdata:child="v_selFamMacc" msdata:parentkey="idxFamMacchine" msdata:childkey="idxFamMacchine" msprop:Generator_UserChildTable="v_selFamMacc" msprop:Generator_ChildPropName="Getv_selFamMaccRows" msprop:Generator_UserRelationName="AnagFamMacchine_v_selFamMacc" msprop:Generator_RelationVarName="relationAnagFamMacchine_v_selFamMacc" msprop:Generator_UserParentTable="AnagFamMacchine" msprop:Generator_ParentPropName="AnagFamMacchineRow" />
<msdata:Relationship name="FK_InterventiMtz_AnagAmbitoGuasto" msdata:parent="AnagAmbitoGuasto" msdata:child="v_intervExp" msdata:parentkey="idxAmbito" msdata:childkey="idxAmbito" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagAmbitoGuasto" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagAmbitoGuasto" msprop:Generator_UserParentTable="AnagAmbitoGuasto" msprop:Generator_ParentPropName="AnagAmbitoGuastoRow" />
<msdata:Relationship name="FK_InterventiMtz_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="v_intervExp" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagImpianti" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" />
<msdata:Relationship name="FK_InterventiMtz_AnagPriorita" msdata:parent="AnagPriorita" msdata:child="v_intervExp" msdata:parentkey="idxPriorita" msdata:childkey="idxPriorita" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagPriorita" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagPriorita" msprop:Generator_UserParentTable="AnagPriorita" msprop:Generator_ParentPropName="AnagPrioritaRow" />
<msdata:Relationship name="FK_InterventiMtz_AnagTipoGuasto" msdata:parent="AnagTipoGuasto" msdata:child="v_intervExp" msdata:parentkey="idxTipo" msdata:childkey="idxTipo" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="GetInterventiMtzRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagTipoGuasto" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagTipoGuasto" msprop:Generator_UserParentTable="AnagTipoGuasto" msprop:Generator_ParentPropName="AnagTipoGuastoRow" />
<msdata:Relationship name="v_intervExp_InterventoOpMtz" msdata:parent="v_intervExp" msdata:child="InterventoOpMtz" msdata:parentkey="numIntMtz" msdata:childkey="numIntMtz" msprop:Generator_UserChildTable="InterventoOpMtz" msprop:Generator_ChildPropName="GetInterventoOpMtzRows" msprop:Generator_UserRelationName="v_intervExp_InterventoOpMtz" msprop:Generator_RelationVarName="relationv_intervExp_InterventoOpMtz" msprop:Generator_UserParentTable="v_intervExp" msprop:Generator_ParentPropName="v_intervExpRow" />
<msdata:Relationship name="FK_MtzProgPending_MtzProgrammata" msdata:parent="MtzProgrammata" msdata:child="MtzProgPending" msdata:parentkey="idxIntPro" msdata:childkey="idxIntPro" msprop:Generator_UserChildTable="MtzProgPending" msprop:Generator_ChildPropName="GetMtzProgPendingRows" msprop:Generator_UserRelationName="FK_MtzProgPending_MtzProgrammata" msprop:Generator_RelationVarName="relationFK_MtzProgPending_MtzProgrammata" msprop:Generator_UserParentTable="MtzProgrammata" msprop:Generator_ParentPropName="MtzProgrammataRow" />
<msdata:Relationship name="FK_FiltroImpianti_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="FiltroImpianti" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="FiltroImpianti" msprop:Generator_ChildPropName="GetFiltroImpiantiRows" msprop:Generator_UserRelationName="FK_FiltroImpianti_AnagImpianti" msprop:Generator_RelationVarName="relationFK_FiltroImpianti_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" />
<msdata:Relationship name="v_macchine_FiltroMacchine" msdata:parent="v_macchine" msdata:child="FiltroMacchine" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="FiltroMacchine" msprop:Generator_ChildPropName="GetFiltroMacchineRows" msprop:Generator_UserRelationName="v_macchine_FiltroMacchine" msprop:Generator_RelationVarName="relationv_macchine_FiltroMacchine" msprop:Generator_UserParentTable="v_macchine" msprop:Generator_ParentPropName="v_macchineRow" />
<msdata:Relationship name="FK_FiltroStati_AnagStati" msdata:parent="AnagStati" msdata:child="FiltroStati" msdata:parentkey="idxStato" msdata:childkey="idxStato" msprop:Generator_UserChildTable="FiltroStati" msprop:Generator_ChildPropName="GetFiltroStatiRows" msprop:Generator_UserRelationName="FK_FiltroStati_AnagStati" msprop:Generator_RelationVarName="relationFK_FiltroStati_AnagStati" msprop:Generator_UserParentTable="AnagStati" msprop:Generator_ParentPropName="AnagStatiRow" />
<msdata:Relationship name="FK_AnagCausali_AnagFamMacchine" msdata:parent="AnagFamMacchine" msdata:child="AnagCausali" msdata:parentkey="idxFamMacchine" msdata:childkey="idxFamMacchine" msprop:Generator_UserChildTable="AnagCausali" msprop:Generator_ChildPropName="GetAnagCausaliRows" msprop:Generator_UserRelationName="FK_AnagCausali_AnagFamMacchine" msprop:Generator_RelationVarName="relationFK_AnagCausali_AnagFamMacchine" msprop:Generator_UserParentTable="AnagFamMacchine" msprop:Generator_ParentPropName="AnagFamMacchineRow" />
<msdata:Relationship name="FK_InterventoOpMtz_AnagrOperMtz" msdata:parent="AnagrOperMtz" msdata:child="InterventoOpMtz" msdata:parentkey="matrOp" msdata:childkey="matrOp" msprop:Generator_UserChildTable="InterventoOpMtz" msprop:Generator_ChildPropName="GetInterventoOpMtzRows" msprop:Generator_UserRelationName="FK_InterventoOpMtz_AnagrOperMtz" msprop:Generator_RelationVarName="relationFK_InterventoOpMtz_AnagrOperMtz" msprop:Generator_UserParentTable="AnagrOperMtz" msprop:Generator_ParentPropName="AnagrOperMtzRow" />
<msdata:Relationship name="FK_ImpiegoRisorse_AnagTipoRisorsa" msdata:parent="AnagTipoRisorsa" msdata:child="ImpiegoRisorse" msdata:parentkey="CodRisorsa" msdata:childkey="CodRisorsa" msprop:Generator_UserChildTable="ImpiegoRisorse" msprop:Generator_ChildPropName="GetImpiegoRisorseRows" msprop:Generator_UserRelationName="FK_ImpiegoRisorse_AnagTipoRisorsa" msprop:Generator_RelationVarName="relationFK_ImpiegoRisorse_AnagTipoRisorsa" msprop:Generator_UserParentTable="AnagTipoRisorsa" msprop:Generator_ParentPropName="AnagTipoRisorsaRow" />
<msdata:Relationship name="v_intervExp_ImpiegoRisorse" msdata:parent="v_intervExp" msdata:child="ImpiegoRisorse" msdata:parentkey="numIntMtz" msdata:childkey="numIntMtz" msprop:Generator_UserChildTable="ImpiegoRisorse" msprop:Generator_ChildPropName="GetImpiegoRisorseRows" msprop:Generator_UserRelationName="v_intervExp_ImpiegoRisorse" msprop:Generator_ParentPropName="v_intervExpRow" msprop:Generator_RelationVarName="relationv_intervExp_ImpiegoRisorse" msprop:Generator_UserParentTable="v_intervExp" />
<msdata:Relationship name="FK_AnagMacchine_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="v_macchine" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="v_macchine" msprop:Generator_ChildPropName="Getv_macchineRows" msprop:Generator_UserRelationName="FK_AnagMacchine_AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" msprop:Generator_RelationVarName="relationFK_AnagMacchine_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" />
<msdata:Relationship name="Macchine2FamMacchine_v_macchine" msdata:parent="v_selFamMacc" msdata:child="v_macchine" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="v_macchine" msprop:Generator_ChildPropName="Getv_macchineRows" msprop:Generator_UserRelationName="Macchine2FamMacchine_v_macchine" msprop:Generator_ParentPropName="v_selFamMaccRow" msprop:Generator_RelationVarName="relationMacchine2FamMacchine_v_macchine" msprop:Generator_UserParentTable="v_selFamMacc" />
<msdata:Relationship name="AnagFamMacchine_v_selFamMacc" msdata:parent="AnagFamMacchine" msdata:child="v_selFamMacc" msdata:parentkey="idxFamMacchine" msdata:childkey="idxFamMacchine" msprop:Generator_UserChildTable="v_selFamMacc" msprop:Generator_ChildPropName="Getv_selFamMaccRows" msprop:Generator_UserRelationName="AnagFamMacchine_v_selFamMacc" msprop:Generator_ParentPropName="AnagFamMacchineRow" msprop:Generator_RelationVarName="relationAnagFamMacchine_v_selFamMacc" msprop:Generator_UserParentTable="AnagFamMacchine" />
<msdata:Relationship name="FK_InterventiMtz_AnagAmbitoGuasto" msdata:parent="AnagAmbitoGuasto" msdata:child="v_intervExp" msdata:parentkey="idxAmbito" msdata:childkey="idxAmbito" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagAmbitoGuasto" msprop:Generator_ParentPropName="AnagAmbitoGuastoRow" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagAmbitoGuasto" msprop:Generator_UserParentTable="AnagAmbitoGuasto" />
<msdata:Relationship name="FK_InterventiMtz_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="v_intervExp" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" />
<msdata:Relationship name="FK_InterventiMtz_AnagPriorita" msdata:parent="AnagPriorita" msdata:child="v_intervExp" msdata:parentkey="idxPriorita" msdata:childkey="idxPriorita" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagPriorita" msprop:Generator_ParentPropName="AnagPrioritaRow" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagPriorita" msprop:Generator_UserParentTable="AnagPriorita" />
<msdata:Relationship name="FK_InterventiMtz_AnagTipoGuasto" msdata:parent="AnagTipoGuasto" msdata:child="v_intervExp" msdata:parentkey="idxTipo" msdata:childkey="idxTipo" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="GetInterventiMtzRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagTipoGuasto" msprop:Generator_ParentPropName="AnagTipoGuastoRow" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagTipoGuasto" msprop:Generator_UserParentTable="AnagTipoGuasto" />
<msdata:Relationship name="v_intervExp_InterventoOpMtz" msdata:parent="v_intervExp" msdata:child="InterventoOpMtz" msdata:parentkey="numIntMtz" msdata:childkey="numIntMtz" msprop:Generator_UserChildTable="InterventoOpMtz" msprop:Generator_ChildPropName="GetInterventoOpMtzRows" msprop:Generator_UserRelationName="v_intervExp_InterventoOpMtz" msprop:Generator_ParentPropName="v_intervExpRow" msprop:Generator_RelationVarName="relationv_intervExp_InterventoOpMtz" msprop:Generator_UserParentTable="v_intervExp" />
<msdata:Relationship name="FK_MtzProgPending_MtzProgrammata" msdata:parent="MtzProgrammata" msdata:child="MtzProgPending" msdata:parentkey="idxIntPro" msdata:childkey="idxIntPro" msprop:Generator_UserChildTable="MtzProgPending" msprop:Generator_ChildPropName="GetMtzProgPendingRows" msprop:Generator_UserRelationName="FK_MtzProgPending_MtzProgrammata" msprop:Generator_ParentPropName="MtzProgrammataRow" msprop:Generator_RelationVarName="relationFK_MtzProgPending_MtzProgrammata" msprop:Generator_UserParentTable="MtzProgrammata" />
<msdata:Relationship name="FK_FiltroImpianti_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="FiltroImpianti" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="FiltroImpianti" msprop:Generator_ChildPropName="GetFiltroImpiantiRows" msprop:Generator_UserRelationName="FK_FiltroImpianti_AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" msprop:Generator_RelationVarName="relationFK_FiltroImpianti_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" />
<msdata:Relationship name="v_macchine_FiltroMacchine" msdata:parent="v_macchine" msdata:child="FiltroMacchine" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="FiltroMacchine" msprop:Generator_ChildPropName="GetFiltroMacchineRows" msprop:Generator_UserRelationName="v_macchine_FiltroMacchine" msprop:Generator_ParentPropName="v_macchineRow" msprop:Generator_RelationVarName="relationv_macchine_FiltroMacchine" msprop:Generator_UserParentTable="v_macchine" />
<msdata:Relationship name="FK_FiltroStati_AnagStati" msdata:parent="AnagStati" msdata:child="FiltroStati" msdata:parentkey="idxStato" msdata:childkey="idxStato" msprop:Generator_UserChildTable="FiltroStati" msprop:Generator_ChildPropName="GetFiltroStatiRows" msprop:Generator_UserRelationName="FK_FiltroStati_AnagStati" msprop:Generator_ParentPropName="AnagStatiRow" msprop:Generator_RelationVarName="relationFK_FiltroStati_AnagStati" msprop:Generator_UserParentTable="AnagStati" />
<msdata:Relationship name="FK_AnagCausali_AnagFamMacchine" msdata:parent="AnagFamMacchine" msdata:child="AnagCausali" msdata:parentkey="idxFamMacchine" msdata:childkey="idxFamMacchine" msprop:Generator_UserChildTable="AnagCausali" msprop:Generator_ChildPropName="GetAnagCausaliRows" msprop:Generator_UserRelationName="FK_AnagCausali_AnagFamMacchine" msprop:Generator_ParentPropName="AnagFamMacchineRow" msprop:Generator_RelationVarName="relationFK_AnagCausali_AnagFamMacchine" msprop:Generator_UserParentTable="AnagFamMacchine" />
<msdata:Relationship name="FK_InterventoOpMtz_AnagrOperMtz" msdata:parent="AnagrOperMtz" msdata:child="InterventoOpMtz" msdata:parentkey="matrOp" msdata:childkey="matrOp" msprop:Generator_UserChildTable="InterventoOpMtz" msprop:Generator_ChildPropName="GetInterventoOpMtzRows" msprop:Generator_UserRelationName="FK_InterventoOpMtz_AnagrOperMtz" msprop:Generator_ParentPropName="AnagrOperMtzRow" msprop:Generator_RelationVarName="relationFK_InterventoOpMtz_AnagrOperMtz" msprop:Generator_UserParentTable="AnagrOperMtz" />
<msdata:Relationship name="FK_ImpiegoRisorse_AnagTipoRisorsa" msdata:parent="AnagTipoRisorsa" msdata:child="ImpiegoRisorse" msdata:parentkey="CodRisorsa" msdata:childkey="CodRisorsa" msprop:Generator_UserChildTable="ImpiegoRisorse" msprop:Generator_ChildPropName="GetImpiegoRisorseRows" msprop:Generator_UserRelationName="FK_ImpiegoRisorse_AnagTipoRisorsa" msprop:Generator_ParentPropName="AnagTipoRisorsaRow" msprop:Generator_RelationVarName="relationFK_ImpiegoRisorse_AnagTipoRisorsa" msprop:Generator_UserParentTable="AnagTipoRisorsa" />
<msdata:Relationship name="v_intervExp_ImpiegoRisorse" msdata:parent="v_intervExp" msdata:child="ImpiegoRisorse" msdata:parentkey="numIntMtz" msdata:childkey="numIntMtz" msprop:Generator_UserChildTable="ImpiegoRisorse" msprop:Generator_ChildPropName="GetImpiegoRisorseRows" msprop:Generator_UserRelationName="v_intervExp_ImpiegoRisorse" msprop:Generator_RelationVarName="relationv_intervExp_ImpiegoRisorse" msprop:Generator_UserParentTable="v_intervExp" msprop:Generator_ParentPropName="v_intervExpRow" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+1 -1
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="489" ViewPortY="-54" 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="489" ViewPortY="396" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:LogUpdateDb" ZOrder="41" X="36" Y="15" Height="134" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:AnagAmbitoGuasto" ZOrder="40" X="475" Y="7" Height="134" Width="251" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
+76 -3
View File
@@ -9061,6 +9061,10 @@ namespace GIM_dataLayer {
private global::System.Data.DataColumn columnscheduled;
private global::System.Data.DataColumn columnAmbitoGuasto;
private global::System.Data.DataColumn columnEsterno;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public v_allDataDataTable() {
@@ -9286,6 +9290,22 @@ namespace GIM_dataLayer {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn AmbitoGuastoColumn {
get {
return this.columnAmbitoGuasto;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn EsternoColumn {
get {
return this.columnEsterno;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -9347,7 +9367,9 @@ namespace GIM_dataLayer {
int idxImpianto,
int idxMacchina,
bool isFermo,
bool scheduled) {
bool scheduled,
string AmbitoGuasto,
bool Esterno) {
v_allDataRow rowv_allDataRow = ((v_allDataRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
numIntMtz,
@@ -9373,7 +9395,9 @@ namespace GIM_dataLayer {
idxImpianto,
idxMacchina,
isFermo,
scheduled};
scheduled,
AmbitoGuasto,
Esterno};
rowv_allDataRow.ItemArray = columnValuesArray;
this.Rows.Add(rowv_allDataRow);
return rowv_allDataRow;
@@ -9427,6 +9451,8 @@ namespace GIM_dataLayer {
this.columnidxMacchina = base.Columns["idxMacchina"];
this.columnisFermo = base.Columns["isFermo"];
this.columnscheduled = base.Columns["scheduled"];
this.columnAmbitoGuasto = base.Columns["AmbitoGuasto"];
this.columnEsterno = base.Columns["Esterno"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -9480,6 +9506,10 @@ namespace GIM_dataLayer {
base.Columns.Add(this.columnisFermo);
this.columnscheduled = new global::System.Data.DataColumn("scheduled", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnscheduled);
this.columnAmbitoGuasto = new global::System.Data.DataColumn("AmbitoGuasto", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnAmbitoGuasto);
this.columnEsterno = new global::System.Data.DataColumn("Esterno", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnEsterno);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnnumIntMtz}, true));
this.columnnumIntMtz.AllowDBNull = false;
@@ -9508,6 +9538,8 @@ namespace GIM_dataLayer {
this.columnidxImpianto.AllowDBNull = false;
this.columnidxMacchina.AllowDBNull = false;
this.columnisFermo.AllowDBNull = false;
this.columnAmbitoGuasto.MaxLength = 50;
this.columnEsterno.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -14202,6 +14234,33 @@ namespace GIM_dataLayer {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string AmbitoGuasto {
get {
try {
return ((string)(this[this.tablev_allData.AmbitoGuastoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'AmbitoGuasto\' in table \'v_allData\' is DBNull.", e);
}
}
set {
this[this.tablev_allData.AmbitoGuastoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool Esterno {
get {
return ((bool)(this[this.tablev_allData.EsternoColumn]));
}
set {
this[this.tablev_allData.EsternoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsdataLavNull() {
@@ -14369,6 +14428,18 @@ namespace GIM_dataLayer {
public void SetscheduledNull() {
this[this.tablev_allData.scheduledColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsAmbitoGuastoNull() {
return this.IsNull(this.tablev_allData.AmbitoGuastoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetAmbitoGuastoNull() {
this[this.tablev_allData.AmbitoGuastoColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -24731,6 +24802,8 @@ namespace GIM_dataLayer.DS_applicazioneTableAdapters {
tableMapping.ColumnMappings.Add("idxMacchina", "idxMacchina");
tableMapping.ColumnMappings.Add("isFermo", "isFermo");
tableMapping.ColumnMappings.Add("scheduled", "scheduled");
tableMapping.ColumnMappings.Add("AmbitoGuasto", "AmbitoGuasto");
tableMapping.ColumnMappings.Add("Esterno", "Esterno");
this._adapter.TableMappings.Add(tableMapping);
}
@@ -24747,7 +24820,7 @@ namespace GIM_dataLayer.DS_applicazioneTableAdapters {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = @"SELECT numIntMtz, dataLav, turnoLav, matr, richiesta, codImpianto, nomeImpianto, codMacchina, nomeMacchina, descrizione, inizioIntervento, fineIntervento, descrizioneIntervento, descrCausale, minErogati, ImportoTot, durataMtz, durataOff, guasto, idxStato, idxImpianto, idxMacchina, isFermo, scheduled FROM export.v_allData";
this._commandCollection[0].CommandText = "SELECT * FROM export.v_allData";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -5,7 +5,7 @@
using System.Reflection;
[assembly: AssemblyVersion("1.9.1701.579")]
[assembly: AssemblyFileVersion("1.9.1701.579")]
[assembly: AssemblyVersion("1.9.1701.580")]
[assembly: AssemblyFileVersion("1.9.1701.580")]
[assembly: AssemblyCopyright("Steamware © 2006-2017")]
[assembly: AssemblyCompany("Steamware")]
Binary file not shown.