Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linq to SQL on Mono?

Is it possible "in anyway" that I can use Linq to SQl on a Mono project? If it's actually .net port then if I import the System.data.Linq and the DBML that generated in VS, will it work?

THanks!

like image 775
DucDigital Avatar asked Feb 24 '10 10:02

DucDigital


2 Answers

Mono 2.6 comes with DbLinq. It's not user friendly though and you have to go through some pain before you can make it work.

like image 66
vava Avatar answered Oct 04 '22 18:10

vava


Since Mono 2.6 you can use DbLinq however it's currently only in preview and beta is planned in Mono 2.8 release. Some queries works there (for example everything from NerdDinner MVC tutorial) but complex stuff won't work. You can read more about current status of DbLinq here.

like image 24
yojimbo87 Avatar answered Oct 04 '22 18:10

yojimbo87