-
Notifications
You must be signed in to change notification settings - Fork 0
/
Material.xml
67 lines (66 loc) · 2.34 KB
/
Material.xml
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
<?xml version="1.0" standalone="yes"?>
<NewDataSet>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="Material" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Material">
<xs:complexType>
<xs:sequence>
<xs:element name="Key" msdata:ReadOnly="true" msdata:AutoIncrement="true" type="xs:int" />
<xs:element name="Name">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MeasuringUnit">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UnitPrice" type="xs:double" />
<xs:element name="Category" type="xs:int">
<xs:annotation>
<xs:documentation>FK to ProjectItemCategory</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<Material>
<Key>123</Key>
<Name>2 x 4</Name>
<MeasuringUnit>pcs</MeasuringUnit>
<UnitPrice>1.23</UnitPrice>
<Category>1</Category>
</Material>
<Material>
<Key>234</Key>
<Name>4 x 4</Name>
<MeasuringUnit>pcs</MeasuringUnit>
<UnitPrice>2.34</UnitPrice>
<Category>1</Category>
</Material>
<Material>
<Key>345</Key>
<Name>Crane</Name>
<MeasuringUnit>hours</MeasuringUnit>
<UnitPrice>3.45</UnitPrice>
<Category>3</Category>
</Material>
<Material>
<Key>456</Key>
<Name>2 x 8</Name>
<MeasuringUnit>pcs</MeasuringUnit>
<UnitPrice>4.56</UnitPrice>
<Category>1</Category>
</Material>
</NewDataSet>