/// <summary> /// Deletes all rows from the specified table /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='groupId'> /// The group id /// </param> /// <param name='datasetKey'> /// The dataset id /// </param> /// <param name='tableName'> /// The table name /// </param> public static object DeleteRows(this IDatasets operations, string groupId, string datasetKey, string tableName) { return(operations.DeleteRowsAsync(groupId, datasetKey, tableName).GetAwaiter().GetResult()); }
/// <summary> /// Deletes all rows from the specified table /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='collectionName'> /// The workspace collection name /// </param> /// <param name='workspaceId'> /// The workspace id /// </param> /// <param name='datasetKey'> /// The dataset id /// </param> /// <param name='tableName'> /// The table name /// </param> public static object DeleteRows(this IDatasets operations, string collectionName, string workspaceId, string datasetKey, string tableName) { return(operations.DeleteRowsAsync(collectionName, workspaceId, datasetKey, tableName).GetAwaiter().GetResult()); }