enforceForeignKeys property
When true, PRAGMA foreign_keys = ON is set when the database opens,
so the fKeys of the entities are enforced. Set it before the first
access (or call closeDB to apply it). Defaults to false, because
enforcing them could break an application that inserts a child before
its parent.
Implementation
bool enforceForeignKeys = false;