ruby_odata 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module OData
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.add_dependency('rest-client', '>= 1.5.1')
19
19
  s.add_dependency('nokogiri', '>= 1.4.2')
20
20
 
21
+ s.add_development_dependency('rake', '~> 0.8.7')
21
22
  s.add_development_dependency('rspec', '~> 2.5.0')
22
23
  s.add_development_dependency('cucumber', '~> 0.10.2')
23
24
  s.add_development_dependency('faker', '~> 0.9.5')
@@ -0,0 +1,70 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="yes"?>
2
+ <edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx">
3
+ <edmx:DataServices xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" m:DataServiceVersion="2.0">
4
+ <Schema Namespace="ODataDemo" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://schemas.microsoft.com/ado/2007/05/edm">
5
+ <EntityType Name="Product">
6
+ <Key>
7
+ <PropertyRef Name="ID" />
8
+ </Key>
9
+ <Property Name="ID" Type="Edm.Int32" Nullable="false" />
10
+ <Property Name="Name" Type="Edm.String" Nullable="true" m:FC_TargetPath="SyndicationTitle" m:FC_ContentKind="text" m:FC_KeepInContent="false" />
11
+ <Property Name="Description" Type="Edm.String" Nullable="true" m:FC_TargetPath="SyndicationSummary" m:FC_ContentKind="text" m:FC_KeepInContent="false" />
12
+ <Property Name="ReleaseDate" Type="Edm.DateTime" Nullable="false" />
13
+ <Property Name="DiscontinuedDate" Type="Edm.DateTime" Nullable="true" />
14
+ <Property Name="Rating" Type="Edm.Int32" Nullable="false" />
15
+ <Property Name="Price" Type="Edm.Decimal" Nullable="false" />
16
+ <NavigationProperty Name="Category" Relationship="ODataDemo.Product_Category_Category_Products" FromRole="Product_Category" ToRole="Category_Products" />
17
+ <NavigationProperty Name="Supplier" Relationship="ODataDemo.Product_Supplier_Supplier_Products" FromRole="Product_Supplier" ToRole="Supplier_Products" />
18
+ </EntityType>
19
+ <EntityType Name="Category">
20
+ <Key>
21
+ <PropertyRef Name="ID" />
22
+ </Key>
23
+ <Property Name="ID" Type="Edm.Int32" Nullable="false" />
24
+ <Property Name="Name" Type="Edm.String" Nullable="true" m:FC_TargetPath="SyndicationTitle" m:FC_ContentKind="text" m:FC_KeepInContent="true" />
25
+ <NavigationProperty Name="Products" Relationship="ODataDemo.Product_Category_Category_Products" FromRole="Category_Products" ToRole="Product_Category" />
26
+ </EntityType>
27
+ <EntityType Name="Supplier">
28
+ <Key>
29
+ <PropertyRef Name="ID" />
30
+ </Key>
31
+ <Property Name="ID" Type="Edm.Int32" Nullable="false" />
32
+ <Property Name="Name" Type="Edm.String" Nullable="true" m:FC_TargetPath="SyndicationTitle" m:FC_ContentKind="text" m:FC_KeepInContent="true" />
33
+ <Property Name="Address" Type="ODataDemo.Address" Nullable="false" />
34
+ <Property Name="Concurrency" Type="Edm.Int32" Nullable="false" ConcurrencyMode="Fixed" />
35
+ <NavigationProperty Name="Products" Relationship="ODataDemo.Product_Supplier_Supplier_Products" FromRole="Supplier_Products" ToRole="Product_Supplier" />
36
+ </EntityType>
37
+ <ComplexType Name="Address">
38
+ <Property Name="Street" Type="Edm.String" Nullable="true" />
39
+ <Property Name="City" Type="Edm.String" Nullable="true" />
40
+ <Property Name="State" Type="Edm.String" Nullable="true" />
41
+ <Property Name="ZipCode" Type="Edm.String" Nullable="true" />
42
+ <Property Name="Country" Type="Edm.String" Nullable="true" />
43
+ </ComplexType>
44
+ <Association Name="Product_Category_Category_Products">
45
+ <End Role="Product_Category" Type="ODataDemo.Product" Multiplicity="*" />
46
+ <End Role="Category_Products" Type="ODataDemo.Category" Multiplicity="0..1" />
47
+ </Association>
48
+ <Association Name="Product_Supplier_Supplier_Products">
49
+ <End Role="Product_Supplier" Type="ODataDemo.Product" Multiplicity="*" />
50
+ <End Role="Supplier_Products" Type="ODataDemo.Supplier" Multiplicity="0..1" />
51
+ </Association>
52
+ <EntityContainer Name="DemoService" m:IsDefaultEntityContainer="true">
53
+ <EntitySet Name="Products" EntityType="ODataDemo.Product" />
54
+ <EntitySet Name="Categories" EntityType="ODataDemo.Category" />
55
+ <EntitySet Name="Suppliers" EntityType="ODataDemo.Supplier" />
56
+ <AssociationSet Name="Products_Category_Categories" Association="ODataDemo.Product_Category_Category_Products">
57
+ <End Role="Product_Category" EntitySet="Products" />
58
+ <End Role="Category_Products" EntitySet="Categories" />
59
+ </AssociationSet>
60
+ <AssociationSet Name="Products_Supplier_Suppliers" Association="ODataDemo.Product_Supplier_Supplier_Products">
61
+ <End Role="Product_Supplier" EntitySet="Products" />
62
+ <End Role="Supplier_Products" EntitySet="Suppliers" />
63
+ </AssociationSet>
64
+ <FunctionImport Name="GetProductsByRating" EntitySet="Products" ReturnType="Collection(ODataDemo.Product)" m:HttpMethod="GET">
65
+ <Parameter Name="rating" Type="Edm.Int32" Mode="In" />
66
+ </FunctionImport>
67
+ </EntityContainer>
68
+ </Schema>
69
+ </edmx:DataServices>
70
+ </edmx:Edmx>
@@ -0,0 +1,213 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="yes"?>
2
+ <feed xml:base="http://services.odata.org/OData/OData.svc/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
3
+ <title type="text">Categories</title>
4
+ <id>http://services.odata.org/OData/OData.svc/Categories</id>
5
+ <updated>2011-09-25T16:04:06Z</updated>
6
+ <link rel="self" title="Categories" href="Categories" />
7
+ <entry>
8
+ <id>http://services.odata.org/OData/OData.svc/Categories(0)</id>
9
+ <title type="text">Food</title>
10
+ <updated>2011-09-25T16:04:06Z</updated>
11
+ <author>
12
+ <name />
13
+ </author>
14
+ <link rel="edit" title="Category" href="Categories(0)" />
15
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products" type="application/atom+xml;type=feed" title="Products" href="Categories(0)/Products">
16
+ <m:inline>
17
+ <feed>
18
+ <title type="text">Products</title>
19
+ <id>http://services.odata.org/OData/OData.svc/Categories(0)/Products</id>
20
+ <updated>2011-09-25T16:04:06Z</updated>
21
+ <link rel="self" title="Products" href="Categories(0)/Products" />
22
+ <entry>
23
+ <id>http://services.odata.org/OData/OData.svc/Products(0)</id>
24
+ <title type="text">Bread</title>
25
+ <summary type="text">Whole grain bread</summary>
26
+ <updated>2011-09-25T16:04:06Z</updated>
27
+ <author>
28
+ <name />
29
+ </author>
30
+ <link rel="edit" title="Product" href="Products(0)" />
31
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category" type="application/atom+xml;type=entry" title="Category" href="Products(0)/Category" />
32
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Supplier" type="application/atom+xml;type=entry" title="Supplier" href="Products(0)/Supplier" />
33
+ <category term="ODataDemo.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
34
+ <content type="application/xml">
35
+ <m:properties>
36
+ <d:ID m:type="Edm.Int32">0</d:ID>
37
+ <d:ReleaseDate m:type="Edm.DateTime">1992-01-01T00:00:00</d:ReleaseDate>
38
+ <d:DiscontinuedDate m:type="Edm.DateTime" m:null="true" />
39
+ <d:Rating m:type="Edm.Int32">4</d:Rating>
40
+ <d:Price m:type="Edm.Decimal">2.5</d:Price>
41
+ </m:properties>
42
+ </content>
43
+ </entry>
44
+ </feed>
45
+ </m:inline>
46
+ </link>
47
+ <category term="ODataDemo.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
48
+ <content type="application/xml">
49
+ <m:properties>
50
+ <d:ID m:type="Edm.Int32">0</d:ID>
51
+ <d:Name>Food</d:Name>
52
+ </m:properties>
53
+ </content>
54
+ </entry>
55
+ <entry>
56
+ <id>http://services.odata.org/OData/OData.svc/Categories(1)</id>
57
+ <title type="text">Beverages</title>
58
+ <updated>2011-09-25T16:04:06Z</updated>
59
+ <author>
60
+ <name />
61
+ </author>
62
+ <link rel="edit" title="Category" href="Categories(1)" />
63
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products" type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products">
64
+ <m:inline>
65
+ <feed>
66
+ <title type="text">Products</title>
67
+ <id>http://services.odata.org/OData/OData.svc/Categories(1)/Products</id>
68
+ <updated>2011-09-25T16:04:06Z</updated>
69
+ <link rel="self" title="Products" href="Categories(1)/Products" />
70
+ <entry>
71
+ <id>http://services.odata.org/OData/OData.svc/Products(1)</id>
72
+ <title type="text">Milk</title>
73
+ <summary type="text">Low fat milk</summary>
74
+ <updated>2011-09-25T16:04:06Z</updated>
75
+ <author>
76
+ <name />
77
+ </author>
78
+ <link rel="edit" title="Product" href="Products(1)" />
79
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category" type="application/atom+xml;type=entry" title="Category" href="Products(1)/Category" />
80
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Supplier" type="application/atom+xml;type=entry" title="Supplier" href="Products(1)/Supplier" />
81
+ <category term="ODataDemo.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
82
+ <content type="application/xml">
83
+ <m:properties>
84
+ <d:ID m:type="Edm.Int32">1</d:ID>
85
+ <d:ReleaseDate m:type="Edm.DateTime">1995-10-01T00:00:00</d:ReleaseDate>
86
+ <d:DiscontinuedDate m:type="Edm.DateTime" m:null="true" />
87
+ <d:Rating m:type="Edm.Int32">3</d:Rating>
88
+ <d:Price m:type="Edm.Decimal">3.5</d:Price>
89
+ </m:properties>
90
+ </content>
91
+ </entry>
92
+ <entry>
93
+ <id>http://services.odata.org/OData/OData.svc/Products(2)</id>
94
+ <title type="text">Vint soda</title>
95
+ <summary type="text">Americana Variety - Mix of 6 flavors</summary>
96
+ <updated>2011-09-25T16:04:06Z</updated>
97
+ <author>
98
+ <name />
99
+ </author>
100
+ <link rel="edit" title="Product" href="Products(2)" />
101
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category" type="application/atom+xml;type=entry" title="Category" href="Products(2)/Category" />
102
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Supplier" type="application/atom+xml;type=entry" title="Supplier" href="Products(2)/Supplier" />
103
+ <category term="ODataDemo.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
104
+ <content type="application/xml">
105
+ <m:properties>
106
+ <d:ID m:type="Edm.Int32">2</d:ID>
107
+ <d:ReleaseDate m:type="Edm.DateTime">2000-10-01T00:00:00</d:ReleaseDate>
108
+ <d:DiscontinuedDate m:type="Edm.DateTime" m:null="true" />
109
+ <d:Rating m:type="Edm.Int32">3</d:Rating>
110
+ <d:Price m:type="Edm.Decimal">20.9</d:Price>
111
+ </m:properties>
112
+ </content>
113
+ </entry>
114
+ <entry>
115
+ <id>http://services.odata.org/OData/OData.svc/Products(3)</id>
116
+ <title type="text">Havina Cola</title>
117
+ <summary type="text">The Original Key Lime Cola</summary>
118
+ <updated>2011-09-25T16:04:06Z</updated>
119
+ <author>
120
+ <name />
121
+ </author>
122
+ <link rel="edit" title="Product" href="Products(3)" />
123
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category" type="application/atom+xml;type=entry" title="Category" href="Products(3)/Category" />
124
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Supplier" type="application/atom+xml;type=entry" title="Supplier" href="Products(3)/Supplier" />
125
+ <category term="ODataDemo.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
126
+ <content type="application/xml">
127
+ <m:properties>
128
+ <d:ID m:type="Edm.Int32">3</d:ID>
129
+ <d:ReleaseDate m:type="Edm.DateTime">2005-10-01T00:00:00</d:ReleaseDate>
130
+ <d:DiscontinuedDate m:type="Edm.DateTime">2006-10-01T00:00:00</d:DiscontinuedDate>
131
+ <d:Rating m:type="Edm.Int32">3</d:Rating>
132
+ <d:Price m:type="Edm.Decimal">19.9</d:Price>
133
+ </m:properties>
134
+ </content>
135
+ </entry>
136
+ <entry>
137
+ <id>http://services.odata.org/OData/OData.svc/Products(4)</id>
138
+ <title type="text">Fruit Punch</title>
139
+ <summary type="text">Mango flavor, 8.3 Ounce Cans (Pack of 24)</summary>
140
+ <updated>2011-09-25T16:04:06Z</updated>
141
+ <author>
142
+ <name />
143
+ </author>
144
+ <link rel="edit" title="Product" href="Products(4)" />
145
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category" type="application/atom+xml;type=entry" title="Category" href="Products(4)/Category" />
146
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Supplier" type="application/atom+xml;type=entry" title="Supplier" href="Products(4)/Supplier" />
147
+ <category term="ODataDemo.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
148
+ <content type="application/xml">
149
+ <m:properties>
150
+ <d:ID m:type="Edm.Int32">4</d:ID>
151
+ <d:ReleaseDate m:type="Edm.DateTime">2003-01-05T00:00:00</d:ReleaseDate>
152
+ <d:DiscontinuedDate m:type="Edm.DateTime" m:null="true" />
153
+ <d:Rating m:type="Edm.Int32">3</d:Rating>
154
+ <d:Price m:type="Edm.Decimal">22.99</d:Price>
155
+ </m:properties>
156
+ </content>
157
+ </entry>
158
+ <entry>
159
+ <id>http://services.odata.org/OData/OData.svc/Products(5)</id>
160
+ <title type="text">Cranberry Juice</title>
161
+ <summary type="text">16-Ounce Plastic Bottles (Pack of 12)</summary>
162
+ <updated>2011-09-25T16:04:06Z</updated>
163
+ <author>
164
+ <name />
165
+ </author>
166
+ <link rel="edit" title="Product" href="Products(5)" />
167
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category" type="application/atom+xml;type=entry" title="Category" href="Products(5)/Category" />
168
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Supplier" type="application/atom+xml;type=entry" title="Supplier" href="Products(5)/Supplier" />
169
+ <category term="ODataDemo.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
170
+ <content type="application/xml">
171
+ <m:properties>
172
+ <d:ID m:type="Edm.Int32">5</d:ID>
173
+ <d:ReleaseDate m:type="Edm.DateTime">2006-08-04T00:00:00</d:ReleaseDate>
174
+ <d:DiscontinuedDate m:type="Edm.DateTime" m:null="true" />
175
+ <d:Rating m:type="Edm.Int32">3</d:Rating>
176
+ <d:Price m:type="Edm.Decimal">22.8</d:Price>
177
+ </m:properties>
178
+ </content>
179
+ </entry>
180
+ <entry>
181
+ <id>http://services.odata.org/OData/OData.svc/Products(6)</id>
182
+ <title type="text">Pink Lemonade</title>
183
+ <summary type="text">36 Ounce Cans (Pack of 3)</summary>
184
+ <updated>2011-09-25T16:04:06Z</updated>
185
+ <author>
186
+ <name />
187
+ </author>
188
+ <link rel="edit" title="Product" href="Products(6)" />
189
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category" type="application/atom+xml;type=entry" title="Category" href="Products(6)/Category" />
190
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Supplier" type="application/atom+xml;type=entry" title="Supplier" href="Products(6)/Supplier" />
191
+ <category term="ODataDemo.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
192
+ <content type="application/xml">
193
+ <m:properties>
194
+ <d:ID m:type="Edm.Int32">6</d:ID>
195
+ <d:ReleaseDate m:type="Edm.DateTime">2006-11-05T00:00:00</d:ReleaseDate>
196
+ <d:DiscontinuedDate m:type="Edm.DateTime" m:null="true" />
197
+ <d:Rating m:type="Edm.Int32">3</d:Rating>
198
+ <d:Price m:type="Edm.Decimal">18.8</d:Price>
199
+ </m:properties>
200
+ </content>
201
+ </entry>
202
+ </feed>
203
+ </m:inline>
204
+ </link>
205
+ <category term="ODataDemo.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
206
+ <content type="application/xml">
207
+ <m:properties>
208
+ <d:ID m:type="Edm.Int32">1</d:ID>
209
+ <d:Name>Beverages</d:Name>
210
+ </m:properties>
211
+ </content>
212
+ </entry>
213
+ </feed>
@@ -0,0 +1,217 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="yes"?>
2
+ <feed xml:base="http://services.odata.org/OData/OData.svc/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
3
+ <title type="text">Products</title>
4
+ <id>http://services.odata.org/OData/OData.svc/Products</id>
5
+ <updated>2011-09-25T19:18:38Z</updated>
6
+ <link rel="self" title="Products" href="Products" />
7
+ <entry>
8
+ <id>http://services.odata.org/OData/OData.svc/Products(0)</id>
9
+ <title type="text">Bread</title>
10
+ <summary type="text">Whole grain bread</summary>
11
+ <updated>2011-09-25T19:18:38Z</updated>
12
+ <author>
13
+ <name />
14
+ </author>
15
+ <link rel="edit" title="Product" href="Products(0)" />
16
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category" type="application/atom+xml;type=entry" title="Category" href="Products(0)/Category">
17
+ <m:inline>
18
+ <entry>
19
+ <id>http://services.odata.org/OData/OData.svc/Categories(0)</id>
20
+ <title type="text">Food</title>
21
+ <updated>2011-09-25T19:18:38Z</updated>
22
+ <author>
23
+ <name />
24
+ </author>
25
+ <link rel="edit" title="Category" href="Categories(0)" />
26
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products" type="application/atom+xml;type=feed" title="Products" href="Categories(0)/Products" />
27
+ <category term="ODataDemo.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
28
+ <content type="application/xml">
29
+ <m:properties>
30
+ <d:ID m:type="Edm.Int32">0</d:ID>
31
+ <d:Name>Food</d:Name>
32
+ </m:properties>
33
+ </content>
34
+ </entry>
35
+ </m:inline>
36
+ </link>
37
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Supplier" type="application/atom+xml;type=entry" title="Supplier" href="Products(0)/Supplier" />
38
+ <category term="ODataDemo.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
39
+ <content type="application/xml">
40
+ <m:properties>
41
+ <d:ID m:type="Edm.Int32">0</d:ID>
42
+ <d:ReleaseDate m:type="Edm.DateTime">1992-01-01T00:00:00</d:ReleaseDate>
43
+ <d:DiscontinuedDate m:type="Edm.DateTime" m:null="true" />
44
+ <d:Rating m:type="Edm.Int32">4</d:Rating>
45
+ <d:Price m:type="Edm.Decimal">2.5</d:Price>
46
+ </m:properties>
47
+ </content>
48
+ </entry>
49
+ <entry>
50
+ <id>http://services.odata.org/OData/OData.svc/Products(1)</id>
51
+ <title type="text">Milk</title>
52
+ <summary type="text">Low fat milk</summary>
53
+ <updated>2011-09-25T19:18:38Z</updated>
54
+ <author>
55
+ <name />
56
+ </author>
57
+ <link rel="edit" title="Product" href="Products(1)" />
58
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category" type="application/atom+xml;type=entry" title="Category" href="Products(1)/Category">
59
+ <m:inline>
60
+ <entry>
61
+ <id>http://services.odata.org/OData/OData.svc/Categories(1)</id>
62
+ <title type="text">Beverages</title>
63
+ <updated>2011-09-25T19:18:38Z</updated>
64
+ <author>
65
+ <name />
66
+ </author>
67
+ <link rel="edit" title="Category" href="Categories(1)" />
68
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products" type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products" />
69
+ <category term="ODataDemo.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
70
+ <content type="application/xml">
71
+ <m:properties>
72
+ <d:ID m:type="Edm.Int32">1</d:ID>
73
+ <d:Name>Beverages</d:Name>
74
+ </m:properties>
75
+ </content>
76
+ </entry>
77
+ </m:inline>
78
+ </link>
79
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Supplier" type="application/atom+xml;type=entry" title="Supplier" href="Products(1)/Supplier" />
80
+ <category term="ODataDemo.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
81
+ <content type="application/xml">
82
+ <m:properties>
83
+ <d:ID m:type="Edm.Int32">1</d:ID>
84
+ <d:ReleaseDate m:type="Edm.DateTime">1995-10-01T00:00:00</d:ReleaseDate>
85
+ <d:DiscontinuedDate m:type="Edm.DateTime" m:null="true" />
86
+ <d:Rating m:type="Edm.Int32">3</d:Rating>
87
+ <d:Price m:type="Edm.Decimal">3.5</d:Price>
88
+ </m:properties>
89
+ </content>
90
+ </entry>
91
+ <entry>
92
+ <id>http://services.odata.org/OData/OData.svc/Products(2)</id>
93
+ <title type="text">Vint soda</title>
94
+ <summary type="text">Americana Variety - Mix of 6 flavors</summary>
95
+ <updated>2011-09-25T19:18:38Z</updated>
96
+ <author>
97
+ <name />
98
+ </author>
99
+ <link rel="edit" title="Product" href="Products(2)" />
100
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category" type="application/atom+xml;type=entry" title="Category" href="Products(2)/Category">
101
+ <m:inline>
102
+ <entry>
103
+ <id>http://services.odata.org/OData/OData.svc/Categories(1)</id>
104
+ <title type="text">Beverages</title>
105
+ <updated>2011-09-25T19:18:38Z</updated>
106
+ <author>
107
+ <name />
108
+ </author>
109
+ <link rel="edit" title="Category" href="Categories(1)" />
110
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products" type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products" />
111
+ <category term="ODataDemo.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
112
+ <content type="application/xml">
113
+ <m:properties>
114
+ <d:ID m:type="Edm.Int32">1</d:ID>
115
+ <d:Name>Beverages</d:Name>
116
+ </m:properties>
117
+ </content>
118
+ </entry>
119
+ </m:inline>
120
+ </link>
121
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Supplier" type="application/atom+xml;type=entry" title="Supplier" href="Products(2)/Supplier" />
122
+ <category term="ODataDemo.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
123
+ <content type="application/xml">
124
+ <m:properties>
125
+ <d:ID m:type="Edm.Int32">2</d:ID>
126
+ <d:ReleaseDate m:type="Edm.DateTime">2000-10-01T00:00:00</d:ReleaseDate>
127
+ <d:DiscontinuedDate m:type="Edm.DateTime" m:null="true" />
128
+ <d:Rating m:type="Edm.Int32">3</d:Rating>
129
+ <d:Price m:type="Edm.Decimal">20.9</d:Price>
130
+ </m:properties>
131
+ </content>
132
+ </entry>
133
+ <entry>
134
+ <id>http://services.odata.org/OData/OData.svc/Products(3)</id>
135
+ <title type="text">Havina Cola</title>
136
+ <summary type="text">The Original Key Lime Cola</summary>
137
+ <updated>2011-09-25T19:18:38Z</updated>
138
+ <author>
139
+ <name />
140
+ </author>
141
+ <link rel="edit" title="Product" href="Products(3)" />
142
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category" type="application/atom+xml;type=entry" title="Category" href="Products(3)/Category">
143
+ <m:inline>
144
+ <entry>
145
+ <id>http://services.odata.org/OData/OData.svc/Categories(1)</id>
146
+ <title type="text">Beverages</title>
147
+ <updated>2011-09-25T19:18:38Z</updated>
148
+ <author>
149
+ <name />
150
+ </author>
151
+ <link rel="edit" title="Category" href="Categories(1)" />
152
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products" type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products" />
153
+ <category term="ODataDemo.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
154
+ <content type="application/xml">
155
+ <m:properties>
156
+ <d:ID m:type="Edm.Int32">1</d:ID>
157
+ <d:Name>Beverages</d:Name>
158
+ </m:properties>
159
+ </content>
160
+ </entry>
161
+ </m:inline>
162
+ </link>
163
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Supplier" type="application/atom+xml;type=entry" title="Supplier" href="Products(3)/Supplier" />
164
+ <category term="ODataDemo.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
165
+ <content type="application/xml">
166
+ <m:properties>
167
+ <d:ID m:type="Edm.Int32">3</d:ID>
168
+ <d:ReleaseDate m:type="Edm.DateTime">2005-10-01T00:00:00</d:ReleaseDate>
169
+ <d:DiscontinuedDate m:type="Edm.DateTime">2006-10-01T00:00:00</d:DiscontinuedDate>
170
+ <d:Rating m:type="Edm.Int32">3</d:Rating>
171
+ <d:Price m:type="Edm.Decimal">19.9</d:Price>
172
+ </m:properties>
173
+ </content>
174
+ </entry>
175
+ <entry>
176
+ <id>http://services.odata.org/OData/OData.svc/Products(4)</id>
177
+ <title type="text">Fruit Punch</title>
178
+ <summary type="text">Mango flavor, 8.3 Ounce Cans (Pack of 24)</summary>
179
+ <updated>2011-09-25T19:18:38Z</updated>
180
+ <author>
181
+ <name />
182
+ </author>
183
+ <link rel="edit" title="Product" href="Products(4)" />
184
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category" type="application/atom+xml;type=entry" title="Category" href="Products(4)/Category">
185
+ <m:inline>
186
+ <entry>
187
+ <id>http://services.odata.org/OData/OData.svc/Categories(1)</id>
188
+ <title type="text">Beverages</title>
189
+ <updated>2011-09-25T19:18:38Z</updated>
190
+ <author>
191
+ <name />
192
+ </author>
193
+ <link rel="edit" title="Category" href="Categories(1)" />
194
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products" type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products" />
195
+ <category term="ODataDemo.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
196
+ <content type="application/xml">
197
+ <m:properties>
198
+ <d:ID m:type="Edm.Int32">1</d:ID>
199
+ <d:Name>Beverages</d:Name>
200
+ </m:properties>
201
+ </content>
202
+ </entry>
203
+ </m:inline>
204
+ </link>
205
+ <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Supplier" type="application/atom+xml;type=entry" title="Supplier" href="Products(4)/Supplier" />
206
+ <category term="ODataDemo.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
207
+ <content type="application/xml">
208
+ <m:properties>
209
+ <d:ID m:type="Edm.Int32">4</d:ID>
210
+ <d:ReleaseDate m:type="Edm.DateTime">2003-01-05T00:00:00</d:ReleaseDate>
211
+ <d:DiscontinuedDate m:type="Edm.DateTime" m:null="true" />
212
+ <d:Rating m:type="Edm.Int32">3</d:Rating>
213
+ <d:Price m:type="Edm.Decimal">22.99</d:Price>
214
+ </m:properties>
215
+ </content>
216
+ </entry>
217
+ </feed>