-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDataSet11.xsd
119 lines (119 loc) · 10.3 KB
/
DataSet11.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataSet11" targetNamespace="http://tempuri.org/DataSet11.xsd" xmlns:mstns="http://tempuri.org/DataSet11.xsd" xmlns="http://tempuri.org/DataSet11.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="FurnitureDBConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="FurnitureDBConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Furniture_System.Properties.Settings.GlobalReference.Default.FurnitureDBConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DataTable_Load_BalTableAdapter" GeneratorDataComponentClassName="DataTable_Load_BalTableAdapter" Name="DataTable_Load_Bal" UserDataComponentName="DataTable_Load_BalTableAdapter">
<MainSource>
<DbSource ConnectionRef="FurnitureDBConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT l.Itm_ID, t.Item_Name, t.Price, l.Quantity, t.Price * l.Quantity AS Item_Value
FROM Load_Items AS l INNER JOIN
Item AS t ON l.Itm_ID = t.Item_Code
WHERE (l.L_ID = @a)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="a" ColumnName="L_ID" DataSourceName="FurnitureDB.dbo.Load_Items" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@a" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="L_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Itm_ID" DataSetColumn="Itm_ID" />
<Mapping SourceColumn="Item_Name" DataSetColumn="Item_Name" />
<Mapping SourceColumn="Price" DataSetColumn="Price" />
<Mapping SourceColumn="Quantity" DataSetColumn="Quantity" />
<Mapping SourceColumn="Item_Value" DataSetColumn="Item_Value" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LoadTableAdapter" GeneratorDataComponentClassName="LoadTableAdapter" Name="Load" UserDataComponentName="LoadTableAdapter">
<MainSource>
<DbSource ConnectionRef="FurnitureDBConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT l.Load_No, l.St_ID, s.Store_Name
FROM [Load] AS l INNER JOIN
Store AS s ON l.St_ID = s.Store_No
WHERE (l.Load_No = @a)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="a" ColumnName="Load_No" DataSourceName="FurnitureDB.dbo.[Load]" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@a" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="Load_No" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Load_No" DataSetColumn="Load_No" />
<Mapping SourceColumn="St_ID" DataSetColumn="St_ID" />
<Mapping SourceColumn="Store_Name" DataSetColumn="Store_Name" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DataSet11" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DataSet11" msprop:Generator_UserDSName="DataSet11">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="DataTable_Load_Bal" msprop:Generator_TableClassName="DataTable_Load_BalDataTable" msprop:Generator_TableVarName="tableDataTable_Load_Bal" msprop:Generator_TablePropName="DataTable_Load_Bal" msprop:Generator_RowDeletingName="DataTable_Load_BalRowDeleting" msprop:Generator_RowChangingName="DataTable_Load_BalRowChanging" msprop:Generator_RowEvHandlerName="DataTable_Load_BalRowChangeEventHandler" msprop:Generator_RowDeletedName="DataTable_Load_BalRowDeleted" msprop:Generator_UserTableName="DataTable_Load_Bal" msprop:Generator_RowChangedName="DataTable_Load_BalRowChanged" msprop:Generator_RowEvArgName="DataTable_Load_BalRowChangeEvent" msprop:Generator_RowClassName="DataTable_Load_BalRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Itm_ID" msprop:Generator_ColumnVarNameInTable="columnItm_ID" msprop:Generator_ColumnPropNameInRow="Itm_ID" msprop:Generator_ColumnPropNameInTable="Itm_IDColumn" msprop:Generator_UserColumnName="Itm_ID">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Item_Name" msprop:Generator_ColumnVarNameInTable="columnItem_Name" msprop:Generator_ColumnPropNameInRow="Item_Name" msprop:Generator_ColumnPropNameInTable="Item_NameColumn" msprop:Generator_UserColumnName="Item_Name">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</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:decimal" />
<xs:element name="Quantity" msprop:Generator_ColumnVarNameInTable="columnQuantity" msprop:Generator_ColumnPropNameInRow="Quantity" msprop:Generator_ColumnPropNameInTable="QuantityColumn" msprop:Generator_UserColumnName="Quantity" type="xs:int" />
<xs:element name="Item_Value" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnItem_Value" msprop:Generator_ColumnPropNameInRow="Item_Value" msprop:Generator_ColumnPropNameInTable="Item_ValueColumn" msprop:Generator_UserColumnName="Item_Value" type="xs:decimal" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Load" msprop:Generator_TableClassName="LoadDataTable" msprop:Generator_TableVarName="tableLoad" msprop:Generator_TablePropName="Load" msprop:Generator_RowDeletingName="LoadRowDeleting" msprop:Generator_RowChangingName="LoadRowChanging" msprop:Generator_RowEvHandlerName="LoadRowChangeEventHandler" msprop:Generator_RowDeletedName="LoadRowDeleted" msprop:Generator_UserTableName="Load" msprop:Generator_RowChangedName="LoadRowChanged" msprop:Generator_RowEvArgName="LoadRowChangeEvent" msprop:Generator_RowClassName="LoadRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Load_No" msprop:Generator_ColumnVarNameInTable="columnLoad_No" msprop:Generator_ColumnPropNameInRow="Load_No" msprop:Generator_ColumnPropNameInTable="Load_NoColumn" msprop:Generator_UserColumnName="Load_No">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="St_ID" msprop:Generator_ColumnVarNameInTable="columnSt_ID" msprop:Generator_ColumnPropNameInRow="St_ID" msprop:Generator_ColumnPropNameInTable="St_IDColumn" msprop:Generator_UserColumnName="St_ID">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Store_Name" msprop:Generator_ColumnVarNameInTable="columnStore_Name" msprop:Generator_ColumnPropNameInRow="Store_Name" msprop:Generator_ColumnPropNameInTable="Store_NameColumn" msprop:Generator_UserColumnName="Store_Name">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>