[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
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]