sdk/dotnet/test/Microsoft.Datasync.Client.Test/Table/Operations.OfflineTable/PurgeItemsAsync.Test.cs
/// <summary>
/// Stores a valid delta token in the offline store.
/// </summary>
/// <param name="qid">The query ID.</param>
Stores a valid delta token in the offline store.
Stores a valid delta token in the offline store .
private void SetDeltaToken(string tableName, string qid)
        {
            var token = JObject.Parse($"{{\"id\":\"dt.{tableName}.{qid}\",\"value\":\"2021-03-12T03:30:04.000Z\"}}");
            store.Upsert(SystemTables.Configuration, new[] { token });
        }
private void SetDeltaToken ( string tableName , string qid ) { var token = JObject . Parse ( $" {{ \" id \" : \" dt. { tableName } . { qid } \" , \" value \" : \" 2021-03-12T03:30:04.000Z \" }} " ) ; store . Upsert ( SystemTables . Configuration , new [ ] { token } ) ; }
Stores a valid delta token in the offline store.
Stores a valid delta token in the offline store .
tableName
string
qid
string
The query ID.
The query ID .