Statement.SetSQLCommand(Format('DELETE FROM % ;',[SQLiteRepository.Manager.Explorer.GetTable(TMouvementsStockLigne).Name]) ) ;
Statement.Execute;
I still have a problem. TMouvementsStockLigne has the "AutoMapping" attribute and QLiteRepository.Manager.Explorer.GetTable(TMouvementsStockLigne).Name return an emptystring !
There is no such thing in Aurelius, it's easier indeed that you just execute the simple statement.
But GetTable should be retrieving the table name as usual, it doesn't matter if its automapped or not. If you cannot find something suspicious, I'd ask you to strip down your project and send it to us so we can reproduce the issue.