ancora modifiche x gestioen elenco interventi...

This commit is contained in:
Samuele E. Locatelli
2015-04-27 16:10:47 +02:00
parent 4ea4be229a
commit c99110b3ba
22 changed files with 1473 additions and 24 deletions
+1124 -3
View File
File diff suppressed because it is too large Load Diff
+137 -3
View File
@@ -306,7 +306,7 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO
<DbSource ConnectionRef="WebSCRConnectionString (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_AC_DeleteQuery</CommandText>
<CommandText>dbo.stp_ATC_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_CodConsegna" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -317,7 +317,7 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO
<DbSource ConnectionRef="WebSCRConnectionString (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_AC_InsertQuery</CommandText>
<CommandText>dbo.stp_ATC_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="@CodConsegna" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -334,7 +334,7 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO
<DbSource ConnectionRef="WebSCRConnectionString (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_AC_UpdateQuery</CommandText>
<CommandText>dbo.stp_ATC_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="@CodConsegna" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -511,6 +511,62 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ImpegniTableAdapter" GeneratorDataComponentClassName="ImpegniTableAdapter" Name="Impegni" UserDataComponentName="ImpegniTableAdapter">
<MainSource>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.v_elencoImpegni" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT IdxImpegno, DataOra, CodSquadra, DescrSquadra, Elettrod, Clima, Inform, MinTotCons, MinViaggio, FinePrev, Expr1, CodCliente, Cognome, Nome, CodFis, OraIndic, RifOC, UrlDoc FROM dbo.v_elencoImpegni</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="IdxImpegno" DataSetColumn="IdxImpegno" />
<Mapping SourceColumn="DataOra" DataSetColumn="DataOra" />
<Mapping SourceColumn="CodSquadra" DataSetColumn="CodSquadra" />
<Mapping SourceColumn="DescrSquadra" DataSetColumn="DescrSquadra" />
<Mapping SourceColumn="Elettrod" DataSetColumn="Elettrod" />
<Mapping SourceColumn="Clima" DataSetColumn="Clima" />
<Mapping SourceColumn="Inform" DataSetColumn="Inform" />
<Mapping SourceColumn="MinTotCons" DataSetColumn="MinTotCons" />
<Mapping SourceColumn="MinViaggio" DataSetColumn="MinViaggio" />
<Mapping SourceColumn="FinePrev" DataSetColumn="FinePrev" />
<Mapping SourceColumn="Expr1" DataSetColumn="Expr1" />
<Mapping SourceColumn="CodCliente" DataSetColumn="CodCliente" />
<Mapping SourceColumn="Cognome" DataSetColumn="Cognome" />
<Mapping SourceColumn="Nome" DataSetColumn="Nome" />
<Mapping SourceColumn="CodFis" DataSetColumn="CodFis" />
<Mapping SourceColumn="OraIndic" DataSetColumn="OraIndic" />
<Mapping SourceColumn="RifOC" DataSetColumn="RifOC" />
<Mapping SourceColumn="UrlDoc" DataSetColumn="UrlDoc" />
</Mappings>
<Sources>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_Imp_getByCodCli" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCli" GetMethodModifier="Public" GetMethodName="getByCli" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCli" UserSourceName="getByCli">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Imp_getByCodCli</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="@CodCliente" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_Imp_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Imp_getByKey</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxImpegno" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -715,6 +771,78 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Impegni" msprop:Generator_TableClassName="ImpegniDataTable" msprop:Generator_TableVarName="tableImpegni" msprop:Generator_TablePropName="Impegni" msprop:Generator_RowDeletingName="ImpegniRowDeleting" msprop:Generator_RowChangingName="ImpegniRowChanging" msprop:Generator_RowEvHandlerName="ImpegniRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpegniRowDeleted" msprop:Generator_UserTableName="Impegni" msprop:Generator_RowChangedName="ImpegniRowChanged" msprop:Generator_RowEvArgName="ImpegniRowChangeEvent" msprop:Generator_RowClassName="ImpegniRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxImpegno" msprop:Generator_ColumnVarNameInTable="columnIdxImpegno" msprop:Generator_ColumnPropNameInRow="IdxImpegno" msprop:Generator_ColumnPropNameInTable="IdxImpegnoColumn" msprop:Generator_UserColumnName="IdxImpegno" type="xs:int" />
<xs:element name="DataOra" msprop:Generator_ColumnVarNameInTable="columnDataOra" msprop:Generator_ColumnPropNameInRow="DataOra" msprop:Generator_ColumnPropNameInTable="DataOraColumn" msprop:Generator_UserColumnName="DataOra" type="xs:dateTime" />
<xs:element name="CodSquadra" msprop:Generator_ColumnVarNameInTable="columnCodSquadra" msprop:Generator_ColumnPropNameInRow="CodSquadra" msprop:Generator_ColumnPropNameInTable="CodSquadraColumn" msprop:Generator_UserColumnName="CodSquadra">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescrSquadra" msprop:Generator_ColumnVarNameInTable="columnDescrSquadra" msprop:Generator_ColumnPropNameInRow="DescrSquadra" msprop:Generator_ColumnPropNameInTable="DescrSquadraColumn" msprop:Generator_UserColumnName="DescrSquadra">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Elettrod" msprop:Generator_ColumnVarNameInTable="columnElettrod" msprop:Generator_ColumnPropNameInRow="Elettrod" msprop:Generator_ColumnPropNameInTable="ElettrodColumn" msprop:Generator_UserColumnName="Elettrod" type="xs:boolean" />
<xs:element name="Clima" msprop:Generator_ColumnVarNameInTable="columnClima" msprop:Generator_ColumnPropNameInRow="Clima" msprop:Generator_ColumnPropNameInTable="ClimaColumn" msprop:Generator_UserColumnName="Clima" type="xs:boolean" />
<xs:element name="Inform" msprop:Generator_ColumnVarNameInTable="columnInform" msprop:Generator_ColumnPropNameInRow="Inform" msprop:Generator_ColumnPropNameInTable="InformColumn" msprop:Generator_UserColumnName="Inform" type="xs:boolean" />
<xs:element name="MinTotCons" msprop:Generator_ColumnVarNameInTable="columnMinTotCons" msprop:Generator_ColumnPropNameInRow="MinTotCons" msprop:Generator_ColumnPropNameInTable="MinTotConsColumn" msprop:Generator_UserColumnName="MinTotCons" type="xs:int" />
<xs:element name="MinViaggio" msprop:Generator_ColumnVarNameInTable="columnMinViaggio" msprop:Generator_ColumnPropNameInRow="MinViaggio" msprop:Generator_ColumnPropNameInTable="MinViaggioColumn" msprop:Generator_UserColumnName="MinViaggio" type="xs:int" />
<xs:element name="FinePrev" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnFinePrev" msprop:Generator_ColumnPropNameInRow="FinePrev" msprop:Generator_ColumnPropNameInTable="FinePrevColumn" msprop:Generator_UserColumnName="FinePrev" type="xs:dateTime" minOccurs="0" />
<xs:element name="Expr1" msprop:Generator_ColumnVarNameInTable="columnExpr1" msprop:Generator_ColumnPropNameInRow="Expr1" msprop:Generator_ColumnPropNameInTable="Expr1Column" msprop:Generator_UserColumnName="Expr1" type="xs:int" />
<xs:element name="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" msprop:Generator_UserColumnName="CodCliente">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Cognome" msprop:Generator_ColumnVarNameInTable="columnCognome" msprop:Generator_ColumnPropNameInRow="Cognome" msprop:Generator_ColumnPropNameInTable="CognomeColumn" msprop:Generator_UserColumnName="Cognome" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_UserColumnName="Nome" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodFis" msprop:Generator_ColumnVarNameInTable="columnCodFis" msprop:Generator_ColumnPropNameInRow="CodFis" msprop:Generator_ColumnPropNameInTable="CodFisColumn" msprop:Generator_UserColumnName="CodFis" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OraIndic" msprop:Generator_ColumnVarNameInTable="columnOraIndic" msprop:Generator_ColumnPropNameInRow="OraIndic" msprop:Generator_ColumnPropNameInTable="OraIndicColumn" msprop:Generator_UserColumnName="OraIndic" type="xs:boolean" />
<xs:element name="RifOC" msprop:Generator_ColumnVarNameInTable="columnRifOC" msprop:Generator_ColumnPropNameInRow="RifOC" msprop:Generator_ColumnPropNameInTable="RifOCColumn" msprop:Generator_UserColumnName="RifOC">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UrlDoc" msprop:Generator_ColumnVarNameInTable="columnUrlDoc" msprop:Generator_ColumnPropNameInRow="UrlDoc" msprop:Generator_ColumnPropNameInTable="UrlDocColumn" msprop:Generator_UserColumnName="UrlDoc">
<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">
@@ -733,5 +861,11 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
<xs:selector xpath=".//mstns:AnagClienti" />
<xs:field xpath="mstns:CodCliente" />
</xs:unique>
<xs:unique name="Impegni_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Impegni" />
<xs:field xpath="mstns:IdxImpegno" />
<xs:field xpath="mstns:CodSquadra" />
<xs:field xpath="mstns:CodCliente" />
</xs:unique>
</xs:element>
</xs:schema>
Binary file not shown.
Binary file not shown.
Binary file not shown.