v 1.9.100: update in prod anche DB e test drive, fix e chiusura segnalazioni Carlo...
This commit is contained in:
@@ -65,64 +65,13 @@ FROM v_ElencoFamMacc</CommandText>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ElencoMacchineCNTableAdapter" GeneratorDataComponentClassName="ElencoMacchineCNTableAdapter" Name="ElencoMacchineCN" UserDataComponentName="ElencoMacchineCNTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.ElencoMacchineCN" 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].[ElencoMacchineCN] WHERE (([Matricola] = @Original_Matricola) AND ([Descrizione] = @Original_Descrizione) AND ([Cliente] = @Original_Cliente) AND ([CodFam] = @Original_CodFam) AND ([CorsaX] = @Original_CorsaX) AND ([CorsaY] = @Original_CorsaY) AND ([CorsaZ] = @Original_CorsaZ))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Matricola" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Matricola" 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" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cliente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cliente" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodFam" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodFam" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CorsaX" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CorsaX" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CorsaY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CorsaY" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CorsaZ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CorsaZ" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[ElencoMacchineCN] ([Matricola], [Descrizione], [Cliente], [CodFam], [CorsaX], [CorsaY], [CorsaZ]) VALUES (@Matricola, @Descrizione, @Cliente, @CodFam, @CorsaX, @CorsaY, @CorsaZ);
|
||||
SELECT Matricola, Descrizione, Cliente, CodFam, CorsaX, CorsaY, CorsaZ FROM ElencoMacchineCN WHERE (Matricola = @Matricola)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Matricola" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Matricola" 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="@Cliente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cliente" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodFam" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodFam" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CorsaX" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CorsaX" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CorsaY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CorsaY" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CorsaZ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CorsaZ" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.v_ElencoMacchine" 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="true">
|
||||
<CommandText>SELECT * FROM dbo.ElencoMacchineCN</CommandText>
|
||||
<CommandText>SELECT * FROM v_ElencoMacchine</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[ElencoMacchineCN] SET [Matricola] = @Matricola, [Descrizione] = @Descrizione, [Cliente] = @Cliente, [CodFam] = @CodFam, [CorsaX] = @CorsaX, [CorsaY] = @CorsaY, [CorsaZ] = @CorsaZ WHERE (([Matricola] = @Original_Matricola) AND ([Descrizione] = @Original_Descrizione) AND ([Cliente] = @Original_Cliente) AND ([CodFam] = @Original_CodFam) AND ([CorsaX] = @Original_CorsaX) AND ([CorsaY] = @Original_CorsaY) AND ([CorsaZ] = @Original_CorsaZ));
|
||||
SELECT Matricola, Descrizione, Cliente, CodFam, CorsaX, CorsaY, CorsaZ FROM ElencoMacchineCN WHERE (Matricola = @Matricola)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Matricola" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Matricola" 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="@Cliente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cliente" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodFam" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodFam" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CorsaX" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CorsaX" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CorsaY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CorsaY" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CorsaZ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CorsaZ" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Matricola" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Matricola" 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" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cliente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cliente" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodFam" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodFam" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CorsaX" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CorsaX" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CorsaY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CorsaY" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CorsaZ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CorsaZ" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
@@ -133,6 +82,7 @@ SELECT Matricola, Descrizione, Cliente, CodFam, CorsaX, CorsaY, CorsaZ FROM Elen
|
||||
<Mapping SourceColumn="CorsaX" DataSetColumn="CorsaX" />
|
||||
<Mapping SourceColumn="CorsaY" DataSetColumn="CorsaY" />
|
||||
<Mapping SourceColumn="CorsaZ" DataSetColumn="CorsaZ" />
|
||||
<Mapping SourceColumn="IdxDossier" DataSetColumn="IdxDossier" />
|
||||
</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">
|
||||
@@ -1375,7 +1325,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</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_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: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:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodFam" msprop:Generator_ColumnVarNameInTable="columnCodFam" msprop:Generator_ColumnPropNameInRow="CodFam" msprop:Generator_ColumnPropNameInTable="CodFamColumn" msprop:Generator_UserColumnName="CodFam">
|
||||
@@ -1396,7 +1346,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<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: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:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Matricola" msprop:Generator_ColumnVarNameInTable="columnMatricola" msprop:Generator_ColumnPropNameInRow="Matricola" msprop:Generator_ColumnPropNameInTable="MatricolaColumn" msprop:Generator_UserColumnName="Matricola">
|
||||
@@ -1430,10 +1380,11 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
<xs:element name="CorsaX" msprop:Generator_ColumnVarNameInTable="columnCorsaX" msprop:Generator_ColumnPropNameInRow="CorsaX" msprop:Generator_ColumnPropNameInTable="CorsaXColumn" msprop:Generator_UserColumnName="CorsaX" type="xs:int" />
|
||||
<xs:element name="CorsaY" msprop:Generator_ColumnVarNameInTable="columnCorsaY" msprop:Generator_ColumnPropNameInRow="CorsaY" msprop:Generator_ColumnPropNameInTable="CorsaYColumn" msprop:Generator_UserColumnName="CorsaY" type="xs:int" />
|
||||
<xs:element name="CorsaZ" msprop:Generator_ColumnVarNameInTable="columnCorsaZ" msprop:Generator_ColumnPropNameInRow="CorsaZ" msprop:Generator_ColumnPropNameInTable="CorsaZColumn" msprop:Generator_UserColumnName="CorsaZ" type="xs:int" />
|
||||
<xs:element name="IdxDossier" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnIdxDossier" msprop:Generator_ColumnPropNameInRow="IdxDossier" msprop:Generator_ColumnPropNameInTable="IdxDossierColumn" msprop:Generator_UserColumnName="IdxDossier" type="xs:int" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_RowClassName="AnagFasiRow" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent">
|
||||
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent" msprop:Generator_RowClassName="AnagFasiRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Fase" msprop:Generator_ColumnVarNameInTable="columnFase" msprop:Generator_ColumnPropNameInRow="Fase" msprop:Generator_ColumnPropNameInTable="FaseColumn" msprop:Generator_UserColumnName="Fase">
|
||||
@@ -1453,7 +1404,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</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:element name="AnagSchede" msprop:Generator_TableClassName="AnagSchedeDataTable" msprop:Generator_TableVarName="tableAnagSchede" msprop:Generator_RowChangedName="AnagSchedeRowChanged" msprop:Generator_TablePropName="AnagSchede" msprop:Generator_RowDeletingName="AnagSchedeRowDeleting" msprop:Generator_RowChangingName="AnagSchedeRowChanging" msprop:Generator_RowEvHandlerName="AnagSchedeRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSchedeRowDeleted" msprop:Generator_RowClassName="AnagSchedeRow" msprop:Generator_UserTableName="AnagSchede" msprop:Generator_RowEvArgName="AnagSchedeRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodScheda" msprop:Generator_ColumnVarNameInTable="columnCodScheda" msprop:Generator_ColumnPropNameInRow="CodScheda" msprop:Generator_ColumnPropNameInTable="CodSchedaColumn" msprop:Generator_UserColumnName="CodScheda">
|
||||
@@ -1495,7 +1446,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="DettScheda" msprop:Generator_TableClassName="DettSchedaDataTable" msprop:Generator_TableVarName="tableDettScheda" msprop:Generator_RowChangedName="DettSchedaRowChanged" msprop:Generator_TablePropName="DettScheda" msprop:Generator_RowDeletingName="DettSchedaRowDeleting" msprop:Generator_RowChangingName="DettSchedaRowChanging" msprop:Generator_RowEvHandlerName="DettSchedaRowChangeEventHandler" msprop:Generator_RowDeletedName="DettSchedaRowDeleted" msprop:Generator_RowClassName="DettSchedaRow" msprop:Generator_UserTableName="DettScheda" msprop:Generator_RowEvArgName="DettSchedaRowChangeEvent">
|
||||
<xs:element name="DettScheda" msprop:Generator_TableClassName="DettSchedaDataTable" msprop:Generator_TableVarName="tableDettScheda" msprop:Generator_TablePropName="DettScheda" msprop:Generator_RowDeletingName="DettSchedaRowDeleting" msprop:Generator_RowChangingName="DettSchedaRowChanging" msprop:Generator_RowEvHandlerName="DettSchedaRowChangeEventHandler" msprop:Generator_RowDeletedName="DettSchedaRowDeleted" msprop:Generator_UserTableName="DettScheda" msprop:Generator_RowChangedName="DettSchedaRowChanged" msprop:Generator_RowEvArgName="DettSchedaRowChangeEvent" msprop:Generator_RowClassName="DettSchedaRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodScheda" msprop:Generator_ColumnVarNameInTable="columnCodScheda" msprop:Generator_ColumnPropNameInRow="CodScheda" msprop:Generator_ColumnPropNameInTable="CodSchedaColumn" msprop:Generator_UserColumnName="CodScheda">
|
||||
@@ -1544,7 +1495,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ValidVal" msprop:Generator_TableClassName="ValidValDataTable" msprop:Generator_TableVarName="tableValidVal" msprop:Generator_RowChangedName="ValidValRowChanged" msprop:Generator_TablePropName="ValidVal" msprop:Generator_RowDeletingName="ValidValRowDeleting" msprop:Generator_RowChangingName="ValidValRowChanging" msprop:Generator_RowEvHandlerName="ValidValRowChangeEventHandler" msprop:Generator_RowDeletedName="ValidValRowDeleted" msprop:Generator_RowClassName="ValidValRow" msprop:Generator_UserTableName="ValidVal" msprop:Generator_RowEvArgName="ValidValRowChangeEvent">
|
||||
<xs:element name="ValidVal" msprop:Generator_TableClassName="ValidValDataTable" msprop:Generator_TableVarName="tableValidVal" msprop:Generator_TablePropName="ValidVal" msprop:Generator_RowDeletingName="ValidValRowDeleting" msprop:Generator_RowChangingName="ValidValRowChanging" msprop:Generator_RowEvHandlerName="ValidValRowChangeEventHandler" msprop:Generator_RowDeletedName="ValidValRowDeleted" msprop:Generator_UserTableName="ValidVal" msprop:Generator_RowChangedName="ValidValRowChanged" msprop:Generator_RowEvArgName="ValidValRowChangeEvent" msprop:Generator_RowClassName="ValidValRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodScheda" msprop:Generator_ColumnVarNameInTable="columnCodScheda" msprop:Generator_ColumnPropNameInRow="CodScheda" msprop:Generator_ColumnPropNameInTable="CodSchedaColumn" msprop:Generator_UserColumnName="CodScheda">
|
||||
@@ -1569,7 +1520,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="SchemaCollFamMacc" msprop:Generator_TableClassName="SchemaCollFamMaccDataTable" msprop:Generator_TableVarName="tableSchemaCollFamMacc" msprop:Generator_RowChangedName="SchemaCollFamMaccRowChanged" msprop:Generator_TablePropName="SchemaCollFamMacc" msprop:Generator_RowDeletingName="SchemaCollFamMaccRowDeleting" msprop:Generator_RowChangingName="SchemaCollFamMaccRowChanging" msprop:Generator_RowEvHandlerName="SchemaCollFamMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="SchemaCollFamMaccRowDeleted" msprop:Generator_RowClassName="SchemaCollFamMaccRow" msprop:Generator_UserTableName="SchemaCollFamMacc" msprop:Generator_RowEvArgName="SchemaCollFamMaccRowChangeEvent">
|
||||
<xs:element name="SchemaCollFamMacc" msprop:Generator_TableClassName="SchemaCollFamMaccDataTable" msprop:Generator_TableVarName="tableSchemaCollFamMacc" msprop:Generator_TablePropName="SchemaCollFamMacc" msprop:Generator_RowDeletingName="SchemaCollFamMaccRowDeleting" msprop:Generator_RowChangingName="SchemaCollFamMaccRowChanging" msprop:Generator_RowEvHandlerName="SchemaCollFamMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="SchemaCollFamMaccRowDeleted" msprop:Generator_UserTableName="SchemaCollFamMacc" msprop:Generator_RowChangedName="SchemaCollFamMaccRowChanged" msprop:Generator_RowEvArgName="SchemaCollFamMaccRowChangeEvent" msprop:Generator_RowClassName="SchemaCollFamMaccRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodFam" msprop:Generator_ColumnVarNameInTable="columnCodFam" msprop:Generator_ColumnPropNameInRow="CodFam" msprop:Generator_ColumnPropNameInTable="CodFamColumn" msprop:Generator_UserColumnName="CodFam">
|
||||
@@ -1626,7 +1577,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ElencoDossier" msprop:Generator_TableClassName="ElencoDossierDataTable" msprop:Generator_TableVarName="tableElencoDossier" msprop:Generator_TablePropName="ElencoDossier" msprop:Generator_RowDeletingName="ElencoDossierRowDeleting" msprop:Generator_RowChangingName="ElencoDossierRowChanging" msprop:Generator_RowEvHandlerName="ElencoDossierRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoDossierRowDeleted" msprop:Generator_UserTableName="ElencoDossier" msprop:Generator_RowChangedName="ElencoDossierRowChanged" msprop:Generator_RowEvArgName="ElencoDossierRowChangeEvent" msprop:Generator_RowClassName="ElencoDossierRow">
|
||||
<xs:element name="ElencoDossier" msprop:Generator_TableClassName="ElencoDossierDataTable" msprop:Generator_TableVarName="tableElencoDossier" msprop:Generator_RowChangedName="ElencoDossierRowChanged" msprop:Generator_TablePropName="ElencoDossier" msprop:Generator_RowDeletingName="ElencoDossierRowDeleting" msprop:Generator_RowChangingName="ElencoDossierRowChanging" msprop:Generator_RowEvHandlerName="ElencoDossierRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoDossierRowDeleted" msprop:Generator_RowClassName="ElencoDossierRow" msprop:Generator_UserTableName="ElencoDossier" msprop:Generator_RowEvArgName="ElencoDossierRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxDossier" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxDossier" msprop:Generator_ColumnPropNameInRow="IdxDossier" msprop:Generator_ColumnPropNameInTable="IdxDossierColumn" msprop:Generator_UserColumnName="IdxDossier" type="xs:int" />
|
||||
@@ -1672,7 +1623,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="SchemaCollMacc" msprop:Generator_TableClassName="SchemaCollMaccDataTable" msprop:Generator_TableVarName="tableSchemaCollMacc" msprop:Generator_TablePropName="SchemaCollMacc" msprop:Generator_RowDeletingName="SchemaCollMaccRowDeleting" msprop:Generator_RowChangingName="SchemaCollMaccRowChanging" msprop:Generator_RowEvHandlerName="SchemaCollMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="SchemaCollMaccRowDeleted" msprop:Generator_UserTableName="SchemaCollMacc" msprop:Generator_RowChangedName="SchemaCollMaccRowChanged" msprop:Generator_RowEvArgName="SchemaCollMaccRowChangeEvent" msprop:Generator_RowClassName="SchemaCollMaccRow">
|
||||
<xs:element name="SchemaCollMacc" msprop:Generator_TableClassName="SchemaCollMaccDataTable" msprop:Generator_TableVarName="tableSchemaCollMacc" msprop:Generator_RowChangedName="SchemaCollMaccRowChanged" msprop:Generator_TablePropName="SchemaCollMacc" msprop:Generator_RowDeletingName="SchemaCollMaccRowDeleting" msprop:Generator_RowChangingName="SchemaCollMaccRowChanging" msprop:Generator_RowEvHandlerName="SchemaCollMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="SchemaCollMaccRowDeleted" msprop:Generator_RowClassName="SchemaCollMaccRow" msprop:Generator_UserTableName="SchemaCollMacc" msprop:Generator_RowEvArgName="SchemaCollMaccRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxDossier" msprop:Generator_ColumnVarNameInTable="columnIdxDossier" msprop:Generator_ColumnPropNameInRow="IdxDossier" msprop:Generator_ColumnPropNameInTable="IdxDossierColumn" msprop:Generator_UserColumnName="IdxDossier" type="xs:int" />
|
||||
@@ -1709,7 +1660,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Misure" msprop:Generator_TableClassName="MisureDataTable" msprop:Generator_TableVarName="tableMisure" msprop:Generator_TablePropName="Misure" msprop:Generator_RowDeletingName="MisureRowDeleting" msprop:Generator_RowChangingName="MisureRowChanging" msprop:Generator_RowEvHandlerName="MisureRowChangeEventHandler" msprop:Generator_RowDeletedName="MisureRowDeleted" msprop:Generator_UserTableName="Misure" msprop:Generator_RowChangedName="MisureRowChanged" msprop:Generator_RowEvArgName="MisureRowChangeEvent" msprop:Generator_RowClassName="MisureRow">
|
||||
<xs:element name="Misure" msprop:Generator_TableClassName="MisureDataTable" msprop:Generator_TableVarName="tableMisure" msprop:Generator_RowChangedName="MisureRowChanged" msprop:Generator_TablePropName="Misure" msprop:Generator_RowDeletingName="MisureRowDeleting" msprop:Generator_RowChangingName="MisureRowChanging" msprop:Generator_RowEvHandlerName="MisureRowChangeEventHandler" msprop:Generator_RowDeletedName="MisureRowDeleted" msprop:Generator_RowClassName="MisureRow" msprop:Generator_UserTableName="Misure" msprop:Generator_RowEvArgName="MisureRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxDossier" msprop:Generator_ColumnVarNameInTable="columnIdxDossier" msprop:Generator_ColumnPropNameInRow="IdxDossier" msprop:Generator_ColumnPropNameInTable="IdxDossierColumn" msprop:Generator_UserColumnName="IdxDossier" type="xs:int" />
|
||||
@@ -1802,7 +1753,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ReportData" msprop:Generator_TableClassName="ReportDataDataTable" msprop:Generator_TableVarName="tableReportData" msprop:Generator_RowChangedName="ReportDataRowChanged" msprop:Generator_TablePropName="ReportData" msprop:Generator_RowDeletingName="ReportDataRowDeleting" msprop:Generator_RowChangingName="ReportDataRowChanging" msprop:Generator_RowEvHandlerName="ReportDataRowChangeEventHandler" msprop:Generator_RowDeletedName="ReportDataRowDeleted" msprop:Generator_RowClassName="ReportDataRow" msprop:Generator_UserTableName="ReportData" msprop:Generator_RowEvArgName="ReportDataRowChangeEvent">
|
||||
<xs:element name="ReportData" msprop:Generator_TableClassName="ReportDataDataTable" msprop:Generator_TableVarName="tableReportData" msprop:Generator_TablePropName="ReportData" msprop:Generator_RowDeletingName="ReportDataRowDeleting" msprop:Generator_RowChangingName="ReportDataRowChanging" msprop:Generator_RowEvHandlerName="ReportDataRowChangeEventHandler" msprop:Generator_RowDeletedName="ReportDataRowDeleted" msprop:Generator_UserTableName="ReportData" msprop:Generator_RowChangedName="ReportDataRowChanged" msprop:Generator_RowEvArgName="ReportDataRowChangeEvent" msprop:Generator_RowClassName="ReportDataRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxDossier" msprop:Generator_ColumnVarNameInTable="columnIdxDossier" msprop:Generator_ColumnPropNameInRow="IdxDossier" msprop:Generator_ColumnPropNameInTable="IdxDossierColumn" msprop:Generator_UserColumnName="IdxDossier" type="xs:int" />
|
||||
@@ -1916,7 +1867,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Tags2Macchine" msprop:Generator_TableClassName="Tags2MacchineDataTable" msprop:Generator_TableVarName="tableTags2Macchine" msprop:Generator_TablePropName="Tags2Macchine" msprop:Generator_RowDeletingName="Tags2MacchineRowDeleting" msprop:Generator_RowChangingName="Tags2MacchineRowChanging" msprop:Generator_RowEvHandlerName="Tags2MacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="Tags2MacchineRowDeleted" msprop:Generator_UserTableName="Tags2Macchine" msprop:Generator_RowChangedName="Tags2MacchineRowChanged" msprop:Generator_RowEvArgName="Tags2MacchineRowChangeEvent" msprop:Generator_RowClassName="Tags2MacchineRow">
|
||||
<xs:element name="Tags2Macchine" msprop:Generator_TableClassName="Tags2MacchineDataTable" msprop:Generator_TableVarName="tableTags2Macchine" msprop:Generator_RowChangedName="Tags2MacchineRowChanged" msprop:Generator_TablePropName="Tags2Macchine" msprop:Generator_RowDeletingName="Tags2MacchineRowDeleting" msprop:Generator_RowChangingName="Tags2MacchineRowChanging" msprop:Generator_RowEvHandlerName="Tags2MacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="Tags2MacchineRowDeleted" msprop:Generator_RowClassName="Tags2MacchineRow" msprop:Generator_UserTableName="Tags2Macchine" msprop:Generator_RowEvArgName="Tags2MacchineRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Matricola" msprop:Generator_ColumnVarNameInTable="columnMatricola" msprop:Generator_ColumnPropNameInRow="Matricola" msprop:Generator_ColumnPropNameInTable="MatricolaColumn" msprop:Generator_UserColumnName="Matricola">
|
||||
@@ -1936,7 +1887,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagTags" msprop:Generator_TableClassName="AnagTagsDataTable" msprop:Generator_TableVarName="tableAnagTags" msprop:Generator_TablePropName="AnagTags" msprop:Generator_RowDeletingName="AnagTagsRowDeleting" msprop:Generator_RowChangingName="AnagTagsRowChanging" msprop:Generator_RowEvHandlerName="AnagTagsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTagsRowDeleted" msprop:Generator_UserTableName="AnagTags" msprop:Generator_RowChangedName="AnagTagsRowChanged" msprop:Generator_RowEvArgName="AnagTagsRowChangeEvent" msprop:Generator_RowClassName="AnagTagsRow">
|
||||
<xs:element name="AnagTags" msprop:Generator_TableClassName="AnagTagsDataTable" msprop:Generator_TableVarName="tableAnagTags" msprop:Generator_RowChangedName="AnagTagsRowChanged" msprop:Generator_TablePropName="AnagTags" msprop:Generator_RowDeletingName="AnagTagsRowDeleting" msprop:Generator_RowChangingName="AnagTagsRowChanging" msprop:Generator_RowEvHandlerName="AnagTagsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTagsRowDeleted" msprop:Generator_RowClassName="AnagTagsRow" msprop:Generator_UserTableName="AnagTags" msprop:Generator_RowEvArgName="AnagTagsRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="TagCode" msprop:Generator_ColumnVarNameInTable="columnTagCode" msprop:Generator_ColumnPropNameInRow="TagCode" msprop:Generator_ColumnPropNameInTable="TagCodeColumn" msprop:Generator_UserColumnName="TagCode">
|
||||
@@ -2026,18 +1977,18 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="FK_DettScheda_AnagSchede1" msdata:parent="AnagSchede" msdata:child="DettScheda" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="DettScheda" msprop:Generator_ChildPropName="GetDettSchedaRows" msprop:Generator_UserRelationName="FK_DettScheda_AnagSchede1" msprop:Generator_RelationVarName="relationFK_DettScheda_AnagSchede1" msprop:Generator_UserParentTable="AnagSchede" msprop:Generator_ParentPropName="AnagSchedeRowParent" />
|
||||
<msdata:Relationship name="FK_ElencoMacchineCN_ElencoFamMacc" msdata:parent="ElencoFamMacc" msdata:child="ElencoMacchineCN" msdata:parentkey="CodFam" msdata:childkey="CodFam" msprop:Generator_UserChildTable="ElencoMacchineCN" msprop:Generator_ChildPropName="GetElencoMacchineCNRows" msprop:Generator_UserRelationName="FK_ElencoMacchineCN_ElencoFamMacc" msprop:Generator_RelationVarName="relationFK_ElencoMacchineCN_ElencoFamMacc" msprop:Generator_UserParentTable="ElencoFamMacc" msprop:Generator_ParentPropName="ElencoFamMaccRow" />
|
||||
<msdata:Relationship name="FK_ValidVal_DettScheda" msdata:parent="DettScheda" msdata:child="ValidVal" msdata:parentkey="CodScheda Vers CodMisura" msdata:childkey="CodScheda Vers CodMisura" msprop:Generator_UserChildTable="ValidVal" msprop:Generator_ChildPropName="GetValidValRows" msprop:Generator_UserRelationName="FK_ValidVal_DettScheda" msprop:Generator_RelationVarName="relationFK_ValidVal_DettScheda" msprop:Generator_UserParentTable="DettScheda" msprop:Generator_ParentPropName="DettSchedaRowParent" />
|
||||
<msdata:Relationship name="FK_SchemaCollFamMacc_AnagSchede1" msdata:parent="AnagSchede" msdata:child="SchemaCollFamMacc" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="SchemaCollFamMacc" msprop:Generator_ChildPropName="GetSchemaCollFamMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollFamMacc_AnagSchede1" msprop:Generator_RelationVarName="relationFK_SchemaCollFamMacc_AnagSchede1" msprop:Generator_UserParentTable="AnagSchede" msprop:Generator_ParentPropName="AnagSchedeRowParent" />
|
||||
<msdata:Relationship name="FK_SchemaCollFamMacc_ElencoFamMacc" msdata:parent="ElencoFamMacc" msdata:child="SchemaCollFamMacc" msdata:parentkey="CodFam" msdata:childkey="CodFam" msprop:Generator_UserChildTable="SchemaCollFamMacc" msprop:Generator_ChildPropName="GetSchemaCollFamMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollFamMacc_ElencoFamMacc" msprop:Generator_RelationVarName="relationFK_SchemaCollFamMacc_ElencoFamMacc" msprop:Generator_UserParentTable="ElencoFamMacc" msprop:Generator_ParentPropName="ElencoFamMaccRow" />
|
||||
<msdata:Relationship name="FK_ElencoDossier_ElencoMacchineCN" msdata:parent="ElencoMacchineCN" msdata:child="ElencoDossier" msdata:parentkey="Matricola" msdata:childkey="Matricola" msprop:Generator_UserChildTable="ElencoDossier" msprop:Generator_ChildPropName="GetElencoDossierRows" msprop:Generator_UserRelationName="FK_ElencoDossier_ElencoMacchineCN" msprop:Generator_ParentPropName="ElencoMacchineCNRow" msprop:Generator_RelationVarName="relationFK_ElencoDossier_ElencoMacchineCN" msprop:Generator_UserParentTable="ElencoMacchineCN" />
|
||||
<msdata:Relationship name="FK_SchemaCollMacc_AnagSchede" msdata:parent="AnagSchede" msdata:child="SchemaCollMacc" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="SchemaCollMacc" msprop:Generator_ChildPropName="GetSchemaCollMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollMacc_AnagSchede" msprop:Generator_ParentPropName="AnagSchedeRowParent" msprop:Generator_RelationVarName="relationFK_SchemaCollMacc_AnagSchede" msprop:Generator_UserParentTable="AnagSchede" />
|
||||
<msdata:Relationship name="FK_SchemaCollMacc_ElencoDossier" msdata:parent="ElencoDossier" msdata:child="SchemaCollMacc" msdata:parentkey="IdxDossier" msdata:childkey="IdxDossier" msprop:Generator_UserChildTable="SchemaCollMacc" msprop:Generator_ChildPropName="GetSchemaCollMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollMacc_ElencoDossier" msprop:Generator_ParentPropName="ElencoDossierRow" msprop:Generator_RelationVarName="relationFK_SchemaCollMacc_ElencoDossier" msprop:Generator_UserParentTable="ElencoDossier" />
|
||||
<msdata:Relationship name="FK_IstanzeMisura_AnagFasi1" msdata:parent="AnagFasi" msdata:child="Misure" msdata:parentkey="Fase" msdata:childkey="Fase" msprop:Generator_UserChildTable="Misure" msprop:Generator_ChildPropName="GetMisureRows" msprop:Generator_UserRelationName="FK_IstanzeMisura_AnagFasi1" msprop:Generator_ParentPropName="AnagFasiRow" msprop:Generator_RelationVarName="relationFK_IstanzeMisura_AnagFasi1" msprop:Generator_UserParentTable="AnagFasi" />
|
||||
<msdata:Relationship name="FK_Misure_SchemaCollMacc1" msdata:parent="SchemaCollMacc" msdata:child="Misure" msdata:parentkey="IdxDossier CodScheda Vers NumScheda" msdata:childkey="IdxDossier CodScheda Vers NumScheda" msprop:Generator_UserChildTable="Misure" msprop:Generator_ChildPropName="GetMisureRows" msprop:Generator_UserRelationName="FK_Misure_SchemaCollMacc1" msprop:Generator_ParentPropName="SchemaCollMaccRowParent" msprop:Generator_RelationVarName="relationFK_Misure_SchemaCollMacc1" msprop:Generator_UserParentTable="SchemaCollMacc" />
|
||||
<msdata:Relationship name="FK_Tags2Macchine_ElencoMacchineCN" msdata:parent="ElencoMacchineCN" msdata:child="Tags2Macchine" msdata:parentkey="Matricola" msdata:childkey="Matricola" msprop:Generator_UserChildTable="Tags2Macchine" msprop:Generator_ChildPropName="GetTags2MacchineRows" msprop:Generator_UserRelationName="FK_Tags2Macchine_ElencoMacchineCN" msprop:Generator_ParentPropName="ElencoMacchineCNRow" msprop:Generator_RelationVarName="relationFK_Tags2Macchine_ElencoMacchineCN" msprop:Generator_UserParentTable="ElencoMacchineCN" />
|
||||
<msdata:Relationship name="FK_Tags2Macchine_AnagTags" msdata:parent="AnagTags" msdata:child="Tags2Macchine" msdata:parentkey="TagCode" msdata:childkey="TagCode" msprop:Generator_UserChildTable="Tags2Macchine" msprop:Generator_ChildPropName="GetTags2MacchineRows" msprop:Generator_UserRelationName="FK_Tags2Macchine_AnagTags" msprop:Generator_RelationVarName="relationFK_Tags2Macchine_AnagTags" msprop:Generator_UserParentTable="AnagTags" msprop:Generator_ParentPropName="AnagTagsRow" />
|
||||
<msdata:Relationship name="FK_DettScheda_AnagSchede1" msdata:parent="AnagSchede" msdata:child="DettScheda" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="DettScheda" msprop:Generator_ChildPropName="GetDettSchedaRows" msprop:Generator_UserRelationName="FK_DettScheda_AnagSchede1" msprop:Generator_ParentPropName="AnagSchedeRowParent" msprop:Generator_RelationVarName="relationFK_DettScheda_AnagSchede1" msprop:Generator_UserParentTable="AnagSchede" />
|
||||
<msdata:Relationship name="FK_ElencoMacchineCN_ElencoFamMacc" msdata:parent="ElencoFamMacc" msdata:child="ElencoMacchineCN" msdata:parentkey="CodFam" msdata:childkey="CodFam" msprop:Generator_UserChildTable="ElencoMacchineCN" msprop:Generator_ChildPropName="GetElencoMacchineCNRows" msprop:Generator_UserRelationName="FK_ElencoMacchineCN_ElencoFamMacc" msprop:Generator_ParentPropName="ElencoFamMaccRow" msprop:Generator_RelationVarName="relationFK_ElencoMacchineCN_ElencoFamMacc" msprop:Generator_UserParentTable="ElencoFamMacc" />
|
||||
<msdata:Relationship name="FK_ValidVal_DettScheda" msdata:parent="DettScheda" msdata:child="ValidVal" msdata:parentkey="CodScheda Vers CodMisura" msdata:childkey="CodScheda Vers CodMisura" msprop:Generator_UserChildTable="ValidVal" msprop:Generator_ChildPropName="GetValidValRows" msprop:Generator_UserRelationName="FK_ValidVal_DettScheda" msprop:Generator_ParentPropName="DettSchedaRowParent" msprop:Generator_RelationVarName="relationFK_ValidVal_DettScheda" msprop:Generator_UserParentTable="DettScheda" />
|
||||
<msdata:Relationship name="FK_SchemaCollFamMacc_AnagSchede1" msdata:parent="AnagSchede" msdata:child="SchemaCollFamMacc" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="SchemaCollFamMacc" msprop:Generator_ChildPropName="GetSchemaCollFamMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollFamMacc_AnagSchede1" msprop:Generator_ParentPropName="AnagSchedeRowParent" msprop:Generator_RelationVarName="relationFK_SchemaCollFamMacc_AnagSchede1" msprop:Generator_UserParentTable="AnagSchede" />
|
||||
<msdata:Relationship name="FK_SchemaCollFamMacc_ElencoFamMacc" msdata:parent="ElencoFamMacc" msdata:child="SchemaCollFamMacc" msdata:parentkey="CodFam" msdata:childkey="CodFam" msprop:Generator_UserChildTable="SchemaCollFamMacc" msprop:Generator_ChildPropName="GetSchemaCollFamMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollFamMacc_ElencoFamMacc" msprop:Generator_ParentPropName="ElencoFamMaccRow" msprop:Generator_RelationVarName="relationFK_SchemaCollFamMacc_ElencoFamMacc" msprop:Generator_UserParentTable="ElencoFamMacc" />
|
||||
<msdata:Relationship name="FK_ElencoDossier_ElencoMacchineCN" msdata:parent="ElencoMacchineCN" msdata:child="ElencoDossier" msdata:parentkey="Matricola" msdata:childkey="Matricola" msprop:Generator_UserChildTable="ElencoDossier" msprop:Generator_ChildPropName="GetElencoDossierRows" msprop:Generator_UserRelationName="FK_ElencoDossier_ElencoMacchineCN" msprop:Generator_RelationVarName="relationFK_ElencoDossier_ElencoMacchineCN" msprop:Generator_UserParentTable="ElencoMacchineCN" msprop:Generator_ParentPropName="ElencoMacchineCNRow" />
|
||||
<msdata:Relationship name="FK_SchemaCollMacc_AnagSchede" msdata:parent="AnagSchede" msdata:child="SchemaCollMacc" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="SchemaCollMacc" msprop:Generator_ChildPropName="GetSchemaCollMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollMacc_AnagSchede" msprop:Generator_RelationVarName="relationFK_SchemaCollMacc_AnagSchede" msprop:Generator_UserParentTable="AnagSchede" msprop:Generator_ParentPropName="AnagSchedeRowParent" />
|
||||
<msdata:Relationship name="FK_SchemaCollMacc_ElencoDossier" msdata:parent="ElencoDossier" msdata:child="SchemaCollMacc" msdata:parentkey="IdxDossier" msdata:childkey="IdxDossier" msprop:Generator_UserChildTable="SchemaCollMacc" msprop:Generator_ChildPropName="GetSchemaCollMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollMacc_ElencoDossier" msprop:Generator_RelationVarName="relationFK_SchemaCollMacc_ElencoDossier" msprop:Generator_UserParentTable="ElencoDossier" msprop:Generator_ParentPropName="ElencoDossierRow" />
|
||||
<msdata:Relationship name="FK_IstanzeMisura_AnagFasi1" msdata:parent="AnagFasi" msdata:child="Misure" msdata:parentkey="Fase" msdata:childkey="Fase" msprop:Generator_UserChildTable="Misure" msprop:Generator_ChildPropName="GetMisureRows" msprop:Generator_UserRelationName="FK_IstanzeMisura_AnagFasi1" msprop:Generator_RelationVarName="relationFK_IstanzeMisura_AnagFasi1" msprop:Generator_UserParentTable="AnagFasi" msprop:Generator_ParentPropName="AnagFasiRow" />
|
||||
<msdata:Relationship name="FK_Misure_SchemaCollMacc1" msdata:parent="SchemaCollMacc" msdata:child="Misure" msdata:parentkey="IdxDossier CodScheda Vers NumScheda" msdata:childkey="IdxDossier CodScheda Vers NumScheda" msprop:Generator_UserChildTable="Misure" msprop:Generator_ChildPropName="GetMisureRows" msprop:Generator_UserRelationName="FK_Misure_SchemaCollMacc1" msprop:Generator_RelationVarName="relationFK_Misure_SchemaCollMacc1" msprop:Generator_UserParentTable="SchemaCollMacc" msprop:Generator_ParentPropName="SchemaCollMaccRowParent" />
|
||||
<msdata:Relationship name="FK_Tags2Macchine_ElencoMacchineCN" msdata:parent="ElencoMacchineCN" msdata:child="Tags2Macchine" msdata:parentkey="Matricola" msdata:childkey="Matricola" msprop:Generator_UserChildTable="Tags2Macchine" msprop:Generator_ChildPropName="GetTags2MacchineRows" msprop:Generator_UserRelationName="FK_Tags2Macchine_ElencoMacchineCN" msprop:Generator_RelationVarName="relationFK_Tags2Macchine_ElencoMacchineCN" msprop:Generator_UserParentTable="ElencoMacchineCN" msprop:Generator_ParentPropName="ElencoMacchineCNRow" />
|
||||
<msdata:Relationship name="FK_Tags2Macchine_AnagTags" msdata:parent="AnagTags" msdata:child="Tags2Macchine" msdata:parentkey="TagCode" msdata:childkey="TagCode" msprop:Generator_UserChildTable="Tags2Macchine" msprop:Generator_ChildPropName="GetTags2MacchineRows" msprop:Generator_UserRelationName="FK_Tags2Macchine_AnagTags" msprop:Generator_ParentPropName="AnagTagsRow" msprop:Generator_RelationVarName="relationFK_Tags2Macchine_AnagTags" msprop:Generator_UserParentTable="AnagTags" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
@@ -4,21 +4,21 @@
|
||||
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="50" ViewPortY="-36" 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="187" ViewPortY="-36" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:ElencoFamMacc" ZOrder="23" X="598" Y="-22" Height="191" Width="249" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:ElencoMacchineCN" ZOrder="1" X="1029" Y="-32" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:AnagFasi" ZOrder="17" X="1096" Y="741" Height="172" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagSchede" ZOrder="3" X="67" Y="363" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:DettScheda" ZOrder="13" X="414" Y="444" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:ValidVal" ZOrder="6" X="100" Y="649" Height="286" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:SchemaCollFamMacc" ZOrder="2" X="67" Y="-36" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:ElencoDossier" ZOrder="7" X="1061" Y="261" Height="343" Width="273" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
<Shape ID="DesignTable:SchemaCollMacc" ZOrder="4" X="738" Y="184" Height="345" Width="280" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="176" />
|
||||
<Shape ID="DesignTable:Misure" ZOrder="8" X="750" Y="562" Height="419" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="256" />
|
||||
<Shape ID="DesignTable:ReportData" ZOrder="14" X="410" Y="783" Height="305" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Tags2Macchine" ZOrder="12" X="1366" Y="-8" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagTags" ZOrder="9" X="1376" Y="245" Height="191" Width="247" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:ElencoMacchineCN" ZOrder="3" X="1029" Y="-32" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:AnagFasi" ZOrder="18" X="1096" Y="741" Height="172" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagSchede" ZOrder="5" X="67" Y="363" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:DettScheda" ZOrder="14" X="414" Y="444" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:ValidVal" ZOrder="8" X="100" Y="649" Height="286" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:SchemaCollFamMacc" ZOrder="4" X="67" Y="-36" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:ElencoDossier" ZOrder="2" X="1070" Y="325" Height="343" Width="273" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
<Shape ID="DesignTable:SchemaCollMacc" ZOrder="6" X="738" Y="184" Height="345" Width="280" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="176" />
|
||||
<Shape ID="DesignTable:Misure" ZOrder="9" X="750" Y="562" Height="419" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="256" />
|
||||
<Shape ID="DesignTable:ReportData" ZOrder="15" X="410" Y="783" Height="305" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Tags2Macchine" ZOrder="13" X="1366" Y="-8" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagTags" ZOrder="10" X="1376" Y="245" Height="191" Width="247" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_DettScheda_AnagSchede1" ZOrder="25" LineWidth="11">
|
||||
@@ -81,19 +81,19 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_ElencoDossier_ElencoMacchineCN" ZOrder="19" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_ElencoDossier_ElencoMacchineCN" ZOrder="1" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1195</X>
|
||||
<Y>254</Y>
|
||||
<X>1226</X>
|
||||
<Y>273</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>1195</X>
|
||||
<Y>261</Y>
|
||||
<X>1226</X>
|
||||
<Y>325</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_SchemaCollMacc_AnagSchede" ZOrder="5" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_SchemaCollMacc_AnagSchede" ZOrder="7" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>367</X>
|
||||
@@ -105,19 +105,19 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_SchemaCollMacc_ElencoDossier" ZOrder="18" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_SchemaCollMacc_ElencoDossier" ZOrder="19" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1061</X>
|
||||
<Y>379</Y>
|
||||
<X>1070</X>
|
||||
<Y>443</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>1018</X>
|
||||
<Y>379</Y>
|
||||
<Y>443</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_IstanzeMisura_AnagFasi1" ZOrder="16" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_IstanzeMisura_AnagFasi1" ZOrder="17" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1096</X>
|
||||
@@ -129,7 +129,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Misure_SchemaCollMacc1" ZOrder="15" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Misure_SchemaCollMacc1" ZOrder="16" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>807</X>
|
||||
@@ -141,7 +141,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Tags2Macchine_ElencoMacchineCN" ZOrder="11" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Tags2Macchine_ElencoMacchineCN" ZOrder="12" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1329</X>
|
||||
@@ -153,7 +153,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Tags2Macchine_AnagTags" ZOrder="10" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Tags2Macchine_AnagTags" ZOrder="11" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1476</X>
|
||||
|
||||
Generated
+47
-319
@@ -1102,6 +1102,8 @@ namespace CMS_SC_Data {
|
||||
|
||||
private global::System.Data.DataColumn columnCorsaZ;
|
||||
|
||||
private global::System.Data.DataColumn columnIdxDossier;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public ElencoMacchineCNDataTable() {
|
||||
@@ -1191,6 +1193,14 @@ namespace CMS_SC_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn IdxDossierColumn {
|
||||
get {
|
||||
return this.columnIdxDossier;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -1228,7 +1238,7 @@ namespace CMS_SC_Data {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public ElencoMacchineCNRow AddElencoMacchineCNRow(string Matricola, string Descrizione, string Cliente, ElencoFamMaccRow parentElencoFamMaccRowByFK_ElencoMacchineCN_ElencoFamMacc, int CorsaX, int CorsaY, int CorsaZ) {
|
||||
public ElencoMacchineCNRow AddElencoMacchineCNRow(string Matricola, string Descrizione, string Cliente, ElencoFamMaccRow parentElencoFamMaccRowByFK_ElencoMacchineCN_ElencoFamMacc, int CorsaX, int CorsaY, int CorsaZ, int IdxDossier) {
|
||||
ElencoMacchineCNRow rowElencoMacchineCNRow = ((ElencoMacchineCNRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
Matricola,
|
||||
@@ -1237,7 +1247,8 @@ namespace CMS_SC_Data {
|
||||
null,
|
||||
CorsaX,
|
||||
CorsaY,
|
||||
CorsaZ};
|
||||
CorsaZ,
|
||||
IdxDossier};
|
||||
if ((parentElencoFamMaccRowByFK_ElencoMacchineCN_ElencoFamMacc != null)) {
|
||||
columnValuesArray[3] = parentElencoFamMaccRowByFK_ElencoMacchineCN_ElencoFamMacc[0];
|
||||
}
|
||||
@@ -1277,6 +1288,7 @@ namespace CMS_SC_Data {
|
||||
this.columnCorsaX = base.Columns["CorsaX"];
|
||||
this.columnCorsaY = base.Columns["CorsaY"];
|
||||
this.columnCorsaZ = base.Columns["CorsaZ"];
|
||||
this.columnIdxDossier = base.Columns["IdxDossier"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -1296,6 +1308,8 @@ namespace CMS_SC_Data {
|
||||
base.Columns.Add(this.columnCorsaY);
|
||||
this.columnCorsaZ = new global::System.Data.DataColumn("CorsaZ", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnCorsaZ);
|
||||
this.columnIdxDossier = new global::System.Data.DataColumn("IdxDossier", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnIdxDossier);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnMatricola}, true));
|
||||
this.columnMatricola.AllowDBNull = false;
|
||||
@@ -1310,6 +1324,7 @@ namespace CMS_SC_Data {
|
||||
this.columnCorsaX.AllowDBNull = false;
|
||||
this.columnCorsaY.AllowDBNull = false;
|
||||
this.columnCorsaZ.AllowDBNull = false;
|
||||
this.columnIdxDossier.ReadOnly = true;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -5871,6 +5886,22 @@ namespace CMS_SC_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public int IdxDossier {
|
||||
get {
|
||||
try {
|
||||
return ((int)(this[this.tableElencoMacchineCN.IdxDossierColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'IdxDossier\' in table \'ElencoMacchineCN\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableElencoMacchineCN.IdxDossierColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public ElencoFamMaccRow ElencoFamMaccRow {
|
||||
@@ -5882,6 +5913,18 @@ namespace CMS_SC_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsIdxDossierNull() {
|
||||
return this.IsNull(this.tableElencoMacchineCN.IdxDossierColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetIdxDossierNull() {
|
||||
this[this.tableElencoMacchineCN.IdxDossierColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public ElencoDossierRow[] GetElencoDossierRows() {
|
||||
@@ -8606,49 +8649,8 @@ namespace CMS_SC_Data.DS_ApplicazioneTableAdapters {
|
||||
tableMapping.ColumnMappings.Add("CorsaX", "CorsaX");
|
||||
tableMapping.ColumnMappings.Add("CorsaY", "CorsaY");
|
||||
tableMapping.ColumnMappings.Add("CorsaZ", "CorsaZ");
|
||||
tableMapping.ColumnMappings.Add("IdxDossier", "IdxDossier");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.DeleteCommand.Connection = this.Connection;
|
||||
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[ElencoMacchineCN] WHERE (([Matricola] = @Original_Matricola) AND ([Descrizione] = @Original_Descrizione) AND ([Cliente] = @Original_Cliente) AND ([CodFam] = @Original_CodFam) AND ([CorsaX] = @Original_CorsaX) AND ([CorsaY] = @Original_CorsaY) AND ([CorsaZ] = @Original_CorsaZ))";
|
||||
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cliente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFam", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFam", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CorsaX", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CorsaX", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CorsaY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CorsaY", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CorsaZ", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CorsaZ", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.InsertCommand.Connection = this.Connection;
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[ElencoMacchineCN] ([Matricola], [Descrizione], [Cliente], [CodFam], [CorsaX], [CorsaY], [CorsaZ]) VALUES (@Matricola, @Descrizione, @Cliente, @CodFam, @CorsaX, @CorsaY, @CorsaZ);
|
||||
SELECT Matricola, Descrizione, Cliente, CodFam, CorsaX, CorsaY, CorsaZ FROM ElencoMacchineCN WHERE (Matricola = @Matricola)";
|
||||
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cliente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFam", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFam", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CorsaX", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CorsaX", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CorsaY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CorsaY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CorsaZ", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CorsaZ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.UpdateCommand.Connection = this.Connection;
|
||||
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[ElencoMacchineCN] SET [Matricola] = @Matricola, [Descrizione] = @Descrizione, [Cliente] = @Cliente, [CodFam] = @CodFam, [CorsaX] = @CorsaX, [CorsaY] = @CorsaY, [CorsaZ] = @CorsaZ WHERE (([Matricola] = @Original_Matricola) AND ([Descrizione] = @Original_Descrizione) AND ([Cliente] = @Original_Cliente) AND ([CodFam] = @Original_CodFam) AND ([CorsaX] = @Original_CorsaX) AND ([CorsaY] = @Original_CorsaY) AND ([CorsaZ] = @Original_CorsaZ));
|
||||
SELECT Matricola, Descrizione, Cliente, CodFam, CorsaX, CorsaY, CorsaZ FROM ElencoMacchineCN WHERE (Matricola = @Matricola)";
|
||||
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cliente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFam", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFam", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CorsaX", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CorsaX", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CorsaY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CorsaY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CorsaZ", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CorsaZ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cliente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFam", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFam", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CorsaX", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CorsaX", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CorsaY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CorsaY", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CorsaZ", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CorsaZ", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -8664,7 +8666,7 @@ SELECT Matricola, Descrizione, Cliente, CodFam, CorsaX, CorsaY, CorsaZ FROM Elen
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT * FROM dbo.ElencoMacchineCN";
|
||||
this._commandCollection[0].CommandText = "SELECT * FROM v_ElencoMacchine";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[1].Connection = this.Connection;
|
||||
@@ -8747,214 +8749,6 @@ SELECT Matricola, Descrizione, Cliente, CodFam, CorsaX, CorsaY, CorsaZ FROM Elen
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int Update(DS_Applicazione.ElencoMacchineCNDataTable dataTable) {
|
||||
return this.Adapter.Update(dataTable);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int Update(DS_Applicazione dataSet) {
|
||||
return this.Adapter.Update(dataSet, "ElencoMacchineCN");
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int Update(global::System.Data.DataRow dataRow) {
|
||||
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
||||
dataRow});
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
||||
return this.Adapter.Update(dataRows);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
||||
public virtual int Delete(string Original_Matricola, string Original_Descrizione, string Original_Cliente, string Original_CodFam, int Original_CorsaX, int Original_CorsaY, int Original_CorsaZ) {
|
||||
if ((Original_Matricola == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Matricola");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_Matricola));
|
||||
}
|
||||
if ((Original_Descrizione == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Descrizione");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Descrizione));
|
||||
}
|
||||
if ((Original_Cliente == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Cliente");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Cliente));
|
||||
}
|
||||
if ((Original_CodFam == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodFam");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CodFam));
|
||||
}
|
||||
this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_CorsaX));
|
||||
this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_CorsaY));
|
||||
this.Adapter.DeleteCommand.Parameters[6].Value = ((int)(Original_CorsaZ));
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
||||
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
this.Adapter.DeleteCommand.Connection.Open();
|
||||
}
|
||||
try {
|
||||
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
||||
return returnValue;
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
this.Adapter.DeleteCommand.Connection.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
||||
public virtual int Insert(string Matricola, string Descrizione, string Cliente, string CodFam, int CorsaX, int CorsaY, int CorsaZ) {
|
||||
if ((Matricola == null)) {
|
||||
throw new global::System.ArgumentNullException("Matricola");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Matricola));
|
||||
}
|
||||
if ((Descrizione == null)) {
|
||||
throw new global::System.ArgumentNullException("Descrizione");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Descrizione));
|
||||
}
|
||||
if ((Cliente == null)) {
|
||||
throw new global::System.ArgumentNullException("Cliente");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Cliente));
|
||||
}
|
||||
if ((CodFam == null)) {
|
||||
throw new global::System.ArgumentNullException("CodFam");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodFam));
|
||||
}
|
||||
this.Adapter.InsertCommand.Parameters[4].Value = ((int)(CorsaX));
|
||||
this.Adapter.InsertCommand.Parameters[5].Value = ((int)(CorsaY));
|
||||
this.Adapter.InsertCommand.Parameters[6].Value = ((int)(CorsaZ));
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
||||
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
this.Adapter.InsertCommand.Connection.Open();
|
||||
}
|
||||
try {
|
||||
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
|
||||
return returnValue;
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
this.Adapter.InsertCommand.Connection.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
||||
public virtual int Update(string Matricola, string Descrizione, string Cliente, string CodFam, int CorsaX, int CorsaY, int CorsaZ, string Original_Matricola, string Original_Descrizione, string Original_Cliente, string Original_CodFam, int Original_CorsaX, int Original_CorsaY, int Original_CorsaZ) {
|
||||
if ((Matricola == null)) {
|
||||
throw new global::System.ArgumentNullException("Matricola");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Matricola));
|
||||
}
|
||||
if ((Descrizione == null)) {
|
||||
throw new global::System.ArgumentNullException("Descrizione");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Descrizione));
|
||||
}
|
||||
if ((Cliente == null)) {
|
||||
throw new global::System.ArgumentNullException("Cliente");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Cliente));
|
||||
}
|
||||
if ((CodFam == null)) {
|
||||
throw new global::System.ArgumentNullException("CodFam");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodFam));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(CorsaX));
|
||||
this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(CorsaY));
|
||||
this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(CorsaZ));
|
||||
if ((Original_Matricola == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Matricola");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_Matricola));
|
||||
}
|
||||
if ((Original_Descrizione == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Descrizione");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_Descrizione));
|
||||
}
|
||||
if ((Original_Cliente == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Cliente");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_Cliente));
|
||||
}
|
||||
if ((Original_CodFam == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodFam");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_CodFam));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_CorsaX));
|
||||
this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(Original_CorsaY));
|
||||
this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_CorsaZ));
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
||||
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
this.Adapter.UpdateCommand.Connection.Open();
|
||||
}
|
||||
try {
|
||||
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
|
||||
return returnValue;
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
this.Adapter.UpdateCommand.Connection.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
||||
public virtual int Update(string Descrizione, string Cliente, string CodFam, int CorsaX, int CorsaY, int CorsaZ, string Original_Matricola, string Original_Descrizione, string Original_Cliente, string Original_CodFam, int Original_CorsaX, int Original_CorsaY, int Original_CorsaZ) {
|
||||
return this.Update(Original_Matricola, Descrizione, Cliente, CodFam, CorsaX, CorsaY, CorsaZ, Original_Matricola, Original_Descrizione, Original_Cliente, Original_CodFam, Original_CorsaX, Original_CorsaY, Original_CorsaZ);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
@@ -14680,8 +14474,6 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)";
|
||||
|
||||
private UpdateOrderOption _updateOrder;
|
||||
|
||||
private ElencoMacchineCNTableAdapter _elencoMacchineCNTableAdapter;
|
||||
|
||||
private AnagFasiTableAdapter _anagFasiTableAdapter;
|
||||
|
||||
private AnagSchedeTableAdapter _anagSchedeTableAdapter;
|
||||
@@ -14711,20 +14503,6 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)";
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
||||
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
||||
"a", "System.Drawing.Design.UITypeEditor")]
|
||||
public ElencoMacchineCNTableAdapter ElencoMacchineCNTableAdapter {
|
||||
get {
|
||||
return this._elencoMacchineCNTableAdapter;
|
||||
}
|
||||
set {
|
||||
this._elencoMacchineCNTableAdapter = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
||||
@@ -14842,10 +14620,6 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)";
|
||||
if ((this._connection != null)) {
|
||||
return this._connection;
|
||||
}
|
||||
if (((this._elencoMacchineCNTableAdapter != null)
|
||||
&& (this._elencoMacchineCNTableAdapter.Connection != null))) {
|
||||
return this._elencoMacchineCNTableAdapter.Connection;
|
||||
}
|
||||
if (((this._anagFasiTableAdapter != null)
|
||||
&& (this._anagFasiTableAdapter.Connection != null))) {
|
||||
return this._anagFasiTableAdapter.Connection;
|
||||
@@ -14887,9 +14661,6 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)";
|
||||
public int TableAdapterInstanceCount {
|
||||
get {
|
||||
int count = 0;
|
||||
if ((this._elencoMacchineCNTableAdapter != null)) {
|
||||
count = (count + 1);
|
||||
}
|
||||
if ((this._anagFasiTableAdapter != null)) {
|
||||
count = (count + 1);
|
||||
}
|
||||
@@ -14922,15 +14693,6 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)";
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private int UpdateUpdatedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
|
||||
int result = 0;
|
||||
if ((this._elencoMacchineCNTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.ElencoMacchineCN.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
if (((updatedRows != null)
|
||||
&& (0 < updatedRows.Length))) {
|
||||
result = (result + this._elencoMacchineCNTableAdapter.Update(updatedRows));
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
if ((this._anagSchedeTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.AnagSchede.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
@@ -15004,14 +14766,6 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)";
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private int UpdateInsertedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
|
||||
int result = 0;
|
||||
if ((this._elencoMacchineCNTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.ElencoMacchineCN.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
&& (0 < addedRows.Length))) {
|
||||
result = (result + this._elencoMacchineCNTableAdapter.Update(addedRows));
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
if ((this._anagSchedeTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.AnagSchede.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
@@ -15134,14 +14888,6 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)";
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
if ((this._elencoMacchineCNTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.ElencoMacchineCN.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
&& (0 < deletedRows.Length))) {
|
||||
result = (result + this._elencoMacchineCNTableAdapter.Update(deletedRows));
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -15181,11 +14927,6 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)";
|
||||
if ((dataSet.HasChanges() == false)) {
|
||||
return 0;
|
||||
}
|
||||
if (((this._elencoMacchineCNTableAdapter != null)
|
||||
&& (this.MatchTableAdapterConnection(this._elencoMacchineCNTableAdapter.Connection) == false))) {
|
||||
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
||||
"tring.");
|
||||
}
|
||||
if (((this._anagFasiTableAdapter != null)
|
||||
&& (this.MatchTableAdapterConnection(this._anagFasiTableAdapter.Connection) == false))) {
|
||||
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
||||
@@ -15253,15 +14994,6 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)";
|
||||
try {
|
||||
// ---- Prepare for update -----------
|
||||
//
|
||||
if ((this._elencoMacchineCNTableAdapter != null)) {
|
||||
revertConnections.Add(this._elencoMacchineCNTableAdapter, this._elencoMacchineCNTableAdapter.Connection);
|
||||
this._elencoMacchineCNTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
||||
this._elencoMacchineCNTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
||||
if (this._elencoMacchineCNTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
||||
this._elencoMacchineCNTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
||||
adaptersWithAcceptChangesDuringUpdate.Add(this._elencoMacchineCNTableAdapter.Adapter);
|
||||
}
|
||||
}
|
||||
if ((this._anagFasiTableAdapter != null)) {
|
||||
revertConnections.Add(this._anagFasiTableAdapter, this._anagFasiTableAdapter.Connection);
|
||||
this._anagFasiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
||||
@@ -15383,10 +15115,6 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)";
|
||||
if (workConnOpened) {
|
||||
workConnection.Close();
|
||||
}
|
||||
if ((this._elencoMacchineCNTableAdapter != null)) {
|
||||
this._elencoMacchineCNTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._elencoMacchineCNTableAdapter]));
|
||||
this._elencoMacchineCNTableAdapter.Transaction = null;
|
||||
}
|
||||
if ((this._anagFasiTableAdapter != null)) {
|
||||
this._anagFasiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagFasiTableAdapter]));
|
||||
this._anagFasiTableAdapter.Transaction = null;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -5,7 +5,7 @@
|
||||
<b><%: traduci("selCodFam") %></b>:
|
||||
<asp:DropDownList runat="server" ID="ddlCodFam_addNew" DataSourceID="odsFamMacc" DataTextField="DescrFam" DataValueField="CodFam" />
|
||||
<%: traduci("insNewMatr") %>:
|
||||
<asp:TextBox runat="server" ID="txtNewMatr" placeholder='<%# traduci("plsInsNewMatr") %>' Width="10em" AutoPostBack="True" OnTextChanged="txtNewMatr_TextChanged" />
|
||||
<asp:TextBox runat="server" ID="txtNewMatr" placeholder='<%# traduci("plsInsNewMatr") %>' Width="10em" AutoPostBack="True" OnTextChanged="txtNewMatr_TextChanged" />
|
||||
<asp:LinkButton runat="server" ID="lbtAddNew" ToolTip="InsNew" CssClass="btn btn-success" OnClick="lbtAddNew_Click"><i class="fa fa-plus-square-o"></i> <%: traduci("insNewMatr") %></asp:LinkButton>
|
||||
<asp:Label runat="server" ID="lblOut" />
|
||||
</div>
|
||||
@@ -52,7 +52,8 @@
|
||||
<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" />
|
||||
<asp:LinkButton ID="lbDelete" runat="server" CausesValidation="False" CommandName="Delete" ToolTip="Delete" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaDel") %>' CssClass="fa fa-trash fa-2x" Visible='<%# Eval("IdxDossier").ToString() == "0" %>' />
|
||||
<asp:Label runat="server" ID="lblDelDisabled" CssClass="fa fa-ban fa-2x" ForeColor="Red" ToolTip='<%# traduci("warnHasChildRecord") %>' Visible='<%# Eval("IdxDossier").ToString() != "0" %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,484 @@
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
create VIEW v_ElencoMacchine
|
||||
AS
|
||||
SELECT dbo.ElencoMacchineCN.Matricola, dbo.ElencoMacchineCN.Descrizione, dbo.ElencoMacchineCN.Cliente, dbo.ElencoMacchineCN.CodFam, dbo.ElencoMacchineCN.CorsaX, dbo.ElencoMacchineCN.CorsaY,
|
||||
dbo.ElencoMacchineCN.CorsaZ, ISNULL(dbo.ElencoDossier.IdxDossier, 0) AS IdxDossier
|
||||
FROM dbo.ElencoMacchineCN LEFT OUTER JOIN
|
||||
dbo.ElencoDossier ON dbo.ElencoMacchineCN.Matricola = dbo.ElencoDossier.Matricola
|
||||
go
|
||||
|
||||
exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00]
|
||||
Begin DesignProperties =
|
||||
Begin PaneConfigurations =
|
||||
Begin PaneConfiguration = 0
|
||||
NumPanes = 4
|
||||
Configuration = "(H (1[40] 4[20] 2[20] 3) )"
|
||||
End
|
||||
Begin PaneConfiguration = 1
|
||||
NumPanes = 3
|
||||
Configuration = "(H (1 [50] 4 [25] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 2
|
||||
NumPanes = 3
|
||||
Configuration = "(H (1 [50] 2 [25] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 3
|
||||
NumPanes = 3
|
||||
Configuration = "(H (4 [30] 2 [40] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 4
|
||||
NumPanes = 2
|
||||
Configuration = "(H (1 [56] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 5
|
||||
NumPanes = 2
|
||||
Configuration = "(H (2 [66] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 6
|
||||
NumPanes = 2
|
||||
Configuration = "(H (4 [50] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 7
|
||||
NumPanes = 1
|
||||
Configuration = "(V (3))"
|
||||
End
|
||||
Begin PaneConfiguration = 8
|
||||
NumPanes = 3
|
||||
Configuration = "(H (1[56] 4[18] 2) )"
|
||||
End
|
||||
Begin PaneConfiguration = 9
|
||||
NumPanes = 2
|
||||
Configuration = "(H (1 [75] 4))"
|
||||
End
|
||||
Begin PaneConfiguration = 10
|
||||
NumPanes = 2
|
||||
Configuration = "(H (1[66] 2) )"
|
||||
End
|
||||
Begin PaneConfiguration = 11
|
||||
NumPanes = 2
|
||||
Configuration = "(H (4 [60] 2))"
|
||||
End
|
||||
Begin PaneConfiguration = 12
|
||||
NumPanes = 1
|
||||
Configuration = "(H (1) )"
|
||||
End
|
||||
Begin PaneConfiguration = 13
|
||||
NumPanes = 1
|
||||
Configuration = "(V (4))"
|
||||
End
|
||||
Begin PaneConfiguration = 14
|
||||
NumPanes = 1
|
||||
Configuration = "(V (2))"
|
||||
End
|
||||
ActivePaneConfig = 0
|
||||
End
|
||||
Begin DiagramPane =
|
||||
Begin Origin =
|
||||
Top = 0
|
||||
Left = 0
|
||||
End
|
||||
Begin Tables =
|
||||
Begin Table = "ElencoMacchineCN"
|
||||
Begin Extent =
|
||||
Top = 6
|
||||
Left = 38
|
||||
Bottom = 265
|
||||
Right = 208
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "ElencoDossier"
|
||||
Begin Extent =
|
||||
Top = 12
|
||||
Left = 410
|
||||
Bottom = 142
|
||||
Right = 580
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
End
|
||||
End
|
||||
Begin SQLPane =
|
||||
End
|
||||
Begin DataPane =
|
||||
Begin ParameterDefaults = ""
|
||||
End
|
||||
Begin ColumnWidths = 9
|
||||
Width = 284
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
End
|
||||
End
|
||||
Begin CriteriaPane =
|
||||
Begin ColumnWidths = 11
|
||||
Column = 1440
|
||||
Alias = 900
|
||||
Table = 1170
|
||||
Output = 720
|
||||
Append = 1400
|
||||
NewValue = 1170
|
||||
SortType = 1350
|
||||
SortOrder = 1410
|
||||
GroupBy = 1350
|
||||
Filter = 1350
|
||||
Or = 1350
|
||||
Or = 1350
|
||||
Or = 1350
|
||||
End
|
||||
End
|
||||
End
|
||||
', 'SCHEMA', 'dbo', 'VIEW', 'v_ElencoMacchine'
|
||||
go
|
||||
|
||||
exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_ElencoMacchine'
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
-- =============================================
|
||||
-- Author: S.E. Locatelli
|
||||
-- Create date: 2015.10.19
|
||||
-- Description: recupero record da matricola
|
||||
-- =============================================
|
||||
alter PROCEDURE stp_AM_getByMatr
|
||||
(
|
||||
@Matricola NVARCHAR(50)
|
||||
)
|
||||
AS
|
||||
SET NOCOUNT OFF;
|
||||
|
||||
SELECT *
|
||||
FROM v_ElencoMacchine
|
||||
WHERE Matricola = @Matricola
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
-- =============================================
|
||||
-- Author: S.E. Locatelli
|
||||
-- Create date: 2015.06.09
|
||||
-- Description: insert record
|
||||
-- =============================================
|
||||
alter PROCEDURE stp_AM_insertQuery
|
||||
(
|
||||
@Matricola NVARCHAR(50),
|
||||
@User NVARCHAR(50),
|
||||
@Descrizione NVARCHAR(50),
|
||||
@Cliente NVARCHAR(50),
|
||||
@CodFam NVARCHAR(50),
|
||||
@CorsaX INT,
|
||||
@CorsaY INT,
|
||||
@CorsaZ INT
|
||||
)
|
||||
AS
|
||||
|
||||
BEGIN tran
|
||||
|
||||
SET NOCOUNT OFF;
|
||||
|
||||
DECLARE @IdxDossier INT = 0
|
||||
|
||||
-- inserisco macchina
|
||||
INSERT INTO ElencoMacchineCN (Matricola, Descrizione, Cliente, CodFam, CorsaX, CorsaY, CorsaZ)
|
||||
VALUES (@Matricola, @Descrizione, @Cliente, @CodFam, @CorsaX, @CorsaY, @CorsaZ);
|
||||
|
||||
-- creo DOSSIER x matricola...
|
||||
EXEC stp_ED_InsertQuery @Matricola, @User
|
||||
-- leggo numero dossier!
|
||||
SELECT @IdxDossier = IdxDossier
|
||||
FROM ElencoDossier
|
||||
WHERE Matricola = @Matricola
|
||||
|
||||
-- inserisco schema collaudi da famiglia macchina nel dossier...
|
||||
EXEC stp_SCM_insByFamMac @IdxDossier, @CodFam
|
||||
|
||||
|
||||
-- inserisco istanza prove standard x varie fasi...
|
||||
EXEC stp_SCM_insMisFasiMissing @IdxDossier
|
||||
|
||||
SELECT *
|
||||
FROM ElencoMacchineCN
|
||||
WHERE Matricola = @Matricola
|
||||
|
||||
COMMIT tran
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
-- =============================================
|
||||
-- Author: S.E. Locatelli
|
||||
-- Create date: 2015.06.18
|
||||
-- Description: update misura (ede eventualmente parametro) con VERIFICA OK
|
||||
-- =============================================
|
||||
alter PROCEDURE stp_Mis_updateMis
|
||||
(
|
||||
@Original_IdxDossier INT
|
||||
,@Original_CodScheda NVARCHAR(50)
|
||||
,@Original_Vers INT
|
||||
,@Original_NumScheda INT
|
||||
,@Original_CodMisura NVARCHAR(50)
|
||||
,@Original_Fase NVARCHAR(50)
|
||||
,@Operatore NVARCHAR(50)
|
||||
,@ValorePar FLOAT
|
||||
,@ValoreMis NVARCHAR(4000)
|
||||
,@CodVisib NVARCHAR(50)
|
||||
)
|
||||
AS
|
||||
|
||||
|
||||
UPDATE Misure
|
||||
SET Operatore = CASE WHEN @ValoreMis <> '' THEN @Operatore ELSE '' END
|
||||
,DataOra = GETDATE()
|
||||
,ValorePar = ISNULL(@ValorePar, 0)
|
||||
,ValoreMis = @ValoreMis
|
||||
,OkValMis = dbo.f_checkVal(CodScheda, Vers, CodMisura, @ValorePar, @ValoreMis)
|
||||
,CodVisib = ISNULL(@CodVisib, ISNULL(CodVisib,''))
|
||||
WHERE IdxDossier = @Original_IdxDossier
|
||||
AND CodScheda = @Original_CodScheda
|
||||
AND Vers = @Original_Vers
|
||||
AND NumScheda = @Original_NumScheda
|
||||
AND CodMisura = @Original_CodMisura
|
||||
AND Fase = @Original_Fase
|
||||
|
||||
RETURN
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
-- =============================================
|
||||
-- Author: S.E. Locatelli
|
||||
-- Create date: 2015.10.20
|
||||
-- Description: update misura (ede eventualmente parametro) con VERIFICA OK
|
||||
-- =============================================
|
||||
alter FUNCTION f_checkVal
|
||||
(
|
||||
@CodScheda NVARCHAR(50)
|
||||
,@Vers INT
|
||||
,@CodMisura NVARCHAR(50)
|
||||
,@ValorePar FLOAT
|
||||
,@ValoreMis NVARCHAR(4000)
|
||||
)
|
||||
RETURNS BIT
|
||||
AS
|
||||
BEGIN
|
||||
DECLARE @answ BIT = 0
|
||||
,@ValFlt FLOAT = 0
|
||||
,@TipoValMisura NVARCHAR(50) = ''
|
||||
,@NumVal INT = 0
|
||||
|
||||
DECLARE @delim AS VARCHAR(2)
|
||||
DECLARE @chrind INT = 1
|
||||
|
||||
-- recupero num righe x validazione parametro
|
||||
SELECT @NumVal = COUNT(*)
|
||||
FROM ValidVal
|
||||
WHERE CodScheda = @CodScheda
|
||||
AND Vers = @Vers
|
||||
AND CodMisura = @CodMisura
|
||||
|
||||
-- check 1: DEVE ESSERCI ALMENO un valore di validazione da controllare
|
||||
IF(@NumVal > 0)
|
||||
BEGIN
|
||||
-- recupero tipo val misura
|
||||
SELECT @TipoValMisura = ISNULL(TipoValMisura,'')
|
||||
FROM DettScheda
|
||||
WHERE CodScheda = @CodScheda
|
||||
AND Vers = @Vers
|
||||
AND CodMisura = @CodMisura
|
||||
|
||||
-- check 2: tipo di valore, se float/int faccio cast e test...
|
||||
IF (@TipoValMisura = 'INT' OR @TipoValMisura = 'FLT')
|
||||
BEGIN
|
||||
|
||||
IF LTRIM(RTRIM(ISNULL(@ValoreMis,''))) <> ''
|
||||
BEGIN
|
||||
-- recupero valore misura come FLOAT
|
||||
SELECT @ValFlt = ISNULL(CAST(REPLACE(@ValoreMis,',','.') AS FLOAT), -999999)
|
||||
|
||||
IF @ValFlt > -999999
|
||||
BEGIN
|
||||
SELECT @answ = CASE WHEN @ValFlt BETWEEN LIVal AND LSVal THEN 1 ELSE 0 END
|
||||
FROM ValidVal
|
||||
WHERE CodScheda = @CodScheda
|
||||
AND Vers = @Vers
|
||||
AND CodMisura = @CodMisura
|
||||
AND MinPar <= @ValorePar
|
||||
AND MaxPar > @ValorePar
|
||||
END
|
||||
END
|
||||
END
|
||||
|
||||
-- check 2: se è boolean è test DIRETTO
|
||||
ELSE IF (@TipoValMisura = 'BOL')
|
||||
BEGIN
|
||||
SELECT @answ = ISNULL(CAST(@ValoreMis AS BIT), 0)
|
||||
END
|
||||
|
||||
-- check 3: se è AFLT è test per tutti i valori passati
|
||||
ELSE IF (@TipoValMisura = 'AFLT')
|
||||
BEGIN
|
||||
SET @answ = 0
|
||||
-- verifico il formato del delimitatore passato se / o spazio
|
||||
IF CHARINDEX('/', @ValoreMis) > 0
|
||||
BEGIN
|
||||
SET @ValoreMis = REPLACE(@ValoreMis,' ','')
|
||||
SET @delim = '/'
|
||||
END
|
||||
ELSE
|
||||
IF CHARINDEX(' ', @ValoreMis) > 0
|
||||
BEGIN
|
||||
SET @ValoreMis = REPLACE(@ValoreMis,' ',' ') -- se ci sono spazi doppi li riduco cmq a 1
|
||||
SET @delim = ' '
|
||||
END
|
||||
ELSE
|
||||
SET @delim = '' -- solo un valore
|
||||
|
||||
SET @ValoreMis = RTRIM(LTRIM(REPLACE(@ValoreMis,',','.')))
|
||||
|
||||
WHILE @chrind > 0 AND ISNULL(@ValoreMis,'') <> ''
|
||||
BEGIN
|
||||
|
||||
SELECT @chrind = CHARINDEX(@delim, @ValoreMis)
|
||||
|
||||
IF @chrind > 0
|
||||
SET @ValFlt = CAST(LEFT(@ValoreMis, @chrind - 1) AS FLOAT)
|
||||
ELSE
|
||||
SELECT @ValFlt = CAST(@ValoreMis AS FLOAT)
|
||||
|
||||
SELECT @answ = CASE WHEN @ValFlt BETWEEN LIVal AND LSVal THEN 1 ELSE 0 END
|
||||
FROM ValidVal
|
||||
WHERE CodScheda = @CodScheda
|
||||
AND Vers = @Vers
|
||||
AND CodMisura = @CodMisura
|
||||
AND MinPar <= @ValorePar
|
||||
AND MaxPar > @ValorePar
|
||||
|
||||
SELECT @ValoreMis = RIGHT(@ValoreMis, LEN(@ValoreMis) - @chrind)
|
||||
|
||||
IF LEN(@ValoreMis) = 0 OR @answ = 0 -- se anche solo un valore KO esco con @answ = 0
|
||||
BREAK
|
||||
END
|
||||
END
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
-- ...(altrimenti è OK per "partito preso" SE HO un valore e KO se non ce l'ho...)
|
||||
SELECT @answ = CASE WHEN @ValoreMis <> '' THEN 1 ELSE 0 END
|
||||
END
|
||||
|
||||
RETURN @answ
|
||||
END
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'EN', N'btnClonaConfFamMacch', N'Clona Famiglia Esistente')
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'EN', N'insIsEnabled', N'Inserimento Abilitato')
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'EN', N'insNewMatr', N'Crea Macchina e schede')
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'EN', N'numMatrExisting', N'Matricola già presente')
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'EN', N'numMatrIsEmpty', N'Manca Numero Matricola')
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'EN', N'plsInsNewMatr', N'Nuova Matricola Macchina')
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'EN', N'selCodFam', N'Selezionare Famiglia')
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'EN', N'SelectFM_CSV_2ins', N'Selezionare Fam.Macc e Scheda per inserire')
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'EN', N'warnHasChildRecord', N'Attenzione: record child collegati')
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'IT', N'btnClonaConfFamMacch', N'Clona Famiglia Esistente')
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'IT', N'insIsEnabled', N'Inserimento Abilitato')
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'IT', N'insNewMatr', N'Crea Macchina e schede')
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'IT', N'numMatrExisting', N'Matricola già presente')
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'IT', N'numMatrIsEmpty', N'Manca Numero Matricola')
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'IT', N'plsInsNewMatr', N'Nuova Matricola Macchina')
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'IT', N'selCodFam', N'Selezionare Famiglia')
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'IT', N'SelectFM_CSV_2ins', N'Selezionare Fam.Macc e Scheda per inserire')
|
||||
INSERT INTO dbo.Vocabolario
|
||||
VALUES (N'IT', N'warnHasChildRecord', N'Attenzione: record child collegati')
|
||||
go
|
||||
|
||||
commit transaction
|
||||
go
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -5,7 +5,7 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("1.8.099.354")]
|
||||
[assembly: AssemblyFileVersion("1.8.099.354")]
|
||||
[assembly: AssemblyVersion("1.9.100.354")]
|
||||
[assembly: AssemblyFileVersion("1.9.100.354")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2009-2015")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("1.8.099.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("1.8.099.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyVersion("1.9.100.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("1.9.100.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2009-<#= DateTime.Now.Year #>")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
<#+
|
||||
|
||||
Reference in New Issue
Block a user