[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [odata] Groups - OData CSDL XML Representation Version 4.01 uploaded
The real purpose of the note was to suggest that additional text be added to the description of Terms and Annotations to highlight this capability. At least
for me, the clause on Dynamic expressions didn’t connect as being particularly relevant, so I had not really internalized it. Now that I have, I’m not sure how to fix the issue. One thought is that I avoided the Dynamic Expressions clause as something I
didn’t probably need. It’s not clear that the distinction between Constant and Dynamic is helpful. Both result in values. Perhaps it would help to rename Dynamic Expressions to simply “Expressions” and move the Constant Expressions clause into the renamed
clause. G From: odata@lists.oasis-open.org [mailto:odata@lists.oasis-open.org]
On Behalf Of Ericson, George Thanks From: Handl, Ralf [mailto:ralf.handl@sap.com]
The simpler example is hidden in chapter 11: Example 29: "Length": { "$Kind": "TypeDefinition", "$UnderlyingType": "Edm.Int32", "@Measures.Unit": "Centimeters" }, "Weight": { "$Kind": "TypeDefinition", "$UnderlyingType": "Edm.Int32", "@Measures.Unit": "Kilograms" }, "Size": { "$Kind": "ComplexType", "Height": { "$Type": "self.Length" }, "Weight": { "$Type": "self.Weight" } } From: Ericson, George [mailto:George.Ericson@dell.com]
Interesting, but not obvious example. The use of dynamic expressions deserves more explanation w.r.t. application to an ordinary Term. I learned something new
today, but it required persistence.: "Price": { "$Type": "Edm.Decimal", "@Measures.ISOCurrency": { "$Path": "Currency" } }, "Currency": { "$MaxLength": 3 }, Additional simpler example would be helpful for comparison: "Price": { "$Type": "Edm.Decimal", "@Measures.ISOCurrency": "EUR" }, Regards, George From:
odata@lists.oasis-open.org [mailto:odata@lists.oasis-open.org]
On Behalf Of Ralf Handl Submitter's message
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]