-
Notifications
You must be signed in to change notification settings - Fork 0
TQueryTableExtensions_ModifyTable_WS6s6TEOCpCFyuvtfaE5HA
Jacob Spitzer edited this page Aug 28, 2022
·
2 revisions
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 DbEasyConnect.DbEcCreate<Table> ModifyTable<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 DbEc<T> to perform the Modify Table command.
DbEasyConnect.DbEcCreate<Table>
An DbEcCreate<T> instance, which the SQL command will Modify the Table in the database, and Execute() will execute the Modify Table command.