-
Notifications
You must be signed in to change notification settings - Fork 0
TQueryTableExtensions_GetDiffServerTableToCodeTable_Or1WeGAwFaOW_wPPlbPB9Q
Jacob Spitzer edited this page Aug 28, 2022
·
2 revisions
Compares the server table and the code class with that table name, checks each field and their properties.
public static System.Collections.Generic.List<DbEasyConnect.TQueryTableExtensions.CompareDb> GetDiffServerTableToCodeTable<Table>(this DbEasyConnect.DbEc<Table> tQuery);
Table
The type of the records of table class. need to be a class with the [Table("")] attribute.
tQuery
DbEasyConnect.DbEc<Table>
An DbEc<T> to perform the Drop Table command.
System.Collections.Generic.List<CompareDb>
An list of CompareDb objects, which includes all differences between the server database and the code classes with [Table] attribute.