Skip to content

Delete Method ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Overloads ​

NameDescription
DeleteStatement Delete(ITableInfo tableInfo)Generates a DELETE statement scoped to the table primary key.
DeleteStatement Delete(ITableInfo tableInfo, IPredicateNode query, bool allowUnfiltered = null)Generates a DELETE statement for rows matching the supplied predicate.

DeleteStatement Delete(ITableInfo tableInfo) ​

csharp
DeleteStatement Delete(ITableInfo tableInfo)

Generates a DELETE statement scoped to the table primary key.

DeleteStatement Delete(ITableInfo tableInfo, IPredicateNode query, bool allowUnfiltered = null) ​

csharp
DeleteStatement Delete(ITableInfo tableInfo, IPredicateNode query, bool allowUnfiltered = null)

Generates a DELETE statement for rows matching the supplied predicate.

Parameters ​

NameDescription
allowUnfilteredWhen false (default), empty / match-all predicates are rejected. Pass true only for intentional wipe operations (see AllowUnfilteredMutation).
queryWHERE predicate.
tableInfoTarget table.