-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDataSet7.xsd
117 lines (117 loc) · 9.74 KB
/
DataSet7.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
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataSet7" targetNamespace="http://tempuri.org/DataSet7.xsd" xmlns:mstns="http://tempuri.org/DataSet7.xsd" xmlns="http://tempuri.org/DataSet7.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_Not_Paid_InsTableAdapter" GeneratorDataComponentClassName="DataTable_Not_Paid_InsTableAdapter" Name="DataTable_Not_Paid_Ins" UserDataComponentName="DataTable_Not_Paid_InsTableAdapter">
<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.Rec_No, c.NIC, c.Fname + c.Lname AS Name, c.AdrsL1 + ',' + c.AdrsL2 + ',' + c.AdrsL3 AS Address, c.Customer_No, i.InItm_Code, t.Item_Name, i.Installment_Amount, i.Status, i.Installment_Date
FROM Customer AS c INNER JOIN
Installment_Receipt AS r ON c.NIC = r.Cust_ID INNER JOIN
Installment_Date AS i ON r.Receipt_No = i.Rec_No INNER JOIN
Item AS t ON i.InItm_Code = t.Item_Code
WHERE (i.Status = 'Not Paid') AND (i.Installment_Date = @a)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="a" ColumnName="Installment_Date" DataSourceName="FurnitureDB.dbo.Installment_Date" DataTypeServer="date" DbType="AnsiString" Direction="Input" ParameterName="@a" Precision="0" ProviderType="Date" Scale="0" Size="3" SourceColumn="Installment_Date" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Rec_No" DataSetColumn="Rec_No" />
<Mapping SourceColumn="NIC" DataSetColumn="NIC" />
<Mapping SourceColumn="Name" DataSetColumn="Name" />
<Mapping SourceColumn="Address" DataSetColumn="Address" />
<Mapping SourceColumn="Customer_No" DataSetColumn="Customer_No" />
<Mapping SourceColumn="InItm_Code" DataSetColumn="InItm_Code" />
<Mapping SourceColumn="Item_Name" DataSetColumn="Item_Name" />
<Mapping SourceColumn="Installment_Amount" DataSetColumn="Installment_Amount" />
<Mapping SourceColumn="Status" DataSetColumn="Status" />
<Mapping SourceColumn="Installment_Date" DataSetColumn="Installment_Date" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DataSet7" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DataSet7" msprop:Generator_UserDSName="DataSet7">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="DataTable_Not_Paid_Ins" msprop:Generator_TableClassName="DataTable_Not_Paid_InsDataTable" msprop:Generator_TableVarName="tableDataTable_Not_Paid_Ins" msprop:Generator_TablePropName="DataTable_Not_Paid_Ins" msprop:Generator_RowDeletingName="DataTable_Not_Paid_InsRowDeleting" msprop:Generator_RowChangingName="DataTable_Not_Paid_InsRowChanging" msprop:Generator_RowEvHandlerName="DataTable_Not_Paid_InsRowChangeEventHandler" msprop:Generator_RowDeletedName="DataTable_Not_Paid_InsRowDeleted" msprop:Generator_UserTableName="DataTable_Not_Paid_Ins" msprop:Generator_RowChangedName="DataTable_Not_Paid_InsRowChanged" msprop:Generator_RowEvArgName="DataTable_Not_Paid_InsRowChangeEvent" msprop:Generator_RowClassName="DataTable_Not_Paid_InsRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Rec_No" msprop:Generator_ColumnVarNameInTable="columnRec_No" msprop:Generator_ColumnPropNameInRow="Rec_No" msprop:Generator_ColumnPropNameInTable="Rec_NoColumn" msprop:Generator_UserColumnName="Rec_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: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="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: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:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>