Skip to content

TQueryTableExtensions_GetDiffServerDbToCodeDb_nOKIFNxKQtubO_1GT1cqBQ

J. Spitzer edited this page Oct 6, 2021 · 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<Dapper.TQuery.TQueryTableExtensions.CompareDb> GetDiffServerDbToCodeDb(this Dapper.TQuery.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