Skip to content

Commit

Permalink
Merge branch 'main' into ODATA-1370
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfhandl committed Dec 4, 2023
2 parents 691736b + e637cdc commit 7b535de
Show file tree
Hide file tree
Showing 71 changed files with 6,350 additions and 7,168 deletions.
1,929 changes: 966 additions & 963 deletions docs/odata-csdl-json/odata-csdl-json.html

Large diffs are not rendered by default.

591 changes: 306 additions & 285 deletions docs/odata-csdl-json/odata-csdl-json.md

Large diffs are not rendered by default.

1,637 changes: 822 additions & 815 deletions docs/odata-csdl-xml/odata-csdl-xml.html

Large diffs are not rendered by default.

760 changes: 393 additions & 367 deletions docs/odata-csdl-xml/odata-csdl-xml.md

Large diffs are not rendered by default.

58 changes: 29 additions & 29 deletions docs/odata-data-aggregation-ext/odata-data-aggregation-ext.html

Large diffs are not rendered by default.

60 changes: 30 additions & 30 deletions docs/odata-data-aggregation-ext/odata-data-aggregation-ext.md
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ Date|Month|Quarter|Year
2022-01-01|2022-01|2022-1|2022
2022-04-01|2022-04|2022-2|2022
2022-04-10|2022-04|2022-2|2022
...|||
|||
:::::

::::: {style=top:150px;left:360px}
Expand Down Expand Up @@ -1580,28 +1580,28 @@ results in seven entities for the finest grouping level
{ "Customer": { "Country": "USA", "Name": "Joe" },
"Product": { "Category": { "Name": "Non-Food" }, "Name": "Paper" },
"Total@type": "Decimal", "Total": 1 },
...
```
plus additional fifteen rollup entities for subtotals: five without customer name
```json
{ "Customer": { "Country": "USA" },
"Product": { "Category": { "Name": "Food" }, "Name": "Sugar" },
"Total@type": "Decimal", "Total": 2 },
...
```
six without product name
```json
{ "Customer": { "Country": "USA", "Name": "Joe" },
"Product": { "Category": { "Name": "Food" } },
"Total@type": "Decimal", "Total": 6 },
...
```
and four with neither customer nor product name
```json
{ "Customer": { "Country": "USA" },
"Product": { "Category": { "Name": "Food" } },
"Total@type": "Decimal", "Total": 14 },
...
]
}
```
Expand Down Expand Up @@ -2235,7 +2235,7 @@ results in
"value": [
{ "Products": { "Name": "Paper" }, "Sales": { "Amount": 1 } },
{ "Products": { "Name": "Sugar" }, "Sales": { "Amount": 2 } },
...
]
}
```
Expand Down Expand Up @@ -2295,7 +2295,7 @@ Example 49: an entity container with default support for everything defined in t
```xml
<EntityContainer Name="SalesData">
<Annotation Term="Aggregation.ApplySupportedDefaults" />
...
</EntityContainer>
```
:::
Expand All @@ -2305,7 +2305,7 @@ Example <a name="containerrooted" href="#containerrooted">50</a>: Define aggrega
```xml
<Annotations Target="SalesModel.SalesData/Categories/Products">
<Annotation Term="Aggregation.ApplySupported">
...
</Annotation>
</Annotations>
```
Expand Down Expand Up @@ -2555,9 +2555,9 @@ results in
{ "ID": "Sales Netherlands", "Name": "Sales Netherlands" },
{ "ID": "Sales Germany", "Name": "Sales Germany" },
{ "ID": "EMEA South", "Name": "EMEA South" },
...
{ "ID": "EMEA North", "Name": "EMEA North" },
...
]
}
```
Expand All @@ -2581,7 +2581,7 @@ results in
{ "ID": "EMEA Central", "Name": "EMEA Central" },
{ "ID": "EMEA South", "Name": "EMEA South" },
{ "ID": "EMEA North", "Name": "EMEA North" },
...
]
}
```
Expand All @@ -2602,7 +2602,7 @@ results in
"value": [
{ "ID": "Sales Office London", "Name": "Sales Office London" },
{ "ID": "Sales Office New York", "Name": "Sales Office New York" },
...
]
}
```
Expand All @@ -2626,7 +2626,7 @@ results in
"Superordinate": { "ID": "EMEA United Kingdom" } },
{ "ID": "Sales Office New York", "Name": "Sales Office New York",
"Superordinate": { "ID": "US East" } },
...
]
}
```
Expand Down Expand Up @@ -2918,21 +2918,21 @@ results in
{
"@context": "$metadata#SalesOrganizations",
"value": [
...
{ "ID": "Atlantis", "Name": "Atlantis",
"@Aggregation.UpPath#MultiParentHierarchy":
[ "US", "Sales" ] },
{ "ID": "AtlantisChild", "Name": "Child of Atlantis",
"@Aggregation.UpPath#MultiParentHierarchy":
[ "Atlantis", "US", "Sales" ] },
...
{ "ID": "Atlantis", "Name": "Atlantis",
"@Aggregation.UpPath#MultiParentHierarchy":
[ "EMEA", "Sales" ] },
{ "ID": "AtlantisChild", "Name": "Child of Atlantis",
"@Aggregation.UpPath#MultiParentHierarchy":
[ "Atlantis", "EMEA", "Sales" ] },
...
]
}
```
Expand Down Expand Up @@ -3142,7 +3142,7 @@ results in
"TotalAmount": null },
{ "SalesOrganization": { "ID": "US", "Name": "US" },
"TotalAmount": null },
...
]
}
```
Expand Down Expand Up @@ -3662,7 +3662,7 @@ results in
{ "@context": "#SalesOrganizations/$entity",
"ID": "US", "SalesRegion": "Corporate Sales" } },
]
}, ...
},
]
}
```
Expand Down Expand Up @@ -3986,16 +3986,16 @@ results in
{
"@context": "$metadata#Sales(Customer(Country),Total)",
"value": [
{ "Customer":{ "Country": "USA" }, "Product":{ "Name": "Coffee" },
{ "Customer": { "Country": "USA" }, "Product": { "Name": "Coffee" },
"Total@type": "Decimal", "Total": 12
},
{ "Customer":{ "Country": "Netherlands" }, "Product":{ "Name": "Paper" },
{ "Customer": { "Country": "Netherlands" }, "Product": { "Name": "Paper" },
"Total@type": "Decimal", "Total": 3
},
{ "Customer":{ "Country": "USA" },
{ "Customer": { "Country": "USA" },
"Total@type": "Decimal", "Total": 19
},
{ "Customer":{ "Country": "Netherlands" },
{ "Customer": { "Country": "Netherlands" },
"Total@type": "Decimal", "Total": 5
}
]
Expand All @@ -4014,19 +4014,19 @@ results in
{
"@context": "$metadata#Sales(Customer(Country),Product(Name),Total)",
"value": [
{ "Customer":{ "Country": "Netherlands" }, "Product":{ "Name": "Paper" },
{ "Customer": { "Country": "Netherlands" }, "Product": { "Name": "Paper" },
"Total@type": "Decimal", "Total": 3
},
{ "Customer":{ "Country": "Netherlands" }, "Product":{ "Name": "Sugar" },
{ "Customer": { "Country": "Netherlands" }, "Product": { "Name": "Sugar" },
"Total@type": "Decimal", "Total": 2
},
{ "Customer":{ "Country": "USA" }, "Product":{ "Name": "Sugar" },
{ "Customer": { "Country": "USA" }, "Product": { "Name": "Sugar" },
"Total@type": "Decimal", "Total": 2
},
{ "Customer":{ "Country": "USA" }, "Product":{ "Name": "Coffee" },
{ "Customer": { "Country": "USA" }, "Product": { "Name": "Coffee" },
"Total@type": "Decimal", "Total": 12
},
{ "Customer":{ "Country": "USA" }, "Product":{ "Name": "Paper" },
{ "Customer": { "Country": "USA" }, "Product": { "Name": "Paper" },
"Total@type": "Decimal", "Total": 5
}
]
Expand Down Expand Up @@ -4662,14 +4662,14 @@ Note that `rolluprecursive` must preserve the preorder established by `traverse`
{ "SalesOrganization": { "ID": "Atlantis", "Name": "Atlantis",
"@Aggregation.UpPath#MultiParentHierarchy": [ "US", "Sales" ] },
"MultiParentWeightedTotal": 6 },
...
{ "SalesOrganization": { "ID": "EMEA", "Name": "EMEA",
"@Aggregation.UpPath#MultiParentHierarchy": [ "Sales" ] },
"MultiParentWeightedTotal": 9 },
{ "SalesOrganization": { "ID": "Atlantis", "Name": "Atlantis",
"@Aggregation.UpPath#MultiParentHierarchy": [ "EMEA", "Sales" ] },
"MultiParentWeightedTotal": 4 },
...
]
}
```
Expand Down Expand Up @@ -4749,7 +4749,7 @@ results in
"TotalPopulation@type": "Int32", "TotalPopulation": 1412000000 },
{ "Continent": { "Name": "Asia" }, "Country": { "Name": "India" },
"TotalPopulation@type": "Int32", "TotalPopulation": 1408000000 },
...
]
}
```
Expand Down
Loading

0 comments on commit 7b535de

Please sign in to comment.