You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the generated Delphi code should be also code for the SQL and DataProxy. Something like:
const
SQLSELECT_OneMonthOrders = 'SELECT * FROM Orders '+
'WHERE {month ORDERDATE} = :MONTH AND {year ORDERDATE} = :YEAR';
procedureRegisterSQLProxy;
begin
AppDataProxyFactory.RegisterSQLProxy (TOrdersProxy, SQLSELECT_OneMonthOrders);
end;
And sample DataProxyFactory construction method, eg.:
var
OrdersProxy: TOrdersProxy;
begin
OrdersProxy := AppDataProxyFactory.ConstructAndOpenProxy (TOrdersProxy, [12, 2018]);
...
The text was updated successfully, but these errors were encountered:
bogdanpolak
changed the title
Add TDataProxyFactory registration for SQL and DataProxy
Add code: TDataProxyFactory registration for SQL and DataProxy
Jan 18, 2019
In the generated Delphi code should be also code for the SQL and
DataProxy
. Something like:And sample
DataProxyFactory
construction method, eg.:The text was updated successfully, but these errors were encountered: