Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Apr 07, 2012 06:44 AM|LINK
You don't have any intellisense on that because the objects like
DeliveriesForToday doesn't exist yet. In your code example the datasource name is
DeliveriesForToday, but in your text you said it called "GetDeliveriesForToday". I think that is your problem. You need to call it like in your code sample. If that wouldn't work, I would recomend you to startup
the page and look what's inserted in code.
The "@(Html.UpshotContext().DataSource<DataServicesController>(x => x.GetDeliveriesForToday()))" line of code generates some code for you, and also sets the datasource name you can use in your personal code.