delphi-dataproxy
delphi-dataproxy copied to clipboard
Proxy component for data access TDataSet with Generator App tool and support for Fake memory datasets
Use code snippets to build new sample project: `03-datamodule` ```pas procedure TDataModule1.OnCreate(Sender: TObject); begin fOrdersProxy := TOrdersProxy.Create(fOwner); fOrdersDataSource := fOrdersProxy.ConstructDataSource; end; procedure TDataModule1.InitOrders(aYear, aMonth: word); begin fOrdersProxy.WithFiredacSQL( FDConnection1, 'SELECT OrderID,...
Add more stages to the code evolution sample: 3) Stage 3. Make Code Testable - BookList getter - Add test suite 4) Stage 4. Organise processing architecture 5) Stage 5....
1) TDataProxy.Reload; = dataset.Close & dataset.Open - Check Refresh method in #58 - Think about `RefreshRecord` 2) Close;
Implement: `TDataSetProxy.Refresh`, refine how to test this // doc: http://docwiki.embarcadero.com/Libraries/Rio/en/Data.DB.TDataSet.Refresh
As a user: I'd like to change option and generate class for pure (object oriented) DAO (data access object).
Change UI of Generator App with UI steps (location): 1) List of connections (recent list + all definitions list) and Connect action 2) Design SQL and execute SQL 3) Review...