This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreader.spec.edmx.xml
173 lines (173 loc) · 12.5 KB
/
reader.spec.edmx.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
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<edmx:Edmx xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" Version="1.0">
<edmx:DataServices xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" m:DataServiceVersion="3.0" m:MaxDataServiceVersion="3.0">
<Schema xmlns="http://schemas.microsoft.com/ado/2009/11/edm" Namespace="ODataDemo">
<EntityType Name="Product">
<Key>
<PropertyRef Name="ID"/>
</Key>
<Property Name="ID" Type="Edm.Int32" Nullable="false"/>
<Property Name="Name" Type="Edm.String" m:FC_TargetPath="SyndicationTitle" m:FC_ContentKind="text" m:FC_KeepInContent="false"/>
<Property Name="Description" Type="Edm.String" m:FC_TargetPath="SyndicationSummary" m:FC_ContentKind="text" m:FC_KeepInContent="false"/>
<Property Name="ReleaseDate" Type="Edm.DateTime" Nullable="false"/>
<Property Name="DiscontinuedDate" Type="Edm.DateTime"/>
<Property Name="Rating" Type="Edm.Int16" Nullable="false"/>
<Property Name="Price" Type="Edm.Double" Nullable="false"/>
<NavigationProperty Name="Categories" Relationship="ODataDemo.Product_Categories_Category_Products" ToRole="Category_Products" FromRole="Product_Categories"/>
<NavigationProperty Name="Supplier" Relationship="ODataDemo.Product_Supplier_Supplier_Products" ToRole="Supplier_Products" FromRole="Product_Supplier"/>
<NavigationProperty Name="ProductDetail" Relationship="ODataDemo.Product_ProductDetail_ProductDetail_Product" ToRole="ProductDetail_Product" FromRole="Product_ProductDetail"/>
</EntityType>
<EntityType Name="FeaturedProduct" BaseType="ODataDemo.Product">
<NavigationProperty Name="Advertisement" Relationship="ODataDemo.FeaturedProduct_Advertisement_Advertisement_FeaturedProduct" ToRole="Advertisement_FeaturedProduct" FromRole="FeaturedProduct_Advertisement"/>
</EntityType>
<EntityType Name="ProductDetail">
<Key>
<PropertyRef Name="ProductID"/>
</Key>
<Property Name="ProductID" Type="Edm.Int32" Nullable="false"/>
<Property Name="Details" Type="Edm.String"/>
<NavigationProperty Name="Product" Relationship="ODataDemo.Product_ProductDetail_ProductDetail_Product" ToRole="Product_ProductDetail" FromRole="ProductDetail_Product"/>
</EntityType>
<EntityType Name="Category" OpenType="true">
<Key>
<PropertyRef Name="ID"/>
</Key>
<Property Name="ID" Type="Edm.Int32" Nullable="false"/>
<Property Name="Name" Type="Edm.String" m:FC_TargetPath="SyndicationTitle" m:FC_ContentKind="text" m:FC_KeepInContent="true"/>
<NavigationProperty Name="Products" Relationship="ODataDemo.Product_Categories_Category_Products" ToRole="Product_Categories" FromRole="Category_Products"/>
</EntityType>
<EntityType Name="Supplier">
<Key>
<PropertyRef Name="ID"/>
</Key>
<Property Name="ID" Type="Edm.Int32" Nullable="false"/>
<Property Name="Name" Type="Edm.String" m:FC_TargetPath="SyndicationTitle" m:FC_ContentKind="text" m:FC_KeepInContent="true"/>
<Property Name="Address" Type="ODataDemo.Address"/>
<Property Name="Location" Type="Edm.GeographyPoint" SRID="Variable"/>
<Property Name="Concurrency" Type="Edm.Int32" ConcurrencyMode="Fixed" Nullable="false"/>
<NavigationProperty Name="Products" Relationship="ODataDemo.Product_Supplier_Supplier_Products" ToRole="Product_Supplier" FromRole="Supplier_Products"/>
</EntityType>
<ComplexType Name="Address">
<Property Name="Street" Type="Edm.String"/>
<Property Name="City" Type="Edm.String"/>
<Property Name="State" Type="Edm.String"/>
<Property Name="ZipCode" Type="Edm.String"/>
<Property Name="Country" Type="Edm.String"/>
</ComplexType>
<EntityType Name="Person">
<Key>
<PropertyRef Name="ID"/>
</Key>
<Property Name="ID" Type="Edm.Int32" Nullable="false"/>
<Property Name="Name" Type="Edm.String"/>
<NavigationProperty Name="PersonDetail" Relationship="ODataDemo.Person_PersonDetail_PersonDetail_Person" ToRole="PersonDetail_Person" FromRole="Person_PersonDetail"/>
</EntityType>
<EntityType Name="Customer" BaseType="ODataDemo.Person">
<Property Name="TotalExpense" Type="Edm.Decimal" Nullable="false"/>
</EntityType>
<EntityType Name="Employee" BaseType="ODataDemo.Person">
<Property Name="EmployeeID" Type="Edm.Int64" Nullable="false"/>
<Property Name="HireDate" Type="Edm.DateTime" Nullable="false"/>
<Property Name="Salary" Type="Edm.Single" Nullable="false"/>
</EntityType>
<EntityType Name="PersonDetail">
<Key>
<PropertyRef Name="PersonID"/>
</Key>
<Property Name="PersonID" Type="Edm.Int32" Nullable="false"/>
<Property Name="Age" Type="Edm.Byte" Nullable="false"/>
<Property Name="Gender" Type="Edm.Boolean" Nullable="false"/>
<Property Name="Phone" Type="Edm.String"/>
<Property Name="Address" Type="ODataDemo.Address"/>
<Property Name="Photo" Type="Edm.Stream" Nullable="false"/>
<NavigationProperty Name="Person" Relationship="ODataDemo.Person_PersonDetail_PersonDetail_Person" ToRole="Person_PersonDetail" FromRole="PersonDetail_Person"/>
</EntityType>
<EntityType Name="Advertisement" m:HasStream="true">
<Key>
<PropertyRef Name="ID"/>
</Key>
<Property Name="ID" Type="Edm.Guid" Nullable="false"/>
<Property Name="Name" Type="Edm.String"/>
<Property Name="AirDate" Type="Edm.DateTime" Nullable="false"/>
<NavigationProperty Name="FeaturedProduct" Relationship="ODataDemo.FeaturedProduct_Advertisement_Advertisement_FeaturedProduct" ToRole="FeaturedProduct_Advertisement" FromRole="Advertisement_FeaturedProduct"/>
</EntityType>
<Association Name="Product_Categories_Category_Products">
<End Type="ODataDemo.Category" Role="Category_Products" Multiplicity="*"/>
<End Type="ODataDemo.Product" Role="Product_Categories" Multiplicity="*"/>
</Association>
<Association Name="Product_Supplier_Supplier_Products">
<End Type="ODataDemo.Supplier" Role="Supplier_Products" Multiplicity="0..1"/>
<End Type="ODataDemo.Product" Role="Product_Supplier" Multiplicity="*"/>
</Association>
<Association Name="Product_ProductDetail_ProductDetail_Product">
<End Type="ODataDemo.ProductDetail" Role="ProductDetail_Product" Multiplicity="0..1"/>
<End Type="ODataDemo.Product" Role="Product_ProductDetail" Multiplicity="0..1"/>
</Association>
<Association Name="FeaturedProduct_Advertisement_Advertisement_FeaturedProduct">
<End Type="ODataDemo.Advertisement" Role="Advertisement_FeaturedProduct" Multiplicity="0..1"/>
<End Type="ODataDemo.FeaturedProduct" Role="FeaturedProduct_Advertisement" Multiplicity="0..1"/>
</Association>
<Association Name="Person_PersonDetail_PersonDetail_Person">
<End Type="ODataDemo.PersonDetail" Role="PersonDetail_Person" Multiplicity="0..1"/>
<End Type="ODataDemo.Person" Role="Person_PersonDetail" Multiplicity="0..1"/>
</Association>
<EnumType Name="RGBColors" UnderlyingType="Edm.Int32">
<Member Name="Red"/>
<Member Name="Green"/>
<Member Name="Blue"/>
</EnumType>
<EntityContainer Name="DemoService" m:IsDefaultEntityContainer="true">
<EntitySet Name="Products" EntityType="ODataDemo.Product"/>
<EntitySet Name="ProductDetails" EntityType="ODataDemo.ProductDetail"/>
<EntitySet Name="Categories" EntityType="ODataDemo.Category"/>
<EntitySet Name="Suppliers" EntityType="ODataDemo.Supplier"/>
<EntitySet Name="Persons" EntityType="ODataDemo.Person"/>
<EntitySet Name="PersonDetails" EntityType="ODataDemo.PersonDetail"/>
<EntitySet Name="Advertisements" EntityType="ODataDemo.Advertisement"/>
<FunctionImport Name="GetProductsByRating" ReturnType="Collection(ODataDemo.Product)" EntitySet="Products" m:HttpMethod="GET">
<Parameter Name="rating" Type="Edm.Int16" Nullable="false"/>
</FunctionImport>
<AssociationSet Name="Products_Advertisement_Advertisements" Association="ODataDemo.FeaturedProduct_Advertisement_Advertisement_FeaturedProduct">
<End Role="FeaturedProduct_Advertisement" EntitySet="Products"/>
<End Role="Advertisement_FeaturedProduct" EntitySet="Advertisements"/>
</AssociationSet>
<AssociationSet Name="Products_Categories_Categories" Association="ODataDemo.Product_Categories_Category_Products">
<End Role="Product_Categories" EntitySet="Products"/>
<End Role="Category_Products" EntitySet="Categories"/>
</AssociationSet>
<AssociationSet Name="Products_Supplier_Suppliers" Association="ODataDemo.Product_Supplier_Supplier_Products">
<End Role="Product_Supplier" EntitySet="Products"/>
<End Role="Supplier_Products" EntitySet="Suppliers"/>
</AssociationSet>
<AssociationSet Name="Products_ProductDetail_ProductDetails" Association="ODataDemo.Product_ProductDetail_ProductDetail_Product">
<End Role="Product_ProductDetail" EntitySet="Products"/>
<End Role="ProductDetail_Product" EntitySet="ProductDetails"/>
</AssociationSet>
<AssociationSet Name="Persons_PersonDetail_PersonDetails" Association="ODataDemo.Person_PersonDetail_PersonDetail_Person">
<End Role="Person_PersonDetail" EntitySet="Persons"/>
<End Role="PersonDetail_Person" EntitySet="PersonDetails"/>
</AssociationSet>
</EntityContainer>
<Annotations Target="ODataDemo.DemoService">
<ValueAnnotation Term="Org.OData.Display.V1.Description" String="This is a sample OData service with vocabularies"/>
</Annotations>
<Annotations Target="ODataDemo.Product">
<ValueAnnotation Term="Org.OData.Display.V1.Description" String="All Products available in the online store"/>
</Annotations>
<Annotations Target="ODataDemo.Product/Name">
<ValueAnnotation Term="Org.OData.Display.V1.DisplayName" String="Product Name"/>
</Annotations>
<Annotations Target="ODataDemo.DemoService/Suppliers">
<ValueAnnotation Term="Org.OData.Publication.V1.PublisherName" String="Microsoft Corp."/>
<ValueAnnotation Term="Org.OData.Publication.V1.PublisherId" String="MSFT"/>
<ValueAnnotation Term="Org.OData.Publication.V1.Keywords" String="Inventory, Supplier, Advertisers, Sales, Finance"/>
<ValueAnnotation Term="Org.OData.Publication.V1.AttributionUrl" String="http://www.odata.org/"/>
<ValueAnnotation Term="Org.OData.Publication.V1.AttributionDescription" String="All rights reserved"/>
<ValueAnnotation Term="Org.OData.Publication.V1.DocumentationUrl " String="http://www.odata.org/"/>
<ValueAnnotation Term="Org.OData.Publication.V1.TermsOfUseUrl" String="All rights reserved"/>
<ValueAnnotation Term="Org.OData.Publication.V1.PrivacyPolicyUrl" String="http://www.odata.org/"/>
<ValueAnnotation Term="Org.OData.Publication.V1.LastModified" String="4/2/2013"/>
<ValueAnnotation Term="Org.OData.Publication.V1.ImageUrl " String="http://www.odata.org/"/>
</Annotations>
</Schema>
</edmx:DataServices>
</edmx:Edmx>