/// <summary> /// Deletes all parts from the database. Since parts act as the parent of characteristics and measurements, this call will /// delete all characteristics and measurements including the measurement values too. /// </summary> /// <param name="client">The client class to use.</param> /// <param name="cancellationToken">A token to cancel the asynchronous operation.</param> public static Task DeleteAllParts <T>(this IDataServiceRestClientBase <T> client, CancellationToken cancellationToken = default) where T : DataServiceFeatureMatrix { return(client.DeleteParts(PathInformationDto.Root, cancellationToken)); }