LinqConnect and Linux/Mono

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
Phenix
Posts: 5
Joined: Mon 22 Oct 2012 16:11

LinqConnect and Linux/Mono

Post by Phenix » Mon 22 Oct 2012 16:30

Hi,

I dev an application with Mono and I would like to use PostgreSQL for my db.
I tried to use LinqConnect and dotConnect for PostgreSQL (trial version) on Windows with VS 2010, and it worked.

In fact, I would to use this in Linux and Mono.
I don't find any documentation for using this in Linux.
The only thing I could read in the LinqCOnnect overview's page is that LinqConnect it works with Mono.
And, before purchasing a licence, I would like to try out.

Where could I find documentations for LinqConnect in Linux/Mono or how could I install it ?

Thanks

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: LinqConnect and Linux/Mono

Post by MariiaI » Tue 23 Oct 2012 10:30

It is impossible to install LinqConnect/dotConnect for PostgreSQL on Linux.
For running applications written with LinqConnect under Mono you should deploy all the necessary assemblies to the bin folder of your application (Devart.Data.PostgreSql.dll, Devart.Data.dll, Devart.Data.PostgreSql.Linq.dll and Devart.Data.Linq.dll).

Please take a look at the topic on technical licensing, as you may need to manually compile the license resource for your Mono project when using LinqConnect Trial or dotConnect for PostgreSQL: http://www.devart.com/dotconnect/postgr ... .html#mono
JIC: The assemblies from the Professional edition of LinqConnect need no technical licensing.

Phenix
Posts: 5
Joined: Mon 22 Oct 2012 16:11

Re: LinqConnect and Linux/Mono

Post by Phenix » Tue 23 Oct 2012 12:15

Hi,

Thank for this response.
I succeeded to run dotConnect and LinqConnect in Mac OSX for my developpement with monodevelop and his debugger.

For this, I installed dotConnect in Windows and copied dlls in my Mono project.
For licensing, I compiled this in Windows with lc.exe :

licenses.licx
Devart.Data.PostgreSql.Linq.Provider.PgSqlDataProvider, Devart.Data.PostgreSql.Linq
Devart.Data.PostgreSql.PgSqlConnection, Devart.Data.PostgreSql
command line
'C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64\lc.exe'
/target:webservice.dll
/complist:licenses.licx
/v
/i:'C:\Program Files (x86)\Devart\dotConnect\PostgreSQL/Devart.Data.PostgreSql.dll'
/i:'C:\Program Files (x86)\Devart\dotConnect\Linq/Devart.Data.PostgreSql.Linq.dll'
Obviously, It is to adapt depending to your environement.

I copied the .licenses file into my project and added this to EmbeddedRessource.
And finally, it worked.

Now I'm trying to run this in Linux.

This post helped me.
http://forums.devart.com/viewtopic.php?t=19773

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: LinqConnect and Linux/Mono

Post by MariiaI » Wed 24 Oct 2012 08:25

Glad to see that you have found the solution. If you have any further questions, feel free to contact us.

ashlar64
Posts: 75
Joined: Thu 04 May 2006 18:56

Re: LinqConnect and Linux/Mono

Post by ashlar64 » Tue 26 Aug 2014 13:45

Hello,

I am curious if you were able to get your app to run under ios and Android?
Did you have any other pitfalls?
I assume you used the Professional version of LinqConnect?

Thanks,

---Dave

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: LinqConnect and Linux/Mono

Post by MariiaI » Wed 27 Aug 2014 09:25

ashlar64 wrote:Hello,
I am curious if you were able to get your app to run under ios and Android?
Currently, LinqConnect doesn't support Android and iOS.
We are considering the possibility of adding this support in LinqConnect, but we can't tell any timeframe at the moment. We will inform you when any results are available.

Post Reply