Skip to content

TQueryTableExtensions_DropTableIfExists_gFDix7+8RxCk9Zo7ayVyNg

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

TQueryTableExtensions.DropTableIfExists<Table>(DbEc<Table>) Method

Removes a Table from the server database if exists.

public static int DropTableIfExists<Table>(this DbEasyConnect.DbEc<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.DbEc<Table>
An DbEcExtended<T> to perform the Drop Table command.

Returns

System.Int32

Clone this wiki locally