Question

Please provide samples of command line tool dbmetal to generate code file from a sqlite database.

No correct solution

OTHER TIPS

Surfing the internet I found the following command:

DBMetal.exe /namespace:Namespace /provider:SQLite "/conn:Data Source=database.db" /code:CodeFile.cs

Only, the DBMetal version that I downloaded gave an error (Unable to resolve databaseConnectionType: System.Data.SQLite.SQLiteConnection)

I fixed it by downloading the code from the trunk (http://dblinq2007.googlecode.com/svn/trunk), compiling it, and using the generated DBMetal.exe with the above command.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top