You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
tinyPos/TinyPOS/TinyPosEntity/TestDatabaseDataSet.xsd

415 lines
50 KiB

<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="TestDatabaseDataSet" targetNamespace="http://tempuri.org/TestDatabaseDataSet.xsd" xmlns:mstns="http://tempuri.org/TestDatabaseDataSet.xsd" xmlns="http://tempuri.org/TestDatabaseDataSet.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="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="TestDatabaseConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="TestDatabaseConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.TinyPosEntity.Properties.Settings.GlobalReference.Default.TestDatabaseConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="__MigrationHistoryTableAdapter" GeneratorDataComponentClassName="__MigrationHistoryTableAdapter" Name="__MigrationHistory" UserDataComponentName="__MigrationHistoryTableAdapter">
<MainSource>
<DbSource ConnectionRef="TestDatabaseConnectionString (Settings)" DbObjectName="TestDatabase.dbo.__MigrationHistory" 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].[__MigrationHistory] WHERE (([MigrationId] = @Original_MigrationId) AND ([ContextKey] = @Original_ContextKey) AND ([ProductVersion] = @Original_ProductVersion))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MigrationId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MigrationId" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContextKey" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContextKey" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProductVersion" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductVersion" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[__MigrationHistory] ([MigrationId], [ContextKey], [Model], [ProductVersion]) VALUES (@MigrationId, @ContextKey, @Model, @ProductVersion);
SELECT MigrationId, ContextKey, Model, ProductVersion FROM __MigrationHistory WHERE (ContextKey = @ContextKey) AND (MigrationId = @MigrationId)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MigrationId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MigrationId" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContextKey" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContextKey" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Model" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Model" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductVersion" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductVersion" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT MigrationId, ContextKey, Model, ProductVersion FROM dbo.[__MigrationHistory]</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[__MigrationHistory] SET [MigrationId] = @MigrationId, [ContextKey] = @ContextKey, [Model] = @Model, [ProductVersion] = @ProductVersion WHERE (([MigrationId] = @Original_MigrationId) AND ([ContextKey] = @Original_ContextKey) AND ([ProductVersion] = @Original_ProductVersion));
SELECT MigrationId, ContextKey, Model, ProductVersion FROM __MigrationHistory WHERE (ContextKey = @ContextKey) AND (MigrationId = @MigrationId)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MigrationId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MigrationId" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContextKey" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContextKey" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Model" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Model" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductVersion" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductVersion" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MigrationId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MigrationId" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContextKey" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContextKey" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProductVersion" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductVersion" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="MigrationId" DataSetColumn="MigrationId" />
<Mapping SourceColumn="ContextKey" DataSetColumn="ContextKey" />
<Mapping SourceColumn="Model" DataSetColumn="Model" />
<Mapping SourceColumn="ProductVersion" DataSetColumn="ProductVersion" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductsTableAdapter" GeneratorDataComponentClassName="ProductsTableAdapter" Name="Products" UserDataComponentName="ProductsTableAdapter">
<MainSource>
<DbSource ConnectionRef="TestDatabaseConnectionString (Settings)" DbObjectName="TestDatabase.dbo.Products" 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].[Products] WHERE (([ProductId] = @Original_ProductId) AND ([Price] = @Original_Price) AND ((@IsNull_ProductType_ProductTypeId = 1 AND [ProductType_ProductTypeId] IS NULL) OR ([ProductType_ProductTypeId] = @Original_ProductType_ProductTypeId)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Price" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Price" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ProductType_ProductTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductType_ProductTypeId" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductType_ProductTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductType_ProductTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[Products] ([Name], [Price], [Barcode], [ProductType_ProductTypeId]) VALUES (@Name, @Price, @Barcode, @ProductType_ProductTypeId);
SELECT ProductId, Name, Price, Barcode, ProductType_ProductTypeId FROM Products WHERE (ProductId = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Price" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Price" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductType_ProductTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductType_ProductTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT ProductId, Name, Price, Barcode, ProductType_ProductTypeId FROM dbo.Products</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[Products] SET [Name] = @Name, [Price] = @Price, [Barcode] = @Barcode, [ProductType_ProductTypeId] = @ProductType_ProductTypeId WHERE (([ProductId] = @Original_ProductId) AND ([Price] = @Original_Price) AND ((@IsNull_ProductType_ProductTypeId = 1 AND [ProductType_ProductTypeId] IS NULL) OR ([ProductType_ProductTypeId] = @Original_ProductType_ProductTypeId)));
SELECT ProductId, Name, Price, Barcode, ProductType_ProductTypeId FROM Products WHERE (ProductId = @ProductId)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Price" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Price" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductType_ProductTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductType_ProductTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Price" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Price" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ProductType_ProductTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductType_ProductTypeId" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductType_ProductTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductType_ProductTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="ProductId" ColumnName="ProductId" DataSourceName="TestDatabase.dbo.Products" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
<Mapping SourceColumn="Name" DataSetColumn="Name" />
<Mapping SourceColumn="Price" DataSetColumn="Price" />
<Mapping SourceColumn="Barcode" DataSetColumn="Barcode" />
<Mapping SourceColumn="ProductType_ProductTypeId" DataSetColumn="ProductType_ProductTypeId" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductTypesTableAdapter" GeneratorDataComponentClassName="ProductTypesTableAdapter" Name="ProductTypes" UserDataComponentName="ProductTypesTableAdapter">
<MainSource>
<DbSource ConnectionRef="TestDatabaseConnectionString (Settings)" DbObjectName="TestDatabase.dbo.ProductTypes" 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].[ProductTypes] WHERE (([ProductTypeId] = @Original_ProductTypeId))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[ProductTypes] ([Name]) VALUES (@Name);
SELECT ProductTypeId, Name FROM ProductTypes WHERE (ProductTypeId = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT ProductTypeId, Name FROM dbo.ProductTypes</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[ProductTypes] SET [Name] = @Name WHERE (([ProductTypeId] = @Original_ProductTypeId));
SELECT ProductTypeId, Name FROM ProductTypes WHERE (ProductTypeId = @ProductTypeId)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="ProductTypeId" ColumnName="ProductTypeId" DataSourceName="TestDatabase.dbo.ProductTypes" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProductTypeId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ProductTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="ProductTypeId" DataSetColumn="ProductTypeId" />
<Mapping SourceColumn="Name" DataSetColumn="Name" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TransactionItemsTableAdapter" GeneratorDataComponentClassName="TransactionItemsTableAdapter" Name="TransactionItems" UserDataComponentName="TransactionItemsTableAdapter">
<MainSource>
<DbSource ConnectionRef="TestDatabaseConnectionString (Settings)" DbObjectName="TestDatabase.dbo.TransactionItems" 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].[TransactionItems] WHERE (([TransactionItemId] = @Original_TransactionItemId) AND ((@IsNull_Product_ProductId = 1 AND [Product_ProductId] IS NULL) OR ([Product_ProductId] = @Original_Product_ProductId)) AND ((@IsNull_Transaction_TransactionId = 1 AND [Transaction_TransactionId] IS NULL) OR ([Transaction_TransactionId] = @Original_Transaction_TransactionId)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TransactionItemId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TransactionItemId" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Product_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Product_ProductId" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Product_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Product_ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Transaction_TransactionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Transaction_TransactionId" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Transaction_TransactionId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Transaction_TransactionId" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[TransactionItems] ([TransactionItemId], [Product_ProductId], [Transaction_TransactionId]) VALUES (@TransactionItemId, @Product_ProductId, @Transaction_TransactionId);
SELECT TransactionItemId, Product_ProductId, Transaction_TransactionId FROM TransactionItems WHERE (TransactionItemId = @TransactionItemId)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TransactionItemId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TransactionItemId" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Product_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Product_ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Transaction_TransactionId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Transaction_TransactionId" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT TransactionItemId, Product_ProductId, Transaction_TransactionId FROM dbo.TransactionItems</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[TransactionItems] SET [TransactionItemId] = @TransactionItemId, [Product_ProductId] = @Product_ProductId, [Transaction_TransactionId] = @Transaction_TransactionId WHERE (([TransactionItemId] = @Original_TransactionItemId) AND ((@IsNull_Product_ProductId = 1 AND [Product_ProductId] IS NULL) OR ([Product_ProductId] = @Original_Product_ProductId)) AND ((@IsNull_Transaction_TransactionId = 1 AND [Transaction_TransactionId] IS NULL) OR ([Transaction_TransactionId] = @Original_Transaction_TransactionId)));
SELECT TransactionItemId, Product_ProductId, Transaction_TransactionId FROM TransactionItems WHERE (TransactionItemId = @TransactionItemId)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TransactionItemId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TransactionItemId" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Product_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Product_ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Transaction_TransactionId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Transaction_TransactionId" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TransactionItemId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TransactionItemId" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Product_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Product_ProductId" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Product_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Product_ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Transaction_TransactionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Transaction_TransactionId" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Transaction_TransactionId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Transaction_TransactionId" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="TransactionItemId" DataSetColumn="TransactionItemId" />
<Mapping SourceColumn="Product_ProductId" DataSetColumn="Product_ProductId" />
<Mapping SourceColumn="Transaction_TransactionId" DataSetColumn="Transaction_TransactionId" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TransactionsTableAdapter" GeneratorDataComponentClassName="TransactionsTableAdapter" Name="Transactions" UserDataComponentName="TransactionsTableAdapter">
<MainSource>
<DbSource ConnectionRef="TestDatabaseConnectionString (Settings)" DbObjectName="TestDatabase.dbo.Transactions" 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].[Transactions] WHERE (([TransactionId] = @Original_TransactionId) AND ([Timestamp] = @Original_Timestamp))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TransactionId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TransactionId" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Timestamp" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Timestamp" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[Transactions] ([TransactionId], [Timestamp]) VALUES (@TransactionId, @Timestamp);
SELECT TransactionId, Timestamp FROM Transactions WHERE (TransactionId = @TransactionId)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TransactionId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TransactionId" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Timestamp" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Timestamp" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT TransactionId, Timestamp FROM dbo.Transactions</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[Transactions] SET [TransactionId] = @TransactionId, [Timestamp] = @Timestamp WHERE (([TransactionId] = @Original_TransactionId) AND ([Timestamp] = @Original_Timestamp));
SELECT TransactionId, Timestamp FROM Transactions WHERE (TransactionId = @TransactionId)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TransactionId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TransactionId" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Timestamp" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Timestamp" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TransactionId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TransactionId" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Timestamp" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Timestamp" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="TransactionId" DataSetColumn="TransactionId" />
<Mapping SourceColumn="Timestamp" DataSetColumn="Timestamp" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="TestDatabaseDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="TestDatabaseDataSet" msprop:Generator_UserDSName="TestDatabaseDataSet">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="__MigrationHistory" msprop:Generator_TableClassName="__MigrationHistoryDataTable" msprop:Generator_TableVarName="table__MigrationHistory" msprop:Generator_TablePropName="__MigrationHistory" msprop:Generator_RowDeletingName="__MigrationHistoryRowDeleting" msprop:Generator_RowChangingName="__MigrationHistoryRowChanging" msprop:Generator_RowEvHandlerName="__MigrationHistoryRowChangeEventHandler" msprop:Generator_RowDeletedName="__MigrationHistoryRowDeleted" msprop:Generator_UserTableName="__MigrationHistory" msprop:Generator_RowChangedName="__MigrationHistoryRowChanged" msprop:Generator_RowEvArgName="__MigrationHistoryRowChangeEvent" msprop:Generator_RowClassName="__MigrationHistoryRow">
<xs:complexType>
<xs:sequence>
<xs:element name="MigrationId" msprop:Generator_ColumnVarNameInTable="columnMigrationId" msprop:Generator_ColumnPropNameInRow="MigrationId" msprop:Generator_ColumnPropNameInTable="MigrationIdColumn" msprop:Generator_UserColumnName="MigrationId">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="150" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ContextKey" msprop:Generator_ColumnVarNameInTable="columnContextKey" msprop:Generator_ColumnPropNameInRow="ContextKey" msprop:Generator_ColumnPropNameInTable="ContextKeyColumn" msprop:Generator_UserColumnName="ContextKey">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="300" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Model" msprop:Generator_ColumnVarNameInTable="columnModel" msprop:Generator_ColumnPropNameInRow="Model" msprop:Generator_ColumnPropNameInTable="ModelColumn" msprop:Generator_UserColumnName="Model" type="xs:base64Binary" />
<xs:element name="ProductVersion" msprop:Generator_ColumnVarNameInTable="columnProductVersion" msprop:Generator_ColumnPropNameInRow="ProductVersion" msprop:Generator_ColumnPropNameInTable="ProductVersionColumn" msprop:Generator_UserColumnName="ProductVersion">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="32" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Products" msprop:Generator_TableClassName="ProductsDataTable" msprop:Generator_TableVarName="tableProducts" msprop:Generator_TablePropName="Products" msprop:Generator_RowDeletingName="ProductsRowDeleting" msprop:Generator_RowChangingName="ProductsRowChanging" msprop:Generator_RowEvHandlerName="ProductsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProductsRowDeleted" msprop:Generator_UserTableName="Products" msprop:Generator_RowChangedName="ProductsRowChanged" msprop:Generator_RowEvArgName="ProductsRowChangeEvent" msprop:Generator_RowClassName="ProductsRow">
<xs:complexType>
<xs:sequence>
<xs:element name="ProductId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" msprop:Generator_UserColumnName="ProductId" type="xs:int" />
<xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Price" msprop:Generator_ColumnVarNameInTable="columnPrice" msprop:Generator_ColumnPropNameInRow="Price" msprop:Generator_ColumnPropNameInTable="PriceColumn" msprop:Generator_UserColumnName="Price" type="xs:int" />
<xs:element name="Barcode" msprop:Generator_ColumnVarNameInTable="columnBarcode" msprop:Generator_ColumnPropNameInRow="Barcode" msprop:Generator_ColumnPropNameInTable="BarcodeColumn" msprop:Generator_UserColumnName="Barcode" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ProductType_ProductTypeId" msprop:Generator_ColumnVarNameInTable="columnProductType_ProductTypeId" msprop:Generator_ColumnPropNameInRow="ProductType_ProductTypeId" msprop:Generator_ColumnPropNameInTable="ProductType_ProductTypeIdColumn" msprop:Generator_UserColumnName="ProductType_ProductTypeId" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ProductTypes" msprop:Generator_TableClassName="ProductTypesDataTable" msprop:Generator_TableVarName="tableProductTypes" msprop:Generator_TablePropName="ProductTypes" msprop:Generator_RowDeletingName="ProductTypesRowDeleting" msprop:Generator_RowChangingName="ProductTypesRowChanging" msprop:Generator_RowEvHandlerName="ProductTypesRowChangeEventHandler" msprop:Generator_RowDeletedName="ProductTypesRowDeleted" msprop:Generator_UserTableName="ProductTypes" msprop:Generator_RowChangedName="ProductTypesRowChanged" msprop:Generator_RowEvArgName="ProductTypesRowChangeEvent" msprop:Generator_RowClassName="ProductTypesRow">
<xs:complexType>
<xs:sequence>
<xs:element name="ProductTypeId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnProductTypeId" msprop:Generator_ColumnPropNameInRow="ProductTypeId" msprop:Generator_ColumnPropNameInTable="ProductTypeIdColumn" msprop:Generator_UserColumnName="ProductTypeId" type="xs:int" />
<xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransactionItems" msprop:Generator_TableClassName="TransactionItemsDataTable" msprop:Generator_TableVarName="tableTransactionItems" msprop:Generator_TablePropName="TransactionItems" msprop:Generator_RowDeletingName="TransactionItemsRowDeleting" msprop:Generator_RowChangingName="TransactionItemsRowChanging" msprop:Generator_RowEvHandlerName="TransactionItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="TransactionItemsRowDeleted" msprop:Generator_UserTableName="TransactionItems" msprop:Generator_RowChangedName="TransactionItemsRowChanged" msprop:Generator_RowEvArgName="TransactionItemsRowChangeEvent" msprop:Generator_RowClassName="TransactionItemsRow">
<xs:complexType>
<xs:sequence>
<xs:element name="TransactionItemId" msprop:Generator_ColumnVarNameInTable="columnTransactionItemId" msprop:Generator_ColumnPropNameInRow="TransactionItemId" msprop:Generator_ColumnPropNameInTable="TransactionItemIdColumn" msprop:Generator_UserColumnName="TransactionItemId">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="128" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Product_ProductId" msprop:Generator_ColumnVarNameInTable="columnProduct_ProductId" msprop:Generator_ColumnPropNameInRow="Product_ProductId" msprop:Generator_ColumnPropNameInTable="Product_ProductIdColumn" msprop:Generator_UserColumnName="Product_ProductId" type="xs:int" minOccurs="0" />
<xs:element name="Transaction_TransactionId" msprop:Generator_ColumnVarNameInTable="columnTransaction_TransactionId" msprop:Generator_ColumnPropNameInRow="Transaction_TransactionId" msprop:Generator_ColumnPropNameInTable="Transaction_TransactionIdColumn" msprop:Generator_UserColumnName="Transaction_TransactionId" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="128" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Transactions" msprop:Generator_TableClassName="TransactionsDataTable" msprop:Generator_TableVarName="tableTransactions" msprop:Generator_TablePropName="Transactions" msprop:Generator_RowDeletingName="TransactionsRowDeleting" msprop:Generator_RowChangingName="TransactionsRowChanging" msprop:Generator_RowEvHandlerName="TransactionsRowChangeEventHandler" msprop:Generator_RowDeletedName="TransactionsRowDeleted" msprop:Generator_UserTableName="Transactions" msprop:Generator_RowChangedName="TransactionsRowChanged" msprop:Generator_RowEvArgName="TransactionsRowChangeEvent" msprop:Generator_RowClassName="TransactionsRow">
<xs:complexType>
<xs:sequence>
<xs:element name="TransactionId" msprop:Generator_ColumnVarNameInTable="columnTransactionId" msprop:Generator_ColumnPropNameInRow="TransactionId" msprop:Generator_ColumnPropNameInTable="TransactionIdColumn" msprop:Generator_UserColumnName="TransactionId">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="128" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Timestamp" msprop:Generator_ColumnVarNameInTable="columnTimestamp" msprop:Generator_ColumnPropNameInRow="Timestamp" msprop:Generator_ColumnPropNameInTable="TimestampColumn" msprop:Generator_UserColumnName="Timestamp" type="xs:dateTime" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:__MigrationHistory" />
<xs:field xpath="mstns:MigrationId" />
<xs:field xpath="mstns:ContextKey" />
</xs:unique>
<xs:unique name="Products_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Products" />
<xs:field xpath="mstns:ProductId" />
</xs:unique>
<xs:unique name="ProductTypes_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:ProductTypes" />
<xs:field xpath="mstns:ProductTypeId" />
</xs:unique>
<xs:unique name="TransactionItems_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:TransactionItems" />
<xs:field xpath="mstns:TransactionItemId" />
</xs:unique>
<xs:unique name="Transactions_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Transactions" />
<xs:field xpath="mstns:TransactionId" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_dbo.Products_dbo.ProductTypes_ProductType_ProductTypeId" msdata:parent="ProductTypes" msdata:child="Products" msdata:parentkey="ProductTypeId" msdata:childkey="ProductType_ProductTypeId" msprop:Generator_UserChildTable="Products" msprop:Generator_ChildPropName="GetProductsRows" msprop:Generator_UserRelationName="FK_dbo.Products_dbo.ProductTypes_ProductType_ProductTypeId" msprop:Generator_RelationVarName="_relationFK_dbo_Products_dbo_ProductTypes_ProductType_ProductTypeId" msprop:Generator_UserParentTable="ProductTypes" msprop:Generator_ParentPropName="ProductTypesRow" />
<msdata:Relationship name="FK_dbo.TransactionItems_dbo.Products_Product_ProductId" msdata:parent="Products" msdata:child="TransactionItems" msdata:parentkey="ProductId" msdata:childkey="Product_ProductId" msprop:Generator_UserChildTable="TransactionItems" msprop:Generator_ChildPropName="GetTransactionItemsRows" msprop:Generator_UserRelationName="FK_dbo.TransactionItems_dbo.Products_Product_ProductId" msprop:Generator_ParentPropName="ProductsRow" msprop:Generator_RelationVarName="_relationFK_dbo_TransactionItems_dbo_Products_Product_ProductId" msprop:Generator_UserParentTable="Products" />
<msdata:Relationship name="FK_dbo.TransactionItems_dbo.Transactions_Transaction_TransactionId" msdata:parent="Transactions" msdata:child="TransactionItems" msdata:parentkey="TransactionId" msdata:childkey="Transaction_TransactionId" msprop:Generator_UserChildTable="TransactionItems" msprop:Generator_ChildPropName="GetTransactionItemsRows" msprop:Generator_UserRelationName="FK_dbo.TransactionItems_dbo.Transactions_Transaction_TransactionId" msprop:Generator_RelationVarName="_relationFK_dbo_TransactionItems_dbo_Transactions_Transaction_TransactionId" msprop:Generator_UserParentTable="Transactions" msprop:Generator_ParentPropName="TransactionsRow" />
</xs:appinfo>
</xs:annotation>
</xs:schema>