Creating Linq to sqlite dbml from DbLinq source code

I tried to create dbml linq-to-sqlite using DbLinq , but in vain. Each time I get different types of errors. Maybe I'm wrong somewhere.

Can someone tell me a step-by-step procedure for creating a dbml file from Dblinq source code.

+3
source share
2 answers

Decision:

I have completed the following steps:

  • Downloaded the DBLinq 0.20 source code from this link
  • Built.
  • copied my database and System.Data.SQLite.dllfile to a foldersrc\DbMetal\obj\Debug
  • Used the following codes to create a dbml file from a db file and cs from a dbml file, respectively

DbMetal/provider: Sqlite/conn " = File.db3" /dbml:File.dbml

DbMetal/code:File.cs File.dbml

http://code.google.com/p/dblinq2007/wiki/Installation

+2

/: PROVIDER DbMetal.exe, , , , Microsoft SQL Server.

, /dbml /code, .

:

DbMetal /provider:Sqlite /conn "Data Source=myDb.db3" /code:mycode.cs /namespace:myNS

, : http://code.google.com/p/dblinq2007/issues/list

+2

Source: https://habr.com/ru/post/1735783/


All Articles