-
Notifications
You must be signed in to change notification settings - Fork 0
/
_children_s_business_databaseDataSet1.xsd
206 lines (206 loc) · 28 KB
/
_children_s_business_databaseDataSet1.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="_children_s_business_databaseDataSet1" targetNamespace="http://tempuri.org/_children_s_business_databaseDataSet1.xsd" xmlns:mstns="http://tempuri.org/_children_s_business_databaseDataSet1.xsd" xmlns="http://tempuri.org/_children_s_business_databaseDataSet1.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="children_s_business_databaseConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="children_s_business_databaseConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.project_market_registry.Properties.Settings.GlobalReference.Default.children_s_business_databaseConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TableTableAdapter" GeneratorDataComponentClassName="TableTableAdapter" Name="Table" UserDataComponentName="TableTableAdapter">
<MainSource>
<DbSource ConnectionRef="children_s_business_databaseConnectionString (Settings)" DbObjectName="dbo.[Table]" 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].[Table] WHERE (([Order Number] = @Original_Order_Number) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@p3 = 1 AND [Units (Kilogram)] IS NULL) OR ([Units (Kilogram)] = @p2)) AND ((@p6 = 1 AND [Price ($) ] IS NULL) OR ([Price ($) ] = @p5)) AND ((@p9 = 1 AND [Taxes (%)] IS NULL) OR ([Taxes (%)] = @p8)) AND ((@p12 = 1 AND [Total Price ($)] IS NULL) OR ([Total Price ($)] = @p11)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Order_Number" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Order Number" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Units (Kilogram)" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Units (Kilogram)" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Price ($) " SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Price ($) " SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p9" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Taxes (%)" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Taxes (%)" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p12" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Total Price ($)" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@p11" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Total Price ($)" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[Table] ([Order Number], [Product Name], [Description], [Units (Kilogram)], [Price ($) ], [Taxes (%)], [Total Price ($)]) VALUES (@Order_Number, @Product_Name, @Description, @p1, @p4, @p7, @p10);
SELECT [Order Number], [Product Name], Description, [Units (Kilogram)], [Price ($) ], [Taxes (%)], [Total Price ($)] FROM [Table] WHERE ([Order Number] = @Order_Number)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Order_Number" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Order Number" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Product_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Product Name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Units (Kilogram)" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Price ($) " SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Taxes (%)" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@p10" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Total Price ($)" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT [Order Number], [Product Name], Description, [Units (Kilogram)], [Price ($) ], [Taxes (%)], [Total Price ($)] FROM dbo.[Table]</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[Table] SET [Order Number] = @Order_Number, [Product Name] = @Product_Name, [Description] = @Description, [Units (Kilogram)] = @p1, [Price ($) ] = @p4, [Taxes (%)] = @p7, [Total Price ($)] = @p10 WHERE (([Order Number] = @Original_Order_Number) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@p3 = 1 AND [Units (Kilogram)] IS NULL) OR ([Units (Kilogram)] = @p2)) AND ((@p6 = 1 AND [Price ($) ] IS NULL) OR ([Price ($) ] = @p5)) AND ((@p9 = 1 AND [Taxes (%)] IS NULL) OR ([Taxes (%)] = @p8)) AND ((@p12 = 1 AND [Total Price ($)] IS NULL) OR ([Total Price ($)] = @p11)));
SELECT [Order Number], [Product Name], Description, [Units (Kilogram)], [Price ($) ], [Taxes (%)], [Total Price ($)] FROM [Table] WHERE ([Order Number] = @Order_Number)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Order_Number" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Order Number" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Product_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Product Name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Units (Kilogram)" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Price ($) " SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Taxes (%)" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@p10" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Total Price ($)" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Order_Number" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Order Number" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Units (Kilogram)" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Units (Kilogram)" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Price ($) " SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Price ($) " SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p9" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Taxes (%)" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Taxes (%)" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p12" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Total Price ($)" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@p11" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Total Price ($)" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Order Number" DataSetColumn="Order Number" />
<Mapping SourceColumn="Product Name" DataSetColumn="Product Name" />
<Mapping SourceColumn="Description" DataSetColumn="Description" />
<Mapping SourceColumn="Units (Kilogram)" DataSetColumn="Units (Kilogram)" />
<Mapping SourceColumn="Price ($) " DataSetColumn="Price ($) " />
<Mapping SourceColumn="Taxes (%)" DataSetColumn="Taxes (%)" />
<Mapping SourceColumn="Total Price ($)" DataSetColumn="Total Price ($)" />
</Mappings>
<Sources>
<DbSource ConnectionRef="children_s_business_databaseConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteItems" Modifier="Public" Name="DeleteItems" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteItems">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>DELETE FROM [dbo].[Table]</CommandText>
<Parameters />
</DbCommand>
</DeleteCommand>
</DbSource>
<DbSource ConnectionRef="children_s_business_databaseConnectionString (Settings)" DbObjectName="dbo.[Table]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="OrderByPrice" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="OrderByPrice" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="OrderByPrice">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT [Order Number], [Product Name], Description, [Units (Kilogram)], [Price ($) ], [Taxes (%)], [Total Price ($)] FROM dbo.[Table]
Order By [Price ($) ] DESC</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="children_s_business_databaseConnectionString (Settings)" DbObjectName="dbo.[Table]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="OrderByTaxes" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="OrderByTaxes" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="OrderByTaxes">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT [Order Number], [Product Name], Description, [Units (Kilogram)], [Price ($) ], [Taxes (%)], [Total Price ($)] FROM dbo.[Table]
Order By [Price ($) ] DESC</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="children_s_business_databaseConnectionString (Settings)" DbObjectName="dbo.[Table]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="OrderByTotalPrice" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="OrderByTotalPrice" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="OrderByTotalPrice">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT [Order Number], [Product Name], Description, [Units (Kilogram)], [Price ($) ], [Taxes (%)], [Total Price ($)] FROM dbo.[Table]
Order By [Total Price ($)] DESC</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="children_s_business_databaseConnectionString (Settings)" DbObjectName="dbo.[Table]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="OrderByUnits" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="OrderByUnits" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="OrderByUnits">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT [Order Number], [Product Name], Description, [Units (Kilogram)], [Price ($) ], [Taxes (%)], [Total Price ($)] FROM dbo.[Table]
Order By [Units (Kilogram)] DESC</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="children_s_business_databaseConnectionString (Settings)" DbObjectName="dbo.[Table]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="SearchDescription" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="SearchDescription" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="SearchDescription">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT [Order Number], [Product Name], Description, [Units (Kilogram)], [Price ($) ], [Taxes (%)], [Total Price ($)] FROM dbo.[Table]
Where Description Like '%' + @value + '%'</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="value" ColumnName="Description" DataSourceName="[C:\USERS\DENIZ\SOURCE\REPOS\PROJECT_MARKET_REGISTRY\CHILDREN`S_BUSINESS_DATABASE.MDF].dbo.[Table]" DataTypeServer="nvarchar(MAX)" DbType="String" Direction="Input" ParameterName="@value" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="children_s_business_databaseConnectionString (Settings)" DbObjectName="dbo.[Table]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="SearchProduct" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="SearchProduct" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy6" UserSourceName="SearchProduct">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT [Order Number], [Product Name], Description, [Units (Kilogram)], [Price ($) ], [Taxes (%)], [Total Price ($)] FROM dbo.[Table]
Where [Product Name] Like '%' + @value + '%'</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="value" ColumnName="Product Name" DataSourceName="[C:\USERS\DENIZ\SOURCE\REPOS\PROJECT_MARKET_REGISTRY\CHILDREN`S_BUSINESS_DATABASE.MDF].dbo.[Table]" DataTypeServer="nvarchar(MAX)" DbType="String" Direction="Input" ParameterName="@value" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumn="Product Name" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="children_s_business_databaseConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="Sum" Modifier="Public" Name="Sum" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy7" UserSourceName="Sum">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT Sum([Total Price ($)]) FROM dbo.[Table]</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="_children_s_business_databaseDataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="_children_s_business_databaseDataSet1" msprop:Generator_UserDSName="_children_s_business_databaseDataSet1">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Table" msprop:Generator_TableClassName="TableDataTable" msprop:Generator_TableVarName="tableTable" msprop:Generator_RowChangedName="TableRowChanged" msprop:Generator_TablePropName="Table" msprop:Generator_RowDeletingName="TableRowDeleting" msprop:Generator_RowChangingName="TableRowChanging" msprop:Generator_RowEvHandlerName="TableRowChangeEventHandler" msprop:Generator_RowDeletedName="TableRowDeleted" msprop:Generator_RowClassName="TableRow" msprop:Generator_UserTableName="Table" msprop:Generator_RowEvArgName="TableRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Order_x0020_Number" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnOrder_Number" msprop:Generator_ColumnPropNameInRow="Order_Number" msprop:Generator_ColumnPropNameInTable="Order_NumberColumn" msprop:Generator_UserColumnName="Order Number" type="xs:int" />
<xs:element name="Product_x0020_Name" msprop:Generator_ColumnVarNameInTable="columnProduct_Name" msprop:Generator_ColumnPropNameInRow="Product_Name" msprop:Generator_ColumnPropNameInTable="Product_NameColumn" msprop:Generator_UserColumnName="Product Name" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Units_x0020__x0028_Kilogram_x0029_" msprop:Generator_ColumnVarNameInTable="_columnUnits__Kilogram_" msprop:Generator_ColumnPropNameInRow="_Units__Kilogram_" msprop:Generator_ColumnPropNameInTable="_Units__Kilogram_Column" msprop:Generator_UserColumnName="Units (Kilogram)" type="xs:int" minOccurs="0" />
<xs:element name="Price_x0020__x0028__x0024__x0029__x0020_" msprop:Generator_ColumnVarNameInTable="_columnPrice_____" msprop:Generator_ColumnPropNameInRow="_Price_____" msprop:Generator_ColumnPropNameInTable="_Price_____Column" msprop:Generator_UserColumnName="Price ($) " type="xs:double" minOccurs="0" />
<xs:element name="Taxes_x0020__x0028__x0025__x0029_" msprop:Generator_ColumnVarNameInTable="_columnTaxes____" msprop:Generator_ColumnPropNameInRow="_Taxes____" msprop:Generator_ColumnPropNameInTable="_Taxes____Column" msprop:Generator_UserColumnName="Taxes (%)" type="xs:double" minOccurs="0" />
<xs:element name="Total_x0020_Price_x0020__x0028__x0024__x0029_" msprop:Generator_ColumnVarNameInTable="_columnTotal_Price____" msprop:Generator_ColumnPropNameInRow="_Total_Price____" msprop:Generator_ColumnPropNameInTable="_Total_Price____Column" msprop:Generator_UserColumnName="Total Price ($)" type="xs:double" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Table" />
<xs:field xpath="mstns:Order_x0020_Number" />
</xs:unique>
</xs:element>
</xs:schema>