Florian
Florian

Reputation: 5994

Azure Mobile Service restriction on Tables

Is it possible to read, update, ... objects of some different granularity than database tables? Let's say any complex business objects like contracts which do not cosist of only one table? I would like to encapsulate the business logic in my backend. My client should not know anything about a database schema.

How can we do that using Azure Mobile Service.

Upvotes: 1

Views: 41

Answers (1)

Adrian Hall
Adrian Hall

Reputation: 8035

Azure Mobile Apps does not support relationships. As a result, you will need to generate something that looks like a table that when updated does the right thing. SQL Views with triggers on insert/update/delete tends to work. However, most people want M:M relationships, which aren't easily formulated this way.

For more information, see chapter 3 of the book - http://aka.ms/zumobook

Upvotes: 2

Related Questions