Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I successfully created a mobile service in Microsoft Azure and I downloaded the backend Visual Studio project to connect my existing android apps to the Database. However the project contains sample data such as 'ToDoItem' and 'ToDoTable' and etc. I need to edit these retrieve data from my existing tables.

For example they have a method such as:

public IQueryable<TodoItem> GetAllTodoItems()
{
            return Query();
}


in the TodoItemController class. I assume this is to retrieve the TodoItems from the DB and send it to the mobile devices. In my case I have a table named "UserTable" and I need to retrieve the column data: "username" and "password" and send those data to the mobile apps.

What changes should I make to the Visual Studio project I downloaded from Azure? I do not understand how to edit the backend to get my own data instead of the Sample TodoItem example data from Azure.
Posted
Updated 12-Apr-15 0:27am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900