Bogdan Polak
Bogdan Polak
I'd like to make some contribution to Delphi Mock - I think that docs could be a little more expanded. Any feedback on that?
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...
Allow to use configuration with multiple source path - comma separated. Sample configuration. `app-config.json` ``` { "sourceUnits": [ "..\\src\\*.pas", "..\\samples\\01-basic-demo\\Form.Main.pas" "..\\samples\\02-employee-scorecards\\Form.Main.pas" ], "readmeIsUpdateVersion": true, "readmeFileName": "..\\README.md", "readmeSearchPattern": "https://img.shields.io/badge/version" } ```
TAsyncCommand: ```pas function WithEventBeforeStart(aBeforeStart: TProc) ... ``` TCommandAction: ```pas function WithEventOnUpdate(AUpdateProc: TProc) ... ``` Change: `TProc` to `TProc`
1) Remove: DoGuard from TCommand 1) Add documentation: to check all mandatory injections with `Assert` calls at the very begging of the `DoExecute` method