Skip to content

Methods

Delete

Delete removes a single record, or every record in a table, through the .NET SDK.

Method Syntax
await db.Delete(resource)

Arguments

Description

thing

The table name or a RecordId to delete.

cancellationToken

The cancellationToken enables graceful cancellation of asynchronous operations.

// Delete all records from a table
await db.Delete("person");

// Delete a specific record from a table
await db.Delete(("person", "h5wxrf2ewk8xjxosxtyc"));

Was this page helpful?