Skip to content

Commit c4eeab6

Browse files
committed
Show Categories as delete-restricted, not Products
# Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # Commands: # q Close # <c-c><c-c> Submit # <c-c><c-k> Abort # <m-p> Previous Message # <m-n> Next Message # <m-r> Reset Message # # On branch master # Your branch is up to date with 'origin/master'. # # Changes to be committed: # modified: tutorials/odata-dd-4-metadata/odata-dd-4-metadata.md #
1 parent 75eb5fc commit c4eeab6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tutorials/odata-dd-4-metadata/odata-dd-4-metadata.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Regard this drastically reduced version of the entire metadata document XML stru
6868
<EntityType Name="Products"></EntityType>
6969
<EntityType Name="Categories"></EntityType>
7070
<EntityType Name="Suppliers"></EntityType>
71-
<Annotations Target="Main.EntityContainer/Products">
71+
<Annotations Target="Main.EntityContainer/Categories">
7272
<Annotation Term="Capabilities.DeleteRestrictions"></Annotation>
7373
</Annotations>
7474
</Schema>
@@ -273,7 +273,7 @@ Let's have a brief look at where this `Main` OData namespace is used. Here's ano
273273
<NavigationProperty Name="Products" Type="Collection(Main.Products)" Partner="Category"/>
274274
</EntityType>
275275
...
276-
<Annotations Target="Main.EntityContainer/Products">
276+
<Annotations Target="Main.EntityContainer/Categories">
277277
<Annotation Term="Capabilities.DeleteRestrictions"> ... </Annotation>
278278
...
279279
</Annotations>

0 commit comments

Comments
 (0)