Page 1 of 1
LinqConnect and Linux/Mono
Posted: Mon 22 Oct 2012 16:30
by Phenix
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
Re: LinqConnect and Linux/Mono
Posted: Tue 23 Oct 2012 10:30
by MariiaI
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.
Re: LinqConnect and Linux/Mono
Posted: Tue 23 Oct 2012 12:15
by Phenix
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
Re: LinqConnect and Linux/Mono
Posted: Wed 24 Oct 2012 08:25
by MariiaI
Glad to see that you have found the solution. If you have any further questions, feel free to contact us.
Re: LinqConnect and Linux/Mono
Posted: Tue 26 Aug 2014 13:45
by ashlar64
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
Re: LinqConnect and Linux/Mono
Posted: Wed 27 Aug 2014 09:25
by MariiaI
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.