Skip to content

TQueryCrudExtensions_Delete_tOGos8mchZKUAXyi9lN85Q

Jacob Spitzer edited this page Aug 28, 2022 · 2 revisions

TQueryCrudExtensions.Delete<Table>(DbEcExtended<Table>) Method

Deletes all records of the TQuery recordset on the database table.

public static DbEasyConnect.DbEcDelete<Table> Delete<Table>(this DbEasyConnect.DbEcExtended<Table> tQuery);

Type parameters

Table
The type of the records of table class. need to be a class with the [Table("")] attribute.

Parameters

tQuery DbEasyConnect.DbEcExtended<Table>
An DbEcExtended<T> to perform the update command.

Returns

DbEasyConnect.DbEcDelete<Table>
An DbEcDelete<T> instance, which the SQL command will delete records in the database, and Execute() will return the number of records deleted successfully.

Clone this wiki locally