You are not logged in.
Pages: 1
Hi,
when a class needs to be mapped to the database does it have to start with TSQL or is it enough to be a TSqlRecord descendant?
Leslie
Offline
Never tried 'Tsql', but you can just try it ('CreateMisingTables') and see the result immediately.
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline
Thanks
Offline
The ORM would trim TSQLRecord, TSQL or even just T.
So you can use TMyRecord, which will create a MyRecord table.
By convention, we usually define TSQL* classes to easily identify TSQLRecord inherited classes.
Offline
Pages: 1