QxEntityEditor: import from C++ code?

Forum for posting problems using QxOrm library

QxEntityEditor: import from C++ code?

Postby gianks » Sat Aug 13, 2016 1:18 pm

Hi all,
this is following my previous question, so i'm giving a try now to create the DB from the editor instead of using create_table.

My problem is importing my design since as i can see it's possible just from a DB... but this i'm going to loose any relationship defined and working in the code!
Is there any solution to this? Can i import my C++ classes in such way?
I've also seen is possible to import JSON files... is possible to dump all the entities to a JSON description with all the FK from the code?

Thanks a lot
Gianks
gianks
 
Posts: 45
Joined: Mon Jul 04, 2016 1:04 pm

Re: QxEntityEditor: import from C++ code?

Postby qxorm » Tue Aug 16, 2016 7:36 am

Hello,

is possible to dump all the entities to a JSON description with all the FK from the code?

From the C++ code : no this is not possible.

QxEntityEditor can import a project from a database schema, and from a JSON file, not from C++ code.

Note : this is more a QxEntityEditor question, so please next time, put your question on the QxEntityEditor forum section.
qxorm
Site Admin
 
Posts: 481
Joined: Mon Apr 12, 2010 7:45 am

Re: QxEntityEditor: import from C++ code?

Postby gianks » Mon Aug 22, 2016 8:02 pm

Thanks, will do!

Kind regards
gianks
 
Posts: 45
Joined: Mon Jul 04, 2016 1:04 pm


Return to QxOrm - Help

Who is online

Users browsing this forum: No registered users and 2 guests

cron