Good example with detail explanation about using AJAX with ADO Data Service.
Prefer to the blog when you have these needs:
- A master – view grid: You have grid which list out records from database. Click on one then popup an detail view to edit or add new.
- Implement AJAX
Read Handling relationship parts from Politian