Hi Timothy, Why not just use Mono.Data.SQLite on both platforms, thats what I do in mojoPortal. If you'd like I can send you Mono.Data.SQLite.dll which I compiled on windows using VS. It works fine on both windows and on linux. It also requires Mono.Security.dll but I can send you that too.
Hope it helps, Joe On Feb 8, 2008 4:38 PM, Timothy Parez <[EMAIL PROTECTED]> wrote: > Hi, > > I have a website which I develop on Windows and deploy on Linux. > I'm using SQLite which works on both platforms. > > The only differences are > > using System.Data.SQLite > vs > using Mono.Data.Sqlite > > And for the classes: > > SQLiteConnection > vs > SqliteConnection > > Aside from these differences, the code to use these libraries is the > same. > > This means I have to use a series of sed commands to replace pieces of > text. > This isn't a real problem for final deployment, but can be a real PITA > when testing online. > > Is there anyway to map these so I can keep System.Data.SQlite and > SQLiteConnection, SQLiteCommand, etc... in my code > and still force mono to use System.Data.Sqlite instead? > > (Guess changing the source code for Mono.Data.Sqlite would also be an > option... but I'm hoping for something less drastic). > > Thank you. > > Timothy. > _______________________________________________ > Mono-list maillist - Mono-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC PO Box 621861 Charlotte, NC 28262 704.323.8225 [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com _______________________________________________ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list