You are not logged in.
Pages: 1
Hi,
I am trying to share an existing firebird db via mORMot to mobile clients. is there any automated way to create the model from database?
Leslie
Offline
I don't think it's possible with the current version of mORMot. mORMot can automatically create and update database schema from the TSQL-prefixed class models, but not the other way around.
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline
Thanks
Offline
ab has written a sample doing this, have a look at "Samples/12 - SynDB Explorer" --> Button Query Builder --> Button To Object --> To One TSQLRecord per table. This should help as an entry point.
Offline
Offline
Pages: 1