This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I am trying to find out whether LightSpeed supports OData services? I have successfully created and can browse a DataService implementation of my model, but when I attempt adding a reference to a project for consuming in visual studio it throws the attached error message. This is just a test that we did with Sample code on your site to evaluate whether LightSpeed will support future projects that we have in development that must support OData from the client side.
|
|
|
To the best of our knowledge, this is a limitation of the Microsoft One possible approach would be to use a T4 template that generates proxy classes from the .lsmodel file. This would avoid the need for hand-coding and could be reused for future projects. See http://www.mindscapehq.com/documentation/lightspeed/Working-with-Models-in-the-Visual-Designer/Customising-the-Generated-Code for information about how to do this (scroll down to see the T4 section). Your output code will need to look something like this:
Let us know if you need any further info or if you run into any problems. |
|