-
Notifications
You must be signed in to change notification settings - Fork 0
TQueryCrudExtensions_Delete_tOGos8mchZKUAXyi9lN85Q
Jacob Spitzer edited this page Aug 28, 2022
·
2 revisions
Deletes all records of the TQuery recordset on the database table.
public static DbEasyConnect.DbEcDelete<Table> Delete<Table>(this DbEasyConnect.DbEcExtended<Table> tQuery);
Table
The type of the records of table class. need to be a class with the [Table("")] attribute.
tQuery
DbEasyConnect.DbEcExtended<Table>
An DbEcExtended<T> to perform the update command.
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.