-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDataSet6.xsd
143 lines (143 loc) · 12.9 KB
/
DataSet6.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
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataSet6" targetNamespace="http://tempuri.org/DataSet6.xsd" xmlns:mstns="http://tempuri.org/DataSet6.xsd" xmlns="http://tempuri.org/DataSet6.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_Cus_InfoTableAdapter" GeneratorDataComponentClassName="DataTable_Cus_InfoTableAdapter" Name="DataTable_Cus_Info" UserDataComponentName="DataTable_Cus_InfoTableAdapter">
<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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT i.Receipt_No, c.NIC, c.Fname + c.Lname AS Name, c.AdrsL1 + ',' + c.AdrsL2 + ',' + c.AdrsL3 AS Address, c.Customer_No
FROM Customer AS c INNER JOIN
Installment_Receipt AS i ON c.NIC = i.Cust_ID
WHERE (i.Receipt_No = @a)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="a" ColumnName="Receipt_No" DataSourceName="FurnitureDB.dbo.Installment_Receipt" DataTypeServer="varchar(12)" DbType="AnsiString" Direction="Input" ParameterName="@a" Precision="0" ProviderType="VarChar" Scale="0" Size="12" SourceColumn="Receipt_No" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Receipt_No" DataSetColumn="Receipt_No" />
<Mapping SourceColumn="NIC" DataSetColumn="NIC" />
<Mapping SourceColumn="Name" DataSetColumn="Name" />
<Mapping SourceColumn="Address" DataSetColumn="Address" />
<Mapping SourceColumn="Customer_No" DataSetColumn="Customer_No" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DataTable_Ins_RecTableAdapter" GeneratorDataComponentClassName="DataTable_Ins_RecTableAdapter" Name="DataTable_Ins_Rec" UserDataComponentName="DataTable_Ins_RecTableAdapter">
<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 i.InItm_Code, t.Item_Name, i.Installment_Amount, i.Installment_Date, i.Status
FROM Installment_Date AS i INNER JOIN
Item AS t ON i.InItm_Code = t.Item_Code
WHERE (i.Rec_No = @a) AND (i.InItm_Code = @b) AND (i.Installment_Date = @c)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="a" ColumnName="Rec_No" DataSourceName="FurnitureDB.dbo.Installment_Date" DataTypeServer="varchar(12)" DbType="AnsiString" Direction="Input" ParameterName="@a" Precision="0" ProviderType="VarChar" Scale="0" Size="12" SourceColumn="Rec_No" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="b" ColumnName="InItm_Code" DataSourceName="FurnitureDB.dbo.Installment_Date" DataTypeServer="varchar(12)" DbType="AnsiString" Direction="Input" ParameterName="@b" Precision="0" ProviderType="VarChar" Scale="0" Size="12" SourceColumn="InItm_Code" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="c" ColumnName="Installment_Date" DataSourceName="FurnitureDB.dbo.Installment_Date" DataTypeServer="date" DbType="AnsiString" Direction="Input" ParameterName="@c" Precision="0" ProviderType="Date" Scale="0" Size="3" SourceColumn="Installment_Date" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="InItm_Code" DataSetColumn="InItm_Code" />
<Mapping SourceColumn="Item_Name" DataSetColumn="Item_Name" />
<Mapping SourceColumn="Installment_Amount" DataSetColumn="Installment_Amount" />
<Mapping SourceColumn="Installment_Date" DataSetColumn="Installment_Date" />
<Mapping SourceColumn="Status" DataSetColumn="Status" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DataSet6" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DataSet6" msprop:Generator_UserDSName="DataSet6">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="DataTable_Cus_Info" msprop:Generator_TableClassName="DataTable_Cus_InfoDataTable" msprop:Generator_TableVarName="tableDataTable_Cus_Info" msprop:Generator_RowChangedName="DataTable_Cus_InfoRowChanged" msprop:Generator_TablePropName="DataTable_Cus_Info" msprop:Generator_RowDeletingName="DataTable_Cus_InfoRowDeleting" msprop:Generator_RowChangingName="DataTable_Cus_InfoRowChanging" msprop:Generator_RowEvHandlerName="DataTable_Cus_InfoRowChangeEventHandler" msprop:Generator_RowDeletedName="DataTable_Cus_InfoRowDeleted" msprop:Generator_RowClassName="DataTable_Cus_InfoRow" msprop:Generator_UserTableName="DataTable_Cus_Info" msprop:Generator_RowEvArgName="DataTable_Cus_InfoRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Receipt_No" msprop:Generator_ColumnVarNameInTable="columnReceipt_No" msprop:Generator_ColumnPropNameInRow="Receipt_No" msprop:Generator_ColumnPropNameInTable="Receipt_NoColumn" msprop:Generator_UserColumnName="Receipt_No">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="12" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NIC" msprop:Generator_ColumnVarNameInTable="columnNIC" msprop:Generator_ColumnPropNameInRow="NIC" msprop:Generator_ColumnPropNameInTable="NICColumn" msprop:Generator_UserColumnName="NIC">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="12" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Name" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Address" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" msprop:Generator_UserColumnName="Address" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="82" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Customer_No" msprop:Generator_ColumnVarNameInTable="columnCustomer_No" msprop:Generator_ColumnPropNameInRow="Customer_No" msprop:Generator_ColumnPropNameInTable="Customer_NoColumn" msprop:Generator_UserColumnName="Customer_No">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DataTable_Ins_Rec" msprop:Generator_TableClassName="DataTable_Ins_RecDataTable" msprop:Generator_TableVarName="tableDataTable_Ins_Rec" msprop:Generator_RowChangedName="DataTable_Ins_RecRowChanged" msprop:Generator_TablePropName="DataTable_Ins_Rec" msprop:Generator_RowDeletingName="DataTable_Ins_RecRowDeleting" msprop:Generator_RowChangingName="DataTable_Ins_RecRowChanging" msprop:Generator_RowEvHandlerName="DataTable_Ins_RecRowChangeEventHandler" msprop:Generator_RowDeletedName="DataTable_Ins_RecRowDeleted" msprop:Generator_RowClassName="DataTable_Ins_RecRow" msprop:Generator_UserTableName="DataTable_Ins_Rec" msprop:Generator_RowEvArgName="DataTable_Ins_RecRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="InItm_Code" msprop:Generator_ColumnVarNameInTable="columnInItm_Code" msprop:Generator_ColumnPropNameInRow="InItm_Code" msprop:Generator_ColumnPropNameInTable="InItm_CodeColumn" msprop:Generator_UserColumnName="InItm_Code">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="12" />
</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="Installment_Amount" msprop:Generator_ColumnVarNameInTable="columnInstallment_Amount" msprop:Generator_ColumnPropNameInRow="Installment_Amount" msprop:Generator_ColumnPropNameInTable="Installment_AmountColumn" msprop:Generator_UserColumnName="Installment_Amount" type="xs:decimal" />
<xs:element name="Installment_Date" msprop:Generator_ColumnVarNameInTable="columnInstallment_Date" msprop:Generator_ColumnPropNameInRow="Installment_Date" msprop:Generator_ColumnPropNameInTable="Installment_DateColumn" msprop:Generator_UserColumnName="Installment_Date" type="xs:dateTime" />
<xs:element name="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" msprop:Generator_UserColumnName="Status">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>