You are not logged in.
Pages: 1
Alright, I got it: TSQLTasks equates a pivot table descending from TSQLRecordMany, and many-to-many relations are handled by the ORM instead of DBMS constraints.
Hi:
I am new to mORMot. Looking at the samples and reading the documentation, I noticed a potential problem in this demo:
... \mORMot\SQLite3\Samples\ThirdPartyDemos\Migajek\synopse-sqlite-demo
In uCustomer.pas, there is a forward declaration on line 10:
TSQLTasks = class;
Although it is included in:
TSQLCustomer = class(TSQLPerson)
private
fTasks: TSQLTasks;
published
property Tasks: TSQLTasks read fTasks;
end;
The corresponding Customer table in the generated database does not include the forward declared Tasks field. Is this by design?
Thank you in advance,
Navid
Pages: 1