LightSwitch HTML Edition
Connect to OData Service

To connect to an external OData Service, complete the following:

  1. In the Solution Explorer, choose the Data Sources node.
  2. On the menu bar, choose Project | Add Data Source. The Attach Data Source Wizard appears.
  3. In the Attach Data Source Wizard, choose OData Service, and then click Next.
  4. On the Enter Connection Information page, in the OData Source Address box, enter a URL, for example, http://lsdemo.componentone.com/DataServices/Demo.svc.
  5. Under Login Information, choose None, and then choose the Next button. Note that the correct setting depends upon the implementation of the service you specified in the previous step.
  6. On the Choose your Entities page, select the entities and then click on the Finish button.

The data source is added to the project under the Data Sources folder and the entities are created.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Documentation Feedback  |  Product Support Forum