Artifact [c2f88059fb]

Artifact c2f88059fb42f0026cacc70362adf9048c92c754:

Wiki page [Sample Test Code] by anonymous 2016-02-29 06:30:25.
D 2016-02-29T06:30:25.933
L Sample\sTest\sCode
P 6deff6c9d4a1958a09c7ad4f0564833d85352f70
U anonymous
W 571
Below is a small program that shows the use of the OData class library.


<verbatim>
package require OData 4.0

set obj [ODataService new http://services.odata.org/V4/OData/(S(qe0mzsxp2vzxcr23zdd2rxg0))/OData.svc/]

puts stdout {
##
## Examples:
##
puts stdout [$obj info collections]

puts stdout {}
puts stdout [$obj Categories]

puts stdout {}
puts stdout [set p2 [$obj Products 2]]

puts stdout [$p2 get ID]

}
</verbatim>

<hr><div id="6c7ea62586f1b596"><i>On 2016-02-29 06:30:25 UTC anonymous added:</i><br />
bjjh</div id="6c7ea62586f1b596">
Z 2e6b00be2b439d6e06652a6f777ceb17