Skip to content

TQueryTableExtensions_ModifyTable_pf0drvmsA_ymdOs3g9U0Jw

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

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

Modifies a table definition on the server database by altering, adding, or dropping columns and column datatypes, based on the code table properties. Available modifications: Add field, Remove field, Change field datatype.

public static int ModifyTable<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 DbEc<T> to perform the Modify Table command.

Returns

System.Int32

Clone this wiki locally