Files
NKC/AppData/DS_App.xsd
T
Emmanuele Sassi 058b65fa7a Fix conf x PC LELE
2019-08-23 17:16:14 +02:00

706 lines
97 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="Sauder_NKCConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Sauder_NKCConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.AppData.Properties.Settings.GlobalReference.Default.Sauder_NKCConnectionString" Provider="System.Data.SqlClient" />
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="Sauder_NKCConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Sauder_NKCConnectionString1 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.AppData.Properties.Settings.GlobalReference.Default.Sauder_NKCConnectionString1" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BatchListTableAdapter" GeneratorDataComponentClassName="BatchListTableAdapter" Name="BatchList" UserDataComponentName="BatchListTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_BatchList" 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 v_BatchList</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="Takt" DataSetColumn="Takt" />
<Mapping SourceColumn="DueDate" DataSetColumn="DueDate" />
<Mapping SourceColumn="NestingReq" DataSetColumn="NestingReq" />
<Mapping SourceColumn="NestingResp" DataSetColumn="NestingResp" />
<Mapping SourceColumn="TotalTime" DataSetColumn="TotalTime" />
<Mapping SourceColumn="ApprovDate" DataSetColumn="ApprovDate" />
<Mapping SourceColumn="ApprovUser" DataSetColumn="ApprovUser" />
<Mapping SourceColumn="STATUS" DataSetColumn="STATUS" />
<Mapping SourceColumn="NumOrders" DataSetColumn="NumOrders" />
<Mapping SourceColumn="NumItems" DataSetColumn="NumItems" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_accept" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="acceptBatch" Modifier="Public" Name="acceptBatch" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="acceptBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_accept</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="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@userName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_getByKey</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_getByStatus" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByStatus" GetMethodModifier="Public" GetMethodName="getByStatus" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByStatus" UserSourceName="getByStatus">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_getByStatus</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="@Status" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_updateStatus" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateStatus" Modifier="Public" Name="updateStatus" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="updateStatus">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_updateStatus</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="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Status" 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="MaterialsTableAdapter" GeneratorDataComponentClassName="MaterialsTableAdapter" Name="Materials" UserDataComponentName="MaterialsTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.Materials" 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].[Materials] WHERE (([MatID] = @Original_MatID) AND ([MaterExtCode] = @Original_MaterExtCode) AND ([MaterDesc] = @Original_MaterDesc) AND ([ApprovDate] = @Original_ApprovDate) AND ([ApprovUser] = @Original_ApprovUser) AND ([L_mm] = @Original_L_mm) AND ([W_mm] = @Original_W_mm) AND ([T_mm] = @Original_T_mm))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MaterExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MaterExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MaterDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MaterDesc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ApprovDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ApprovDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ApprovUser" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ApprovUser" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_L_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="L_mm" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_W_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="W_mm" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_T_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="T_mm" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[Materials] ([MaterExtCode], [MaterDesc], [ApprovDate], [ApprovUser], [L_mm], [W_mm], [T_mm]) VALUES (@MaterExtCode, @MaterDesc, @ApprovDate, @ApprovUser, @L_mm, @W_mm, @T_mm);
SELECT MatID, MaterExtCode, MaterDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm FROM Materials WHERE (MatID = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MaterExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MaterExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MaterDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MaterDesc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ApprovDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ApprovDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ApprovUser" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ApprovUser" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@L_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="L_mm" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@W_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="W_mm" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@T_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="T_mm" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT MatID, MaterExtCode, MaterDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm FROM dbo.Materials</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[Materials] SET [MaterExtCode] = @MaterExtCode, [MaterDesc] = @MaterDesc, [ApprovDate] = @ApprovDate, [ApprovUser] = @ApprovUser, [L_mm] = @L_mm, [W_mm] = @W_mm, [T_mm] = @T_mm WHERE (([MatID] = @Original_MatID) AND ([MaterExtCode] = @Original_MaterExtCode) AND ([MaterDesc] = @Original_MaterDesc) AND ([ApprovDate] = @Original_ApprovDate) AND ([ApprovUser] = @Original_ApprovUser) AND ([L_mm] = @Original_L_mm) AND ([W_mm] = @Original_W_mm) AND ([T_mm] = @Original_T_mm));
SELECT MatID, MaterExtCode, MaterDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm FROM Materials WHERE (MatID = @MatID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MaterExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MaterExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MaterDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MaterDesc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ApprovDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ApprovDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ApprovUser" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ApprovUser" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@L_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="L_mm" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@W_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="W_mm" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@T_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="T_mm" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MaterExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MaterExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MaterDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MaterDesc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ApprovDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ApprovDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ApprovUser" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ApprovUser" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_L_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="L_mm" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_W_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="W_mm" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_T_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="T_mm" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="MatID" ColumnName="MatID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@MatID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="MatID" DataSetColumn="MatID" />
<Mapping SourceColumn="MaterExtCode" DataSetColumn="MaterExtCode" />
<Mapping SourceColumn="MaterDesc" DataSetColumn="MaterDesc" />
<Mapping SourceColumn="ApprovDate" DataSetColumn="ApprovDate" />
<Mapping SourceColumn="ApprovUser" DataSetColumn="ApprovUser" />
<Mapping SourceColumn="L_mm" DataSetColumn="L_mm" />
<Mapping SourceColumn="W_mm" DataSetColumn="W_mm" />
<Mapping SourceColumn="T_mm" DataSetColumn="T_mm" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ItemListTableAdapter" GeneratorDataComponentClassName="ItemListTableAdapter" Name="ItemList" UserDataComponentName="ItemListTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.ItemList" 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].[ItemList] WHERE (([ItemID] = @Original_ItemID) AND ([ItemStatus] = @Original_ItemStatus) AND ((@IsNull_OrdCod = 1 AND [OrdCod] IS NULL) OR ([OrdCod] = @Original_OrdCod)) AND ((@IsNull_Item_Dtmx = 1 AND [Item_Dtmx] IS NULL) OR ([Item_Dtmx] = @Original_Item_Dtmx)) AND ([ItemExtCode] = @Original_ItemExtCode) AND ([ItemDesc] = @Original_ItemDesc) AND ([ItemNote] = @Original_ItemNote) AND ([ItemQty] = @Original_ItemQty) AND ([MatID] = @Original_MatID) AND ([MachiningReq] = @Original_MachiningReq) AND ([PostProcList] = @Original_PostProcList) AND ([ProcessesReq] = @Original_ProcessesReq) AND ([CadFilePath] = @Original_CadFilePath))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ItemStatus" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemStatus" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OrdCod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdCod" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrdCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Item_Dtmx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Item_Dtmx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Item_Dtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Item_Dtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDesc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ItemQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemQty" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_MachiningReq" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MachiningReq" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PostProcList" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PostProcList" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProcessesReq" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessesReq" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CadFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CadFilePath" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[ItemList] ([ItemStatus], [OrdCod], [ItemExtCode], [ItemDesc], [ItemNote], [ItemQty], [MatID], [MachiningReq], [PostProcList], [ProcessesReq], [CadFilePath]) VALUES (@ItemStatus, @OrdCod, @ItemExtCode, @ItemDesc, @ItemNote, @ItemQty, @MatID, @MachiningReq, @PostProcList, @ProcessesReq, @CadFilePath);
SELECT ItemID, ItemStatus, OrdCod, Item_Dtmx, ItemExtCode, ItemDesc, ItemNote, ItemQty, MatID, MachiningReq, PostProcList, ProcessesReq, CadFilePath FROM ItemList WHERE (ItemID = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ItemStatus" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrdCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDesc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ItemQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemQty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@MachiningReq" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MachiningReq" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PostProcList" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PostProcList" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProcessesReq" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessesReq" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CadFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CadFilePath" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT ItemID, ItemStatus, OrdCod, Item_Dtmx, ItemExtCode, ItemDesc, ItemNote, ItemQty, MatID, MachiningReq, PostProcList, ProcessesReq, CadFilePath FROM dbo.ItemList</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[ItemList] SET [ItemStatus] = @ItemStatus, [OrdCod] = @OrdCod, [ItemExtCode] = @ItemExtCode, [ItemDesc] = @ItemDesc, [ItemNote] = @ItemNote, [ItemQty] = @ItemQty, [MatID] = @MatID, [MachiningReq] = @MachiningReq, [PostProcList] = @PostProcList, [ProcessesReq] = @ProcessesReq, [CadFilePath] = @CadFilePath WHERE (([ItemID] = @Original_ItemID) AND ([ItemStatus] = @Original_ItemStatus) AND ((@IsNull_OrdCod = 1 AND [OrdCod] IS NULL) OR ([OrdCod] = @Original_OrdCod)) AND ((@IsNull_Item_Dtmx = 1 AND [Item_Dtmx] IS NULL) OR ([Item_Dtmx] = @Original_Item_Dtmx)) AND ([ItemExtCode] = @Original_ItemExtCode) AND ([ItemDesc] = @Original_ItemDesc) AND ([ItemNote] = @Original_ItemNote) AND ([ItemQty] = @Original_ItemQty) AND ([MatID] = @Original_MatID) AND ([MachiningReq] = @Original_MachiningReq) AND ([PostProcList] = @Original_PostProcList) AND ([ProcessesReq] = @Original_ProcessesReq) AND ([CadFilePath] = @Original_CadFilePath));
SELECT ItemID, ItemStatus, OrdCod, Item_Dtmx, ItemExtCode, ItemDesc, ItemNote, ItemQty, MatID, MachiningReq, PostProcList, ProcessesReq, CadFilePath FROM ItemList WHERE (ItemID = @ItemID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ItemStatus" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrdCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDesc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ItemQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemQty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@MachiningReq" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MachiningReq" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PostProcList" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PostProcList" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProcessesReq" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessesReq" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CadFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CadFilePath" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ItemStatus" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemStatus" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OrdCod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdCod" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrdCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Item_Dtmx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Item_Dtmx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Item_Dtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Item_Dtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDesc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ItemQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemQty" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_MachiningReq" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MachiningReq" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PostProcList" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PostProcList" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProcessesReq" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessesReq" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CadFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CadFilePath" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="ItemID" ColumnName="ItemID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="ItemID" DataSetColumn="ItemID" />
<Mapping SourceColumn="ItemStatus" DataSetColumn="ItemStatus" />
<Mapping SourceColumn="OrdCod" DataSetColumn="OrdCod" />
<Mapping SourceColumn="Item_Dtmx" DataSetColumn="Item_Dtmx" />
<Mapping SourceColumn="ItemExtCode" DataSetColumn="ItemExtCode" />
<Mapping SourceColumn="ItemDesc" DataSetColumn="ItemDesc" />
<Mapping SourceColumn="ItemNote" DataSetColumn="ItemNote" />
<Mapping SourceColumn="ItemQty" DataSetColumn="ItemQty" />
<Mapping SourceColumn="MatID" DataSetColumn="MatID" />
<Mapping SourceColumn="MachiningReq" DataSetColumn="MachiningReq" />
<Mapping SourceColumn="PostProcList" DataSetColumn="PostProcList" />
<Mapping SourceColumn="ProcessesReq" DataSetColumn="ProcessesReq" />
<Mapping SourceColumn="CadFilePath" DataSetColumn="CadFilePath" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_getByBatch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByBatch" GetMethodModifier="Public" GetMethodName="getByBatch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByBatch" UserSourceName="getByBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_getByBatch</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="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_getByOrder" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByOrder" GetMethodModifier="Public" GetMethodName="getByOrder" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByOrder" UserSourceName="getByOrder">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_getByOrder</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="@OrdCod" 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="OrderListTableAdapter" GeneratorDataComponentClassName="OrderListTableAdapter" Name="OrderList" UserDataComponentName="OrderListTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.OrderList" 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].[OrderList] WHERE (([OrdCod] = @Original_OrdCod) AND ([OrdType] = @Original_OrdType) AND ([DestPlant] = @Original_DestPlant) AND ([FamilyCode] = @Original_FamilyCode) AND ([OrdCod_Dtmx] = @Original_OrdCod_Dtmx) AND ([OrderExtCode] = @Original_OrderExtCode) AND ([OrderDesc] = @Original_OrderDesc) AND ([OrderNote] = @Original_OrderNote) AND ([OrderQty] = @Original_OrderQty) AND ([ImportDate] = @Original_ImportDate) AND ([ImportUser] = @Original_ImportUser) AND ((@IsNull_OrdCodOrig = 1 AND [OrdCodOrig] IS NULL) OR ([OrdCodOrig] = @Original_OrdCodOrig)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrdCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrdType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DestPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DestPlant" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FamilyCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FamilyCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrdCod_Dtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCod_Dtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrderExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrderDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderDesc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrderNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderNote" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderQty" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ImportDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ImportDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ImportUser" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ImportUser" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OrdCodOrig" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdCodOrig" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrdCodOrig" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCodOrig" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[OrderList] ([OrdCod], [OrdType], [DestPlant], [FamilyCode], [OrderExtCode], [OrderDesc], [OrderNote], [OrderQty], [ImportDate], [ImportUser], [OrdCodOrig]) VALUES (@OrdCod, @OrdType, @DestPlant, @FamilyCode, @OrderExtCode, @OrderDesc, @OrderNote, @OrderQty, @ImportDate, @ImportUser, @OrdCodOrig);
SELECT OrdCod, OrdType, DestPlant, FamilyCode, OrdCod_Dtmx, OrderExtCode, OrderDesc, OrderNote, OrderQty, ImportDate, ImportUser, OrdCodOrig FROM OrderList WHERE (OrdCod = @OrdCod)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrdCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrdType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DestPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DestPlant" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FamilyCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FamilyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrderExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrderDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderDesc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrderNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderNote" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrderQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderQty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ImportDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ImportDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ImportUser" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ImportUser" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrdCodOrig" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCodOrig" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT OrdCod, OrdType, DestPlant, FamilyCode, OrdCod_Dtmx, OrderExtCode, OrderDesc, OrderNote, OrderQty, ImportDate, ImportUser, OrdCodOrig FROM dbo.OrderList</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[OrderList] SET [OrdCod] = @OrdCod, [OrdType] = @OrdType, [DestPlant] = @DestPlant, [FamilyCode] = @FamilyCode, [OrderExtCode] = @OrderExtCode, [OrderDesc] = @OrderDesc, [OrderNote] = @OrderNote, [OrderQty] = @OrderQty, [ImportDate] = @ImportDate, [ImportUser] = @ImportUser, [OrdCodOrig] = @OrdCodOrig WHERE (([OrdCod] = @Original_OrdCod) AND ([OrdType] = @Original_OrdType) AND ([DestPlant] = @Original_DestPlant) AND ([FamilyCode] = @Original_FamilyCode) AND ([OrdCod_Dtmx] = @Original_OrdCod_Dtmx) AND ([OrderExtCode] = @Original_OrderExtCode) AND ([OrderDesc] = @Original_OrderDesc) AND ([OrderNote] = @Original_OrderNote) AND ([OrderQty] = @Original_OrderQty) AND ([ImportDate] = @Original_ImportDate) AND ([ImportUser] = @Original_ImportUser) AND ((@IsNull_OrdCodOrig = 1 AND [OrdCodOrig] IS NULL) OR ([OrdCodOrig] = @Original_OrdCodOrig)));
SELECT OrdCod, OrdType, DestPlant, FamilyCode, OrdCod_Dtmx, OrderExtCode, OrderDesc, OrderNote, OrderQty, ImportDate, ImportUser, OrdCodOrig FROM OrderList WHERE (OrdCod = @OrdCod)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrdCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrdType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DestPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DestPlant" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FamilyCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FamilyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrderExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrderDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderDesc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrderNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderNote" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrderQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderQty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ImportDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ImportDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ImportUser" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ImportUser" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrdCodOrig" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCodOrig" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrdCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrdType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DestPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DestPlant" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FamilyCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FamilyCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrdCod_Dtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCod_Dtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrderExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrderDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderDesc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrderNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderNote" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderQty" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ImportDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ImportDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ImportUser" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ImportUser" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OrdCodOrig" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdCodOrig" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrdCodOrig" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCodOrig" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="OrdCod" DataSetColumn="OrdCod" />
<Mapping SourceColumn="OrdType" DataSetColumn="OrdType" />
<Mapping SourceColumn="DestPlant" DataSetColumn="DestPlant" />
<Mapping SourceColumn="FamilyCode" DataSetColumn="FamilyCode" />
<Mapping SourceColumn="OrdCod_Dtmx" DataSetColumn="OrdCod_Dtmx" />
<Mapping SourceColumn="OrderExtCode" DataSetColumn="OrderExtCode" />
<Mapping SourceColumn="OrderDesc" DataSetColumn="OrderDesc" />
<Mapping SourceColumn="OrderNote" DataSetColumn="OrderNote" />
<Mapping SourceColumn="OrderQty" DataSetColumn="OrderQty" />
<Mapping SourceColumn="ImportDate" DataSetColumn="ImportDate" />
<Mapping SourceColumn="ImportUser" DataSetColumn="ImportUser" />
<Mapping SourceColumn="OrdCodOrig" DataSetColumn="OrdCodOrig" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OL_getByBatch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByBatch" GetMethodModifier="Public" GetMethodName="getByBatch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByBatch" UserSourceName="getByBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OL_getByBatch</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="@BatchID" 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="BatchReqListTableAdapter" GeneratorDataComponentClassName="BatchReqListTableAdapter" Name="BatchReqList" UserDataComponentName="BatchReqListTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.BatchReqList" 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].[BatchReqList] WHERE (([BatchID] = @Original_BatchID) AND ([OrdCod] = @Original_OrdCod))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrdCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCod" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[BatchReqList] ([BatchID], [OrdCod]) VALUES (@BatchID, @OrdCod);
SELECT BatchID, OrdCod FROM BatchReqList WHERE (BatchID = @BatchID) AND (OrdCod = @OrdCod)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrdCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCod" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT BatchID, OrdCod FROM dbo.BatchReqList</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[BatchReqList] SET [BatchID] = @BatchID, [OrdCod] = @OrdCod WHERE (([BatchID] = @Original_BatchID) AND ([OrdCod] = @Original_OrdCod));
SELECT BatchID, OrdCod FROM BatchReqList WHERE (BatchID = @BatchID) AND (OrdCod = @OrdCod)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrdCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrdCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdCod" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="OrdCod" DataSetColumn="OrdCod" />
</Mappings>
<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="BatchList" msprop:Generator_TableClassName="BatchListDataTable" msprop:Generator_TableVarName="tableBatchList" msprop:Generator_TablePropName="BatchList" msprop:Generator_RowDeletingName="BatchListRowDeleting" msprop:Generator_RowChangingName="BatchListRowChanging" msprop:Generator_RowEvHandlerName="BatchListRowChangeEventHandler" msprop:Generator_RowDeletedName="BatchListRowDeleted" msprop:Generator_UserTableName="BatchList" msprop:Generator_RowChangedName="BatchListRowChanged" msprop:Generator_RowEvArgName="BatchListRowChangeEvent" msprop:Generator_RowClassName="BatchListRow">
<xs:complexType>
<xs:sequence>
<xs:element name="BatchID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnBatchID" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_UserColumnName="BatchID" type="xs:int" />
<xs:element name="Takt" msprop:Generator_ColumnVarNameInTable="columnTakt" msprop:Generator_ColumnPropNameInRow="Takt" msprop:Generator_ColumnPropNameInTable="TaktColumn" msprop:Generator_UserColumnName="Takt">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DueDate" msprop:Generator_ColumnVarNameInTable="columnDueDate" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_ColumnPropNameInTable="DueDateColumn" msprop:Generator_UserColumnName="DueDate" type="xs:dateTime" />
<xs:element name="NestingReq" msprop:Generator_ColumnVarNameInTable="columnNestingReq" msprop:Generator_ColumnPropNameInRow="NestingReq" msprop:Generator_ColumnPropNameInTable="NestingReqColumn" msprop:Generator_UserColumnName="NestingReq" type="xs:dateTime" minOccurs="0" />
<xs:element name="NestingResp" msprop:Generator_ColumnVarNameInTable="columnNestingResp" msprop:Generator_ColumnPropNameInRow="NestingResp" msprop:Generator_ColumnPropNameInTable="NestingRespColumn" msprop:Generator_UserColumnName="NestingResp" type="xs:dateTime" minOccurs="0" />
<xs:element name="TotalTime" msprop:Generator_ColumnVarNameInTable="columnTotalTime" msprop:Generator_ColumnPropNameInRow="TotalTime" msprop:Generator_ColumnPropNameInTable="TotalTimeColumn" msprop:Generator_UserColumnName="TotalTime" type="xs:decimal" />
<xs:element name="ApprovDate" msprop:Generator_ColumnVarNameInTable="columnApprovDate" msprop:Generator_ColumnPropNameInRow="ApprovDate" msprop:Generator_ColumnPropNameInTable="ApprovDateColumn" msprop:Generator_UserColumnName="ApprovDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="ApprovUser" msprop:Generator_ColumnVarNameInTable="columnApprovUser" msprop:Generator_ColumnPropNameInRow="ApprovUser" msprop:Generator_ColumnPropNameInTable="ApprovUserColumn" msprop:Generator_UserColumnName="ApprovUser">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="STATUS" msprop:Generator_ColumnVarNameInTable="columnSTATUS" msprop:Generator_ColumnPropNameInRow="STATUS" msprop:Generator_ColumnPropNameInTable="STATUSColumn" msprop:Generator_UserColumnName="STATUS" type="xs:int" />
<xs:element name="NumOrders" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNumOrders" msprop:Generator_ColumnPropNameInRow="NumOrders" msprop:Generator_ColumnPropNameInTable="NumOrdersColumn" msprop:Generator_UserColumnName="NumOrders" type="xs:int" minOccurs="0" />
<xs:element name="NumItems" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNumItems" msprop:Generator_ColumnPropNameInRow="NumItems" msprop:Generator_ColumnPropNameInTable="NumItemsColumn" msprop:Generator_UserColumnName="NumItems" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Materials" msprop:Generator_TableClassName="MaterialsDataTable" msprop:Generator_TableVarName="tableMaterials" msprop:Generator_TablePropName="Materials" msprop:Generator_RowDeletingName="MaterialsRowDeleting" msprop:Generator_RowChangingName="MaterialsRowChanging" msprop:Generator_RowEvHandlerName="MaterialsRowChangeEventHandler" msprop:Generator_RowDeletedName="MaterialsRowDeleted" msprop:Generator_UserTableName="Materials" msprop:Generator_RowChangedName="MaterialsRowChanged" msprop:Generator_RowEvArgName="MaterialsRowChangeEvent" msprop:Generator_RowClassName="MaterialsRow">
<xs:complexType>
<xs:sequence>
<xs:element name="MatID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnMatID" msprop:Generator_ColumnPropNameInRow="MatID" msprop:Generator_ColumnPropNameInTable="MatIDColumn" msprop:Generator_UserColumnName="MatID" type="xs:int" />
<xs:element name="MaterExtCode" msprop:Generator_ColumnVarNameInTable="columnMaterExtCode" msprop:Generator_ColumnPropNameInRow="MaterExtCode" msprop:Generator_ColumnPropNameInTable="MaterExtCodeColumn" msprop:Generator_UserColumnName="MaterExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MaterDesc" msprop:Generator_ColumnVarNameInTable="columnMaterDesc" msprop:Generator_ColumnPropNameInRow="MaterDesc" msprop:Generator_ColumnPropNameInTable="MaterDescColumn" msprop:Generator_UserColumnName="MaterDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ApprovDate" msprop:Generator_ColumnVarNameInTable="columnApprovDate" msprop:Generator_ColumnPropNameInRow="ApprovDate" msprop:Generator_ColumnPropNameInTable="ApprovDateColumn" msprop:Generator_UserColumnName="ApprovDate" type="xs:dateTime" />
<xs:element name="ApprovUser" msprop:Generator_ColumnVarNameInTable="columnApprovUser" msprop:Generator_ColumnPropNameInRow="ApprovUser" msprop:Generator_ColumnPropNameInTable="ApprovUserColumn" msprop:Generator_UserColumnName="ApprovUser">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="L_mm" msprop:Generator_ColumnVarNameInTable="columnL_mm" msprop:Generator_ColumnPropNameInRow="L_mm" msprop:Generator_ColumnPropNameInTable="L_mmColumn" msprop:Generator_UserColumnName="L_mm" type="xs:decimal" />
<xs:element name="W_mm" msprop:Generator_ColumnVarNameInTable="columnW_mm" msprop:Generator_ColumnPropNameInRow="W_mm" msprop:Generator_ColumnPropNameInTable="W_mmColumn" msprop:Generator_UserColumnName="W_mm" type="xs:decimal" />
<xs:element name="T_mm" msprop:Generator_ColumnVarNameInTable="columnT_mm" msprop:Generator_ColumnPropNameInRow="T_mm" msprop:Generator_ColumnPropNameInTable="T_mmColumn" msprop:Generator_UserColumnName="T_mm" type="xs:decimal" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ItemList" msprop:Generator_TableClassName="ItemListDataTable" msprop:Generator_TableVarName="tableItemList" msprop:Generator_TablePropName="ItemList" msprop:Generator_RowDeletingName="ItemListRowDeleting" msprop:Generator_RowChangingName="ItemListRowChanging" msprop:Generator_RowEvHandlerName="ItemListRowChangeEventHandler" msprop:Generator_RowDeletedName="ItemListRowDeleted" msprop:Generator_UserTableName="ItemList" msprop:Generator_RowChangedName="ItemListRowChanged" msprop:Generator_RowEvArgName="ItemListRowChangeEvent" msprop:Generator_RowClassName="ItemListRow">
<xs:complexType>
<xs:sequence>
<xs:element name="ItemID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnItemID" msprop:Generator_ColumnPropNameInRow="ItemID" msprop:Generator_ColumnPropNameInTable="ItemIDColumn" msprop:Generator_UserColumnName="ItemID" type="xs:int" />
<xs:element name="ItemStatus" msprop:Generator_ColumnVarNameInTable="columnItemStatus" msprop:Generator_ColumnPropNameInRow="ItemStatus" msprop:Generator_ColumnPropNameInTable="ItemStatusColumn" msprop:Generator_UserColumnName="ItemStatus" type="xs:int" />
<xs:element name="OrdCod" msprop:Generator_ColumnVarNameInTable="columnOrdCod" msprop:Generator_ColumnPropNameInRow="OrdCod" msprop:Generator_ColumnPropNameInTable="OrdCodColumn" msprop:Generator_UserColumnName="OrdCod" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Item_Dtmx" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnItem_Dtmx" msprop:Generator_ColumnPropNameInRow="Item_Dtmx" msprop:Generator_ColumnPropNameInTable="Item_DtmxColumn" msprop:Generator_UserColumnName="Item_Dtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="101" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemExtCode" msprop:Generator_ColumnVarNameInTable="columnItemExtCode" msprop:Generator_ColumnPropNameInRow="ItemExtCode" msprop:Generator_ColumnPropNameInTable="ItemExtCodeColumn" msprop:Generator_UserColumnName="ItemExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemDesc" msprop:Generator_ColumnVarNameInTable="columnItemDesc" msprop:Generator_ColumnPropNameInRow="ItemDesc" msprop:Generator_ColumnPropNameInTable="ItemDescColumn" msprop:Generator_UserColumnName="ItemDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemNote" msprop:Generator_ColumnVarNameInTable="columnItemNote" msprop:Generator_ColumnPropNameInRow="ItemNote" msprop:Generator_ColumnPropNameInTable="ItemNoteColumn" msprop:Generator_UserColumnName="ItemNote">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemQty" msprop:Generator_ColumnVarNameInTable="columnItemQty" msprop:Generator_ColumnPropNameInRow="ItemQty" msprop:Generator_ColumnPropNameInTable="ItemQtyColumn" msprop:Generator_UserColumnName="ItemQty" type="xs:int" />
<xs:element name="MatID" msprop:Generator_ColumnVarNameInTable="columnMatID" msprop:Generator_ColumnPropNameInRow="MatID" msprop:Generator_ColumnPropNameInTable="MatIDColumn" msprop:Generator_UserColumnName="MatID" type="xs:int" />
<xs:element name="MachiningReq" msprop:Generator_ColumnVarNameInTable="columnMachiningReq" msprop:Generator_ColumnPropNameInRow="MachiningReq" msprop:Generator_ColumnPropNameInTable="MachiningReqColumn" msprop:Generator_UserColumnName="MachiningReq" type="xs:boolean" />
<xs:element name="PostProcList" msprop:Generator_ColumnVarNameInTable="columnPostProcList" msprop:Generator_ColumnPropNameInRow="PostProcList" msprop:Generator_ColumnPropNameInTable="PostProcListColumn" msprop:Generator_UserColumnName="PostProcList">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ProcessesReq" msprop:Generator_ColumnVarNameInTable="columnProcessesReq" msprop:Generator_ColumnPropNameInRow="ProcessesReq" msprop:Generator_ColumnPropNameInTable="ProcessesReqColumn" msprop:Generator_UserColumnName="ProcessesReq">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CadFilePath" msprop:Generator_ColumnVarNameInTable="columnCadFilePath" msprop:Generator_ColumnPropNameInRow="CadFilePath" msprop:Generator_ColumnPropNameInTable="CadFilePathColumn" msprop:Generator_UserColumnName="CadFilePath">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OrderList" msprop:Generator_TableClassName="OrderListDataTable" msprop:Generator_TableVarName="tableOrderList" msprop:Generator_TablePropName="OrderList" msprop:Generator_RowDeletingName="OrderListRowDeleting" msprop:Generator_RowChangingName="OrderListRowChanging" msprop:Generator_RowEvHandlerName="OrderListRowChangeEventHandler" msprop:Generator_RowDeletedName="OrderListRowDeleted" msprop:Generator_UserTableName="OrderList" msprop:Generator_RowChangedName="OrderListRowChanged" msprop:Generator_RowEvArgName="OrderListRowChangeEvent" msprop:Generator_RowClassName="OrderListRow">
<xs:complexType>
<xs:sequence>
<xs:element name="OrdCod" msprop:Generator_ColumnVarNameInTable="columnOrdCod" msprop:Generator_ColumnPropNameInRow="OrdCod" msprop:Generator_ColumnPropNameInTable="OrdCodColumn" msprop:Generator_UserColumnName="OrdCod">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrdType" msprop:Generator_ColumnVarNameInTable="columnOrdType" msprop:Generator_ColumnPropNameInRow="OrdType" msprop:Generator_ColumnPropNameInTable="OrdTypeColumn" msprop:Generator_UserColumnName="OrdType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DestPlant" msprop:Generator_ColumnVarNameInTable="columnDestPlant" msprop:Generator_ColumnPropNameInRow="DestPlant" msprop:Generator_ColumnPropNameInTable="DestPlantColumn" msprop:Generator_UserColumnName="DestPlant">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FamilyCode" msprop:Generator_ColumnVarNameInTable="columnFamilyCode" msprop:Generator_ColumnPropNameInRow="FamilyCode" msprop:Generator_ColumnPropNameInTable="FamilyCodeColumn" msprop:Generator_UserColumnName="FamilyCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrdCod_Dtmx" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnOrdCod_Dtmx" msprop:Generator_ColumnPropNameInRow="OrdCod_Dtmx" msprop:Generator_ColumnPropNameInTable="OrdCod_DtmxColumn" msprop:Generator_UserColumnName="OrdCod_Dtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrderExtCode" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_UserColumnName="OrderExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrderDesc" msprop:Generator_ColumnVarNameInTable="columnOrderDesc" msprop:Generator_ColumnPropNameInRow="OrderDesc" msprop:Generator_ColumnPropNameInTable="OrderDescColumn" msprop:Generator_UserColumnName="OrderDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrderNote" msprop:Generator_ColumnVarNameInTable="columnOrderNote" msprop:Generator_ColumnPropNameInRow="OrderNote" msprop:Generator_ColumnPropNameInTable="OrderNoteColumn" msprop:Generator_UserColumnName="OrderNote">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrderQty" msprop:Generator_ColumnVarNameInTable="columnOrderQty" msprop:Generator_ColumnPropNameInRow="OrderQty" msprop:Generator_ColumnPropNameInTable="OrderQtyColumn" msprop:Generator_UserColumnName="OrderQty" type="xs:int" />
<xs:element name="ImportDate" msprop:Generator_ColumnVarNameInTable="columnImportDate" msprop:Generator_ColumnPropNameInRow="ImportDate" msprop:Generator_ColumnPropNameInTable="ImportDateColumn" msprop:Generator_UserColumnName="ImportDate" type="xs:dateTime" />
<xs:element name="ImportUser" msprop:Generator_ColumnVarNameInTable="columnImportUser" msprop:Generator_ColumnPropNameInRow="ImportUser" msprop:Generator_ColumnPropNameInTable="ImportUserColumn" msprop:Generator_UserColumnName="ImportUser">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrdCodOrig" msprop:Generator_ColumnVarNameInTable="columnOrdCodOrig" msprop:Generator_ColumnPropNameInRow="OrdCodOrig" msprop:Generator_ColumnPropNameInTable="OrdCodOrigColumn" msprop:Generator_UserColumnName="OrdCodOrig" minOccurs="0">
<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="BatchReqList" msprop:Generator_TableClassName="BatchReqListDataTable" msprop:Generator_TableVarName="tableBatchReqList" msprop:Generator_TablePropName="BatchReqList" msprop:Generator_RowDeletingName="BatchReqListRowDeleting" msprop:Generator_RowChangingName="BatchReqListRowChanging" msprop:Generator_RowEvHandlerName="BatchReqListRowChangeEventHandler" msprop:Generator_RowDeletedName="BatchReqListRowDeleted" msprop:Generator_UserTableName="BatchReqList" msprop:Generator_RowChangedName="BatchReqListRowChanged" msprop:Generator_RowEvArgName="BatchReqListRowChangeEvent" msprop:Generator_RowClassName="BatchReqListRow">
<xs:complexType>
<xs:sequence>
<xs:element name="BatchID" msprop:Generator_ColumnVarNameInTable="columnBatchID" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_UserColumnName="BatchID" type="xs:int" />
<xs:element name="OrdCod" msprop:Generator_ColumnVarNameInTable="columnOrdCod" msprop:Generator_ColumnPropNameInRow="OrdCod" msprop:Generator_ColumnPropNameInTable="OrdCodColumn" msprop:Generator_UserColumnName="OrdCod">
<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:BatchList" />
<xs:field xpath="mstns:BatchID" />
</xs:unique>
<xs:unique name="Materials_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Materials" />
<xs:field xpath="mstns:MatID" />
</xs:unique>
<xs:unique name="ItemList_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:ItemList" />
<xs:field xpath="mstns:ItemID" />
</xs:unique>
<xs:unique name="OrderList_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:OrderList" />
<xs:field xpath="mstns:OrdCod" />
</xs:unique>
<xs:unique name="BatchReqList_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:BatchReqList" />
<xs:field xpath="mstns:BatchID" />
<xs:field xpath="mstns:OrdCod" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_ItemList_Materials1" msdata:parent="Materials" msdata:child="ItemList" msdata:parentkey="MatID" msdata:childkey="MatID" msprop:Generator_UserChildTable="ItemList" msprop:Generator_ChildPropName="GetItemListRows" msprop:Generator_UserRelationName="FK_ItemList_Materials1" msprop:Generator_ParentPropName="MaterialsRow" msprop:Generator_RelationVarName="relationFK_ItemList_Materials1" msprop:Generator_UserParentTable="Materials" />
<msdata:Relationship name="FK_ItemList_OrderList1" msdata:parent="OrderList" msdata:child="ItemList" msdata:parentkey="OrdCod" msdata:childkey="OrdCod" msprop:Generator_UserChildTable="ItemList" msprop:Generator_ChildPropName="GetItemListRows" msprop:Generator_UserRelationName="FK_ItemList_OrderList1" msprop:Generator_RelationVarName="relationFK_ItemList_OrderList1" msprop:Generator_UserParentTable="OrderList" msprop:Generator_ParentPropName="OrderListRow" />
<msdata:Relationship name="FK_BatchReqList_OrderList" msdata:parent="OrderList" msdata:child="BatchReqList" msdata:parentkey="OrdCod" msdata:childkey="OrdCod" msprop:Generator_UserChildTable="BatchReqList" msprop:Generator_ChildPropName="GetBatchReqListRows" msprop:Generator_UserRelationName="FK_BatchReqList_OrderList" msprop:Generator_ParentPropName="OrderListRow" msprop:Generator_RelationVarName="relationFK_BatchReqList_OrderList" msprop:Generator_UserParentTable="OrderList" />
</xs:appinfo>
</xs:annotation>
</xs:schema>