DeleteFrom<T> Interface

Represents the DELETE statement.

C#
public interface DeleteFrom<T>

Type Parameters

T

The type of the class qualified with the TableAttribute.

Methods

Where(string, IReadOnlyDictionary<string, object>)

Executes the delete statement with the specified condition and parameters.

Methods Detail

Where(string, IReadOnlyDictionary<string, object>)

Executes the delete statement with the specified condition and parameters.

C#
void Where(string condition, IReadOnlyDictionary<string, object> parameters)

Parameters

condition
string

The condition of the WHERE clause.

parameters
IReadOnlyDictionary<string, object>

Immutable key-value pairs. The condition must contain all the keys. Each value must be of the appropriate type.