Files
CMS-OMR/DB_proxy/DS_App.xsd
T
2018-12-14 16:09:02 +01:00

1040 lines
131 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DS_App" targetNamespace="http://tempuri.org/DS_App.xsd" xmlns:mstns="http://tempuri.org/DS_App.xsd" xmlns="http://tempuri.org/DS_App.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="CMS_OMRConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="CMS_OMRConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.DB_proxy.Properties.Settings.GlobalReference.Default.CMS_OMRConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TabOperazioniTableAdapter" GeneratorDataComponentClassName="TabOperazioniTableAdapter" Name="TabOperazioni" UserDataComponentName="TabOperazioniTableAdapter">
<MainSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.TabOperazioni" 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].[TabOperazioni] WHERE (([IdxRec] = @Original_IdxRec) AND ([DtEvento] = @Original_DtEvento) AND ([CodStazione] = @Original_CodStazione) AND ([CodSottostaz] = @Original_CodSottostaz) AND ([CodOperaz] = @Original_CodOperaz) AND ([CodStato] = @Original_CodStato) AND ([Datamatrix] = @Original_Datamatrix))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxRec" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxRec" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DtEvento" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvento" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodStazione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStazione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodSottostaz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSottostaz" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodOperaz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodOperaz" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStato" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Datamatrix" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Datamatrix" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[TabOperazioni] ([DtEvento], [CodStazione], [CodSottostaz], [CodOperaz], [CodStato], [Datamatrix]) VALUES (@DtEvento, @CodStazione, @CodSottostaz, @CodOperaz, @CodStato, @Datamatrix);
SELECT IdxRec, DtEvento, CodStazione, CodSottostaz, CodOperaz, CodStato, Datamatrix FROM TabOperazioni WHERE (IdxRec = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtEvento" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodStazione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStazione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodSottostaz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSottostaz" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodOperaz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodOperaz" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStato" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Datamatrix" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Datamatrix" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT IdxRec, DtEvento, CodStazione, CodSottostaz, CodOperaz, CodStato, Datamatrix FROM dbo.TabOperazioni</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[TabOperazioni] SET [DtEvento] = @DtEvento, [CodStazione] = @CodStazione, [CodSottostaz] = @CodSottostaz, [CodOperaz] = @CodOperaz, [CodStato] = @CodStato, [Datamatrix] = @Datamatrix WHERE (([IdxRec] = @Original_IdxRec) AND ([DtEvento] = @Original_DtEvento) AND ([CodStazione] = @Original_CodStazione) AND ([CodSottostaz] = @Original_CodSottostaz) AND ([CodOperaz] = @Original_CodOperaz) AND ([CodStato] = @Original_CodStato) AND ([Datamatrix] = @Original_Datamatrix));
SELECT IdxRec, DtEvento, CodStazione, CodSottostaz, CodOperaz, CodStato, Datamatrix FROM TabOperazioni WHERE (IdxRec = @IdxRec)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtEvento" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodStazione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStazione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodSottostaz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSottostaz" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodOperaz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodOperaz" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStato" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Datamatrix" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Datamatrix" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxRec" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxRec" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DtEvento" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvento" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodStazione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStazione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodSottostaz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSottostaz" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodOperaz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodOperaz" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStato" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Datamatrix" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Datamatrix" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="IdxRec" ColumnName="IdxRec" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxRec" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdxRec" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="IdxRec" DataSetColumn="IdxRec" />
<Mapping SourceColumn="DtEvento" DataSetColumn="DtEvento" />
<Mapping SourceColumn="CodStazione" DataSetColumn="CodStazione" />
<Mapping SourceColumn="CodSottostaz" DataSetColumn="CodSottostaz" />
<Mapping SourceColumn="CodOperaz" DataSetColumn="CodOperaz" />
<Mapping SourceColumn="CodStato" DataSetColumn="CodStato" />
<Mapping SourceColumn="Datamatrix" DataSetColumn="Datamatrix" />
</Mappings>
<Sources>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_TabOpr_deleteAll" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteAll" Modifier="Public" Name="deleteAll" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteAll">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_TabOpr_deleteAll</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@authKey" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_TabOpr_getLast" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillLastRec" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetLastRec" GeneratorSourceName="FillLastRec" GetMethodModifier="Public" GetMethodName="GetLastRec" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetLastRec" UserSourceName="FillLastRec">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_TabOpr_getLast</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@maxNum" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_TabOpr_insertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_TabOpr_insertQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Datamatrix" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArt" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodStazione" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodSottostaz" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodOperaz" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_TabOpr_purgeOld" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="purgeOld" Modifier="Public" Name="purgeOld" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="purgeOld">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_TabOpr_purgeOld</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@days2keep" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TabPezziTableAdapter" GeneratorDataComponentClassName="TabPezziTableAdapter" Name="TabPezzi" UserDataComponentName="TabPezziTableAdapter">
<MainSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.TabPezzi" 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].[TabPezzi] WHERE (([Datamatrix] = @Original_Datamatrix) AND ([CodArt] = @Original_CodArt) AND ([CodStazione] = @Original_CodStazione) AND ([CodStato] = @Original_CodStato) AND ([CodOperazDone] = @Original_CodOperazDone) AND ([CodOperazCurr] = @Original_CodOperazCurr))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Datamatrix" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Datamatrix" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArt" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodStazione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStazione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStato" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodOperazDone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodOperazDone" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodOperazCurr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodOperazCurr" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[TabPezzi] ([Datamatrix], [CodArt], [CodStazione], [CodStato], [CodOperazDone], [CodOperazCurr]) VALUES (@Datamatrix, @CodArt, @CodStazione, @CodStato, @CodOperazDone, @CodOperazCurr);
SELECT Datamatrix, CodArt, CodStazione, CodStato, CodOperazDone, CodOperazCurr FROM TabPezzi WHERE (Datamatrix = @Datamatrix)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Datamatrix" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Datamatrix" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArt" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodStazione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStazione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStato" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodOperazDone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodOperazDone" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodOperazCurr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodOperazCurr" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Datamatrix, CodArt, CodStazione, CodStato, CodOperazDone, CodOperazCurr FROM dbo.TabPezzi</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[TabPezzi] SET [Datamatrix] = @Datamatrix, [CodArt] = @CodArt, [CodStazione] = @CodStazione, [CodStato] = @CodStato, [CodOperazDone] = @CodOperazDone, [CodOperazCurr] = @CodOperazCurr WHERE (([Datamatrix] = @Original_Datamatrix) AND ([CodArt] = @Original_CodArt) AND ([CodStazione] = @Original_CodStazione) AND ([CodStato] = @Original_CodStato) AND ([CodOperazDone] = @Original_CodOperazDone) AND ([CodOperazCurr] = @Original_CodOperazCurr));
SELECT Datamatrix, CodArt, CodStazione, CodStato, CodOperazDone, CodOperazCurr FROM TabPezzi WHERE (Datamatrix = @Datamatrix)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Datamatrix" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Datamatrix" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArt" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodStazione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStazione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStato" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodOperazDone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodOperazDone" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodOperazCurr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodOperazCurr" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Datamatrix" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Datamatrix" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArt" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodStazione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStazione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStato" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodOperazDone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodOperazDone" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodOperazCurr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodOperazCurr" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Datamatrix" DataSetColumn="Datamatrix" />
<Mapping SourceColumn="CodArt" DataSetColumn="CodArt" />
<Mapping SourceColumn="CodStazione" DataSetColumn="CodStazione" />
<Mapping SourceColumn="CodStato" DataSetColumn="CodStato" />
<Mapping SourceColumn="CodOperazDone" DataSetColumn="CodOperazDone" />
<Mapping SourceColumn="CodOperazCurr" DataSetColumn="CodOperazCurr" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagArticoliTableAdapter" GeneratorDataComponentClassName="AnagArticoliTableAdapter" Name="AnagArticoli" UserDataComponentName="AnagArticoliTableAdapter">
<MainSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.AnagArticoli" 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 [AnagArticoli] WHERE (([CodArt] = @Original_CodArt) AND ([Descrizione] = @Original_Descrizione))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArt" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [AnagArticoli] ([CodArt], [Descrizione]) VALUES (@CodArt, @Descrizione);
SELECT CodArt, Descrizione FROM AnagArticoli WHERE (CodArt = @CodArt)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArt" 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" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM AnagArticoli</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [AnagArticoli] SET [CodArt] = @CodArt, [Descrizione] = @Descrizione WHERE (([CodArt] = @Original_CodArt) AND ([Descrizione] = @Original_Descrizione));
SELECT CodArt, Descrizione FROM AnagArticoli WHERE (CodArt = @CodArt)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArt" 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="@Original_CodArt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArt" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CodArt" DataSetColumn="CodArt" />
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
</Mappings>
<Sources>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagArt_deleteQuery" DbObjectType="StoredProcedure" 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">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AnagArt_deleteQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArt" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagArt_search" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillByCodArt" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByCodArt" GeneratorSourceName="FillByCodArt" GetMethodModifier="Public" GetMethodName="GetByCodArt" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByCodArt" UserSourceName="FillByCodArt">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AnagArt_search</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArt" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagArt_insertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AnagArt_insertQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArt" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagArt_updateQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AnagArt_updateQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_CodArt" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArt" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagAllarmiTableAdapter" GeneratorDataComponentClassName="AnagAllarmiTableAdapter" Name="AnagAllarmi" UserDataComponentName="AnagAllarmiTableAdapter">
<MainSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.AnagAllarmi" 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].[AnagAllarmi] WHERE (([CodAllarme] = @Original_CodAllarme) AND ([Descrizione] = @Original_Descrizione) AND ([ReportAttivo] = @Original_ReportAttivo) AND ([LastStart] = @Original_LastStart) AND ([LastEnd] = @Original_LastEnd) AND ([CurrStatus] = @Original_CurrStatus))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodAllarme" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAllarme" 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="Boolean" Direction="Input" ParameterName="@Original_ReportAttivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ReportAttivo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastStart" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastStart" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastEnd" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastEnd" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_CurrStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CurrStatus" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[AnagAllarmi] ([CodAllarme], [Descrizione], [ReportAttivo], [LastStart], [LastEnd], [CurrStatus]) VALUES (@CodAllarme, @Descrizione, @ReportAttivo, @LastStart, @LastEnd, @CurrStatus);
SELECT CodAllarme, Descrizione, ReportAttivo, LastStart, LastEnd, CurrStatus FROM AnagAllarmi WHERE (CodAllarme = @CodAllarme)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodAllarme" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAllarme" 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="Boolean" Direction="Input" ParameterName="@ReportAttivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ReportAttivo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastStart" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastStart" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastEnd" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastEnd" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@CurrStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CurrStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT CodAllarme, Descrizione, ReportAttivo, LastStart, LastEnd, CurrStatus FROM dbo.AnagAllarmi</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[AnagAllarmi] SET [CodAllarme] = @CodAllarme, [Descrizione] = @Descrizione, [ReportAttivo] = @ReportAttivo, [LastStart] = @LastStart, [LastEnd] = @LastEnd, [CurrStatus] = @CurrStatus WHERE (([CodAllarme] = @Original_CodAllarme) AND ([Descrizione] = @Original_Descrizione) AND ([ReportAttivo] = @Original_ReportAttivo) AND ([LastStart] = @Original_LastStart) AND ([LastEnd] = @Original_LastEnd) AND ([CurrStatus] = @Original_CurrStatus));
SELECT CodAllarme, Descrizione, ReportAttivo, LastStart, LastEnd, CurrStatus FROM AnagAllarmi WHERE (CodAllarme = @CodAllarme)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodAllarme" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAllarme" 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="Boolean" Direction="Input" ParameterName="@ReportAttivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ReportAttivo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastStart" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastStart" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastEnd" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastEnd" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@CurrStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CurrStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodAllarme" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAllarme" 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="Boolean" Direction="Input" ParameterName="@Original_ReportAttivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ReportAttivo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastStart" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastStart" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastEnd" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastEnd" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_CurrStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CurrStatus" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CodAllarme" DataSetColumn="CodAllarme" />
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
<Mapping SourceColumn="ReportAttivo" DataSetColumn="ReportAttivo" />
<Mapping SourceColumn="LastStart" DataSetColumn="LastStart" />
<Mapping SourceColumn="LastEnd" DataSetColumn="LastEnd" />
<Mapping SourceColumn="CurrStatus" DataSetColumn="CurrStatus" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StoricoAllarmiExpTableAdapter" GeneratorDataComponentClassName="StoricoAllarmiExpTableAdapter" Name="StoricoAllarmiExp" UserDataComponentName="StoricoAllarmiExpTableAdapter">
<MainSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.vStoricoAllarmiExp" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM vStoricoAllarmiExp</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="DtEvento" DataSetColumn="DtEvento" />
<Mapping SourceColumn="CodAllarme" DataSetColumn="CodAllarme" />
<Mapping SourceColumn="Attivo" DataSetColumn="Attivo" />
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
</Mappings>
<Sources>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_Allarmi_checkStatus" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="checkStatus" Modifier="Public" Name="checkStatus" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="checkStatus">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Allarmi_checkStatus</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@charSep" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@alarmList" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_Allarmi_getLast" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillLastRec" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetLastRec" GeneratorSourceName="FillLastRec" GetMethodModifier="Public" GetMethodName="GetLastRec" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetLastRec" UserSourceName="FillLastRec">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Allarmi_getLast</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@maxNum" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagOperatoriTableAdapter" GeneratorDataComponentClassName="AnagOperatoriTableAdapter" Name="AnagOperatori" UserDataComponentName="AnagOperatoriTableAdapter">
<MainSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.AnagOperatori" 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].[AnagOperatori] WHERE (([Barcode] = @Original_Barcode) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([Password] = @Original_Password) AND ([Livello] = @Original_Livello))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Livello" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Livello" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[AnagOperatori] ([Barcode], [Cognome], [Nome], [Password], [Livello]) VALUES (@Barcode, @Cognome, @Nome, @Password, @Livello);
SELECT Barcode, Cognome, Nome, Password, Livello FROM AnagOperatori WHERE (Barcode = @Barcode)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Livello" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Livello" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM dbo.AnagOperatori</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[AnagOperatori] SET [Barcode] = @Barcode, [Cognome] = @Cognome, [Nome] = @Nome, [Password] = @Password, [Livello] = @Livello WHERE (([Barcode] = @Original_Barcode) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([Password] = @Original_Password) AND ([Livello] = @Original_Livello));
SELECT Barcode, Cognome, Nome, Password, Livello FROM AnagOperatori WHERE (Barcode = @Barcode)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Livello" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Livello" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Livello" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Livello" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Barcode" DataSetColumn="Barcode" />
<Mapping SourceColumn="Cognome" DataSetColumn="Cognome" />
<Mapping SourceColumn="Nome" DataSetColumn="Nome" />
<Mapping SourceColumn="Password" DataSetColumn="Password" />
<Mapping SourceColumn="Livello" DataSetColumn="Livello" />
</Mappings>
<Sources>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagOpr_deleteQuery" DbObjectType="StoredProcedure" 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">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AnagOpr_deleteQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagOpr_search" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillByBCode" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByBCode" GeneratorSourceName="FillByBCode" GetMethodModifier="Public" GetMethodName="GetByBCode" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByBCode" UserSourceName="FillByBCode">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AnagOpr_search</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagOpr_insertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AnagOpr_insertQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Livello" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagOpr_updateQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AnagOpr_updateQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Livello" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TabAttrezzatureTableAdapter" GeneratorDataComponentClassName="TabAttrezzatureTableAdapter" Name="TabAttrezzature" UserDataComponentName="TabAttrezzatureTableAdapter">
<MainSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.TabAttrezzature" 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].[TabAttrezzature] WHERE (([CodAttr] = @Original_CodAttr) AND ([CodArt_A] = @Original_CodArt_A) AND ([CodArt_B] = @Original_CodArt_B) AND ([PartProgMain] = @Original_PartProgMain) AND ([PartProgAux] = @Original_PartProgAux))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodAttr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAttr" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArt_A" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArt_A" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArt_B" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArt_B" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PartProgMain" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PartProgMain" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PartProgAux" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PartProgAux" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[TabAttrezzature] ([CodAttr], [CodArt_A], [CodArt_B], [PartProgMain], [PartProgAux]) VALUES (@CodAttr, @CodArt_A, @CodArt_B, @PartProgMain, @PartProgAux);
SELECT CodAttr, CodArt_A, CodArt_B, PartProgMain, PartProgAux FROM TabAttrezzature WHERE (CodArt_A = @CodArt_A) AND (CodArt_B = @CodArt_B) AND (CodAttr = @CodAttr)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodAttr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAttr" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArt_A" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArt_A" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArt_B" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArt_B" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PartProgMain" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PartProgMain" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PartProgAux" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PartProgAux" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT CodAttr, CodArt_A, CodArt_B, PartProgMain, PartProgAux FROM dbo.TabAttrezzature</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[TabAttrezzature] SET [CodAttr] = @CodAttr, [CodArt_A] = @CodArt_A, [CodArt_B] = @CodArt_B, [PartProgMain] = @PartProgMain, [PartProgAux] = @PartProgAux WHERE (([CodAttr] = @Original_CodAttr) AND ([CodArt_A] = @Original_CodArt_A) AND ([CodArt_B] = @Original_CodArt_B) AND ([PartProgMain] = @Original_PartProgMain) AND ([PartProgAux] = @Original_PartProgAux));
SELECT CodAttr, CodArt_A, CodArt_B, PartProgMain, PartProgAux FROM TabAttrezzature WHERE (CodArt_A = @CodArt_A) AND (CodArt_B = @CodArt_B) AND (CodAttr = @CodAttr)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodAttr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAttr" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArt_A" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArt_A" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArt_B" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArt_B" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PartProgMain" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PartProgMain" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PartProgAux" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PartProgAux" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodAttr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAttr" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArt_A" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArt_A" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArt_B" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArt_B" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PartProgMain" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PartProgMain" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PartProgAux" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PartProgAux" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CodAttr" DataSetColumn="CodAttr" />
<Mapping SourceColumn="CodArt_A" DataSetColumn="CodArt_A" />
<Mapping SourceColumn="CodArt_B" DataSetColumn="CodArt_B" />
<Mapping SourceColumn="PartProgMain" DataSetColumn="PartProgMain" />
<Mapping SourceColumn="PartProgAux" DataSetColumn="PartProgAux" />
</Mappings>
<Sources>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_TabAttr_deleteQuery" DbObjectType="StoredProcedure" 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">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_TabAttr_deleteQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodAttr" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArt_A" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArt_B" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_TabAttr_search" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillBySearch" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetBySearch" GeneratorSourceName="FillBySearch" GetMethodModifier="Public" GetMethodName="GetBySearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetBySearch" UserSourceName="FillBySearch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_TabAttr_search</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodAttr" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArt_A" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArt_B" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_TabAttr_insertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_TabAttr_insertQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodAttr" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArt_A" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArt_B" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PartProgMain" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PartProgAux" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_TabAttr_updateQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_TabAttr_updateQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_CodAttr" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodAttr" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArt_A" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArt_B" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PartProgMain" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PartProgAux" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TabLogOperatoriTableAdapter" GeneratorDataComponentClassName="TabLogOperatoriTableAdapter" Name="TabLogOperatori" UserDataComponentName="TabLogOperatoriTableAdapter">
<MainSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.TabLogOperatori" 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 [TabLogOperatori] WHERE (([Barcode] = @Original_Barcode) AND ([DtEvento] = @Original_DtEvento) AND ([Evento] = @Original_Evento))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DtEvento" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvento" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Evento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Evento" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [TabLogOperatori] ([Barcode], [DtEvento], [Evento]) VALUES (@Barcode, @DtEvento, @Evento);
SELECT Barcode, DtEvento, Evento FROM TabLogOperatori WHERE (Barcode = @Barcode) AND (DtEvento = @DtEvento)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtEvento" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Evento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Evento" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM TabLogOperatori</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [TabLogOperatori] SET [Barcode] = @Barcode, [DtEvento] = @DtEvento, [Evento] = @Evento WHERE (([Barcode] = @Original_Barcode) AND ([DtEvento] = @Original_DtEvento) AND ([Evento] = @Original_Evento));
SELECT Barcode, DtEvento, Evento FROM TabLogOperatori WHERE (Barcode = @Barcode) AND (DtEvento = @DtEvento)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtEvento" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Evento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Evento" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DtEvento" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvento" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Evento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Evento" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Barcode" DataSetColumn="Barcode" />
<Mapping SourceColumn="DtEvento" DataSetColumn="DtEvento" />
<Mapping SourceColumn="Evento" DataSetColumn="Evento" />
</Mappings>
<Sources>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_TLO_getByBarcode" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByBCode" GetMethodModifier="Public" GetMethodName="getByBCode" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByBCode" UserSourceName="getByBCode">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_TLO_getByBarcode</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@maxNum" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_TLO_insertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_TLO_insertQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DtEvento" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Evento" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DS_App" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_App" msprop:Generator_UserDSName="DS_App">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="TabOperazioni" msprop:Generator_TableClassName="TabOperazioniDataTable" msprop:Generator_TableVarName="tableTabOperazioni" msprop:Generator_RowChangedName="TabOperazioniRowChanged" msprop:Generator_TablePropName="TabOperazioni" msprop:Generator_RowDeletingName="TabOperazioniRowDeleting" msprop:Generator_RowChangingName="TabOperazioniRowChanging" msprop:Generator_RowEvHandlerName="TabOperazioniRowChangeEventHandler" msprop:Generator_RowDeletedName="TabOperazioniRowDeleted" msprop:Generator_RowClassName="TabOperazioniRow" msprop:Generator_UserTableName="TabOperazioni" msprop:Generator_RowEvArgName="TabOperazioniRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxRec" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxRec" msprop:Generator_ColumnPropNameInRow="IdxRec" msprop:Generator_ColumnPropNameInTable="IdxRecColumn" msprop:Generator_UserColumnName="IdxRec" type="xs:int" />
<xs:element name="DtEvento" msprop:Generator_ColumnVarNameInTable="columnDtEvento" msprop:Generator_ColumnPropNameInRow="DtEvento" msprop:Generator_ColumnPropNameInTable="DtEventoColumn" msprop:Generator_UserColumnName="DtEvento" type="xs:dateTime" />
<xs:element name="CodStazione" msprop:Generator_ColumnVarNameInTable="columnCodStazione" msprop:Generator_ColumnPropNameInRow="CodStazione" msprop:Generator_ColumnPropNameInTable="CodStazioneColumn" msprop:Generator_UserColumnName="CodStazione">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodSottostaz" msprop:Generator_ColumnVarNameInTable="columnCodSottostaz" msprop:Generator_ColumnPropNameInRow="CodSottostaz" msprop:Generator_ColumnPropNameInTable="CodSottostazColumn" msprop:Generator_UserColumnName="CodSottostaz">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodOperaz" msprop:Generator_ColumnVarNameInTable="columnCodOperaz" msprop:Generator_ColumnPropNameInRow="CodOperaz" msprop:Generator_ColumnPropNameInTable="CodOperazColumn" msprop:Generator_UserColumnName="CodOperaz">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodStato" msprop:Generator_ColumnVarNameInTable="columnCodStato" msprop:Generator_ColumnPropNameInRow="CodStato" msprop:Generator_ColumnPropNameInTable="CodStatoColumn" msprop:Generator_UserColumnName="CodStato">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Datamatrix" msprop:Generator_ColumnVarNameInTable="columnDatamatrix" msprop:Generator_ColumnPropNameInRow="Datamatrix" msprop:Generator_ColumnPropNameInTable="DatamatrixColumn" msprop:Generator_UserColumnName="Datamatrix">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TabPezzi" msprop:Generator_TableClassName="TabPezziDataTable" msprop:Generator_TableVarName="tableTabPezzi" msprop:Generator_RowChangedName="TabPezziRowChanged" msprop:Generator_TablePropName="TabPezzi" msprop:Generator_RowDeletingName="TabPezziRowDeleting" msprop:Generator_RowChangingName="TabPezziRowChanging" msprop:Generator_RowEvHandlerName="TabPezziRowChangeEventHandler" msprop:Generator_RowDeletedName="TabPezziRowDeleted" msprop:Generator_RowClassName="TabPezziRow" msprop:Generator_UserTableName="TabPezzi" msprop:Generator_RowEvArgName="TabPezziRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Datamatrix" msprop:Generator_ColumnVarNameInTable="columnDatamatrix" msprop:Generator_ColumnPropNameInRow="Datamatrix" msprop:Generator_ColumnPropNameInTable="DatamatrixColumn" msprop:Generator_UserColumnName="Datamatrix">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodArt" msprop:Generator_ColumnVarNameInTable="columnCodArt" msprop:Generator_ColumnPropNameInRow="CodArt" msprop:Generator_ColumnPropNameInTable="CodArtColumn" msprop:Generator_UserColumnName="CodArt">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodStazione" msprop:Generator_ColumnVarNameInTable="columnCodStazione" msprop:Generator_ColumnPropNameInRow="CodStazione" msprop:Generator_ColumnPropNameInTable="CodStazioneColumn" msprop:Generator_UserColumnName="CodStazione">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodStato" msprop:Generator_ColumnVarNameInTable="columnCodStato" msprop:Generator_ColumnPropNameInRow="CodStato" msprop:Generator_ColumnPropNameInTable="CodStatoColumn" msprop:Generator_UserColumnName="CodStato">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodOperazDone" msprop:Generator_ColumnVarNameInTable="columnCodOperazDone" msprop:Generator_ColumnPropNameInRow="CodOperazDone" msprop:Generator_ColumnPropNameInTable="CodOperazDoneColumn" msprop:Generator_UserColumnName="CodOperazDone">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodOperazCurr" msprop:Generator_ColumnVarNameInTable="columnCodOperazCurr" msprop:Generator_ColumnPropNameInRow="CodOperazCurr" msprop:Generator_ColumnPropNameInTable="CodOperazCurrColumn" msprop:Generator_UserColumnName="CodOperazCurr">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagArticoli" msprop:Generator_TableClassName="AnagArticoliDataTable" msprop:Generator_TableVarName="tableAnagArticoli" msprop:Generator_RowChangedName="AnagArticoliRowChanged" msprop:Generator_TablePropName="AnagArticoli" msprop:Generator_RowDeletingName="AnagArticoliRowDeleting" msprop:Generator_RowChangingName="AnagArticoliRowChanging" msprop:Generator_RowEvHandlerName="AnagArticoliRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagArticoliRowDeleted" msprop:Generator_RowClassName="AnagArticoliRow" msprop:Generator_UserTableName="AnagArticoli" msprop:Generator_RowEvArgName="AnagArticoliRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodArt" msprop:Generator_ColumnVarNameInTable="columnCodArt" msprop:Generator_ColumnPropNameInRow="CodArt" msprop:Generator_ColumnPropNameInTable="CodArtColumn" msprop:Generator_UserColumnName="CodArt">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_UserColumnName="Descrizione">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagAllarmi" msprop:Generator_TableClassName="AnagAllarmiDataTable" msprop:Generator_TableVarName="tableAnagAllarmi" msprop:Generator_RowChangedName="AnagAllarmiRowChanged" msprop:Generator_TablePropName="AnagAllarmi" msprop:Generator_RowDeletingName="AnagAllarmiRowDeleting" msprop:Generator_RowChangingName="AnagAllarmiRowChanging" msprop:Generator_RowEvHandlerName="AnagAllarmiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagAllarmiRowDeleted" msprop:Generator_RowClassName="AnagAllarmiRow" msprop:Generator_UserTableName="AnagAllarmi" msprop:Generator_RowEvArgName="AnagAllarmiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodAllarme" msprop:Generator_ColumnVarNameInTable="columnCodAllarme" msprop:Generator_ColumnPropNameInRow="CodAllarme" msprop:Generator_ColumnPropNameInTable="CodAllarmeColumn" msprop:Generator_UserColumnName="CodAllarme">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_UserColumnName="Descrizione">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ReportAttivo" msprop:Generator_ColumnVarNameInTable="columnReportAttivo" msprop:Generator_ColumnPropNameInRow="ReportAttivo" msprop:Generator_ColumnPropNameInTable="ReportAttivoColumn" msprop:Generator_UserColumnName="ReportAttivo" type="xs:boolean" />
<xs:element name="LastStart" msprop:Generator_ColumnVarNameInTable="columnLastStart" msprop:Generator_ColumnPropNameInRow="LastStart" msprop:Generator_ColumnPropNameInTable="LastStartColumn" msprop:Generator_UserColumnName="LastStart" type="xs:dateTime" />
<xs:element name="LastEnd" msprop:Generator_ColumnVarNameInTable="columnLastEnd" msprop:Generator_ColumnPropNameInRow="LastEnd" msprop:Generator_ColumnPropNameInTable="LastEndColumn" msprop:Generator_UserColumnName="LastEnd" type="xs:dateTime" />
<xs:element name="CurrStatus" msprop:Generator_ColumnVarNameInTable="columnCurrStatus" msprop:Generator_ColumnPropNameInRow="CurrStatus" msprop:Generator_ColumnPropNameInTable="CurrStatusColumn" msprop:Generator_UserColumnName="CurrStatus" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="StoricoAllarmiExp" msprop:Generator_TableClassName="StoricoAllarmiExpDataTable" msprop:Generator_TableVarName="tableStoricoAllarmiExp" msprop:Generator_RowChangedName="StoricoAllarmiExpRowChanged" msprop:Generator_TablePropName="StoricoAllarmiExp" msprop:Generator_RowDeletingName="StoricoAllarmiExpRowDeleting" msprop:Generator_RowChangingName="StoricoAllarmiExpRowChanging" msprop:Generator_RowEvHandlerName="StoricoAllarmiExpRowChangeEventHandler" msprop:Generator_RowDeletedName="StoricoAllarmiExpRowDeleted" msprop:Generator_RowClassName="StoricoAllarmiExpRow" msprop:Generator_UserTableName="StoricoAllarmiExp" msprop:Generator_RowEvArgName="StoricoAllarmiExpRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="DtEvento" msprop:Generator_ColumnVarNameInTable="columnDtEvento" msprop:Generator_ColumnPropNameInRow="DtEvento" msprop:Generator_ColumnPropNameInTable="DtEventoColumn" msprop:Generator_UserColumnName="DtEvento" type="xs:dateTime" />
<xs:element name="CodAllarme" msprop:Generator_ColumnVarNameInTable="columnCodAllarme" msprop:Generator_ColumnPropNameInRow="CodAllarme" msprop:Generator_ColumnPropNameInTable="CodAllarmeColumn" msprop:Generator_UserColumnName="CodAllarme">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Attivo" msprop:Generator_ColumnVarNameInTable="columnAttivo" msprop:Generator_ColumnPropNameInRow="Attivo" msprop:Generator_ColumnPropNameInTable="AttivoColumn" msprop:Generator_UserColumnName="Attivo" type="xs:boolean" />
<xs:element name="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_UserColumnName="Descrizione">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagOperatori" msprop:Generator_TableClassName="AnagOperatoriDataTable" msprop:Generator_TableVarName="tableAnagOperatori" msprop:Generator_RowChangedName="AnagOperatoriRowChanged" msprop:Generator_TablePropName="AnagOperatori" msprop:Generator_RowDeletingName="AnagOperatoriRowDeleting" msprop:Generator_RowChangingName="AnagOperatoriRowChanging" msprop:Generator_RowEvHandlerName="AnagOperatoriRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagOperatoriRowDeleted" msprop:Generator_RowClassName="AnagOperatoriRow" msprop:Generator_UserTableName="AnagOperatori" msprop:Generator_RowEvArgName="AnagOperatoriRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Barcode" msprop:Generator_ColumnVarNameInTable="columnBarcode" msprop:Generator_ColumnPropNameInRow="Barcode" msprop:Generator_ColumnPropNameInTable="BarcodeColumn" msprop:Generator_UserColumnName="Barcode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Cognome" msprop:Generator_ColumnVarNameInTable="columnCognome" msprop:Generator_ColumnPropNameInRow="Cognome" msprop:Generator_ColumnPropNameInTable="CognomeColumn" msprop:Generator_UserColumnName="Cognome">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_UserColumnName="Nome">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Password" msprop:Generator_ColumnVarNameInTable="columnPassword" msprop:Generator_ColumnPropNameInRow="Password" msprop:Generator_ColumnPropNameInTable="PasswordColumn" msprop:Generator_UserColumnName="Password">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Livello" msprop:Generator_ColumnVarNameInTable="columnLivello" msprop:Generator_ColumnPropNameInRow="Livello" msprop:Generator_ColumnPropNameInTable="LivelloColumn" msprop:Generator_UserColumnName="Livello">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TabAttrezzature" msprop:Generator_TableClassName="TabAttrezzatureDataTable" msprop:Generator_TableVarName="tableTabAttrezzature" msprop:Generator_RowChangedName="TabAttrezzatureRowChanged" msprop:Generator_TablePropName="TabAttrezzature" msprop:Generator_RowDeletingName="TabAttrezzatureRowDeleting" msprop:Generator_RowChangingName="TabAttrezzatureRowChanging" msprop:Generator_RowEvHandlerName="TabAttrezzatureRowChangeEventHandler" msprop:Generator_RowDeletedName="TabAttrezzatureRowDeleted" msprop:Generator_RowClassName="TabAttrezzatureRow" msprop:Generator_UserTableName="TabAttrezzature" msprop:Generator_RowEvArgName="TabAttrezzatureRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodAttr" msprop:Generator_ColumnVarNameInTable="columnCodAttr" msprop:Generator_ColumnPropNameInRow="CodAttr" msprop:Generator_ColumnPropNameInTable="CodAttrColumn" msprop:Generator_UserColumnName="CodAttr">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodArt_A" msprop:Generator_ColumnVarNameInTable="columnCodArt_A" msprop:Generator_ColumnPropNameInRow="CodArt_A" msprop:Generator_ColumnPropNameInTable="CodArt_AColumn" msprop:Generator_UserColumnName="CodArt_A">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodArt_B" msprop:Generator_ColumnVarNameInTable="columnCodArt_B" msprop:Generator_ColumnPropNameInRow="CodArt_B" msprop:Generator_ColumnPropNameInTable="CodArt_BColumn" msprop:Generator_UserColumnName="CodArt_B">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PartProgMain" msprop:Generator_ColumnVarNameInTable="columnPartProgMain" msprop:Generator_ColumnPropNameInRow="PartProgMain" msprop:Generator_ColumnPropNameInTable="PartProgMainColumn" msprop:Generator_UserColumnName="PartProgMain">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PartProgAux" msprop:Generator_ColumnVarNameInTable="columnPartProgAux" msprop:Generator_ColumnPropNameInRow="PartProgAux" msprop:Generator_ColumnPropNameInTable="PartProgAuxColumn" msprop:Generator_UserColumnName="PartProgAux">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TabLogOperatori" msprop:Generator_TableClassName="TabLogOperatoriDataTable" msprop:Generator_TableVarName="tableTabLogOperatori" msprop:Generator_RowChangedName="TabLogOperatoriRowChanged" msprop:Generator_TablePropName="TabLogOperatori" msprop:Generator_RowDeletingName="TabLogOperatoriRowDeleting" msprop:Generator_RowChangingName="TabLogOperatoriRowChanging" msprop:Generator_RowEvHandlerName="TabLogOperatoriRowChangeEventHandler" msprop:Generator_RowDeletedName="TabLogOperatoriRowDeleted" msprop:Generator_RowClassName="TabLogOperatoriRow" msprop:Generator_UserTableName="TabLogOperatori" msprop:Generator_RowEvArgName="TabLogOperatoriRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Barcode" msprop:Generator_ColumnVarNameInTable="columnBarcode" msprop:Generator_ColumnPropNameInRow="Barcode" msprop:Generator_ColumnPropNameInTable="BarcodeColumn" msprop:Generator_UserColumnName="Barcode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DtEvento" msprop:Generator_ColumnVarNameInTable="columnDtEvento" msprop:Generator_ColumnPropNameInRow="DtEvento" msprop:Generator_ColumnPropNameInTable="DtEventoColumn" msprop:Generator_UserColumnName="DtEvento" type="xs:dateTime" />
<xs:element name="Evento" msprop:Generator_ColumnVarNameInTable="columnEvento" msprop:Generator_ColumnPropNameInRow="Evento" msprop:Generator_ColumnPropNameInTable="EventoColumn" msprop:Generator_UserColumnName="Evento">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:TabOperazioni" />
<xs:field xpath="mstns:IdxRec" />
</xs:unique>
<xs:unique name="TabPezzi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:TabPezzi" />
<xs:field xpath="mstns:Datamatrix" />
</xs:unique>
<xs:unique name="AnagArticoli_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:AnagArticoli" />
<xs:field xpath="mstns:CodArt" />
</xs:unique>
<xs:unique name="AnagAllarmi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:AnagAllarmi" />
<xs:field xpath="mstns:CodAllarme" />
</xs:unique>
<xs:unique name="StoricoAllarmiExp_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:StoricoAllarmiExp" />
<xs:field xpath="mstns:DtEvento" />
<xs:field xpath="mstns:CodAllarme" />
</xs:unique>
<xs:unique name="AnagOperatori_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:AnagOperatori" />
<xs:field xpath="mstns:Barcode" />
</xs:unique>
<xs:unique name="TabAttrezzature_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:TabAttrezzature" />
<xs:field xpath="mstns:CodAttr" />
<xs:field xpath="mstns:CodArt_A" />
<xs:field xpath="mstns:CodArt_B" />
</xs:unique>
<xs:unique name="TabLogOperatori_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:TabLogOperatori" />
<xs:field xpath="mstns:Barcode" />
<xs:field xpath="mstns:DtEvento" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_TabOperazioni_TabPezzi1" msdata:parent="TabPezzi" msdata:child="TabOperazioni" msdata:parentkey="Datamatrix" msdata:childkey="Datamatrix" msprop:Generator_UserChildTable="TabOperazioni" msprop:Generator_ChildPropName="GetTabOperazioniRows" msprop:Generator_UserRelationName="FK_TabOperazioni_TabPezzi1" msprop:Generator_ParentPropName="TabPezziRow" msprop:Generator_RelationVarName="relationFK_TabOperazioni_TabPezzi1" msprop:Generator_UserParentTable="TabPezzi" />
<msdata:Relationship name="FK_TabPezzi_AnagArticoli" msdata:parent="AnagArticoli" msdata:child="TabPezzi" msdata:parentkey="CodArt" msdata:childkey="CodArt" msprop:Generator_UserChildTable="TabPezzi" msprop:Generator_ChildPropName="GetTabPezziRows" msprop:Generator_UserRelationName="FK_TabPezzi_AnagArticoli" msprop:Generator_ParentPropName="AnagArticoliRow" msprop:Generator_RelationVarName="relationFK_TabPezzi_AnagArticoli" msprop:Generator_UserParentTable="AnagArticoli" />
<msdata:Relationship name="FK_StoricoAllarmi_AnagAllarmi" msdata:parent="AnagAllarmi" msdata:child="StoricoAllarmiExp" msdata:parentkey="CodAllarme" msdata:childkey="CodAllarme" msprop:Generator_UserChildTable="StoricoAllarmiExp" msprop:Generator_ChildPropName="GetStoricoAllarmiExpRows" msprop:Generator_UserRelationName="FK_StoricoAllarmi_AnagAllarmi" msprop:Generator_RelationVarName="relationFK_StoricoAllarmi_AnagAllarmi" msprop:Generator_UserParentTable="AnagAllarmi" msprop:Generator_ParentPropName="AnagAllarmiRow" />
</xs:appinfo>
</xs:annotation>
</xs:schema>