Dışarıya aktar (0) Yazdır
Tümünü Genişlet
EN
Bu içerik dilinizde bulunmamaktadır ancak İngilizce sürümüne buradan bakabilirsiniz.

MobileServiceTable.read function

Updated: June 20, 2013

Executes a query against the table.

mobileServiceTable.read(query);

query
Type: query object

The query to execute. When null or undefined, all rows are returned.

parameters
Type: object

A JSON object that contains user-defined parameters and values to include in the request URI query string.

Type: undefined

This code refreshes the entries in a binding collection by querying the TodoItems table.

todoTable.read().done(function (results) {
    todoItems = new WinJS.Binding.List(results);
    listItems.winControl.itemDataSource = todoItems.dataSource;
});

 

Namespace

WindowsAzure.MobileServices

Library

MobileServices.js

Show:
© 2015 Microsoft