示例#1
0
        private async Task InitialCleanPullAsync()
        {
            // if not queryId present, will retrieve all data
            await _tagTable.PullAsync(null, _tagTable.IncludeTotalCount().Where(p => p.UserId == PmdAppSetting.RegistrationId));

            await _contactTable.PullAsync(null, _contactTable.IncludeTotalCount().Where(p => p.UserId == PmdAppSetting.RegistrationId));

            await _transactionTable.PullAsync(null, _transactionTable.IncludeTotalCount().Where(p => p.UserId == PmdAppSetting.RegistrationId));

            await _transactionTagTable.PullAsync(null, _transactionTagTable.IncludeTotalCount().Where(p => p.UserId == PmdAppSetting.RegistrationId));
        }
示例#2
0
 public IMobileServiceTableQuery <T> IncludeTotalCount()
 {
     return(_syncTable.IncludeTotalCount());
 }