Aggiunta pagia anagrafica schede collaudo
This commit is contained in:
Generated
+1052
-2
File diff suppressed because it is too large
Load Diff
@@ -65,7 +65,7 @@ SELECT CodFam, DescrFam FROM ElencoFamMacc WHERE (CodFam = @CodFam)</CommandText
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="insertQuery">
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_AFM_insertQuery</CommandText>
|
||||
@@ -77,7 +77,7 @@ SELECT CodFam, DescrFam FROM ElencoFamMacc WHERE (CodFam = @CodFam)</CommandText
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="updateQuery">
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateQuery">
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_AFM_updateQuery</CommandText>
|
||||
@@ -337,6 +337,103 @@ SELECT Fase, Descrizione FROM AnagFasi WHERE (Fase = @Fase)</CommandText>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagSchedeTableAdapter" GeneratorDataComponentClassName="AnagSchedeTableAdapter" Name="AnagSchede" UserDataComponentName="AnagSchedeTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.AnagSchede" 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].[AnagSchede] WHERE (([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([Descrizione] = @Original_Descrizione))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodScheda" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Vers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vers" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[AnagSchede] ([CodScheda], [Vers], [Descrizione], [Path]) VALUES (@CodScheda, @Vers, @Descrizione, @Path);
|
||||
SELECT CodScheda, Vers, Descrizione, Path FROM AnagSchede WHERE (CodScheda = @CodScheda)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodScheda" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Vers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vers" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Path" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Path" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT CodScheda, Vers, Descrizione, Path FROM dbo.AnagSchede</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[AnagSchede] SET [CodScheda] = @CodScheda, [Vers] = @Vers, [Descrizione] = @Descrizione, [Path] = @Path WHERE (([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([Descrizione] = @Original_Descrizione));
|
||||
SELECT CodScheda, Vers, Descrizione, Path FROM AnagSchede WHERE (CodScheda = @CodScheda)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodScheda" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Vers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vers" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Path" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Path" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodScheda" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Vers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vers" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="CodScheda" DataSetColumn="CodScheda" />
|
||||
<Mapping SourceColumn="Vers" DataSetColumn="Vers" />
|
||||
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
|
||||
<Mapping SourceColumn="Path" DataSetColumn="Path" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ASC_DeleteQuery</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ASC_InsertQuery</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="nvarchar" DbType="String" Direction="Input" ParameterName="@CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Vers" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Path" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateQuery">
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ASC_UpdateQuery</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Vers" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Path" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -345,7 +442,7 @@ SELECT Fase, Descrizione FROM AnagFasi WHERE (Fase = @Fase)</CommandText>
|
||||
<xs:element name="DS_Applicazione" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Applicazione" msprop:Generator_UserDSName="DS_Applicazione">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="ElencoFamMacc" msprop:Generator_TableClassName="ElencoFamMaccDataTable" msprop:Generator_TableVarName="tableElencoFamMacc" msprop:Generator_TablePropName="ElencoFamMacc" msprop:Generator_RowDeletingName="ElencoFamMaccRowDeleting" msprop:Generator_RowChangingName="ElencoFamMaccRowChanging" msprop:Generator_RowEvHandlerName="ElencoFamMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoFamMaccRowDeleted" msprop:Generator_UserTableName="ElencoFamMacc" msprop:Generator_RowChangedName="ElencoFamMaccRowChanged" msprop:Generator_RowEvArgName="ElencoFamMaccRowChangeEvent" msprop:Generator_RowClassName="ElencoFamMaccRow">
|
||||
<xs:element name="ElencoFamMacc" msprop:Generator_TableClassName="ElencoFamMaccDataTable" msprop:Generator_TableVarName="tableElencoFamMacc" msprop:Generator_RowChangedName="ElencoFamMaccRowChanged" msprop:Generator_TablePropName="ElencoFamMacc" msprop:Generator_RowDeletingName="ElencoFamMaccRowDeleting" msprop:Generator_RowChangingName="ElencoFamMaccRowChanging" msprop:Generator_RowEvHandlerName="ElencoFamMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoFamMaccRowDeleted" msprop:Generator_RowClassName="ElencoFamMaccRow" msprop:Generator_UserTableName="ElencoFamMacc" msprop:Generator_RowEvArgName="ElencoFamMaccRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodFam" msprop:Generator_ColumnVarNameInTable="columnCodFam" msprop:Generator_ColumnPropNameInRow="CodFam" msprop:Generator_ColumnPropNameInTable="CodFamColumn" msprop:Generator_UserColumnName="CodFam">
|
||||
@@ -365,7 +462,7 @@ SELECT Fase, Descrizione FROM AnagFasi WHERE (Fase = @Fase)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ElencoMacchineCN" msprop:Generator_TableClassName="ElencoMacchineCNDataTable" msprop:Generator_TableVarName="tableElencoMacchineCN" msprop:Generator_TablePropName="ElencoMacchineCN" msprop:Generator_RowDeletingName="ElencoMacchineCNRowDeleting" msprop:Generator_RowChangingName="ElencoMacchineCNRowChanging" msprop:Generator_RowEvHandlerName="ElencoMacchineCNRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoMacchineCNRowDeleted" msprop:Generator_UserTableName="ElencoMacchineCN" msprop:Generator_RowChangedName="ElencoMacchineCNRowChanged" msprop:Generator_RowEvArgName="ElencoMacchineCNRowChangeEvent" msprop:Generator_RowClassName="ElencoMacchineCNRow">
|
||||
<xs:element name="ElencoMacchineCN" msprop:Generator_TableClassName="ElencoMacchineCNDataTable" msprop:Generator_TableVarName="tableElencoMacchineCN" msprop:Generator_RowChangedName="ElencoMacchineCNRowChanged" msprop:Generator_TablePropName="ElencoMacchineCN" msprop:Generator_RowDeletingName="ElencoMacchineCNRowDeleting" msprop:Generator_RowChangingName="ElencoMacchineCNRowChanging" msprop:Generator_RowEvHandlerName="ElencoMacchineCNRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoMacchineCNRowDeleted" msprop:Generator_RowClassName="ElencoMacchineCNRow" msprop:Generator_UserTableName="ElencoMacchineCN" msprop:Generator_RowEvArgName="ElencoMacchineCNRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Matricola" msprop:Generator_ColumnVarNameInTable="columnMatricola" msprop:Generator_ColumnPropNameInRow="Matricola" msprop:Generator_ColumnPropNameInTable="MatricolaColumn" msprop:Generator_UserColumnName="Matricola">
|
||||
@@ -399,7 +496,7 @@ SELECT Fase, Descrizione FROM AnagFasi WHERE (Fase = @Fase)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ElencoSchedeMacchina" msprop:Generator_TableClassName="ElencoSchedeMacchinaDataTable" msprop:Generator_TableVarName="tableElencoSchedeMacchina" msprop:Generator_TablePropName="ElencoSchedeMacchina" msprop:Generator_RowDeletingName="ElencoSchedeMacchinaRowDeleting" msprop:Generator_RowChangingName="ElencoSchedeMacchinaRowChanging" msprop:Generator_RowEvHandlerName="ElencoSchedeMacchinaRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoSchedeMacchinaRowDeleted" msprop:Generator_UserTableName="ElencoSchedeMacchina" msprop:Generator_RowChangedName="ElencoSchedeMacchinaRowChanged" msprop:Generator_RowEvArgName="ElencoSchedeMacchinaRowChangeEvent" msprop:Generator_RowClassName="ElencoSchedeMacchinaRow">
|
||||
<xs:element name="ElencoSchedeMacchina" msprop:Generator_TableClassName="ElencoSchedeMacchinaDataTable" msprop:Generator_TableVarName="tableElencoSchedeMacchina" msprop:Generator_RowChangedName="ElencoSchedeMacchinaRowChanged" msprop:Generator_TablePropName="ElencoSchedeMacchina" msprop:Generator_RowDeletingName="ElencoSchedeMacchinaRowDeleting" msprop:Generator_RowChangingName="ElencoSchedeMacchinaRowChanging" msprop:Generator_RowEvHandlerName="ElencoSchedeMacchinaRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoSchedeMacchinaRowDeleted" msprop:Generator_RowClassName="ElencoSchedeMacchinaRow" msprop:Generator_UserTableName="ElencoSchedeMacchina" msprop:Generator_RowEvArgName="ElencoSchedeMacchinaRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxESM" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxESM" msprop:Generator_ColumnPropNameInRow="idxESM" msprop:Generator_ColumnPropNameInTable="idxESMColumn" msprop:Generator_UserColumnName="idxESM" type="xs:int" />
|
||||
@@ -427,7 +524,7 @@ SELECT Fase, Descrizione FROM AnagFasi WHERE (Fase = @Fase)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent" msprop:Generator_RowClassName="AnagFasiRow">
|
||||
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_RowClassName="AnagFasiRow" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Fase" msprop:Generator_ColumnVarNameInTable="columnFase" msprop:Generator_ColumnPropNameInRow="Fase" msprop:Generator_ColumnPropNameInTable="FaseColumn" msprop:Generator_UserColumnName="Fase">
|
||||
@@ -447,6 +544,34 @@ SELECT Fase, Descrizione FROM AnagFasi WHERE (Fase = @Fase)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagSchede" msprop:Generator_TableClassName="AnagSchedeDataTable" msprop:Generator_TableVarName="tableAnagSchede" msprop:Generator_TablePropName="AnagSchede" msprop:Generator_RowDeletingName="AnagSchedeRowDeleting" msprop:Generator_RowChangingName="AnagSchedeRowChanging" msprop:Generator_RowEvHandlerName="AnagSchedeRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSchedeRowDeleted" msprop:Generator_UserTableName="AnagSchede" msprop:Generator_RowChangedName="AnagSchedeRowChanged" msprop:Generator_RowEvArgName="AnagSchedeRowChangeEvent" msprop:Generator_RowClassName="AnagSchedeRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodScheda" msprop:Generator_ColumnVarNameInTable="columnCodScheda" msprop:Generator_ColumnPropNameInRow="CodScheda" msprop:Generator_ColumnPropNameInTable="CodSchedaColumn" msprop:Generator_UserColumnName="CodScheda">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Vers" msprop:Generator_ColumnVarNameInTable="columnVers" msprop:Generator_ColumnPropNameInRow="Vers" msprop:Generator_ColumnPropNameInTable="VersColumn" msprop:Generator_UserColumnName="Vers" type="xs:int" />
|
||||
<xs:element name="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_UserColumnName="Descrizione">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="250" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Path" msprop:Generator_ColumnVarNameInTable="columnPath" msprop:Generator_ColumnPropNameInRow="Path" msprop:Generator_ColumnPropNameInTable="PathColumn" msprop:Generator_UserColumnName="Path">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
@@ -465,10 +590,15 @@ SELECT Fase, Descrizione FROM AnagFasi WHERE (Fase = @Fase)</CommandText>
|
||||
<xs:selector xpath=".//mstns:AnagFasi" />
|
||||
<xs:field xpath="mstns:Fase" />
|
||||
</xs:unique>
|
||||
<xs:unique name="AnagSchede_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:AnagSchede" />
|
||||
<xs:field xpath="mstns:CodScheda" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="FK_ElencoSchedeMacchina_ElencoMacchineCN" msdata:parent="ElencoMacchineCN" msdata:child="ElencoSchedeMacchina" msdata:parentkey="Matricola" msdata:childkey="Matricola" msprop:Generator_UserChildTable="ElencoSchedeMacchina" msprop:Generator_ChildPropName="GetElencoSchedeMacchinaRows" msprop:Generator_UserRelationName="FK_ElencoSchedeMacchina_ElencoMacchineCN" msprop:Generator_ParentPropName="ElencoMacchineCNRow" msprop:Generator_RelationVarName="relationFK_ElencoSchedeMacchina_ElencoMacchineCN" msprop:Generator_UserParentTable="ElencoMacchineCN" />
|
||||
<msdata:Relationship name="FK_ElencoSchedeMacchina_ElencoMacchineCN" msdata:parent="ElencoMacchineCN" msdata:child="ElencoSchedeMacchina" msdata:parentkey="Matricola" msdata:childkey="Matricola" msprop:Generator_UserChildTable="ElencoSchedeMacchina" msprop:Generator_ChildPropName="GetElencoSchedeMacchinaRows" msprop:Generator_UserRelationName="FK_ElencoSchedeMacchina_ElencoMacchineCN" msprop:Generator_RelationVarName="relationFK_ElencoSchedeMacchina_ElencoMacchineCN" msprop:Generator_UserParentTable="ElencoMacchineCN" msprop:Generator_ParentPropName="ElencoMacchineCNRow" />
|
||||
<msdata:Relationship name="FK_ElencoSchedeMacchina_AnagSchede" msdata:parent="AnagSchede" msdata:child="ElencoSchedeMacchina" msdata:parentkey="CodScheda" msdata:childkey="CodScheda" msprop:Generator_UserChildTable="ElencoSchedeMacchina" msprop:Generator_ChildPropName="GetElencoSchedeMacchinaRows" msprop:Generator_UserRelationName="FK_ElencoSchedeMacchina_AnagSchede" msprop:Generator_RelationVarName="relationFK_ElencoSchedeMacchina_AnagSchede" msprop:Generator_UserParentTable="AnagSchede" msprop:Generator_ParentPropName="AnagSchedeRow" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
@@ -6,13 +6,14 @@
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:ElencoFamMacc" ZOrder="5" X="57" Y="249" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:ElencoMacchineCN" ZOrder="4" X="454" Y="232" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:ElencoSchedeMacchina" ZOrder="3" X="890" Y="222" Height="153" Width="279" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:AnagFasi" ZOrder="1" X="461" Y="537" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:ElencoFamMacc" ZOrder="7" X="57" Y="249" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:ElencoMacchineCN" ZOrder="6" X="454" Y="232" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:ElencoSchedeMacchina" ZOrder="5" X="890" Y="222" Height="153" Width="279" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:AnagFasi" ZOrder="3" X="461" Y="537" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagSchede" ZOrder="2" X="936" Y="658" Height="210" Width="288" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_ElencoSchedeMacchina_ElencoMacchineCN" ZOrder="2" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_ElencoSchedeMacchina_ElencoMacchineCN" ZOrder="4" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>754</X>
|
||||
@@ -24,5 +25,17 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_ElencoSchedeMacchina_AnagSchede" ZOrder="1" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1006</X>
|
||||
<Y>658</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>1006</X>
|
||||
<Y>375</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
</Connectors>
|
||||
</DiagramLayout>
|
||||
@@ -27,7 +27,7 @@ namespace CMS_SC_Data
|
||||
taEFM = new DS_ApplicazioneTableAdapters.ElencoFamMaccTableAdapter();
|
||||
taEM = new DS_ApplicazioneTableAdapters.ElencoMacchineCNTableAdapter();
|
||||
taESM = new DS_ApplicazioneTableAdapters.ElencoSchedeMacchinaTableAdapter();
|
||||
//taImp = new DS_ApplicazioneTableAdapters.ImpegniTableAdapter();
|
||||
taASC = new DS_ApplicazioneTableAdapters.AnagSchedeTableAdapter();
|
||||
//taDetImp = new DS_ApplicazioneTableAdapters.DettImpegnoTableAdapter();
|
||||
//taVcz = new DS_ApplicazioneTableAdapters.v_clientiZoneTableAdapter();
|
||||
//taFile = new DS_UtilityTableAdapters.tblFilesTableAdapter();
|
||||
@@ -44,7 +44,7 @@ namespace CMS_SC_Data
|
||||
taEFM.Connection.ConnectionString = connStr;
|
||||
taEM.Connection.ConnectionString = connStr;
|
||||
taESM.Connection.ConnectionString = connStr;
|
||||
//taImp.Connection.ConnectionString = connStr;
|
||||
taASC.Connection.ConnectionString = connStr;
|
||||
//taDetImp.Connection.ConnectionString = connStr;
|
||||
//taVcz.Connection.ConnectionString = connStr;
|
||||
//taFile.Connection.ConnectionString = connStrFiles;
|
||||
@@ -58,7 +58,7 @@ namespace CMS_SC_Data
|
||||
public DS_ApplicazioneTableAdapters.ElencoFamMaccTableAdapter taEFM;
|
||||
public DS_ApplicazioneTableAdapters.ElencoMacchineCNTableAdapter taEM;
|
||||
public DS_ApplicazioneTableAdapters.ElencoSchedeMacchinaTableAdapter taESM;
|
||||
//public DS_ApplicazioneTableAdapters.ImpegniTableAdapter taImp;
|
||||
public DS_ApplicazioneTableAdapters.AnagSchedeTableAdapter taASC;
|
||||
//public DS_ApplicazioneTableAdapters.DettImpegnoTableAdapter taDetImp;
|
||||
//public DS_ApplicazioneTableAdapters.v_clientiZoneTableAdapter taVcz;
|
||||
//public DS_UtilityTableAdapters.tblFilesTableAdapter taFile;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,7 +1,18 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Bootstrap.Master" AutoEventWireup="true" CodeBehind="AnagSchedeColl.aspx.cs" Inherits="CMS_SC.AnagSchedeColl" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_anagSchedeColl.ascx" TagName="mod_anagSchedeColl" TagPrefix="uc1" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_righePag.ascx" TagName="mod_righePag" TagPrefix="uc2" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<uc1:mod_anagSchedeColl ID="mod_anagSchedeColl" runat="server" />
|
||||
<uc2:mod_righePag ID="mod_righePag" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
|
||||
@@ -11,7 +11,18 @@ namespace CMS_SC
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
((Bootstrap)this.Master).showSearch = true;
|
||||
mod_righePag.numRowPag = 20;
|
||||
mod_anagSchedeColl.pageSize = mod_righePag.numRowPag;
|
||||
}
|
||||
mod_righePag.eh_newNum += mod_righePag_eh_newNum;
|
||||
}
|
||||
|
||||
void mod_righePag_eh_newNum(object sender, EventArgs e)
|
||||
{
|
||||
mod_anagSchedeColl.pageSize = mod_righePag.numRowPag;
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+23
-7
@@ -3,15 +3,31 @@
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace CMS_SC
|
||||
{
|
||||
|
||||
|
||||
public partial class AnagSchedeColl
|
||||
{
|
||||
namespace CMS_SC {
|
||||
|
||||
|
||||
public partial class AnagSchedeColl {
|
||||
|
||||
/// <summary>
|
||||
/// mod_anagSchedeColl control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::CMS_SC.WebUserControls.mod_anagSchedeColl mod_anagSchedeColl;
|
||||
|
||||
/// <summary>
|
||||
/// mod_righePag control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::mod_righePag mod_righePag;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -77,7 +77,8 @@
|
||||
<asp:Timer ID="Timer1" runat="server" Interval="10000" OnTick="Timer1_Tick">
|
||||
</asp:Timer>
|
||||
<footer>
|
||||
<div class="navbar navbar-inverse navbar-fixed-bottom" role="navigation" style="border-top: 1px solid #ABABAB; padding: 2px 0px;">
|
||||
<div class="navbar navbar-inverse" role="navigation" style="border-top: 1px solid #ABABAB; padding: 2px 0px;">
|
||||
<%--<div class="navbar navbar-inverse navbar-fixed-bottom" role="navigation" style="border-top: 1px solid #ABABAB; padding: 2px 0px;">--%>
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-text navbar-left">
|
||||
<asp:Label ID="lblVers" runat="server" />
|
||||
|
||||
@@ -50,6 +50,30 @@
|
||||
<HintPath>..\packages\elmah.corelibrary.1.2.2\lib\Elmah.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Glimpse.AspNet, Version=1.9.2.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Glimpse.AspNet.1.9.2\lib\net45\Glimpse.AspNet.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Glimpse.AspNetCache, Version=0.9.9.35094, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Glimpse.AspNetCache.0.9.9.35094\lib\net35\Glimpse.AspNetCache.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Glimpse.Core, Version=1.8.6.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Glimpse.1.8.6\lib\net45\Glimpse.Core.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Glimpse.Elmah, Version=1.1.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Glimpse.Elmah.1.1.1\lib\net40\Glimpse.Elmah.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Glimpse.NLog, Version=1.5.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Glimpse.NLog.1.6.1\lib\net45\Glimpse.NLog.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Glimpse.WebForms, Version=1.1.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Glimpse.WebForms.1.1.1\lib\net45\Glimpse.WebForms.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="ImageResizer, Version=3.4.3.103, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\ImageResizer.3.4.3\lib\ImageResizer.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
@@ -267,6 +291,7 @@
|
||||
<Content Include="WebUserControls\mod_AnagFamMacc.ascx" />
|
||||
<Content Include="WebUserControls\mod_anagFasi.ascx" />
|
||||
<Content Include="WebUserControls\mod_anagMatricole.ascx" />
|
||||
<Content Include="WebUserControls\mod_anagSchedeColl.ascx" />
|
||||
<Content Include="WebUserControls\mod_elencoRichResetUtenti.ascx" />
|
||||
<Content Include="WebUserControls\mod_enrollByAuthKey.ascx" />
|
||||
<Content Include="WebUserControls\mod_enrollByEmail.ascx" />
|
||||
@@ -430,6 +455,7 @@
|
||||
<Compile Include="Default.aspx.designer.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="GlimpseSecurityPolicy.cs" />
|
||||
<Compile Include="Global.asax.cs">
|
||||
<DependentUpon>Global.asax</DependentUpon>
|
||||
</Compile>
|
||||
@@ -504,6 +530,13 @@
|
||||
<Compile Include="WebUserControls\mod_anagMatricole.ascx.designer.cs">
|
||||
<DependentUpon>mod_anagMatricole.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_anagSchedeColl.ascx.cs">
|
||||
<DependentUpon>mod_anagSchedeColl.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_anagSchedeColl.ascx.designer.cs">
|
||||
<DependentUpon>mod_anagSchedeColl.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_elencoRichResetUtenti.ascx.cs">
|
||||
<DependentUpon>mod_elencoRichResetUtenti.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
// Uncomment this class to provide custom runtime policy for Glimpse
|
||||
|
||||
using Glimpse.AspNet.Extensions;
|
||||
using Glimpse.Core.Extensibility;
|
||||
|
||||
namespace CMS_SC
|
||||
{
|
||||
public class GlimpseSecurityPolicy:IRuntimePolicy
|
||||
{
|
||||
public RuntimePolicy Execute(IRuntimePolicyContext policyContext)
|
||||
{
|
||||
// You can perform a check like the one below to control Glimpse's permissions within your application.
|
||||
// More information about RuntimePolicies can be found at http://getglimpse.com/Help/Custom-Runtime-Policy
|
||||
// var httpContext = policyContext.GetHttpContext();
|
||||
// if (!httpContext.User.IsInRole("Administrator"))
|
||||
// {
|
||||
// return RuntimePolicy.Off;
|
||||
// }
|
||||
|
||||
return RuntimePolicy.On;
|
||||
}
|
||||
|
||||
public RuntimeEvent ExecuteOn
|
||||
{
|
||||
// The RuntimeEvent.ExecuteResource is only needed in case you create a security policy
|
||||
// Have a look at http://blog.getglimpse.com/2013/12/09/protect-glimpse-axd-with-your-custom-runtime-policy/ for more details
|
||||
get { return RuntimeEvent.EndRequest | RuntimeEvent.ExecuteResource; }
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
@@ -14,6 +14,7 @@
|
||||
<section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" />
|
||||
</sectionGroup>
|
||||
<section name="resizer" type="ImageResizer.ResizerSection" requirePermission="false" />
|
||||
<section name="glimpse" type="Glimpse.Core.Configuration.Section, Glimpse.Core" />
|
||||
</configSections>
|
||||
<appSettings>
|
||||
<!--nome sw e versioni-->
|
||||
@@ -121,12 +122,18 @@
|
||||
<add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" />
|
||||
</providers>
|
||||
</sessionState>
|
||||
<!-- Glimpse: This can be commented in to add additional data to the Trace tab when using WebForms
|
||||
<trace writeToDiagnosticsTrace="true" enabled="true" pageOutput="false"/> -->
|
||||
<httpModules>
|
||||
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
|
||||
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
|
||||
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
|
||||
<add name="ImageResizingModule" type="ImageResizer.InterceptModule" />
|
||||
<add name="Glimpse" type="Glimpse.AspNet.HttpModule, Glimpse.AspNet" />
|
||||
</httpModules>
|
||||
<httpHandlers>
|
||||
<add path="glimpse.axd" verb="GET" type="Glimpse.AspNet.HttpHandler, Glimpse.AspNet" />
|
||||
</httpHandlers>
|
||||
</system.web>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
@@ -138,6 +145,10 @@
|
||||
<assemblyIdentity name="DotNetOpenAuth.AspNet" publicKeyToken="2780ccd10d57b246" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="NLog" publicKeyToken="5120e14c03d0593c" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.2.1.0" newVersion="3.2.1.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<entityFramework>
|
||||
@@ -154,7 +165,11 @@
|
||||
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" preCondition="managedHandler" />
|
||||
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" preCondition="managedHandler" />
|
||||
<add name="ImageResizingModule" type="ImageResizer.InterceptModule" />
|
||||
<add name="Glimpse" type="Glimpse.AspNet.HttpModule, Glimpse.AspNet" preCondition="integratedMode" />
|
||||
</modules>
|
||||
<handlers>
|
||||
<add name="Glimpse" path="glimpse.axd" verb="GET" type="Glimpse.AspNet.HttpHandler, Glimpse.AspNet" preCondition="integratedMode" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
<elmah>
|
||||
<!--
|
||||
@@ -190,4 +205,21 @@
|
||||
<add name="SeamCarving" />
|
||||
</plugins>
|
||||
</resizer>
|
||||
<glimpse defaultRuntimePolicy="On" endpointBaseUri="~/Glimpse.axd">
|
||||
<!--
|
||||
For more information on how to configure Glimpse, please visit http://getglimpse.com/Help/Configuration
|
||||
or access {your site}/Glimpse.axd for even more details and a Configuration Tool to support you.
|
||||
-->
|
||||
<tabs>
|
||||
<ignoredTypes>
|
||||
<add type="Glimpse.AspNet.Tab.Routes, Glimpse.AspNet" />
|
||||
</ignoredTypes>
|
||||
</tabs>
|
||||
<inspectors>
|
||||
<ignoredTypes>
|
||||
<add type="Glimpse.AspNet.Inspector.RoutesInspector, Glimpse.AspNet" />
|
||||
</ignoredTypes>
|
||||
</inspectors>
|
||||
</glimpse>
|
||||
|
||||
</configuration>
|
||||
@@ -0,0 +1,52 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_anagSchedeColl.ascx.cs" Inherits="CMS_SC.WebUserControls.mod_anagSchedeColl" %>
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="CodScheda" DataSourceID="ods" CssClass="table table-striped table-hover" AllowPaging="True" AllowSorting="True">
|
||||
<PagerStyle CssClass="info" />
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="lbUpdate" runat="server" CausesValidation="True" CommandName="Update" ToolTip="Update" CssClass="fa fa-check fa-2x" />
|
||||
<asp:LinkButton ID="lbCancel" runat="server" CausesValidation="False" CommandName="Cancel" ToolTip="Cancel" CssClass="fa fa-undo fa-2x" />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbEdit" runat="server" CausesValidation="False" CommandName="Edit" ToolTip="Edit" CssClass="fa fa-edit fa-2x" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="CodScheda" HeaderText="CodScheda" ReadOnly="false" SortExpression="CodScheda" />
|
||||
<asp:BoundField DataField="Vers" HeaderText="Vers" SortExpression="Vers" />
|
||||
<asp:BoundField DataField="Descrizione" HeaderText="Descrizione" SortExpression="Descrizione" />
|
||||
<asp:BoundField DataField="Path" HeaderText="Path" SortExpression="Path" />
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbAddNew" runat="server" CausesValidation="false" ToolTip="InsNew" CssClass="fa fa-plus fa-2x" OnClick="lbAddNew_Click" />
|
||||
</HeaderTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="lbUpdate2" runat="server" CausesValidation="True" CommandName="Update" ToolTip="Update" CssClass="fa fa-check fa-2x" />
|
||||
<asp:LinkButton ID="lbCancel2" runat="server" CausesValidation="False" CommandName="Cancel" ToolTip="Cancel" CssClass="fa fa-undo fa-2x" />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbDelete" runat="server" CausesValidation="False" CommandName="Delete" ToolTip="Delete" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaDel") %>' CssClass="fa fa-trash fa-2x" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="CMS_SC_Data.DS_ApplicazioneTableAdapters.AnagSchedeTableAdapter" FilterExpression=" CodScheda LIKE '%{0}%' OR Descrizione LIKE '%{0}%'" DeleteMethod="deleteQuery" InsertMethod="insertQuery" UpdateMethod="updateQuery">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_CodScheda" Type="String" />
|
||||
</DeleteParameters>
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="searchVal" />
|
||||
</FilterParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="CodScheda" Type="String" />
|
||||
<asp:Parameter Name="Vers" Type="Int32" />
|
||||
<asp:Parameter Name="Descrizione" Type="String" />
|
||||
<asp:Parameter Name="Path" Type="String" />
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="CodScheda" Type="String" />
|
||||
<asp:Parameter Name="Vers" Type="Int32" />
|
||||
<asp:Parameter Name="Descrizione" Type="String" />
|
||||
<asp:Parameter Name="Path" Type="String" />
|
||||
<asp:Parameter Name="Original_CodScheda" Type="String" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using CMS_SC_Data;
|
||||
|
||||
namespace CMS_SC.WebUserControls
|
||||
{
|
||||
public partial class mod_anagSchedeColl : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// dimensione pagina grid view
|
||||
/// </summary>
|
||||
public int pageSize
|
||||
{
|
||||
get
|
||||
{
|
||||
return grView.PageSize;
|
||||
}
|
||||
set
|
||||
{
|
||||
grView.PageSize = value;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// richiesta di aggiunta record, tutto a zero!
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbAddNew_Click(object sender, EventArgs e)
|
||||
{
|
||||
// inserisco nuovo record
|
||||
DtProxy.man.taASC.insertQuery("000000", 0, "000000 Nuova Scheda", "000000");
|
||||
// update!
|
||||
grView.DataBind();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace CMS_SC.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_anagSchedeColl {
|
||||
|
||||
/// <summary>
|
||||
/// grView 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.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// ods 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.ObjectDataSource ods;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -13,6 +13,12 @@
|
||||
<package id="elmah.corelibrary" version="1.2.2" targetFramework="net45" />
|
||||
<package id="EntityFramework" version="5.0.0" targetFramework="net45" />
|
||||
<package id="FontAwesome" version="4.2.0" targetFramework="net45" />
|
||||
<package id="Glimpse" version="1.8.6" targetFramework="net45" />
|
||||
<package id="Glimpse.AspNet" version="1.9.2" targetFramework="net45" />
|
||||
<package id="Glimpse.AspNetCache" version="0.9.9.35094" targetFramework="net45" />
|
||||
<package id="Glimpse.Elmah" version="1.1.1" targetFramework="net45" />
|
||||
<package id="Glimpse.NLog" version="1.6.1" targetFramework="net45" />
|
||||
<package id="Glimpse.WebForms" version="1.1.1" targetFramework="net45" />
|
||||
<package id="ImageResizer" version="3.4.3" targetFramework="net45" />
|
||||
<package id="ImageResizer.Plugins.DiskCache" version="3.4.3" targetFramework="net45" />
|
||||
<package id="ImageResizer.Plugins.SeamCarving" version="3.4.3" targetFramework="net45" />
|
||||
|
||||
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+84
@@ -0,0 +1,84 @@
|
||||
$dataDir = Join-Path $env:AppData "Glimpse"
|
||||
$dataFile = Join-Path $dataDir "extensions.cli"
|
||||
|
||||
function Get-VersionValue($package, $packages){
|
||||
$oldPkg = $packages | where { $_.Action -eq "Uninstall" -and $_.Id -eq $package.Id } | sort { $_.Timestamp } -des | select -first 1
|
||||
|
||||
$result = ""
|
||||
|
||||
if ($oldPkg -ne $nul -and $oldPkg.Version -ne $package.Version){ $result += "{0}.." -f $oldPkg.Version }
|
||||
|
||||
return $result += $package.Version
|
||||
}
|
||||
|
||||
# INSTALL
|
||||
function Register-GlimpseExtension($package, $dte) {
|
||||
$pkgs = @()
|
||||
|
||||
if (Test-Path $dataFile)
|
||||
{
|
||||
$pkgs = @(Import-Clixml $dataFile | where { $_.Timestamp -gt (Get-Date).AddMinutes(-8) })
|
||||
}
|
||||
|
||||
$pkgs += @{
|
||||
"Id" = $package.Id;
|
||||
"Version" = $package.Version;
|
||||
"Timestamp" = Get-Date;
|
||||
"Action" = "Install"
|
||||
}
|
||||
|
||||
if (!(Test-Path $dataDir)){ md $dataDir }
|
||||
|
||||
$pkgs | Export-Clixml $dataFile
|
||||
|
||||
$queryArgs = @()
|
||||
foreach ($pkg in @($pkgs | where { $_.Action -eq "Install" } | sort { $_.Timestamp } -des))
|
||||
{
|
||||
$version = Get-VersionValue $pkg $pkgs
|
||||
$queryArgs += "{0}={1}" -f $pkg.Id, $version
|
||||
}
|
||||
|
||||
$queryString = $queryArgs -join "&"
|
||||
$dte.ItemOperations.Navigate("http://getGlimpse.com/Version/Install/?" + $queryString)
|
||||
}
|
||||
|
||||
Register-TabExpansion 'Register-GlimpseExtension' @{
|
||||
'package' = {
|
||||
"$package"
|
||||
};
|
||||
'dte' = {
|
||||
"$DTE"
|
||||
};
|
||||
}
|
||||
|
||||
Export-ModuleMember Register-GlimpseExtension
|
||||
|
||||
# UNINSTALL
|
||||
function Unregister-GlimpseExtension($package) {
|
||||
$pkgs = @()
|
||||
|
||||
if (Test-Path $dataFile)
|
||||
{
|
||||
$pkgs = @(Import-Clixml $dataFile)
|
||||
}
|
||||
|
||||
$pkgs += @{
|
||||
"Id" = $package.Id;
|
||||
"Version" = $package.Version;
|
||||
"Timestamp" = Get-Date;
|
||||
"Action" = "Uninstall"
|
||||
}
|
||||
|
||||
if (!(Test-Path $dataDir)){ md $dataDir }
|
||||
|
||||
$pkgs | Export-Clixml $dataFile
|
||||
}
|
||||
|
||||
Register-TabExpansion 'Unregister-GlimpseExtension' @{
|
||||
'package' = {
|
||||
"$package"
|
||||
};
|
||||
}
|
||||
|
||||
Export-ModuleMember Unregister-GlimpseExtension
|
||||
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
param($installPath, $toolsPath, $package)
|
||||
|
||||
Import-Module (Join-Path $toolsPath glimpse.psm1)
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
Register-GlimpseExtension $package $DTE
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
Unregister-GlimpseExtension $package
|
||||
Binary file not shown.
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
// Uncomment this class to provide custom runtime policy for Glimpse
|
||||
|
||||
using Glimpse.AspNet.Extensions;
|
||||
using Glimpse.Core.Extensibility;
|
||||
|
||||
namespace $rootnamespace$
|
||||
{
|
||||
public class GlimpseSecurityPolicy:IRuntimePolicy
|
||||
{
|
||||
public RuntimePolicy Execute(IRuntimePolicyContext policyContext)
|
||||
{
|
||||
// You can perform a check like the one below to control Glimpse's permissions within your application.
|
||||
// More information about RuntimePolicies can be found at http://getglimpse.com/Help/Custom-Runtime-Policy
|
||||
// var httpContext = policyContext.GetHttpContext();
|
||||
// if (!httpContext.User.IsInRole("Administrator"))
|
||||
// {
|
||||
// return RuntimePolicy.Off;
|
||||
// }
|
||||
|
||||
return RuntimePolicy.On;
|
||||
}
|
||||
|
||||
public RuntimeEvent ExecuteOn
|
||||
{
|
||||
// The RuntimeEvent.ExecuteResource is only needed in case you create a security policy
|
||||
// Have a look at http://blog.getglimpse.com/2013/12/09/protect-glimpse-axd-with-your-custom-runtime-policy/ for more details
|
||||
get { return RuntimeEvent.EndRequest | RuntimeEvent.ExecuteResource; }
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
@@ -0,0 +1,30 @@
|
||||
<configuration>
|
||||
<configSections>
|
||||
<section name="glimpse" type="Glimpse.Core.Configuration.Section, Glimpse.Core" />
|
||||
</configSections>
|
||||
<glimpse defaultRuntimePolicy="On" endpointBaseUri="~/Glimpse.axd">
|
||||
<!--
|
||||
For more information on how to configure Glimpse, please visit http://getglimpse.com/Help/Configuration
|
||||
or access {your site}/Glimpse.axd for even more details and a Configuration Tool to support you.
|
||||
-->
|
||||
</glimpse>
|
||||
<system.web>
|
||||
<!-- Glimpse: This can be commented in to add additional data to the Trace tab when using WebForms
|
||||
<trace writeToDiagnosticsTrace="true" enabled="true" pageOutput="false"/> -->
|
||||
<httpModules>
|
||||
<add name="Glimpse" type="Glimpse.AspNet.HttpModule, Glimpse.AspNet"/>
|
||||
</httpModules>
|
||||
<httpHandlers>
|
||||
<add path="glimpse.axd" verb="GET" type="Glimpse.AspNet.HttpHandler, Glimpse.AspNet"/>
|
||||
</httpHandlers>
|
||||
</system.web>
|
||||
<system.webServer>
|
||||
<validation validateIntegratedModeConfiguration="false"/>
|
||||
<modules>
|
||||
<add name="Glimpse" type="Glimpse.AspNet.HttpModule, Glimpse.AspNet" preCondition="integratedMode"/>
|
||||
</modules>
|
||||
<handlers>
|
||||
<add name="Glimpse" path="glimpse.axd" verb="GET" type="Glimpse.AspNet.HttpHandler, Glimpse.AspNet" preCondition="integratedMode" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
</configuration>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
Register-GlimpseExtension $package $DTE
|
||||
@@ -0,0 +1,3 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
Unregister-GlimpseExtension $package
|
||||
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
Register-GlimpseExtension $package $DTE
|
||||
@@ -0,0 +1,3 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
Unregister-GlimpseExtension $package
|
||||
Reference in New Issue
Block a user