Delete removes a single record, or every record in a table, through the .NET SDK.
Method Syntax
await db.Delete(resource)Arguments
Arguments | Description |
|---|---|
thing | The table name or a |
cancellationToken | The cancellationToken enables graceful cancellation of asynchronous operations. |
Example usage
// Delete all records from a table
await db.Delete("person");
// Delete a specific record from a table
await db.Delete(("person", "h5wxrf2ewk8xjxosxtyc"));