I'm just learning about Azure Mobile Apps
. Do Easy Tables
support relationships? My existing schema has multiple tables with foreign key constraints, and I need the ability to create complex joins (Easy APIs
). I'm trying to understand the point of all this "Easy" stuff.
Should I skip it and just create a custom ApiController
and manual db script deployment?
Easy Tables are just simple SQL Azure tables that are exposed through a Web API OData Service endpoint. So when you create them you can connect to the SQL Azure and create your relationships etc there and customize the API code to include those relational data in the response.
From my experience they are good if you dont have complicated logic/business rules or complicated queries.
To my experience if you have complicated stuff even normal Web API OData Service endpoints would not help because the interception of the requests makes the code complicated and you are better off creating your own Web APIs.
I almost feel like the Easy API and Easy Tables are more designed to give you a kick start for a simple mobile app in a hackathon or to put an idea together as a demo real quick. But for real life enterprise stuff I will go with building my own Web API.