[Mono-list] SqlLite

Trimble, Nathan G nathan.trimble at pnl.gov
Wed Nov 29 14:22:50 EST 2006


Nice.  Thanks.  Looks like it's working...

Nate Trimble 

-----Original Message-----
From: Kamil Skalski [mailto:kamil.skalski at gmail.com] 
Sent: Wednesday, November 29, 2006 11:09 AM
To: Trimble, Nathan G
Cc: mono-list at lists.ximian.com
Subject: Re: [Mono-list] SqlLite

On 11/29/06, Trimble, Nathan G <nathan.trimble at pnl.gov> wrote:
> Hello, hope this is not a dumb question.  I have an application that 
> uses SQLite.  I'd like it to run under both .Net 1.1 and Mono.  Can I 
> use Mono.Data.SqliteClient.dll under both frameworks?  What is the

Of course. Mono.Data.SqliteClient.dll pinvokes correctly to Sqlite under
both platforms.

> preferred method of running assemblies from the Mono namespace under 
> MS's framework?  Thanks.

You just reference the assembly, and type something like this in your
source code:

using Mono.Data.SqliteClient;
...
SqliteConnection conn = new SqliteConnection
("file://myfile.db,version=3"); ...



--
Kamil Skalski
http://nazgul.omega.pl


More information about the Mono-list mailing list