Aggiunta configurazione e gestione del dataset Inventario

Sono stati aggiunti nuovi file di configurazione e progetto per l'applicazione "Inventario", inclusi `App.config` per la connessione al database Access e `Inventario.csproj` per la struttura del progetto.

È stata creata una soluzione di Visual Studio con configurazioni per diverse piattaforme.

In `InventarioDataSet.Designer.cs`, sono state definite classi per gestire le entità dell'inventario, inclusi articoli e fornitori, con metodi per operazioni di database.

È stata implementata una nuova interfaccia utente per la gestione degli articoli, con funzionalità per aggiungere, modificare ed eliminare articoli, e migliorata la gestione degli errori con messaggi informativi.
This commit is contained in:
2025-08-17 22:37:15 +02:00
parent 182d557d33
commit 1bd26507af
23 changed files with 7775 additions and 0 deletions

View File

@@ -0,0 +1,377 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="InventarioDataSet" targetNamespace="http://tempuri.org/InventarioDataSet.xsd" xmlns:mstns="http://tempuri.org/InventarioDataSet.xsd" xmlns="http://tempuri.org/InventarioDataSet.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="InventarioConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="InventarioConnectionString (Settings)" PropertyReference="ApplicationSettings.Inventario.Properties.Settings.GlobalReference.Default.InventarioConnectionString" Provider="System.Data.OleDb" />
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="InventarioConnection" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="InventarioConnection (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Inventario.Properties.Settings.GlobalReference.Default.InventarioConnection" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ArticoliTableAdapter" GeneratorDataComponentClassName="ArticoliTableAdapter" Name="Articoli" UserDataComponentName="ArticoliTableAdapter">
<MainSource>
<DbSource ConnectionRef="InventarioConnection (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT Articolo, Descrizione, [Note], InGiacenza, PrezzoAcquisto, PrezzoVendita, Fornitore, Condizione FROM Articoli</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Articolo" DataSetColumn="Articolo" />
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
<Mapping SourceColumn="Note" DataSetColumn="Note" />
<Mapping SourceColumn="InGiacenza" DataSetColumn="InGiacenza" />
<Mapping SourceColumn="PrezzoAcquisto" DataSetColumn="PrezzoAcquisto" />
<Mapping SourceColumn="PrezzoVendita" DataSetColumn="PrezzoVendita" />
<Mapping SourceColumn="Fornitore" DataSetColumn="Fornitore" />
<Mapping SourceColumn="Condizione" DataSetColumn="Condizione" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FornitoriTableAdapter" GeneratorDataComponentClassName="FornitoriTableAdapter" Name="Fornitori" UserDataComponentName="FornitoriTableAdapter">
<MainSource>
<DbSource ConnectionRef="InventarioConnectionString (Settings)" DbObjectName="Fornitori" 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 `Fornitori` WHERE ((`Fornitore` = ?) AND ((? = 1 AND `Descrizione` IS NULL) OR (`Descrizione` = ?)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Fornitore" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Fornitore" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Descrizione" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Descrizione" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO `Fornitori` (`Fornitore`, `Descrizione`, `Note`) VALUES (?, ?, ?)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Fornitore" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Fornitore" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Descrizione" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Note" Precision="0" ProviderType="LongVarWChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Fornitore, Descrizione, [Note] FROM Fornitori</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE `Fornitori` SET `Fornitore` = ?, `Descrizione` = ?, `Note` = ? WHERE ((`Fornitore` = ?) AND ((? = 1 AND `Descrizione` IS NULL) OR (`Descrizione` = ?)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Fornitore" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Fornitore" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Descrizione" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Note" Precision="0" ProviderType="LongVarWChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Fornitore" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Fornitore" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Descrizione" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Descrizione" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Fornitore" DataSetColumn="Fornitore" />
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
<Mapping SourceColumn="Note" DataSetColumn="Note" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MovimentiTableAdapter" GeneratorDataComponentClassName="MovimentiTableAdapter" Name="Movimenti" UserDataComponentName="MovimentiTableAdapter">
<MainSource>
<DbSource ConnectionRef="InventarioConnectionString (Settings)" DbObjectName="Movimenti" 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 `Movimenti` WHERE ((`IDMovimento` = ?) AND ((? = 1 AND `Tipo` IS NULL) OR (`Tipo` = ?)) AND ((? = 1 AND `Articolo` IS NULL) OR (`Articolo` = ?)) AND ((? = 1 AND `Quantità` IS NULL) OR (`Quantità` = ?)) AND ((? = 1 AND `Data` IS NULL) OR (`Data` = ?)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_IDMovimento" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="IDMovimento" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Tipo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Tipo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Articolo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Articolo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Articolo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Articolo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Quantità" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Quantità" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Quantità" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Quantità" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Data" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_Data" Precision="0" ProviderType="DBTimeStamp" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO `Movimenti` (`Tipo`, `Articolo`, `Quantità`, `Data`) VALUES (?, ?, ?, ?)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Tipo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Articolo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Articolo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Quantità" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Quantità" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Data" Precision="0" ProviderType="DBTimeStamp" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT IDMovimento, Tipo, Articolo, Quantità, Data FROM Movimenti</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE `Movimenti` SET `Tipo` = ?, `Articolo` = ?, `Quantità` = ?, `Data` = ? WHERE ((`IDMovimento` = ?) AND ((? = 1 AND `Tipo` IS NULL) OR (`Tipo` = ?)) AND ((? = 1 AND `Articolo` IS NULL) OR (`Articolo` = ?)) AND ((? = 1 AND `Quantità` IS NULL) OR (`Quantità` = ?)) AND ((? = 1 AND `Data` IS NULL) OR (`Data` = ?)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Tipo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Articolo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Articolo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Quantità" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Quantità" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Data" Precision="0" ProviderType="DBTimeStamp" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_IDMovimento" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="IDMovimento" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Tipo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Tipo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Articolo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Articolo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Articolo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Articolo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Quantità" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Quantità" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Quantità" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Quantità" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Data" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_Data" Precision="0" ProviderType="DBTimeStamp" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="IDMovimento" DataSetColumn="IDMovimento" />
<Mapping SourceColumn="Tipo" DataSetColumn="Tipo" />
<Mapping SourceColumn="Articolo" DataSetColumn="Articolo" />
<Mapping SourceColumn="Quantità" DataSetColumn="Quantità" />
<Mapping SourceColumn="Data" DataSetColumn="Data" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="GiacenzeTableAdapter" GeneratorDataComponentClassName="GiacenzeTableAdapter" Name="Giacenze" UserDataComponentName="GiacenzeTableAdapter">
<MainSource>
<DbSource ConnectionRef="InventarioConnectionString (Settings)" DbObjectName="Giacenze" 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 Giacenze.*
FROM Giacenze</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Giacenza" DataSetColumn="Giacenza" />
<Mapping SourceColumn="Articolo" DataSetColumn="Articolo" />
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MovimentiCaricoTableAdapter" GeneratorDataComponentClassName="MovimentiCaricoTableAdapter" Name="MovimentiCarico" UserDataComponentName="MovimentiCaricoTableAdapter">
<MainSource>
<DbSource ConnectionRef="InventarioConnectionString (Settings)" DbObjectName="MovimentiCarico" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Articolo, GiacenzaScarico FROM MovimentiCarico</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Articolo" DataSetColumn="Articolo" />
<Mapping SourceColumn="GiacenzaScarico" DataSetColumn="GiacenzaScarico" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MovimentiScaricoTableAdapter" GeneratorDataComponentClassName="MovimentiScaricoTableAdapter" Name="MovimentiScarico" UserDataComponentName="MovimentiScaricoTableAdapter">
<MainSource>
<DbSource ConnectionRef="InventarioConnectionString (Settings)" DbObjectName="MovimentiScarico" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Articolo, GiacenzaCarico FROM MovimentiScarico</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Articolo" DataSetColumn="Articolo" />
<Mapping SourceColumn="GiacenzaCarico" DataSetColumn="GiacenzaCarico" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="InventarioDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="InventarioDataSet" msprop:Generator_UserDSName="InventarioDataSet">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Articoli" msprop:Generator_TableClassName="ArticoliDataTable" msprop:Generator_TableVarName="tableArticoli" msprop:Generator_RowChangedName="ArticoliRowChanged" msprop:Generator_TablePropName="Articoli" msprop:Generator_RowDeletingName="ArticoliRowDeleting" msprop:Generator_RowChangingName="ArticoliRowChanging" msprop:Generator_RowEvHandlerName="ArticoliRowChangeEventHandler" msprop:Generator_RowDeletedName="ArticoliRowDeleted" msprop:Generator_RowClassName="ArticoliRow" msprop:Generator_UserTableName="Articoli" msprop:Generator_RowEvArgName="ArticoliRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Articolo" msprop:Generator_ColumnVarNameInTable="columnArticolo" msprop:Generator_ColumnPropNameInRow="Articolo" msprop:Generator_ColumnPropNameInTable="ArticoloColumn" msprop:Generator_UserColumnName="Articolo">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="32" />
</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" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" msprop:Generator_UserColumnName="Note" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="536870910" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="InGiacenza" msprop:Generator_ColumnVarNameInTable="columnInGiacenza" msprop:Generator_ColumnPropNameInRow="InGiacenza" msprop:Generator_ColumnPropNameInTable="InGiacenzaColumn" msprop:Generator_UserColumnName="InGiacenza" type="xs:int" minOccurs="0" />
<xs:element name="PrezzoAcquisto" msprop:Generator_ColumnVarNameInTable="columnPrezzoAcquisto" msprop:Generator_ColumnPropNameInRow="PrezzoAcquisto" msprop:Generator_ColumnPropNameInTable="PrezzoAcquistoColumn" msprop:Generator_UserColumnName="PrezzoAcquisto" type="xs:decimal" minOccurs="0" />
<xs:element name="PrezzoVendita" msprop:Generator_ColumnVarNameInTable="columnPrezzoVendita" msprop:Generator_ColumnPropNameInRow="PrezzoVendita" msprop:Generator_ColumnPropNameInTable="PrezzoVenditaColumn" msprop:Generator_UserColumnName="PrezzoVendita" type="xs:decimal" minOccurs="0" />
<xs:element name="Fornitore" msprop:Generator_ColumnVarNameInTable="columnFornitore" msprop:Generator_ColumnPropNameInRow="Fornitore" msprop:Generator_ColumnPropNameInTable="FornitoreColumn" msprop:Generator_UserColumnName="Fornitore" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Condizione" msprop:Generator_ColumnVarNameInTable="columnCondizione" msprop:Generator_ColumnPropNameInRow="Condizione" msprop:Generator_ColumnPropNameInTable="CondizioneColumn" msprop:Generator_UserColumnName="Condizione" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Fornitori" msprop:Generator_TableClassName="FornitoriDataTable" msprop:Generator_TableVarName="tableFornitori" msprop:Generator_RowChangedName="FornitoriRowChanged" msprop:Generator_TablePropName="Fornitori" msprop:Generator_RowDeletingName="FornitoriRowDeleting" msprop:Generator_RowChangingName="FornitoriRowChanging" msprop:Generator_RowEvHandlerName="FornitoriRowChangeEventHandler" msprop:Generator_RowDeletedName="FornitoriRowDeleted" msprop:Generator_RowClassName="FornitoriRow" msprop:Generator_UserTableName="Fornitori" msprop:Generator_RowEvArgName="FornitoriRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Fornitore" msprop:Generator_ColumnVarNameInTable="columnFornitore" msprop:Generator_ColumnPropNameInRow="Fornitore" msprop:Generator_ColumnPropNameInTable="FornitoreColumn" msprop:Generator_UserColumnName="Fornitore">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="32" />
</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" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" msprop:Generator_UserColumnName="Note" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="536870910" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Movimenti" msprop:Generator_TableClassName="MovimentiDataTable" msprop:Generator_TableVarName="tableMovimenti" msprop:Generator_RowChangedName="MovimentiRowChanged" msprop:Generator_TablePropName="Movimenti" msprop:Generator_RowDeletingName="MovimentiRowDeleting" msprop:Generator_RowChangingName="MovimentiRowChanging" msprop:Generator_RowEvHandlerName="MovimentiRowChangeEventHandler" msprop:Generator_RowDeletedName="MovimentiRowDeleted" msprop:Generator_RowClassName="MovimentiRow" msprop:Generator_UserTableName="Movimenti" msprop:Generator_RowEvArgName="MovimentiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IDMovimento" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnIDMovimento" msprop:Generator_ColumnPropNameInRow="IDMovimento" msprop:Generator_ColumnPropNameInTable="IDMovimentoColumn" msprop:Generator_UserColumnName="IDMovimento" type="xs:int" />
<xs:element name="Tipo" msprop:Generator_ColumnVarNameInTable="columnTipo" msprop:Generator_ColumnPropNameInRow="Tipo" msprop:Generator_ColumnPropNameInTable="TipoColumn" msprop:Generator_UserColumnName="Tipo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Articolo" msprop:Generator_ColumnVarNameInTable="columnArticolo" msprop:Generator_ColumnPropNameInRow="Articolo" msprop:Generator_ColumnPropNameInTable="ArticoloColumn" msprop:Generator_UserColumnName="Articolo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="32" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Quantità" msprop:Generator_ColumnVarNameInTable="columnQuantità" msprop:Generator_ColumnPropNameInRow="Quantità" msprop:Generator_ColumnPropNameInTable="QuantitàColumn" msprop:Generator_UserColumnName="Quantità" type="xs:int" minOccurs="0" />
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Giacenze" msprop:Generator_TableClassName="GiacenzeDataTable" msprop:Generator_TableVarName="tableGiacenze" msprop:Generator_RowChangedName="GiacenzeRowChanged" msprop:Generator_TablePropName="Giacenze" msprop:Generator_RowDeletingName="GiacenzeRowDeleting" msprop:Generator_RowChangingName="GiacenzeRowChanging" msprop:Generator_RowEvHandlerName="GiacenzeRowChangeEventHandler" msprop:Generator_RowDeletedName="GiacenzeRowDeleted" msprop:Generator_RowClassName="GiacenzeRow" msprop:Generator_UserTableName="Giacenze" msprop:Generator_RowEvArgName="GiacenzeRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Giacenza" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnGiacenza" msprop:Generator_ColumnPropNameInRow="Giacenza" msprop:Generator_ColumnPropNameInTable="GiacenzaColumn" msprop:Generator_UserColumnName="Giacenza" type="xs:double" minOccurs="0" />
<xs:element name="Articolo" msprop:Generator_ColumnVarNameInTable="columnArticolo" msprop:Generator_ColumnPropNameInRow="Articolo" msprop:Generator_ColumnPropNameInTable="ArticoloColumn" msprop:Generator_UserColumnName="Articolo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="32" />
</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" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MovimentiCarico" msprop:Generator_TableClassName="MovimentiCaricoDataTable" msprop:Generator_TableVarName="tableMovimentiCarico" msprop:Generator_RowChangedName="MovimentiCaricoRowChanged" msprop:Generator_TablePropName="MovimentiCarico" msprop:Generator_RowDeletingName="MovimentiCaricoRowDeleting" msprop:Generator_RowChangingName="MovimentiCaricoRowChanging" msprop:Generator_RowEvHandlerName="MovimentiCaricoRowChangeEventHandler" msprop:Generator_RowDeletedName="MovimentiCaricoRowDeleted" msprop:Generator_RowClassName="MovimentiCaricoRow" msprop:Generator_UserTableName="MovimentiCarico" msprop:Generator_RowEvArgName="MovimentiCaricoRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Articolo" msprop:Generator_ColumnVarNameInTable="columnArticolo" msprop:Generator_ColumnPropNameInRow="Articolo" msprop:Generator_ColumnPropNameInTable="ArticoloColumn" msprop:Generator_UserColumnName="Articolo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="32" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="GiacenzaScarico" msprop:Generator_ColumnVarNameInTable="columnGiacenzaScarico" msprop:Generator_ColumnPropNameInRow="GiacenzaScarico" msprop:Generator_ColumnPropNameInTable="GiacenzaScaricoColumn" msprop:Generator_UserColumnName="GiacenzaScarico" type="xs:double" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MovimentiScarico" msprop:Generator_TableClassName="MovimentiScaricoDataTable" msprop:Generator_TableVarName="tableMovimentiScarico" msprop:Generator_RowChangedName="MovimentiScaricoRowChanged" msprop:Generator_TablePropName="MovimentiScarico" msprop:Generator_RowDeletingName="MovimentiScaricoRowDeleting" msprop:Generator_RowChangingName="MovimentiScaricoRowChanging" msprop:Generator_RowEvHandlerName="MovimentiScaricoRowChangeEventHandler" msprop:Generator_RowDeletedName="MovimentiScaricoRowDeleted" msprop:Generator_RowClassName="MovimentiScaricoRow" msprop:Generator_UserTableName="MovimentiScarico" msprop:Generator_RowEvArgName="MovimentiScaricoRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Articolo" msprop:Generator_ColumnVarNameInTable="columnArticolo" msprop:Generator_ColumnPropNameInRow="Articolo" msprop:Generator_ColumnPropNameInTable="ArticoloColumn" msprop:Generator_UserColumnName="Articolo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="32" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="GiacenzaCarico" msprop:Generator_ColumnVarNameInTable="columnGiacenzaCarico" msprop:Generator_ColumnPropNameInRow="GiacenzaCarico" msprop:Generator_ColumnPropNameInTable="GiacenzaCaricoColumn" msprop:Generator_UserColumnName="GiacenzaCarico" type="xs:double" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Articoli" />
<xs:field xpath="mstns:Articolo" />
</xs:unique>
<xs:unique name="Fornitori_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Fornitori" />
<xs:field xpath="mstns:Fornitore" />
</xs:unique>
<xs:unique name="Movimenti_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Movimenti" />
<xs:field xpath="mstns:IDMovimento" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FornitoriArticoli" msdata:parent="Fornitori" msdata:child="Articoli" msdata:parentkey="Fornitore" msdata:childkey="Fornitore" msprop:Generator_UserChildTable="Articoli" msprop:Generator_ChildPropName="GetArticoliRows" msprop:Generator_UserRelationName="FornitoriArticoli" msprop:Generator_ParentPropName="FornitoriRow" msprop:Generator_RelationVarName="relationFornitoriArticoli" msprop:Generator_UserParentTable="Fornitori" />
<msdata:Relationship name="ArticoliMovimenti" msdata:parent="Articoli" msdata:child="Movimenti" msdata:parentkey="Articolo" msdata:childkey="Articolo" msprop:Generator_UserChildTable="Movimenti" msprop:Generator_ChildPropName="GetMovimentiRows" msprop:Generator_UserRelationName="ArticoliMovimenti" msprop:Generator_RelationVarName="relationArticoliMovimenti" msprop:Generator_UserParentTable="Articoli" msprop:Generator_ParentPropName="ArticoliRow" />
</xs:appinfo>
</xs:annotation>
</xs:schema>