Hi All,
I tried to create linq-to-sqlite dbml using DbLinq but in vain. Each time I get different type of errors. May be I'm somewhere wrong.
Can anyone tell me the step by step procedure to create the dbml file from the Dblinq source code.
Hi All,
I tried to create linq-to-sqlite dbml using DbLinq but in vain. Each time I get different type of errors. May be I'm somewhere wrong.
Can anyone tell me the step by step procedure to create the dbml file from the Dblinq source code.
You need to provide a /provider:PROVIDER option to DbMetal.exe
so that it knows what kind of database you're using, otherwise it assumes you want Microsoft SQL Server.
Furthermore, you can only use the /dbml
or /code
options, not both at the same time.
Try this command instead:
DbMetal /provider:Sqlite /conn "Data Source=myDb.db3" /code:mycode.cs /namespace:myNS
If that doesn't work, please file a bug at: http://code.google.com/p/dblinq2007/issues/list