Skip to content

TQueryTableExtensions_GetDiffServerDbToCodeDb_nOKIFNxKQtubO_1GT1cqBQ

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

TQueryTableExtensions.GetDiffServerDbToCodeDb(TQueryDatabase) Method

Compares the server database and the code classes with [Table] attribute, checks each table and their fields and properties.

public static System.Collections.Generic.List<DbEasyConnect.TQueryTableExtensions.CompareDb> GetDiffServerDbToCodeDb(this DbEasyConnect.TQueryDatabase tQuery);

Parameters

tQuery TQueryDatabase
An TQueryDatabase to compare the server database with all tables on the code classes.

Returns

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.

Clone this wiki locally