#1 2025-06-10 08:45:10

mauro.botta
Member
Registered: 2025-06-10
Posts: 3

Converting from DataSnap + TFDQuery

Hi

I have a big Mobile DataSnap Application and a big Windows server DataSnap application.  I should convert ( add Support for mORMot  ) , but i want reuse the TDSServerModule Form with all TFDQuery and all codes.

I need only HTTP Server of mORMot , i wan't use ORM.

I see Example dir, but TFDQuery example are not available.  Hint ?

Delphi 12.3

Thank You

Mauro

Last edited by mauro.botta (2025-06-10 08:48:01)

Offline

#2 2025-06-10 09:08:56

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,069
Website

Re: Converting from DataSnap + TFDQuery

Use an interface-based service for this task.

See e.g. https://tamingthemormot.wordpress.com/c … tutorials/
This is for mORMOt 1, but most of it still applied (just some type names may have changed).

Offline

Board footer

Powered by FluxBB