This commit is contained in:
Daniel
2021-06-18 17:15:59 +02:00
parent 9f604b9d13
commit d891a1b905
2 changed files with 19 additions and 19 deletions

View File

@@ -16,6 +16,7 @@
<NavigationPropertyBinding Path="currency" Target="Currencies"/>
<NavigationPropertyBinding Path="SiblingEntity" Target="Orders"/>
</EntitySet>
<EntitySet Name="Products" EntityType="OrdersService.Products"/>
<EntitySet Name="Currencies" EntityType="OrdersService.Currencies"/>
</EntityContainer>
<EntityType Name="Orders">
@@ -69,7 +70,7 @@
</Key>
<Property Name="ID" Type="Edm.Guid" Nullable="false"/>
<NavigationProperty Name="up_" Type="OrdersService.Orders" Partner="Items"/>
<NavigationProperty Name="product" Type="sap.capire.orders.Products"/>
<NavigationProperty Name="product" Type="OrdersService.Products"/>
<Property Name="amount" Type="Edm.Int32"/>
<Property Name="title" Type="Edm.String"/>
<Property Name="price" Type="Edm.Double"/>
@@ -402,13 +403,11 @@
<Annotation Term="Common.Label" String="{i18n>Description}"/>
</Annotations>
</Schema>
<Schema Namespace="sap.capire.orders" xmlns="http://docs.oasis-open.org/odata/ns/edm">
<EntityType Name="Products">
<Key>
<PropertyRef Name="ID"/>
</Key>
<Property Name="ID" Type="Edm.String" Nullable="false"/>
</EntityType>
</Schema>
</edmx:DataServices>
<EntityType Name="Products">
<Key>
<PropertyRef Name="ID"/>
</Key>
<Property Name="ID" Type="Edm.String" Nullable="false"/>
</EntityType>
</edmx:DataServices>
</edmx:Edmx>

View File

@@ -16,7 +16,6 @@
<NavigationPropertyBinding Path="currency" Target="Currencies"/>
<NavigationPropertyBinding Path="SiblingEntity" Target="Orders"/>
</EntitySet>
<EntitySet Name="Products" EntityType="OrdersService.Products"/>
<EntitySet Name="Currencies" EntityType="OrdersService.Currencies"/>
</EntityContainer>
<EntityType Name="Orders">
@@ -70,7 +69,7 @@
</Key>
<Property Name="ID" Type="Edm.Guid" Nullable="false"/>
<NavigationProperty Name="up_" Type="OrdersService.Orders" Partner="Items"/>
<NavigationProperty Name="product" Type="OrdersService.Products"/>
<NavigationProperty Name="product" Type="sap.capire.orders.Products"/>
<Property Name="amount" Type="Edm.Int32"/>
<Property Name="title" Type="Edm.String"/>
<Property Name="price" Type="Edm.Double"/>
@@ -403,11 +402,13 @@
<Annotation Term="Common.Label" String="{i18n>Description}"/>
</Annotations>
</Schema>
<EntityType Name="Products">
<Key>
<PropertyRef Name="ID"/>
</Key>
<Property Name="ID" Type="Edm.String" Nullable="false"/>
</EntityType>
</edmx:DataServices>
<Schema Namespace="sap.capire.orders" xmlns="http://docs.oasis-open.org/odata/ns/edm">
<EntityType Name="Products">
<Key>
<PropertyRef Name="ID"/>
</Key>
<Property Name="ID" Type="Edm.String" Nullable="false"/>
</EntityType>
</Schema>
</edmx:DataServices>
</edmx:Edmx>