-
Notifications
You must be signed in to change notification settings - Fork 0
TQueryTableExtensions_CreateAllTablesIfNotExists_swtCIE_YcL5KOByDlNdpZQ
Jacob Spitzer edited this page Aug 28, 2022
·
2 revisions
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 DbEasyConnect.TQueryDatabaseExtended CreateAllTablesIfNotExists(this DbEasyConnect.TQueryDatabaseExtended tQuery);
tQuery
TQueryDatabaseExtended
An TQueryDatabaseExtended to perform the Create All Tables command.
TQueryDatabaseExtended
An TQueryDatabaseExtended instance, which the SQL command will create all non-exists Tables on the database, and Execute() will execute the Create All Tables command.