Skip to content

TQueryTableExtensions_CreateAllTablesIfNotExists_c0K07KWDNzd0JKkn0h_HOQ

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

TQueryTableExtensions.CreateAllTablesIfNotExists(TQueryDatabase) Method

Checks each table if exists on the database, and creates the non-exists Tables on the server database, based on the code classes with [Table] attribute. Supported attributes are: [Key] for Primary Key, [AutoIncrement] for Auto Increment property, [Required] for Not Null property.

public static void CreateAllTablesIfNotExists(this DbEasyConnect.TQueryDatabase tQuery);

Parameters

tQuery TQueryDatabase
An TQueryDatabase to perform the Create All Tables command.

Clone this wiki locally