Surfing the Internet I found the following command:
DBMetal.exe /namespace:Namespace /provider:SQLite "/conn:Data Source=database.db" /code:CodeFile.cs
Only, the version of DBMetal that I downloaded gave an error (failed to resolve databaseConnectionType: System.Data.SQLite.SQLiteConnection)
I fixed it by downloading the code from an external line ( http://dblinq2007.googlecode.com/svn/trunk ), compiling it and using the generated DBMetal.exe file with the above command.
source
share