You are not logged in.
Pages: 1
is there a way to use the orm without restserver or restclient or any rest*?
just wanna to use the orm direct
Last edited by keinn (2021-04-28 02:45:24)
Offline
Use mORMot2 (in test state) instead: https://github.com/synopse/mORMot2
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline
Note that even in mORMot 2, the IRestOrm interface doesn't exist without a TRest class instance, which owns it.
Our ORM is a RESTful ORM, not a data-only ORM.
On mORMot 1, just use a TSQLRest class.
Thanks to the Lizkov Substitution Principle, you will find in TSQLRest the abstract ORM methods needed for basic persistence work.
Offline
Pages: 1