sdk/dotnet/src/Microsoft.Datasync.Client/Offline/DeltaTokenStore.cs
/// <summary>
/// Returns the key of a delta token.
/// </summary>
/// <remarks>
/// Delta tokens are stored for each query (identified by a user-specified queryId) to determine
/// the minimum value for updatedAt that must be queried to get incremental changes to the table.
/// </remarks>
/// <param name="tableName">The name of the table.</param>
/// <param name="queryId">The query ID of the table.</param>
/// <returns>The configuration key for the delta token.</returns>
Returns the key of a delta token.
Returns the key of a delta token .
private static string GetKey(string tableName, string queryId)
        {
            Arguments.IsValidTableName(tableName, nameof(tableName));
            Arguments.IsNotNullOrWhitespace(queryId, nameof(queryId));
            return $"dt.{tableName}.{queryId}";
        }
private static string GetKey ( string tableName , string queryId ) { Arguments . IsValidTableName ( tableName , nameof ( tableName ) ) ; Arguments . IsNotNullOrWhitespace ( queryId , nameof ( queryId ) ) ; return $" dt. { tableName } . { queryId } " ; }
Returns the key of a delta token.
Returns the key of a delta token .
The configuration key for the delta token.
The configuration key for the delta token .
tableName
string
The name of the table.
The name of the table .
queryId
string
The query ID of the table.
The query ID of the table .
remarks
Delta tokens are stored for each query (identified by a user-specified queryId) to determine
the minimum value for updatedAt that must be queried to get incremental changes to the table.
Delta tokens are stored for each query ( identified by a user - specified queryId ) to determine the minimum value for updatedAt that must be queried to get incremental changes to the table .