#1 2014-01-04 23:44:17

warleyalex
Member
From: Sete Lagoas-MG, Brasil
Registered: 2013-01-20
Posts: 250

Corresponding mORMot types

I would be nice if I had a code generation tool to build classes you want to map as 'published' (depending on the database).

Any suggestion for:

http://imageshack.us/a/img62/6646/l3kb.png

Offline

#2 2014-01-05 13:31:09

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,655
Website

Re: Corresponding mORMot types

AFAIK type recognition is already implemented in function TSQLDBConnectionProperties.ColumnTypeNativeToDB() of SynDB.pas.

Code generation tool is already a known feature request.
See http://synopse.info/fossil/tktview?name=01da096f72
and http://synopse.info/fossil/wiki?name=RoadMap

Online

#3 2014-01-07 01:56:22

warleyalex
Member
From: Sete Lagoas-MG, Brasil
Registered: 2013-01-20
Posts: 250

Re: Corresponding mORMot types

Thank you for replying.

Look SynDBExplorer mapping database table to class at runtime
http://youtu.be/q0aIUoWyNy4

Last edited by warleyalex (2014-01-16 02:14:00)

Offline

Board footer

Powered by FluxBB