How to create the database files when it is not existing (first time).
In the AureliusConnection, I have added the filename in the ODBCAdvanced property like : AttachDBFileName=C:\MyDataFile.MDF but when I execute the BuildDatabase, the error message "Unable to open the physical file C:\MyDataFile.mdf. Operating system error 2".
That is not possible. You should have your MSSQL database already created to be able to connect to it using Aurelius (or any 3rd party db access component, like FireDAC or dbExpress).
If I want do create the database in the code, I should first use ADOConnection and ADOQuery to create the database file then I can use Aurelius. It is no other way to doit in the code. Is it correct ?