sdk/dotnet/src/Microsoft.Datasync.Client/Table/OfflineTable.generic.cs
/// <summary>
/// Deletes all the items in the offline table that match the query.
/// </summary>
/// <typeparam name="U">The type of the data transfer object (DTO) or model that is returned by the query.</typeparam>
/// <param name="query">An OData query that determines which items to delete.</param>
/// <param name="options">The options used to configure the purge operation.</param>
/// <param name="cancellationToken">A <see cref="CancellationToken"/> to observe.</param>
/// <returns>A task that completes when the purge operation has finished.</returns>
Deletes all the items in the offline table that match the query.
Deletes all the items in the offline table that match the query .
public Task PurgeItemsAsync<U>(ITableQuery<U> query, PurgeOptions options, CancellationToken cancellationToken = default)
        {
            Arguments.IsNotNull(query, nameof(query));
            return PurgeItemsAsync(((TableQuery<T>)query).ToODataString(true), options, cancellationToken);
        }
public Task PurgeItemsAsync < U > ( ITableQuery < U > query , PurgeOptions options , CancellationToken cancellationToken = default ) { Arguments . IsNotNull ( query , nameof ( query ) ) ; return PurgeItemsAsync ( ( ( TableQuery < T > ) query ) . ToODataString ( true ) , options , cancellationToken ) ; }
Deletes all the items in the offline table that match the query.
Deletes all the items in the offline table that match the query .
A task that completes when the purge operation has finished.
A task that completes when the purge operation has finished .
query
ITableQuery<U>
An OData query that determines which items to delete.
An OData query that determines which items to delete .
options
PurgeOptions
The options used to configure the purge operation.
The options used to configure the purge operation .
cancellationToken
CancellationToken
A  to observe.
A to observe .
typeparam
The type of the data transfer object (DTO) or model that is returned by the query.
The type of the data transfer object ( DTO ) or model that is returned by the query .