-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.xml
94 lines (90 loc) · 5.12 KB
/
metadata.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
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<edmx:Edmx Version="1.0"
xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx">
<edmx:DataServices m:DataServiceVersion="2.0"
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<Schema Namespace="FioriElement"
xmlns="http://schemas.microsoft.com/ado/2008/09/edm"
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<EntityType Name="Supplier">
<Key>
<PropertyRef Name="SupplierId"/>
</Key>
<Property Name="SupplierId" Type="Edm.Int32" />
<Property Name="Name" Type="Edm.String" MaxLength="40" />
<Property Name="Category" Type="Edm.String" MaxLength="20" />
<Property Name="Address" Type="Edm.String" MaxLength="50" />
<Property Name="City" Type="Edm.String" MaxLength="15" />
<Property Name="PostalCode" Type="Edm.String" MaxLength="10" />
<Property Name="Country" Type="Edm.String" MaxLength="15" />
<Property Name="Phone" Type="Edm.String" MaxLength="24" />
<Property Name="Website" Type="Edm.String" MaxLength="Max" />
<NavigationProperty FromRole="Suppliers" Name="Products" ToRole="Products" Relationship="FioriElement.FK_Suppliers_Products"/>
</EntityType>
<EntityType Name="Product">
<Key>
<PropertyRef Name="ProductId"/>
</Key>
<Property Name="ProductId" Type="Edm.Int32"/>
<Property Name="Name" Type="Edm.String" MaxLength="40" />
<Property Name="SupplierID" Type="Edm.Int32" />
<Property Name="QuantityPerUnit" Type="Edm.String" MaxLength="20" />
<Property Name="UnitPrice" Type="Edm.Decimal" Precision="19" Scale="2" />
<Property Name="UnitsInStock" Type="Edm.Int16" />
<Property Name="UnitsOnOrder" Type="Edm.Int16" />
<Property Name="Discontinued" Type="Edm.Boolean" />
<NavigationProperty FromRole="Products" Name="Orders" ToRole="Orders" Relationship="FioriElement.FK_Products_Orders"/>
</EntityType>
<EntityType Name="Order">
<Key>
<PropertyRef Name="OrderId"/>
</Key>
<Property Name="OrderId" Type="Edm.Int32"/>
<Property Name="ProductId" Type="Edm.Int32" />
<Property Name="CustomerName" Type="Edm.String" MaxLength="40" />
<Property Name="OrderDate" Type="Edm.DateTime" />
<Property Name="ShippedDate" Type="Edm.DateTime" />
<Property Name="ShipVia" Type="Edm.String" MaxLength="15" />
</EntityType>
<Association Name="FK_Suppliers_Products">
<End Multiplicity="0..1" Role="Suppliers" Type="FioriElement.Supplier"/>
<End Multiplicity="*" Role="Products" Type="FioriElement.Product"/>
<ReferentialConstraint>
<Principal Role="Suppliers">
<PropertyRef Name="SupplierId"/>
</Principal>
<Dependent Role="Products">
<PropertyRef Name="SupplierId"/>
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Products_Orders">
<End Multiplicity="0..1" Role="Products" Type="FioriElement.Product"/>
<End Multiplicity="*" Role="Orders" Type="FioriElement.Order"/>
<ReferentialConstraint>
<Principal Role="Products">
<PropertyRef Name="ProductId"/>
</Principal>
<Dependent Role="Orders">
<PropertyRef Name="ProductId"/>
</Dependent>
</ReferentialConstraint>
</Association>
<EntityContainer Name="FioriElementEntities" m:IsDefaultEntityContainer="true"
xmlns:p7="http://schemas.microsoft.com/ado/2009/02/edm/annotation">
<EntitySet EntityType="FioriElement.Supplier" Name="Suppliers"/>
<EntitySet EntityType="FioriElement.Product" Name="Products"/>
<EntitySet EntityType="FioriElement.Order" Name="Orders"/>
<AssociationSet Association="FioriElement.FK_Suppliers_Products" Name="SuppliersToProducts_AssocSet">
<End EntitySet="Suppliers" Role="Supplier"/>
<End EntitySet="Products" Role="Product"/>
</AssociationSet>
<AssociationSet Association="FioriElement.FK_Products_Orders" Name="ProductsToOrders_AssocSet">
<End EntitySet="Products" Role="Product"/>
<End EntitySet="Orders" Role="Order"/>
</AssociationSet>
</EntityContainer>
</Schema>
</edmx:DataServices>
</edmx:Edmx>