-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDataSet3.xsd
96 lines (96 loc) · 9.93 KB
/
DataSet3.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
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataSet3" targetNamespace="http://tempuri.org/DataSet3.xsd" xmlns:mstns="http://tempuri.org/DataSet3.xsd" xmlns="http://tempuri.org/DataSet3.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_InsTableAdapter" GeneratorDataComponentClassName="DataTable_InsTableAdapter" Name="DataTable_Ins" UserDataComponentName="DataTable_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 Installment_Receipt.Receipt_No, Item_Bought_Ins.IItm_Code, Item.Item_Name, Item_Bought_Ins.IQuantity, Item_Bought_Ins.IUnit_Price, Item_Bought_Ins.Downpayment, Item_Bought_Ins.No_of_Installments,
Installment_Receipt.Total_Amount, Installment_Receipt.Payment_Type, Installment_Receipt.Date, Item_Bought_Ins.IUnit_Price * Item_Bought_Ins.IQuantity AS unit_Price
FROM Item INNER JOIN
Installment_Receipt LEFT OUTER JOIN
Item_Bought_Ins ON Installment_Receipt.Receipt_No = Item_Bought_Ins.Rcipt_No ON Item.Item_Code = Item_Bought_Ins.IItm_Code
WHERE (Installment_Receipt.Receipt_No = Item_Bought_Ins.Rcipt_No) AND (Installment_Receipt.Receipt_No = @a) AND (Item_Bought_Ins.ICus_ID = Installment_Receipt.Cust_ID) AND (Installment_Receipt.Cust_ID = @b)</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" />
<Parameter AllowDbNull="false" AutogeneratedName="b" ColumnName="Cust_ID" DataSourceName="FurnitureDB.dbo.Installment_Receipt" DataTypeServer="varchar(12)" DbType="AnsiString" Direction="Input" ParameterName="@b" Precision="0" ProviderType="VarChar" Scale="0" Size="12" SourceColumn="Cust_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Receipt_No" DataSetColumn="Receipt_No" />
<Mapping SourceColumn="IItm_Code" DataSetColumn="IItm_Code" />
<Mapping SourceColumn="Item_Name" DataSetColumn="Item_Name" />
<Mapping SourceColumn="IQuantity" DataSetColumn="IQuantity" />
<Mapping SourceColumn="IUnit_Price" DataSetColumn="IUnit_Price" />
<Mapping SourceColumn="Downpayment" DataSetColumn="Downpayment" />
<Mapping SourceColumn="No_of_Installments" DataSetColumn="No_of_Installments" />
<Mapping SourceColumn="Total_Amount" DataSetColumn="Total_Amount" />
<Mapping SourceColumn="Payment_Type" DataSetColumn="Payment_Type" />
<Mapping SourceColumn="Date" DataSetColumn="Date" />
<Mapping SourceColumn="unit_Price" DataSetColumn="unit_Price" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DataSet3" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DataSet3" msprop:Generator_UserDSName="DataSet3">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="DataTable_Ins" msprop:Generator_TableClassName="DataTable_InsDataTable" msprop:Generator_TableVarName="tableDataTable_Ins" msprop:Generator_RowChangedName="DataTable_InsRowChanged" msprop:Generator_TablePropName="DataTable_Ins" msprop:Generator_RowDeletingName="DataTable_InsRowDeleting" msprop:Generator_RowChangingName="DataTable_InsRowChanging" msprop:Generator_RowEvHandlerName="DataTable_InsRowChangeEventHandler" msprop:Generator_RowDeletedName="DataTable_InsRowDeleted" msprop:Generator_RowClassName="DataTable_InsRow" msprop:Generator_UserTableName="DataTable_Ins" msprop:Generator_RowEvArgName="DataTable_InsRowChangeEvent">
<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="IItm_Code" msprop:Generator_ColumnVarNameInTable="columnIItm_Code" msprop:Generator_ColumnPropNameInRow="IItm_Code" msprop:Generator_ColumnPropNameInTable="IItm_CodeColumn" msprop:Generator_UserColumnName="IItm_Code" minOccurs="0">
<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="IQuantity" msprop:Generator_ColumnVarNameInTable="columnIQuantity" msprop:Generator_ColumnPropNameInRow="IQuantity" msprop:Generator_ColumnPropNameInTable="IQuantityColumn" msprop:Generator_UserColumnName="IQuantity" type="xs:int" minOccurs="0" />
<xs:element name="IUnit_Price" msprop:Generator_ColumnVarNameInTable="columnIUnit_Price" msprop:Generator_ColumnPropNameInRow="IUnit_Price" msprop:Generator_ColumnPropNameInTable="IUnit_PriceColumn" msprop:Generator_UserColumnName="IUnit_Price" type="xs:decimal" minOccurs="0" />
<xs:element name="Downpayment" msprop:Generator_ColumnVarNameInTable="columnDownpayment" msprop:Generator_ColumnPropNameInRow="Downpayment" msprop:Generator_ColumnPropNameInTable="DownpaymentColumn" msprop:Generator_UserColumnName="Downpayment" type="xs:decimal" minOccurs="0" />
<xs:element name="No_of_Installments" msprop:Generator_ColumnVarNameInTable="columnNo_of_Installments" msprop:Generator_ColumnPropNameInRow="No_of_Installments" msprop:Generator_ColumnPropNameInTable="No_of_InstallmentsColumn" msprop:Generator_UserColumnName="No_of_Installments" type="xs:int" minOccurs="0" />
<xs:element name="Total_Amount" msprop:Generator_ColumnVarNameInTable="columnTotal_Amount" msprop:Generator_ColumnPropNameInRow="Total_Amount" msprop:Generator_ColumnPropNameInTable="Total_AmountColumn" msprop:Generator_UserColumnName="Total_Amount" type="xs:decimal" />
<xs:element name="Payment_Type" msprop:Generator_ColumnVarNameInTable="columnPayment_Type" msprop:Generator_ColumnPropNameInRow="Payment_Type" msprop:Generator_ColumnPropNameInTable="Payment_TypeColumn" msprop:Generator_UserColumnName="Payment_Type">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="19" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInRow="Date" msprop:Generator_ColumnPropNameInTable="DateColumn" msprop:Generator_UserColumnName="Date" type="xs:dateTime" />
<xs:element name="unit_Price" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnunit_Price" msprop:Generator_ColumnPropNameInRow="unit_Price" msprop:Generator_ColumnPropNameInTable="unit_PriceColumn" msprop:Generator_UserColumnName="unit_Price" type="xs:decimal" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>